Can I install this hack without closing my site?
Is CHMOD 0755 acceptable?
After creating table geek_articles this message appeared in database: PRIMARY and INDEX keys should not both be set for column `threadid`
I was able to CHMOD your files and folders to 0777 within my FTP application by right-clicking the mouse on the item and selecting CHMOD from the menu and typing 777.
All installation steps went smoothly. Not sure what problem Sim encountered with
if (!is_dir("/$folderchanges[root]")){
Did an error message flag? Did the installation process stop? My installation was completed successfully except for that strange database message.
I dropped the geek_articles and used the installer again to create the table with the same error message appearing.
These are the queries:
CREATE TABLE `geek_articles` ( `threadid` int(11) NOT NULL default '0', `byline` varchar(150) NOT NULL default '', `userid` int(11) NOT NULL default '0', `iconpath` varchar(255) NOT NULL default '', `synopsis` varchar(255) NOT NULL default '', `feature_untill` int(11) NOT NULL default '0', PRIMARY KEY (`threadid`), KEY `threadid` (`threadid`) ) TYPE=MyISAM;
ALTER TABLE `attachment` ADD `description` VARCHAR( 150 ) NOT NULL ;
ALTER TABLE `geek_articles` ADD `iconpath` VARCHAR( 255 ) NOT NULL default '' ;
ALTER TABLE `geek_articles` ADD `synopsis` VARCHAR( 255 ) NOT NULL default '' ;
ALTER TABLE `geek_articles` CHANGE `synopsis` `synopsis` MEDIUMTEXT;
DB changes complete
|