Recent moved server
Permalink
Hello,
I recently moved my site to a different server. Everything was working great. We decided to wait to swap the DNS until yesterday. So, I grabbed another DB dump yesterday, and dropped the c5 DB on the new server, and re-created it using the new dump I took. (this is a school site for kids so I needed updated projects for the swap over.)
Now every single one of my custom blocks are all giving an error like such:
Fatal error: Class 'ProjectGroupsBlockController' not found in /updates/concrete5.6.3.3/concrete/core/libraries/loader.php on line 437
I recently moved my site to a different server. Everything was working great. We decided to wait to swap the DNS until yesterday. So, I grabbed another DB dump yesterday, and dropped the c5 DB on the new server, and re-created it using the new dump I took. (this is a school site for kids so I needed updated projects for the swap over.)
Now every single one of my custom blocks are all giving an error like such:
Fatal error: Class 'ProjectGroupsBlockController' not found in /updates/concrete5.6.3.3/concrete/core/libraries/loader.php on line 437
Im guessing you didn't copy over the /blocks or /packages directory
They are both there, and contain data:
[root@inventionlandis edu.inventionlandinstitute.com]# ls
backup concrete config elements flashfox.swf images index.php js LICENSE.TXT packages public sitemap.xml tools
blocks concrete_new5.6.3.2 controllers favicon.ico flowplayer-3.2.9.swf img INSTALL languages mail page_types robots.txt test updates
cgi-bin concrete_old css files helpers index_bak.html jobs libraries models picture_library single_pages themes uploads
I did a tar -zcf of the entire directory, and just untarred it on the new server. Everything works except my custom blocks.
[root@inventionlandis edu.inventionlandinstitute.com]# ls
backup concrete config elements flashfox.swf images index.php js LICENSE.TXT packages public sitemap.xml tools
blocks concrete_new5.6.3.2 controllers favicon.ico flowplayer-3.2.9.swf img INSTALL languages mail page_types robots.txt test updates
cgi-bin concrete_old css files helpers index_bak.html jobs libraries models picture_library single_pages themes uploads
I did a tar -zcf of the entire directory, and just untarred it on the new server. Everything works except my custom blocks.
I think that my ACL (access control list) might be causing the problem. Just to be safe I'm re-formatting the server and starting fresh.
I got it to work by, deleting all of the custom blocks from the BlockTypes table, and the corresponding btID from the Block table.
Then I went into my dashboard->block types and installed the blocks again which fixed the problem.
Then I went into my dashboard->block types and installed the blocks again which fixed the problem.