Quote:
Database error in vBulletin 3.6.8:
Invalid SQL:
UPDATE `whatismyip` SET `enabled`='1', `ipinfo`='' WHERE `id`='1';
MySQL Error : Unknown column 'enabled' in 'field list'
Error Number : 1054
Date : Wednesday, September 19th 2007 @ 08:53:01 AM
Script : http://mysite.com/forum/admincpx/whatismyip.php?do=update
Referrer : http://mysite.com/forum/admincpx/whatismyip.php
IP Address : XX.XX.XXX.XXX
Username : Administrator
Classname : vb_database
|
I tried running the install.php, hoping that would take care of this, but I received this error:
Quote:
Database error in vBulletin 3.6.8:
Quote:
Invalid SQL:
CREATE TABLE `whatismyip` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`ebabled` INT NOT NULL ,
`ipinfo` LONGTEXT NOT NULL
);;
MySQL Error : Table 'whatismyip' already exists
Error Number : 1050
Date : Wednesday, September 19th 2007 @ 08:56:28 AM
Script : http://mysite.com/forum/ipinstall.php
Referrer :
IP Address : XX.XX.XXX.XXX
Username : Administrator
Classname : vb_database
|
|
I went to my ACP and ran the SQL query:
DROP TABLE `whatismyip` and tried to run the install script again and received this error:
Quote:
MySQL Error : Unknown column 'enabled' in 'field list'
Error Number : 1054
Date : Wednesday, September 19th 2007 @ 09:01:44 AM
Script : http://mysite.com/forum/ipinstall.php
Referrer :
IP Address : XX.XX.XXX.XXX
Username : Administrator
Classname : vb_database
|
BTW - IMO, if you are going to let people rely on an installer script, I suggest having an "uninstall" option as well.