Hi all, I am trying to install Zenphoto but it is failing to connect to my Database with the following error;
MySQL reported: MySQL not connected.
I have connected to the server via SSH to ensure the mysqld service is running which it is. I have double checked the connection details and even created a new DB to see if that resolved the issue. I have also tried using the IP address and localhost to no avail.
The debug file shows as the following:
{25507:Thu, 06 Jun 2013 18:42:26 GMT}
WARNING: mysql_real_escape_string() expects parameter 2 to be resource, boolean given in /var/www/vhosts/spencertribe.co.uk/httpdocs/zp-core/functions-db-MySQL.php on line 129
mysql_real_escape_string called from db_quote (functions-db-MySQL.php [129])
from getWhereClause (functions-common.php [228])
from PersistentObject->load (classes.php [275])
from PersistentObject->PersistentObject (classes.php [87])
from Zenphoto_Administrator->__construct (lib-auth.php [1275])
from Zenphoto_Authority->checkAuthorization (lib-auth.php [251])
from Zenphoto_Authority->checkCookieCredentials (lib-auth.php [774])
from require_once (auth_zp.php [71])
from require_once (load_objectClasses.php [51])
from require_once (functions.php [33])
from setup_permissions_changer.php [9]
I am hosting the site on my own dedicated server but for some reason I am unable to get past the setup page. Any help or advice would be most welcome.
Comments