[SOLVED] PHP upgraded to 5.3 - How to upgrade from 2.3 from 2.3.2??

DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Sat, 2013-03-30 11:05

Not having looked at my gallery (version 2.3) for about six months, I just found it is no longer functional. The server was updated to PHP 5.3 a month or two back.

From what I have read gallery 2.3.2 is compatible with PHP 5.3.

In this situation, I wonder what is the best route I should take to get things back in order?

Currently the site is showing up but there are question marks where the pictures should be and I can't login to the Admin area...

I wonder if simply uploading the version 2.3.2 patch will allow me to get it functional? Or do I need to ask my hosting company to revert to an earlier version of PHP?

Thanks in advance!


Gallery version 2.3
PHP version 5.3

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2013-03-30 13:20
 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Sat, 2013-03-30 15:18

Thanks! I looked through them.

To be on the safe side I decided to "lower" the version of PHP on the server to 5.2 using a .htacces file with this code:
AddHandler application/x-httpd-php52 .php

This did make some "improvements" to the gallery (I can now login to the Admin area) but none of the pictures are visible. The structure is there, but the pictures and thumbnails are just question marks.

So I am wondering if maybe the problem is something else (the site was hacked?) and it being better to be safe than sorry, I thought it would be prudent to get the pictures showing up (i.e., the site repaired and working properly) before upgrading as not doing so might compound the problems...

The site can be viewed here: http://www.cambodiakids.org/Gallery2/main.php

Any advice on would be appreciated...

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2013-03-30 15:32

1st you should still upgrade. setting the handler in .htaccess does not guarantee that the server has php 5.2 to support the request.

Also it looks like you might want to re-setup the rewrite module as the upgrade might have broken support for rewrite.

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Sat, 2013-03-30 15:45

Just double checking. Re-set the rewrite module before upgrading or after? (I am not sure which upgrade you are refering to, php or gallery...)

Thanks...

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Sat, 2013-03-30 15:47

upgrade to gallery 2.3.2 to support your server's new php5.3.x

then rewrite

-s
________________________________
All New jQuery Minislideshow for G2/G3

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Sat, 2013-03-30 16:08

Thanks!

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Sun, 2013-03-31 00:11

The move to 2.3.2 went without a glitch. Thank you for your assistance...

Will now look into upgrading to Gallery 3...