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: installation problems  (Read 10160 times)

0 Members and 1 Guest are viewing this topic.

jdra

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
installation problems
« on: November 29, 2005, 07:41:04 pm »

HI, i uploaded the programm, went to install.php, filled all info in, clicked on let's go, and got the following error:
mySQL Error: 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 'INSERT INTO cpg_config VALUES ('albums_per_page', '12')' at lin on query ' CREATE TABLE cpg_plugins ( plugin_id int(10) unsigned NOT NULL auto_increment, name varchar(64) NOT NULL default ''## ******************************************** INSERT INTO cpg_config VALUES ('albums_per_page', '12')'

what can I do about it?
Jeroen
Logged

Nibbler

  • Guest
Re: installation problems
« Reply #1 on: November 29, 2005, 07:53:50 pm »

Re-upload the files in the sql directory, looks like they got corrupted during upload.
Logged

jdra

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: installation problems
« Reply #2 on: November 29, 2005, 08:05:38 pm »

Did not work, but maybe this can help you: the tables in the db were already created: when I do install it with the same prefix I get this message:
mySQL Error: Table 'cpg1_albums' already exists on query ' CREATE TABLE cpg1_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL, visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO', comments enum('YES','NO') NOT NULL default 'YES', votes enum('YES','NO') NOT NULL default 'YES', pos int(11) NOT NULL default '0', category int(11) NOT NULL default '0', thumb int(11) NOT NULL default '0', keyword VARCHAR( 50 ), alb_password VARCHAR( 32 ), alb_password_hint TEXT, PRIMARY KEY (aid), KEY alb_category (category) ) TYPE=MyISAM'

Jeroen
Logged

Nibbler

  • Guest
Re: installation problems
« Reply #3 on: November 29, 2005, 08:26:51 pm »

Can you post a link to your gallery ?
Logged

jdra

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: installation problems
« Reply #4 on: November 29, 2005, 08:36:42 pm »

I don't reaaly get what you mean, this is the link to the install

http://blackmagic.wagoo2.com/cpg142/install.php?

Jeroen
Logged

Nibbler

  • Guest
Re: installation problems
« Reply #5 on: November 29, 2005, 08:44:09 pm »

Take a look - http://blackmagic.wagoo2.com/cpg142/sql/schema.sql

The file is incomplete, you must re-upload it properly.
Logged

jdra

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: installation problems
« Reply #6 on: November 30, 2005, 01:07:13 pm »

I reuploaded it, and it didn't work, got the same message:

mySQL Error: 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 'INSERT INTO cpg3_config VALUES ('albums_per_page', '12')' at li on query ' CREATE TABLE cpg3_plugins ( plugin_id int(10) unsigned NOT NULL auto_increment, name varchar(64) NOT NULL default ''## ******************************************** INSERT INTO cpg3_config VALUES ('albums_per_page', '12')'

my scheme.sql is 8760 bt big

jeroen
Logged

Nibbler

  • Guest
Re: installation problems
« Reply #7 on: November 30, 2005, 04:28:44 pm »

Exactly, it is supposed to be 10KB in size.
Logged

jdra

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: installation problems
« Reply #8 on: November 30, 2005, 04:46:15 pm »

in my zip file (that I downloaded) is it also that big, could you give the right one to me?

Jeroen
Logged

Nibbler

  • Guest
Re: installation problems
« Reply #9 on: November 30, 2005, 04:46:57 pm »

Re-download the file then, try a different mirror.
Logged

jdra

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: installation problems
« Reply #10 on: November 30, 2005, 07:17:09 pm »

done that aswell still same problem

jeroen
Logged

Nibbler

  • Guest
Re: installation problems
« Reply #11 on: November 30, 2005, 07:19:07 pm »

Try the attached (rename it to schema.sql).
Logged

jdra

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: installation problems
« Reply #12 on: December 01, 2005, 06:47:18 pm »

now I get the following problem

mySQL Error: 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 'def## ******************************************** on query ' CREATE TABLE cpg144_plugins ( plugin_id int(10) unsigned NOT NULL auto_increment, name varchar(64) NOT NULL def## ******************************************** INSERT INTO cpg144_config VALUES ('albums_per_page', '12')'

Jeroen
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: installation problems
« Reply #13 on: December 02, 2005, 07:44:43 am »

apparently, there are many files that got corrupted during upload. Re-upload all files from a fresh package. What FTP app do you use?
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 15 queries.