Page 1 of 1

PHP 6 compatibility patch

Posted: Thu Jan 03, 2008 2:49 pm
by samuellb
Hi,

First I'd like to say that I really like your CMS! It's really of high quality, and you seem to prioritize usability which is very important when you're making web sites for non-programmers :)

Ok, to the point. I've made a patch for PHP 6 compatibility in CMSMS. It makes it possible to use CMSMS with PHP6, but you'll still get a lot of "Strict Standards" errors. Most of these should be easy to fix, but they would break PHP 4 compatibility so I didn't include fixes for these in the patch. They are easy to get rid of, just change error reporting from E_ALL to E_ALL ~ E_STRICT. It can be done in .htaccess as follows (AllowOverride Options=php_value must be in your Apache config):

Code: Select all

php_value error_reporting 6143
I've attached the patch. It includes some changes to 3rd party software like Smarty, but I will send patches for these to the right people later.