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?
issue duplicating website
-
- Power Poster
- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
[solved] Re: issue duplicating website
I can't figure out how to delete my post, but I was able to resolve this by getting the latest version of 1.x and upgrading.