forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: dalenabruji on May 08, 2008, 02:58:52 am

Title: [Solved]: Upgrade failed (1.4.12 to 1.4.16)
Post by: dalenabruji on May 08, 2008, 02:58:52 am
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.
Title: Re: Upgrade failed (1.4.12 to 1.4.16)
Post by: Hein Traag on May 08, 2008, 08:16:08 am
You need to upgrade to 1.4.18 instead of the two versions older 1.4.16
Title: Re: Upgrade failed (1.4.12 to 1.4.16)
Post by: Joachim Müller on May 08, 2008, 08:27:27 am
Don't use auto-installers, they suck. The one and only upgrade method is the one we describe in our docs.
Title: Re: Upgrade failed (1.4.12 to 1.4.16)
Post by: dalenabruji on May 08, 2008, 05:06:29 pm
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!!!

Title: Re: [Solved]: Upgrade failed (1.4.12 to 1.4.16)
Post by: dalenabruji on May 08, 2008, 11:02:01 pm
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.
Title: Re: [Solved]: Upgrade failed (1.4.12 to 1.4.16)
Post by: Joachim Müller on May 09, 2008, 07:11:24 am
Don't use a WYSIWYG-editor like dreamweaver to edit PHP files. Use a plain text editor instead.