Trying to upgrade to the latest version from 1.4.5.1 to 1.4.5.8, I have found that my config is printed at the top of the setup page?
I have deleted the files in the zp-data folder and tried again, but this still happens and I get this same problem when loading any page past this...
Any ideas?
Comments
It should. If not then it would get displayed as you describe. However, if it was really removed then the newly made copy would begin with that string.
Maybe there is a file permissions issue so that it is not seen or removed.
The .php has the <?php at the beginning and ?> at the end.
The .bak doesn't have these and is slightly different in content.
The actual extra text begins with "; MySQLi and also ends with another error:
Warning: Cannot modify header information - headers already sent by (output started at /home/u538472778/public_html/newgallery/zp-core/functions-basic.php(114) : eval()'d code:103) in /home/u538472778/public_html/newgallery/zp-core/setup/index.php on line 379
"; MySQLi
Shows again, and again after Third party plugins folder (plugins)...
On the next setup page, I get 3 errors seen here...
http://mstratforddesign.co.uk/images/Page2.jpg
Setup.log:
Zenphoto Setup v1.4.5.8[676d2dec8b]: Thu, 02 Jan 2014 15:52:11 -0500
Query error: MySQLi not connected
Warn: zp-data security [is compromised] Zenphoto suggests you make the sensitive files in the zp-data folder accessable by owner only (permissions = 0600). The file permissions for security.log are 0640 which may allow unauthorized access.
Warn: PHP version 5.3.24 PHP Version 5.2 or greater is required. Version 5.4 or greater is strongly recommended. Use earlier versions at your own risk.
Warn: PHP display_errors [is enabled] This setting may result in PHP error messages being displayed on WEB pages. These displays may contain sensitive information about your site.
Debug.log is full of stuff, probably not best to paste here I can email it if it is better!
Now here comes the long road back to civilisation...
If you get a lot spam comments you most likely have no spam filter installed. See the extensions page.
zp_data's permissions need to be change via FTP directly.
When should you Backup/Restore a database ?
Backup are recommended regular (each day is good generally). Restore of course when you need it.
Please don't mix rather unrelated topics.