[solved] Tried upgrading 2.0 -> 2.1, upgrader won't run after extracting files, kicking errors

sremick
sremick's picture

Joined: 2005-05-06
Posts: 47
Posted: Thu, 2006-09-21 02:14


Gallery version: Trying to upgrade to 2.1.2
PHP version: 4.4.4
Webserver: Apache 1.3.33 I think
Database: MySQL 4.1.21
Operating system: Red Hat Linux
Browser: Firefox 1.5.0.7

Help! I was trying to upgrade from Gallery 2.0.x to 2.1.2. I downloaded the gallery-2.1.2-full.zip file and put it on my website. Since I keep Gallery in gallery/ but the path inside the zip is ./gallery2/ I temporarily renamed my site's dir to be gallery2. I then used a php file to extract the file on the webserver:

<? system("unzip -o gallery-2.1.2-full.zip") ?>

Once the extraction completed I renamed my directory back to gallery/ and loaded my site to begin the update. However, the upgrade page kicked out a bunch of errors like this:

Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_330078b512778759a1225686687862d6, O_RDWR) failed: No such file or directory (2) in /hermes/web06/b1564/pow.sremick/htdocs/gallery/upgrade/index.php on line 105

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/web06/b1564/pow.sremick/htdocs/gallery/upgrade/index.php:105) in /hermes/web06/b1564/pow.sremick/htdocs/gallery/upgrade/index.php on line 105

These errors appeared at the top and bottom of what looks like an otherwise intact page. But clicking on the [Continue to Step 1 >>] button causes the page to reload and I don't actually move to step 1. So I'm stuck. :(

I'm not sure if it's relevant but it's worth noting that my web host changed platforms since my last Gallery upgrade. Gallery 2.0 had been working fine on the new platform though... they ran scripts to update things automatically, and my config.php seems to be correct. I'm not sure what other things could be left referencing the old stuff that would trip this up, but I figured I' should mention it.

[img:7e2cd2eafe]http://sfx-images.mozilla.org/affiliates/Buttons/80x15/firefox_80x15.png[/img:7e2cd2eafe]

 
sremick
sremick's picture

Joined: 2005-05-06
Posts: 47
Posted: Thu, 2006-09-21 02:47

Nevermind, figured it out. It was my webhost's fault. On their new platform they have an invalid default session.save-path in the php.ini file. Idiots.

[img:7e2cd2eafe]http://sfx-images.mozilla.org/affiliates/Buttons/80x15/firefox_80x15.png[/img:7e2cd2eafe]