One more blank page

Just to keep this documented.
Installation went "ok", files in data/ have been created. Some of lock-files go from empty to lock and back while reloading. File permissions are ok, script seems to work, but there is only an empty HTTP 200 reply. Adding &login to the URL does not help.

After 2h debugging i found only two problems. In the installation guide is not mentioned that you need to create the photos/ dir. If you don´t do this the script will bail out at main.php:1064 without any hint. The second problem is that the line main.php:1063 theme_generate_error_page(); does not show anything (so no message at 1064). But i haven´t investigated that yet.

One remark: please don´t exit(0). Exit Code 0 means "OK", and the exits here aren´t clean.

Update:
Replacing include() with require() in engine.php:371 shows the problem:
Fatal error: require() [function.require]: Failed opening required 'themes/Borders/error.tpl.php' (include_path='/usr/local/php/lib/php') in /www/phpalbum/themes/engines/phptemplate/engine.php on line 371
-------
That´s the problem. A wrong inclusion path. Please replace include() with require(). I think that will help a lot. After fixing that, everything works.

patrik's picture

Thanks for posting your

Thanks for posting your experiences with installing of phpAlbum. I just slightly changed install documentation regarding the photos directory.

I will try to correct the other bugs in the new version.

Patrik

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.