ZenphotoCMS Forum
Random MySQL Errors - 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: Random MySQL Errors (/thread-4327.html)



Random MySQL Errors - live4ever - 2008-12-28

Hi,

I installed Zenphoto through Powweb's install tool and really haven't tweaked any settings yet. I can see the gallery and it's contents fine most of the time but sometimes get following error message when trying to view. Since I can see the gallery most of the time I don't think there is a mistake in the host and username setting ?
Thanks for any help.

http://www.live4ever.us/gallery

Zenphoto Error
MySQL Error: Zenphoto could not connect to the database server.Check your zp-config.php file for the correct host, user name, and password.Note that you may need to change the host from localhost if your web server uses a separate MySQL server, which is common in large shared hosting environments like Dreamhost and GoDaddy.Also make sure the server is running, if you control it.




Random MySQL Errors - acrylian - 2008-12-28

Apparently you did not set the mysql data correctly. If it works sometimes and sometimes not I suggest to contact your ISP.




Random MySQL Errors - sbillard - 2008-12-28

Powweb generally runs fine. That is the ISP I use. (However, I don't use the Powweb install tool.)

Right now your URL is giving the following error: Error: The 'albums' directory (/full/server/path/to/zenphoto/home/users/web/b939/live4ever.us/gallery/albums/) cannot be found. Which should not happen unless the folder has been removed or there is an error in the zp-config.php file.

Runing setup indicates that there is a problem with file permissions on your folders--setup cannot create the albums folder. Setup also indicates that there was probably a problem with the file upload.

My suggestion is that you install zenphoto 1.2.2 your self, fix any issues that setup declares and see how that goes. Make a copy of your current zp-config.php file so that you know the settings Powweb has used for things like database server.




Random MySQL Errors - live4ever - 2008-12-29

thanks , after my reinstall everything seems to be working fine

appreciate your answer