
08-25-2006, 02:17 PM
|
|
|
Join Date: Apr 2004
Posts: 350
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Ranma2k
TO EVERYONE
WHO EVER FOR SOME REASON GET'S DATABASE ERROR
RUN THE FOLLOWING QUARY IN YOUR DATABASE
Code:
CREATE TABLE " . TABLE_PREFIX . "vbimghost (imgid int(11) NOT NULL auto_increment,userid int(11) NOT NULL default '0',imgfile varchar(250) NOT NULL default '',imgname varchar(250) NOT NULL default '',thumbname VARCHAR( 250 ) NOT NULL, imgfilesize int(11) NOT NULL default '0', imgwidth int(11) NOT NULL default '0', imgheight int(11) NOT NULL default '0', imgdate int(11) NOT NULL default '0', imgprivate int(1) unsigned NOT NULL default '0', PRIMARY KEY (imgid) )
replace " . TABLE_PREFIX . " with your table prefix that you set in the config.php
ALL YOUR PROBLEMS ARE BECAUSE OF THE TABLE DOESN'T EXISTS AND YOU DIDN'T READ THE INSTALLATION FILE
PEPOLE WITH FRESH INSTALL WON'T FACE ANY PROBLEM
|
i tried that and i get this error -
Quote:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '" . TABLE_PREFIX . "vbimghost (imgid int(11) NOT NULL auto_increment,userid int(' at line 1
|
in my config.php file i have this set $config['Database']['tableprefix'] = ''
|