dennis1981 Posted November 16, 2009 Share Posted November 16, 2009 After having the pleasure to get rid of our Windows box and IIS...ive know setup up an Ubuntu Linux box with Apache.The migration from Win to Linux went fine! I can login into my BO, no problems whatsoever!! But when i try to load the front office i get a blank page!!! With PHP errors turned on i receive the following errors :Warning: preg_match_all() [function.preg-match-all]: Compilation failed: missing ) at offset 14995 in /home/s/a/sac/web/public_html/tools/smarty/Smarty_Compiler.class.php on line 1162Fatal error: Smarty error: [in /home/s/a/sac/web/public_html/modules/canonicalurl/canonicalurl.tpl line 1]: syntax error: 'if' statement requires arguments (Smarty_Compiler.class.php, line 1169) in /home/s/a/sac/web/public_html/tools/smarty/Smarty.class.php on line 1091Does anyone has seen these errors before?Thanks a lot!!!Dennis Link to comment Share on other sites More sharing options...
dennis1981 Posted November 16, 2009 Author Share Posted November 16, 2009 Following the warning generated for Smarty_Compiler.class.php on line 1162, i commented the following line:line 1162... $this->_syntax_error("missing section name", E_USER_ERROR, __FILE__, __LINE__); The front office of the shop is now loading fine! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now