Page 1 of 1

Warning: preg_match() - Unknown modifier '\'

Posted: Sun Jul 03, 2011 4:17 pm
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