![]() |
Just remove the "DEFAULT '1'". An Auto Increment column can not have a default value.
|
You lost me now M8, explain a bit more please?
|
in your vbookie_install.php script, find:
PHP Code:
PHP Code:
|
Thanks M8, did the below but I received this error:
Database error in vBulletin 3.0.7: Invalid SQL: CREATE TABLE vbookie_items ( item_id MEDIUMINT UNSIGNED DEFAULT '1' AUTO_INCREMENT NOT NULL PRIMARY KEY, group_id SMALLINT UNSIGNED, threadid INT(10) UNSIGNED DEFAULT '0', item_title VARCHAR(255) NOT NULL, item_min_bet BIGINT UNSIGNED DEFAULT '0', item_max_bet BIGINT UNSIGNED DEFAULT '0', item_timezoneoffset VARCHAR(6) DEFAULT '0', item_created INT(13) NOT NULL, item_open_until INT(13) NOT NULL, item_pay_after INT(13) NOT NULL, item_status ENUM('OPEN', 'CLOSED', 'SETTLED', 'ABANDONED') DEFAULT 'OPEN', item_allow_multiple_bets ENUM('Y', 'N') DEFAULT 'Y', item_n_bets_placed MEDIUMINT UNSIGNED DEFAULT '0', item_amount_staked BIGINT UNSIGNED DEFAULT '0', item_amount_won BIGINT UNSIGNED DEFAULT '0' ) TYPE=MyISAM mysql error: Invalid default value for 'item_id' mysql error number: 1067 Quote:
|
Search the install file for all instances of:
PHP Code:
PHP Code:
|
Thanks M8 that worked a treat :)
Continuing with the install. Laters Quote:
|
Installed and working fine :)
|
Just found I have an error on the CMPS front page:
Fatal error: Unknown function: getrowcolor() in /home/xxxxxxx/public_html/forums/modules/vbookie_vbadvanced.php on line 35 Anyone have any clues? |
Quote:
Quote:
|
Yea, where is the fix?
And, has anyone modified gimme.php to work with vBookie, or does it need to be modified. |
All times are GMT. The time now is 07:41 PM. |
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:
|