Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Errors in installation  (Read 2572 times)

0 Members and 1 Guest are viewing this topic.

atta

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Errors in installation
« on: July 07, 2006, 06:50:20 pm »

Hey guys please help me when i run install.php on my localhost i put the
Name:admin
Pass:admin
Email:***********
localhost
database name
login:root
pass:root

then when i submit i recived the errors below:
 
 mySQL Error: You have an error in your SQL syntax near 'KEY search (title,caption,keywords,filename) ) TYPE=MyISAM' at line 46 on query ' CREATE TABLE cpg145_pictures ( pid int(11) NOT NULL auto_increment, aid int(11) NOT NULL default '0', filepath varchar(255) NOT NULL default '', filename varchar(255) NOT NULL default '', filesize int(11) NOT NULL default '0', total_filesize int(11) NOT NULL default '0', pwidth smallint(6) NOT NULL default '0', pheight smallint(6) NOT NULL default '0', hits int(10) NOT NULL default '0', mtime datetime NOT NULL default '0000-00-00 00:00:00' , ctime int(11) NOT NULL default '0', owner_id int(11) NOT NULL default '0', owner_name varchar(40) NOT NULL default '', pic_rating int(11) NOT NULL default '0', votes int(11) NOT NULL default '0', title varchar(255) NOT NULL default '', caption text NOT NULL, keywords varchar(255) NOT NULL default '', approved enum('YES','NO') NOT NULL default 'NO', galleryicon int(11) NOT NULL default '0', user1 varchar(255) NOT NULL default '', user2 varchar(255) NOT NULL default '', user3 varchar(255) NOT NULL default '', user4 varchar(255) NOT NULL default '', url_prefix tinyint(4) NOT NULL default '0', pic_raw_ip tinytext, pic_hdr_ip tinytext, lasthit_ip tinytext, PRIMARY KEY (pid), KEY owner_id (owner_id), KEY pic_hits (hits), KEY pic_rate (pic_rating), KEY aid_approved (aid,approved), KEY pic_aid (aid), position INT(11) NOT NULL default '0', FULLTEXT KEY search (title,caption,keywords,filename) ) TYPE=MyISAM'
Logged

Nibbler

  • Guest
Re: Errors in installation
« Reply #1 on: July 07, 2006, 06:56:18 pm »

What version of mysql are you using? Check the minimum requirements.
Logged

carlnunes

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Errors in installation
« Reply #2 on: July 14, 2006, 11:24:15 am »

I had a similar error and reuploaded the .sql files in the sql folder; after telling my ftp upload program (FireFTP) to treat these files (.sql) as ASCII type files. I had to add the sql extension to an existing list of file type extensions in my ftp program (FireFTP).

Worked for me!  ;D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Errors in installation
« Reply #3 on: July 14, 2006, 03:27:00 pm »

Hey guys please help me when i run install.php on my localhost i put the
Name:admin
Pass:*****
Email:***********
localhost
database name
login:root
pass:****
Those are silly usernames and passwords, you should never use them, even on a testbed. You shouldn't post them neither - if you succeed to install and those settings come in to place, you might find yourself hacked in not time.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.