issue duplicating website
Posted: Fri May 20, 2016 7:13 pm
I have a website at mysite.com/old. It's working great running. I duplicated the database and duplicated the files to mysite.com/new . mysite.com/new worked great until I edited the config.php file and pointed it to the new database, which is just a duplicate of the original database. It now gives the error:
Fatal error: Cannot redeclare smarty_function_title() (previously declared in /home/www/mysite.com/old/plugins/function.title.php:19) in /home/www/mysite.com/new/plugins/function.title.php on line 46
Not sure how it wouldn't work when the files and databases are a direct copy. Is there maybe somewhere in the database where it's calling the /old directory and that needs to be updated?
Fatal error: Cannot redeclare smarty_function_title() (previously declared in /home/www/mysite.com/old/plugins/function.title.php:19) in /home/www/mysite.com/new/plugins/function.title.php on line 46
Not sure how it wouldn't work when the files and databases are a direct copy. Is there maybe somewhere in the database where it's calling the /old directory and that needs to be updated?