Lottery Mod

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
Spito
Berichten: 109
Lid geworden op: 12 nov 2005, 14:56
Contacteer:

Lottery Mod

Bericht door Spito » 04 aug 2006, 19:48

Na wat onenigheid te hebben gehad met de lottery mod was ik er eindelijk uit wat ik moest veranderen (user_items in user_points)
Ik blijf, maar ik wilde van tevore mod_insall opnieuw doen.

Dus ik de 2 lottery tabellen uit de database verwijderd, blijft er nogmeer te zijn!

Code: Selecteer alles

Running :: CREATE TABLE `phpbb_lottery` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` INT (20) NOT NULL, PRIMARY KEY(`id`), INDEX(`user_id`)) -> FAILED ---> Table 'phpbb_lottery' already exists

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_cost', '1') -> FAILED ---> Duplicate entry 'lottery_cost' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_ticktype', 'single') -> FAILED ---> Duplicate entry 'lottery_ticktype' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_length', '500000') -> FAILED ---> Duplicate entry 'lottery_length' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_name', 'Lottery') -> FAILED ---> Duplicate entry 'lottery_name' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_base', '50') -> FAILED ---> Duplicate entry 'lottery_base' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_start', '0') -> FAILED ---> Duplicate entry 'lottery_start' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_reset', '0') -> FAILED ---> Duplicate entry 'lottery_reset' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_status', '0') -> FAILED ---> Duplicate entry 'lottery_status' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_items', '0') -> FAILED ---> Duplicate entry 'lottery_items' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_win_items', '') -> FAILED ---> Duplicate entry 'lottery_win_items' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_show_entries', '0') -> FAILED ---> Duplicate entry 'lottery_show_entries' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_mb', '0') -> FAILED ---> Duplicate entry 'lottery_mb' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_mb_amount', '1') -> FAILED ---> Duplicate entry 'lottery_mb_amount' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_history', '1') -> FAILED ---> Duplicate entry 'lottery_history' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_currency', '') -> FAILED ---> Duplicate entry 'lottery_currency' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_item_mcost', '1') -> FAILED ---> Duplicate entry 'lottery_item_mcost' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_item_xcost', '500') -> FAILED ---> Duplicate entry 'lottery_item_xcost' for key 1

Running :: INSERT INTO phpbb_config (config_name, config_value) VALUES ('lottery_random_shop', '') -> FAILED ---> Duplicate entry 'lottery_random_shop' for key 1

Running :: CREATE TABLE `phpbb_lottery_history` ( `id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `user_id` INT (20) NOT NULL, `amount` INT (20) NOT NULL, `currency` CHAR (32) NOT NULL, `time` INT (20) NOT NULL, PRIMARY KEY(`id`), INDEX(`user_id`) ) -> FAILED ---> Table 'phpbb_lottery_history' already exists


Finished!
Some of the querys have failed, contact me so I can fix the errors.
Nou krijg ik dit, en laad mijn lottery helemaal niet meer, ik heb alle mijn aangepaste files al een keer opnieuw geupload, maar dit heeft niets geholpen.
Hoe kan ik ervoor zorgen dat ik alles weer kan runnen zodat ik complete krijg?

Gebruikersavatar
Paul
Beheerder
Beheerder
Berichten: 20316
Lid geworden op: 23 okt 2003, 11:38
Locatie: Utrecht
Contacteer:

Bericht door Paul » 04 aug 2006, 19:51

Je had de sql al een keer uitgevoerd, dus dat bestaat allemaal al ;)

Spito
Berichten: 109
Lid geworden op: 12 nov 2005, 14:56
Contacteer:

Bericht door Spito » 04 aug 2006, 19:52

Maar waarom laat mijn lottery.php dan niet ??

Ik heb alleen alle "user_items" in "user_points" veranderd

Spito
Berichten: 109
Lid geworden op: 12 nov 2005, 14:56
Contacteer:

Bericht door Spito » 04 aug 2006, 19:55

Spito schreef:Maar waarom laat mijn lottery.php dan niet ??

Ik heb alleen alle "user_items" in "user_points" veranderd
Btw // ik heb nu de standaard lottery.php erop gezet nu krijg ik dit :

Parse error: syntax error, unexpected $end, expecting ',' or ')' in /home/eg5171/domains/familieboterman.nl/public_html/forum/phpBB2/lottery.php on line 88

Line 88 :

if ( isset($HTTP_GET_VARS['action']) || isset($HTTP_POST_VARS['action']) ) { $action = ( isset($HTTP_POST_VARS['action']) ) ? $HTTP_POST_VARS['action'] : $HTTP_GET_VARS['action']; }

Spito
Berichten: 109
Lid geworden op: 12 nov 2005, 14:56
Contacteer:

Bericht door Spito » 04 aug 2006, 20:23

Heb net alles opnieuw gescript, maar die error blijft er staan ...

Gesloten