ZenphotoCMS Forum
Changed password on Cpanel, now error - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Changed password on Cpanel, now error (/thread-1103.html)



Changed password on Cpanel, now error - darrellm - 2007-01-29

Hi,
I changed the main Cpanel password and all of a sudden I got an error when viewing www.darrellmankin.org/zenphoto I also changed the user on Mysql admin to reflect the new password but didn't work.

About the same time I was making the changes on image.php, removing line 38 so I don't know if this is due to changing password or the changes to remove the link to images so they don't resize to a new window. But I put the code back exactly how it was before.

I had an image displaying from the gallery on a site and it is still showing, but when I click on it I get error:
MySQL Error: Could not connect to the database server.
MySQL Error: Could not connect to the database server.

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/darrellm/public_html/zenphoto/zen/functions-db.php on line 38
MySQL Query ( SELECT * FROM albums WHERE folder = 'portraits' LIMIT 1; ) Failed. Error: Access denied for user 'darrellm'@'localhost' (using password: YES)




Changed password on Cpanel, now error - DarrellD - 2007-01-29

From the error message, it's looking like you're using the wrong password to connect to the mySQL database.




Changed password on Cpanel, now error - darrellm - 2007-01-30

Fixed it on the config. Thanks.