Problems cloning site
I want to clone my production vbulletin forum to a test forum for testing and backup purposes.
so basically I want to create an exact duplicate to a new database and location.
Production
db = vb_prod
url = /mysite/forums
Test Site
db = vb_test
url = /testsite/forums
So here are the steps I've taken
- Dump vb_prod using phpmyadmin
- Edited dump vb_prod.sql and changed all occurences of "mysite/" to "testsite/"
- Restored vb_prod.sql to database vb_test using bigdump.php
- Copy all forum files from /mysite to /testsite
- Edited config.php and updated the database information
Unfortunately I must have missed somthing because this is not working. I get the following error when I try and access the testsite
Warning: array_keys(): The first argument should be an array in /includes/functions.php on line 4840
Warning: preg_replace(): Empty regular expression in /includes/functions.php on line 4840
Any thoughts
|