copying site to new site

Permalink Browser Info Environment
Hi Jordan

I often replicate sites over by copying the root directory and the DB and placing them into new folders and DB's etc. This is the first time I have done this with a site containing Designer Content and I get the below error ( when connecting to the new site ) where 'logo' is the block created using Designer Content on the site I copied from.

Warning: require_once(/home/mydomain/public_html/new-site/concrete/blocks/logo/controller.php) [function.require-once]: failed to open stream: No such file or directory in /home/mydomain/public_html/new-site/concrete/core/libraries/loader.php on line 205


Fatal error: require_once() [function.require]: Failed opening required '/home/mydomain/public_html/new-site/concrete/blocks/logo/controller.php' (include_path='/home/mydomain/public_html/new-site/libraries/3rdparty:/home/mydomain/public_html/new-site/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/new-site/concrete/core/libraries/loader.php on line 205


So to summarise I have copied all the old site files over to /home/mydomain/public_html/new-site/ and imported a copy of my old DB into a new DB. I am not sure what the correct procedure is in these circumstances.

Should I
1. Copy the logo block to a backup from the old site
2. uninstall Designer Content from the old site
3. then copy all files over to the new site
4. Install Designer Content on the new site
5. Import the logo block into the new site

Type: Discussion
Status: New
Responsive
View Replies: View Best Answer
jordanlev replied on at Permalink Best Answer Reply
jordanlev
I talked to Andrew and apparently there's a bug in 5.6.0 that doesn't properly clear one of the new caches. To fix the problem, you can temporarily turn off the "Overrides Cache" in Dashboard -> System & Settings -> OPTIMIZATION -> Cache & Speed Settings. Then after you've created your blocks you can turn it back on.

The next point release of C5 will fix this issue, so you won't need to do this after 5.6.0.1 (or whatever the next version will be) is released.

-Jordan
Responsive replied on at Permalink Reply
Responsive
Ok thanks for the info Jordan

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.