Upgraded from 1.3 to 1.3.1, can no longer configure gallery

phule

Joined: 2002-08-23
Posts: 58
Posted: Fri, 2002-08-23 20:59

After enabling config mode with sh configure.sh I receive the following error:

Warning: Failed opening 'errors/configmode.php' for inclusion (include_path='') in /www/docs/blah/photos/util.php on line 737

I'm not sure what I did wrong. I made a copy of the gallery directory, then I downloaded from sourceforge the .gz and untarred it. Copied the files over the original ones in the gallery directory. When it's not in config mode (i.e. secure) I have no known problems with Gallery.

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Sat, 2002-08-24 03:06

Soo, lemme get this straight.. you made a copy of gallery, and copied
the new files into the copied gallery. And your updated version of galley
gives that error... assuming this is correct, you need to update your
gallery paths in config.php for the updated gallery, as you have changed
it's location since you originally configured it. Give that a try and see
what happens.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2002-08-24 03:37

Another thing to check: make sure that the "errors/configmode.php" file actually exists!

 
phule

Joined: 2002-08-23
Posts: 58
Posted: Sat, 2002-08-24 16:50
Quote:
Soo, lemme get this straight.. you made a copy of gallery, and copied
the new files into the copied gallery. And your updated version of galley
gives that error... assuming this is correct, you need to update your
gallery paths in config.php for the updated gallery, as you have changed
it's location since you originally configured it. Give that a try and see
what happens.

No, I'm sorry. I had 2 thoughts in my head at once and they got mushed together.

What I ment by including the bit about the making the copy of the directory was that I backed up gallery per the install instructions. I did not upgrade the copy of the directory, I upgraded the gallery files directly.

The gallery exists in the same directory it did prior to the upgrade. There was no change there.

 
phule

Joined: 2002-08-23
Posts: 58
Posted: Sat, 2002-08-24 16:52
Quote:
Another thing to check: make sure that the "errors/configmode.php" file actually exists!

Ah, a clue. I ssh'ed in and tried to cd into the errors directory.

Permission Denied.

An interesting error. I am checking with my hosting provider to see why this is.

 
phule

Joined: 2002-08-23
Posts: 58
Posted: Mon, 2002-08-26 18:22

Well, it turned out that once permissions needed mode a+x set. I'm curious as to why this is. I had to get these permissions set for the whole gallery directory. Now anyone on the hosting server can get access to my files. This seems...odd. Is there something else misconfigured or is this "normal" ?

 
vallimar

Joined: 2002-08-15
Posts: 487
Posted: Mon, 2002-08-26 20:33

When it comes to webpages, you have two choices, make it world readable
or make it at least readable for the webserver process. That tends to apply
unilaterally. At least in unix land from my experiences.