blank page on installation

Hello. I'm trying to do a fresh installation (I had a very old version of zenphoto but decided to start all over again). The only thing that I have kept from the old installation, are the images (folders Albums and Cache). I've erased the database tables, it's empty.

The problem:

When I'm opening the setup url - http://loeuvrette.be/collections/zp-core/setup.php - I have only a blank empty page.

What I've done:

I'v seen many other forum threads with regards to a blank page, but I couldn't find a solution. I've tried changing permissions to 755 to files and folders.
I've checked the installation requirements, but it looks ok - except mysql version is 5.1, not 5.5+.

Any ideas what I could do ? Thanks.

My info:

Zenphoto 1.4.3
Apache/2.2.16
MySQL client version: 5.1.63 (?)
PHP Version 5.3.3-7+squeeze13

Apache error log:

[Mon Jul 30 18:16:17 2012] [error] [client 81.66.140.14] File does not exist: /var/www/htdocs/loeuvrette/public/favicon.ico
[Mon Jul 30 19:15:13 2012] [error] [client 62.235.231.212] File does not exist: /var/www/htdocs/loeuvrette/public/favicon.ico
[Mon Jul 30 19:15:13 2012] [error] [client 62.235.231.212] File does not exist: /var/www/htdocs/loeuvrette/public/favicon.ico
[Mon Jul 30 20:04:42 2012] [crit] [client 69.171.237.3] (13)Permission denied: /var/www/htdocs/loeuvrette/public/collections/cache/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

There was no htaccess in /collections/cache. I've put an empty htaccess file, but it didn't change anything.

Comments

  • Best guess is that there is a PHP error log somewhere with the real error(s) in it. The above are not from PHP and since you got a blank page, somehow PHP has faulted.
  • I have two additional infos:

    1. I've been able to read the /zp-data/debug.log (by using extplorer, a php file manager). This is what I found:

    {Tue, 31 Jul 2012 15:43:02 GMT}
    Backtrace: USER ERROR: MySql Error: ( INSERT INTO `[prefix]options` (`name`,`ownerid`,`theme`,`value`) VALUES ('magick_font_size',0,"",'18') ON DUPLICATE KEY UPDATE `value`='18' ) failed. MySql returned the error Table 'loeuvrette.collections_options' doesn't exist in /var/www/htdocs/loeuvrette/public/collections/zp-core/functions-db-MySQL.php on line 59
    trigger_error called
    from query (functions-db-MySQL.php [59])
    from setOption (functions-basic.php [361])
    from lib_Imagick_Options->__construct (lib-Imagick.php [45])
    from require_once (lib-Imagick.php [26])
    from require_once (functions-basic.php [182])
    from require_once (functions.php [18])
    from require_once (admin-functions.php [9])
    from setup.php [247]

    2. I have found a file named php_error.log (at /var/log of the shared hosting server), with a couple of times this message (not sure this is related):

    [31-Jul-2012 18:09:02] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mhash.so' - /usr/lib/php5/20090626/mhash.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [31-Jul-2012 18:09:02] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/xapian.so' - /usr/lib/php5/20090626/xapian.so: cannot open shared object file: No such file or directory in Unknown on line 0

    Does any of this help?
  • ... and from another log file:

    [Tue Jul 31 18:09:12 2012] [crit] [client 66.249.66.216] (13)Permission denied: /var/www/htdocs/loeuvrette/public/collections/cache/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
  • Yes--the MySQL error. There is a known problem with Imagic corrected in the nightly builds. Please download and install the latest trunk nightly build.

    The PHP warnings are something else not related. From the messages I would guess it is a configuration problem with PHP. But they seem not related to Zenphoto, and may not even be a real issue.

    The .htaccess error seems to indicate that the file permissions on that file (in the cache folder) are not allowing the file to be read by the apache.
  • I have the same initial problem, blank page on setup, nothing happens. I asked the hosting party to take a look but there are no other files conflicting nor errors in the logfiles. I have downloaded the latest nightly version and still no luck...I comply with the server requirements...
  • acrylian Administrator, Developer
    Well, if you get a blank page there must be an error.
  • And there is no way we can figure out what went wrong without that error indicaton.
Sign In or Register to comment.