[Solved]: Upgrade failed (1.4.12 to 1.4.16) [Solved]: Upgrade failed (1.4.12 to 1.4.16)
 

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

[Solved]: Upgrade failed (1.4.12 to 1.4.16)

Started by dalenabruji, May 08, 2008, 02:58:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dalenabruji

By CPanel I'll try to upgrade my coppermine gallery, but shows me this error message...

Upgrade failed

The database brujis_copp1 is not working properly and the creation of a database backup file has failed. Please contact the sysadmin for further assistance. Include this message for reference.

The initial installation has not been modified.


Why can I do to repair the gallery... this is the link:


http://30segundosajared.com/imagenes

I'll really appreciate your help.

Brujis.

Hein Traag

You need to upgrade to 1.4.18 instead of the two versions older 1.4.16

Joachim Müller

Don't use auto-installers, they suck. The one and only upgrade method is the one we describe in our docs.

dalenabruji

Thank you so much!!!, well this is the very first time that I made this kind of upgrade, so I didn't know about the fails of auto-installers...

I'll try to upgrade the gallery into 1.4.18... ;D

Thanks again!!!


dalenabruji

#4
well... I hate to bother so much... but I did what you both said, but I still got some errors...

This is the index of my gallery....

Coppermine critical error:
Unable to connect to database !

MySQL said: Client does not support authentication protocol requested by server; consider upgrading MySQL client


Well... the mysql is right so in Dreamweaver I saw this in update.php:


if (! $connect_id = @mysql_connect($CONFIG['dbserver'], $CONFIG['dbuser'], $CONFIG['dbpass'])) {
        $errors .= "<hr /><br />Could not create a mySQL connection, please check the SQL values in include/config.inc.php<br /><br />MySQL error was : " . mysql_error() . "<br /><br />";
    } elseif (! mysql_select_db($CONFIG['dbname'], $connect_id)) {
        $errors .= "<hr /><br />mySQL could not locate a database called '{$CONFIG['dbname']}' please check the value entered for this in include/config.inc.php<br /><br />";


So I went to config.inc.php and this is what it shows me:

<?php

    define ( 'SILLY_SAFE_MODE' , 1 ) ;

    $CONFIG['dbserver'] = 'localhost' ;
    $CONFIG['dbuser'  ] = '*******' ;
    $CONFIG['dbpass'  ] = '*******' ;
    $CONFIG['dbname'  ] = '*******' ;

    $CONFIG['TABLE_PREFIX'] = 'cpg_' ;

?>


and I really don't get it... if someone can help please!!!...

Brujis.

Joachim Müller

Don't use a WYSIWYG-editor like dreamweaver to edit PHP files. Use a plain text editor instead.