![]() |
Lottery problem
The whole lottery seems to not work. :/
Code:
Database error in vBulletin 3.0.7: Any help would be appreciated. Thank you. |
Check to see if the table exists.
You can figure this out by going to Maintenance in your ACP, and "Repair/Optimize Tables". If you see this table in the list of tables, then its there. |
Nope. The closest thing to it is rpg_lottery_tickets. How can I get rpg_lottery?
|
By running this in the ACP:
[sql]CREATE TABLE `rpg_lottery` ( `lotteryid` int(5) NOT NULL auto_increment, `lotteryname` varchar(20) NOT NULL default '', `lotterym` varchar(50) NOT NULL default '', `prize` int(10) NOT NULL default '0', `dateset` varchar(35) NOT NULL default '', `dateend` varchar(35) NOT NULL default '', `cost` int(6) NOT NULL default '0', `sold` int(5) NOT NULL default '0', `active` int(2) NOT NULL default '0', `editing` int(5) NOT NULL default '', PRIMARY KEY (`lotteryid`,`lotteryid`) ) TYPE=MyISAM; [/sql] Remember to add a table prefix if you use one. |
Thanks Revan, but there seems to be an error.
Quote:
|
of course
Im rather embarrassed.... [sql]CREATE TABLE `rpg_lottery` ( `lotteryid` int(5) NOT NULL auto_increment, `lotteryname` varchar(20) NOT NULL default '', `lotterym` varchar(50) NOT NULL default '', `prize` int(10) NOT NULL default '0', `dateset` varchar(35) NOT NULL default '', `dateend` varchar(35) NOT NULL default '', `cost` int(6) NOT NULL default '0', `sold` int(5) NOT NULL default '0', `active` int(2) NOT NULL default '0', `editing` int(5) NOT NULL default '', PRIMARY KEY (`lotteryid`) ) TYPE=MyISAM;[/sql] Theres the correct code. To my own defence I didnt write the lottery hack and it was probs the author of this hack who did it and its all his fault and and and.... *goes away* ;) //peace |
No problem at all Revan. Will test it out now. Thanks for all the help although I may come again soon. ;)
|
All times are GMT. The time now is 08:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|