Site Migration Woes. Can't add blocks and other missbehaviors.

Permalink
I'm developing a concrete5 site (version 5.6.3.1) for a client. I've been developing on a single version of the site (Primary) that I'm now sharing with the client. Today I split the site by duplicating the existing site into a Development version of the site for me to hack at a bit.

Both versions are in different directories on the same server. Each has it's own mysql database (and configured in site.php). Aside from that the site's are identical. I duplicated the database content with mysqldump, and duplicated the complete file structure using git.

Both sites seem to work fine at first. I can view the site pages, login and edit content.

Two things I've noticed are not working.

1. New Blocks. I tried adding a custom block that is known to work on the Primary site. It won't work on the Development site. I get the following error when trying to access the block through Block Types or through adding the block to an area. I get a similar error with blocks created through the excellent Designer Content add-on.

Warning: require_once([Path to new block on Development]/controller.php): failed to open stream: No such file or directory in [Path to Development root]concrete/core/libraries/loader.php on line 217
Fatal error: require_once(): Failed opening required '[Path to new block on Development]/controller.php' (include_path='[Path to Development root]/libraries/3rdparty:[Path to Development root]/concrete/libraries/3rdparty:.:/usr/share/php:/usr/share/pear') in [Path to Development root]concrete/core/libraries/loader.php on line 217


2. Cached Images throughout the site images are broken.

Here is an example Image tag from the Primary site
<img border="0" class="lightboxed-image" alt="" src="/weekapaug/files/cache/ac9fe3f42ed09d05f7559799becc4a27_f188.jpg" width="749" height="500">


Here is an example Image tag from the Development site
<img border="0" class="lightboxed-image" alt="" src="" width="" height="">


These images are added through a modified version of the lightboxed-image block, and I don't know why it is no longer provided the appropriate information to the view.


Any help on understanding these items? I would be grateful. Soon I'll have to migrate this site to it's new host and I'd like to be ready for these problems when it happens.

kidconcept
 
mhawke replied on at Permalink Reply
mhawke
Have you cleared the cache and turned all the C5 caching off on the Development site?