Installation Error Installation Error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Installation Error

Started by rolyaty, September 15, 2004, 10:13:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rolyaty

Hey,
Totally new to this.  Trying to install Coppermine Photo Gallery 1.3.2 and I get an error after clicking the "Lets Go" button.  The error is shown at the top of the install screen and is as follows:

QuotemySQL 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 'c vÃAM COMMENT = 'Holds temporary file data for multiple file u

I then went to my SQL database and the fields have all been created correctly, but there are no entries in any of them.  So, thinking this was a one time occurance, I reloaded the install.php file and tried all the same settings again.  The error message then became:
QuotemySQL Error: Table 'cpg132_albums' already exists
So, I go and delete all the fields starting with cpg132_ and try install again.  After pressing the Lets Go button, I get the first error message again.  Then, thinking maybe it's ok, I tried to go to the main page which is http://gallery.rolyaty.com and there are three Notices at the top that are:
QuoteNotice: Undefined index: cookie_name in /home/rolyaty2/public_html/gallery/include/functions.inc.php on line 29

Notice: Undefined index: cookie_name in /home/rolyaty2/public_html/gallery/include/init.inc.php on line 258

Notice: Undefined index: debug_notice in /home/rolyaty2/public_html/gallery/include/init.inc.php on line 315
I ignored them, and tried to login using the username and password generated during installation.  Told me : *** Couldn't log in. Try again ***

My server meets the minimum requirements.  Any help is appreciated.

Joachim Müller

CHMOD as suggested in the coppermine docs. Apparently the install script was not able to write the config.inc.php and install.lock file to your include folder.

Joachim

rolyaty

Thanks for the reply.

Originally I had changed the CHMOD thing to 777, wasn't sure which one I should use.  But I just changed it back to 755 for both the album folder and the include folder, verified by using an ftp client and checked properties of the two folders.  Both are set to 755 (Owner/group/world).

I deleted all the fields from mysql and tried the installation again but it gave me the same error message as before.

Should I just start over and delete everything and try again?

Joachim Müller

yes, I even recommend re-downloading the coppermine package from the downloads section to make sure it is not corrupt.

Joachim

rolyaty

Deleted all the files from the server, removed all fields from the database...downloaded a new copy of the files from another host, installed and it WORKS FINE now.  Dont know what the problem was, but it's going. Thanks for the help.