Member
Member
sambody   2012-07-30, 18:35
#1

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.

Member
Member
sbillard   2012-07-30, 19:55
#2

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.

Member
Member
sambody   2012-07-31, 16:19
#3

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: ( [i]INSERT INTO [prefix]options (name,ownerid,theme,value) VALUES ('magick_font_size',0,"",'18') ON DUPLICATE KEY UPDATE value='18'[/i] ) failed. MySql returned the error [i]Table 'loeuvrette.collections_options' doesn't exist[/i] 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]

  1. 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?

Member
Member
sambody   2012-07-31, 16:42
#4

... 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

Member
Member
sbillard   2012-07-31, 16:45
#5

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.

Member
Member
darkygirl   2012-08-01, 19:13
#6

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...

Administrator
Administrator
acrylian   2012-08-01, 19:26
#7

Well, if you get a blank page there must be an error.

Member
Member
sbillard   2012-08-01, 22:47
#8

And there is no way we can figure out what went wrong without that error indicaton.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.