Warning: preg_match() - Unknown modifier '\'

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.
Post Reply
mb1
Forum Members
Forum Members
Posts: 10
Joined: Tue May 24, 2011 6:18 pm

Warning: preg_match() - Unknown modifier '\'

Post by mb1 »

Hello,

I recently upgraded from an older version of CMSMS (1.4 "Jamaica") to 1.9.4.2 "Faanui", because the upgrade was more than overdue, but also because we started seeing errors related to our host upgrading PHP (http://forum.cmsmadesimple.org/viewtopi ... 34&t=54501)

The upgrade went well, but some new errors show up when we try to save pages.

When we save a page, the page gets saved, but we see the following error in Firefox, Chome and IE9:

Code: Select all

Warning: preg_match() [function.preg-match]: Unknown modifier '\' in /home/username/public_html/lib/classes/class.CMSRoute.php in line 122
In IE, we get an additional error when we are in a page and click on "Apply".
We get the same error as above, and then this:

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/username/public_html/lib/classes/class.CmsRoute.php:122) in /home/username/public_html/lib/classes/class.admintheme.inc.php on line 188
and then same error but line number changes to 191, 194, 195, 198, 203

Does anyone know how I can fix these errors?

Thank you for your time
Post Reply

Return to “CMSMS Core”