Database upgrade problem

Questions & Problems about Installing or Upgrading Version 2 phpList
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

Database upgrade problem

Postby vincentraal » 6:20pm, Mon 28 Oct, 2013

Hi, this is my first post on this forum. So hello!

I was having some trouble upgrading to version 3.0.5 from 2.10.11. It is already resolved. But here's what I experienced, maybe some other users will find this information relevant.

What I did was:
1. download the latest release and copy this over my old installation (after backing up everything of course...)
2. opened the admin and clicked the "upgrade database" link
3. Then the problem occurred. The only output was that I the current version of my database was 2.10.11. But there wasn't any upgrade button.

The solution was to put some braces around the following statements in the file 'public_html/lists/admin/upgrade.php':
Rule 32:
Code: Select all
if (!$dbversion) {
  $dbversion = "Older than 1.4.1";
output( '<p class="information">'.$GLOBALS['I18N']->get('Your database version').': '.$dbversion.'</p>');
}


And rule 36 and further trough the end of the file an if/else statement:
Code: Select all
if ($dbversion == VERSION) {
bla bla bla
}else{

} // Don't miss the one at the end of the file...
vincentraal
phpList newbie
 
Posts: 1
Joined: 6:09pm, Mon 28 Oct, 2013

Return to Installing & Upgrading

Who is online

Users browsing this forum: No registered users and 1 guest