I am new to CMSMS. A client of mine asked me to do some redesign for their CMSMS website. To test my new design I want to make a backup copy of the client's current website, place it on my own webhosting account, and insert the new design in the backup, before editing the live website.
I have copied all website data to my own server and uploaded the backup of the MySQL database to a new local database. I have edited the config.php so that all addresses point to the backup install.
At first I had some PHP errors concerning the deprecated =& in one of the site's files. This was easily fixed.
Now however the backup site loads only a blank page when it is visited. When I turn on CMSMS error reporting I get several Smarty Errors:
Code: Select all
string(125) "Smarty error: [in tpl_top:18 line 1]: syntax error: unrecognized tag 'process_pagedata' (Smarty_Compiler.class.php, line 590)" string(115) "Smarty error: [in tpl_head:18 line 5]: syntax error: unrecognized tag 'title' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in tpl_head:18 line 6]: syntax error: unrecognized tag 'metadata' (Smarty_Compiler.class.php, line 590)" string(120) "Smarty error: [in tpl_head:18 line 7]: syntax error: unrecognized tag 'stylesheet' (Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in tpl_body:18 line 4]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)" string(117) "Smarty error: [in tpl_body:18 line 6]: syntax error: unrecognized tag 'content' (Smarty_Compiler.class.php, line 590)" string(124) "Smarty error: [in tpl_body:18 line 8]: syntax error: unrecognized tag 'global_content' (Smarty_Compiler.class.php, line 590)"
The website runs on CMSMS version 1.7.1, which I understand is very old. I don't know the PHP version of my clients website, but since I got the error concerning the deprecated use of =&, I assume it is v4. The PHP version on my server is 5.3.5.
Line 590 in Smarty_Compiler.class.php that is mentioned in the error message only contains the code that generates the error message ($this->_syntax_error("unrecognized tag '$tag_command'", E_USER_ERROR, __FILE__, __LINE__);) I have no clue as to where the unrecognised tags are called, and how I can fix this.
Any advice would be greatly appreciated!
Kind regards,
Chris