Menu

#2305 (ok 2.9.2) scripts/upgrade.pl not working - fix available

Latest_Git
fixed
None
1
2013-06-11
2006-11-19
No

Hi,

problem is with upgrade.pl script. It's very nice to have possibility to upgrade automatically.

So, the problem is with version number:

http://phpmyadmin.net/home_page/version.php

2.9.1.1

and the script is trying to work with filename like

phpMyAdmin-2.9.1.1.tar.gz

but in latest version file all files are with suffix -all-languages

You need to change filename and directory calculation:

from

$filename = "phpMyAdmin-" . $version . ".tar.gz";
$directory = "phpMyAdmin-" . $version;

to

$filename = "phpMyAdmin-" . $version . "-all-languages.tar.gz";
$directory = "phpMyAdmin-" . $version."-all-languages";

and it should work.

Thank You for this good and helpful script!
Hope to see this fix in next release!

Discussion

  • Marc Delisle

    Marc Delisle - 2006-11-19
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2006-11-19
    • priority: 5 --> 1
    • summary: scripts/upgrade.pl not working - fix available --> (ok 2.9.2) scripts/upgrade.pl not working - fix available
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2006-11-19

    Logged In: YES
    user_id=210714
    Originator: NO

    Fixed for 2.9.2, thanks.

     
  • Marc Delisle

    Marc Delisle - 2007-01-16
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed