One of our two galleries quit working - no page loads and following errors:
[Fri Feb 21 15:01:54 2003] [error] PHP Warning: main(platform/fs_unix.php)
[<a href=&#039;http://www.php.net/function.main&#039;>function.main</a>]: failed to
create stream: Permission denied in
/usr/local/apache/htdocs/studygallery/init.php on line 76
[Fri Feb 21 15:01:54 2003] [error] PHP Warning: main() [<a
href=&#039;http://www.php.net/function.main&#039;>function.main</a>]: Failed opening
'platform/fs_unix.php' for inclusion (include_path='.:/usr/local/lib/php')
in /usr/local/apache/htdocs/studygallery/init.php on line 76
[Fri Feb 21 15:01:54 2003] [error] PHP Fatal error: Call to undefined
function: fs_file_exists() in
/usr/local/apache/htdocs/studygallery/init.php on line 80
Any advice?
------
Give us your Gallery/webserver information to get a faster answer.
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): timo.iu-bremen.de/studygallery/
Gallery version: 1.3.3
Apache version: 1.3.27
PHP version (don't just say PHP 4, please): 4.3.0
Operating system: Linux 7.3
Web browser/version (if applicable):
Posts: 524
are you sure the paths are correct in the config.php file
Posts: 33
Yes, and nothing has been changed (well nothing we know about). This was a running system (still is) as we are running two different galleries on the server (the other is still running). BTW, after running ./configure.sh one still gets just the blank screen. I'm wondering if I should turn on any other php error-reporting?
Posts: 33
Is this perhaps important? fs_unix.php is still there (in the platform directory) and the permissions are (still) okay.
Posts: 33
Problem solved - permissions error (as always).
I had assigned wwwrun to a new group last night which it turns out did not have exec permission to the platform directory (even though this directory was world-executable). :sad:
Short story: time to clean up permissions and file ownership here.