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: [Solved]: Upgrade failed (1.4.12 to 1.4.16)  (Read 6930 times)

0 Members and 1 Guest are viewing this topic.

dalenabruji

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 4
    • 30 Segundos a Jared
[Solved]: Upgrade failed (1.4.12 to 1.4.16)
« 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.
« Last Edit: May 08, 2008, 05:14:54 pm by Joachim Müller »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Upgrade failed (1.4.12 to 1.4.16)
« Reply #1 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Upgrade failed (1.4.12 to 1.4.16)
« Reply #2 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.
Logged

dalenabruji

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 4
    • 30 Segundos a Jared
Re: Upgrade failed (1.4.12 to 1.4.16)
« Reply #3 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!!!

Logged

dalenabruji

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 4
    • 30 Segundos a Jared
Re: [Solved]: Upgrade failed (1.4.12 to 1.4.16)
« Reply #4 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.
« Last Edit: May 09, 2008, 07:48:13 am by Hein Traag »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: Upgrade failed (1.4.12 to 1.4.16)
« Reply #5 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.