Search

I’m using the Media Temple to host my sites, and recently after they did and upgrade or something my Symphony sites just stopped working correctly. It seems that all of them are now incapable of front-end entry editing or creating. Symphony simply errors out with the following page. Any help is greatly appreciated! I should mention that the site works perfectly when testing locally on MAMP and on XAMPP:

pregmatchall() [function.preg-match-all]: Compilation failed: invalid UTF-8 string at offset 15 An error occurred in /html/symphony/lib/toolkit/class.lang.php around line 206

// Replace spaces (tab, newline etc) with the delimiter
$string = preg_replace('/[s]+/', $delim, $string);                    

// Find all legal characters
preg_match_all('/[^<>?@:!-/[-`????;?????]+/u', $string, $matches);

// Join only legal character with the $delim
$string = implode($delim, $matches[0]);

Can you var_dump($string) at this point to see the offending string?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details