program not accessing images after Apache/php/mySQL upgrade

kevinsdh

Joined: 2002-09-14
Posts: 1
Posted: Sat, 2002-09-14 03:42

We just updated some of our server programs Apache, PhP, and mySQL. After the upgrades, the gallery program no longer recognizes or uses the path we havve set. The images are all there, but the program main page is all that will display. For instance I try to log in, I get a box with the main page, I go to one of the albums, I get the main page. If I go to page 2, I get the main pages etc... Really weird. All our other php and mySQL programs run fine - its just this one. This program has been great and we want to get it back online ASAP.

Program is version 1.2.5

What can I do?
Should I reinstall? if so, what files do I need to save to insure nothing is lost (besides the images themselves.)

Here is the link so you can see what I mean:
http://www.duckcentral.com/gallery/index.php

Thanks in advance!

kevinsdh

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-09-14 06:23

That is odd. But let's start by upgrading to Gallery v1.3.1. There's a link to the UPGRADING document in the "I need help!!!" page (link on the left). Start with that and let us know if it doesn't resolve your issue.

 
ill
ill's picture

Joined: 2002-08-15
Posts: 756
Posted: Sat, 2002-09-14 07:20

If after upgrading to 1.3.x, the issue is still there, check out two things:
- PHP register globals: Try to set these to "ON" (even though Gallery should work with "OFF", which is defaulted by PHP)
- Your browsers cookie settings (enable for your gallery site)

A backup of your files is easy: Just copy the entire albums directory to someplace else.

 
fastnsilver

Joined: 2002-09-14
Posts: 1
Posted: Sat, 2002-09-14 16:39

I am experiencing this problem too!

I am running Gallery 1.3.1 on Windows XP Pro SP1, Apache 2.0.40, PHP 4.2.3. I recently upgraded from Apache 1.3.26 and PHP 4.2.2. I have my register_globals set to ON. And I do have mod_rewrite enabled on my Apache config. I cannot get to any of my albums. The error I get is...

Not Found
The requested URL /gallery/mday2002 was not found on this server.

--------------------------------------------------------------------------------

Apache/2.0.40 Server at fastnsilver.mine.nu Port 80

If I look in the Apache error log I see...

[Sat Sep 14 09:36:27 2002] [error] [client 63.231.20.58] File does not exist: G:/wwwroot/gallery/mday2002, referer: http://fastnsilver.mine.nu/gallery/index.php

Somehow the rewrite is not accessing the album in the albums directory.

Any ideas?
:???:

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2002-09-15 08:56

That's because PHP is still buggy under Apache 2.0.

We don't support Apache 2.0 for this reason. We will support it as soon as PHP supports it.