setup.php not working on my server

Hello, I am trying to setup zenphoto on my server and I have had nothing but problems with it.
The server is running centos, apache 2 & php 5.2.4.
I have turned magic_quotes off in the php.ini file and set permission to 777 on zp-data, ablums & 666 on .htaccess
I started out getting permission errors when I ran the setup.php but they have now gone and all i see on the page is the following.

Systems Check:

PHP version 5.2.4
PHP Safe Mode
PHP magic_quotes_gpc
PHP gettext() support

There is no GO button and the actual code in the page is cut of between html tags..these are the last 2 lines written out:


<span class="pass">PHP `gettext()` support</span>

I looked in the setup_log file and it shows an error:
Zenphoto Setup v1.2.6[4335]
Query error: Access denied for user 'nobody'@'localhost' (using password: NO)
So I changed that to suit the database I created for the photo ablum and then the page just goes completely blank.

I hope that someone can shed some light on this, I would dearly love to get it working.
Thanks in advance Paul

Comments

  • acrylian Administrator, Developer
    If the page goes blank there should be an error in the log. The user of the MySQL database needs to have specific permissions. Please see the user guide for the details.
  • By "log" acrylian means your server CGI log, not the setup log.
  • Thanks guys,
    It turns out that it the server didn't have mbstring installed.
    I rebuilt the server and that caused other issues, but at least Zenphoto is working now :).
  • There is a fix for not having mbstring in the nightly builds.
Sign In or Register to comment.