PHP 6 compatibility patch

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
samuellb

PHP 6 compatibility patch

Post 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.
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

[The extension txt has been deactivated and can no longer be displayed.]

Post Reply

Return to “Developers Discussion”