For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
My guess is that while you were on holiday, your host upgraded your site's version of PHP to 5.3. ...But that's just a guess. Check your PHP version and see if it is what you expect.
If you are on PHP 5.3, you might try to disable the E_DEPRECATED messages with something like what I put in my php.ini:
I read it but no succes.
CMS version 1.9.4.1
PHP version 5.2.17
Server API cgi-fcgi
MySQL 5.0.91
I tried to put error_reporting(E_ALL); in config.php file but no changes.
Other sites have also PHP 5.2.17 and work fine???
Something must be wrong in index.php (and class.admintheme.inc.php) on following lines
// Here we adjust headers for non cachable pages
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
dagmar wrote:I tried to put error_reporting(E_ALL); in config.php file but no changes.
And with:
.htaccess settings for PHP 5.3.x
The error reporting value in a .htaccess file has to be specified as an integer.
php_value error_reporting 22527
error_reporting set directly in PHP
If none of these options work, you may have luck with this line in your config.php:
error_reporting(E_ALL & ~E_DEPRECATED);
First I made a htaccess.txt with only: php_value error_reporting 22527
uploaded in subfolder where cms was installed. Then changed name in .htaccess
The site didn't appaer at all, only an error.
Than I tried to put the error reporting in config.php at the top: <?php
error_reporting(E_ALL & ~E_DEPRECATED);
etc.etc.
The site didn't change and begins with: Warning: Cannot modify header information - headers already sent by (output started at /mnt/web5/23/72/51990572/htdocs/cms/lib/html_entity_decode_php4.php:629) in /mnt/web5/23/72/51990572/htdocs/cms/index.php on line 168
Strange Only on the homepage?? where the header is blue and on the other pages the header is grey...
But now something strange!!
In Safari and Explorer it looks good at first but when I open pages in the admin this appears: Output has already been sent to the browser at /mnt/web5/23/72/51990572/htdocs/cms/lib/html_entity_decode_php4.php:629. Please make sure the command $xajax->processRequest() is placed before this.
Ok I reinstalled firefox and now only the page admin login looks strange and when clicking the error: Output has already been sent to the browser at /mnt/web5/23/72/51990572/htdocs/cms/lib/html_entity_decode_php4.php:629. Please make sure the command $xajax->processRequest() is placed before this.
appears.