We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32531
    • 7 Posts
    Hi,

    Can anyone help with this as it’s starting to cost me a lot of time. I am trying to get the Search Engine Friendly URL’s working in Modx and for some reason it’s not working.

    This is the error message I’m getting:


    Parse error: syntax error, unexpected $end, expecting ’]’ in /homepages/26/d233536634/htdocs/manager/includes/document.parser.class.inc.php(814) : regexp code on line 1

    Fatal error: preg_replace() [<a href=’function.preg-replace’>function.preg-replace</a>]: Failed evaluating code: (1 ? (isset($aliases

    * ) ? $this-&gt;makeFriendlyURL(’php’,’.php’,$aliases
    * ) : $this-&gt;makeFriendlyURL(’php’,’.php’,’#’)) : $this-&gt;makeFriendlyURL(’php’,’.php’,’#’)) in /homepages/26/d233536634/htdocs/manager/includes/document.parser.class.inc.php on line 814


    I’ve ensured that my server accepts the .htaccess file. Does anyone know what this is? Thanks...