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.
Posts: 487
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.
Posts: 7994
Another thing to check: make sure that the "errors/configmode.php" file actually exists!
Posts: 58
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.
Posts: 58
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.
Posts: 58
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" ?
Posts: 487
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.