This is the error i'm getting after i followed all your install steps, i get this error when i want to change settings in the ACP.
I checked and indeed the table is not made? Something wrong in the install file? Any suggestions? Tnx in advance!
Code:
Database error in vBulletin 3.5.0:
Invalid SQL:
select * from vbr_config;
MySQL Error : Table 'vbull.vbr_config' doesn't exist
Error Number : 1146
Date : Monday, October 10th 2005 @ 01:03:31 AM
Script : http://www.****/****/****/vbrecycle_admin.php?
Referrer : http://www.*****/****/****/index.php?do=nav
IP Address : ******
Username : *******
Classname : vb_database
Update: Sorry did not look at previous post, anyway created the table manually in phpMyAdmin and changed the install xml:
Quote:
Originally Posted by mtha
use this for install code:
PHP Code:
$db->query_write("INSERT INTO " . TABLE_PREFIX . "vbr_config VALUES(1, 1, '', 2, 1, 1);"); $db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD vbr_per INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;"); $db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD recycle INT NOT NULL ;"); $db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD srecycle INT NOT NULL ;");
and do the same for uninstall
|