ZenphotoCMS Forum
Database Configuration File 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: Database Configuration File error (/thread-10563.html)



Database Configuration File error - Syrphid - 2012-11-02

I edited index.php in a copy of the default theme (v. 1.4.3.3). I made several code errors, and decided to revert back to the last working copy of index.php. When I uploaded the original file, Firefox returned a mostly blank page with only a zero.

I then changed the active theme back to default instead of my copy of default but the error persisted.

I called my hosting company and was told that there was no database configuration file. Is there a way to fix whatever I did or should I delete the database, delete the directory where I installed ZenPhoto, and then start over with a clean installation?

Thanks




Database Configuration File error - acrylian - 2012-11-02

The database config is within the config file within /zp-date/. No way that editing a theme can cause this actually. As a basic rule if you get blank pages there is an fatal error and you need to look at your server error log to find out what.




Database Configuration File error - Syrphid - 2012-11-02

Thanks for all of your help. I looked back through files after your response. Sorry to bother you with a stupid error on my part. I obviously shouldn't edit files in the middle of the night if I can't sleep!