Error message appears after reinstall

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 13, 2014   (RSS)

By lozzer - February 13, 2014

After reinstalling CMS Builder on a client site, I get this error message appearing on the top of each screen:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in..............cmsAdmin/lib/login_functions.php on line 308

Anyone seen this message before? Or know of a solution?

By Dave - February 13, 2014

Hi lozzer, 

That warning is caused by a new version of PHP and is fixed in the latest CMSB beta.  If you email me direct at dave@interactivetools.com I can send you the beta, or you can wait a few days and we should have it released.  Or just edit that file and add a @ here: 

  $GLOBALS['randomNumberSeed'] = @preg_replace('/(.+)/ise', '\1',

Note that we have a few other fixes for the latest PHP in the beta so it will be good to upgrade when it's available.

Hope that helps, let me know any questions.

Dave Edis - Senior Developer
interactivetools.com