Fatal Error
Permalink
Just installed v. 5.4.0.5.
I get an error when trying to add a block or go to the add functionality tab of the dash.
Fatal error: Cannot redeclare class LibraryFileBlockController in /home2/meadmcle/public_html/blocks/library_file/controller.php on line 340
I guess there's a conflict with redundant class names or something. Not sure exactly how to resolve this one. I'm considering a fresh install. Any ideas before I start over?
Thanks.
And by the way I love the changes to the new version.
I get an error when trying to add a block or go to the add functionality tab of the dash.
Fatal error: Cannot redeclare class LibraryFileBlockController in /home2/meadmcle/public_html/blocks/library_file/controller.php on line 340
I guess there's a conflict with redundant class names or something. Not sure exactly how to resolve this one. I'm considering a fresh install. Any ideas before I start over?
Thanks.
And by the way I love the changes to the new version.
mm...yes. That's pretty much what I figured, but I'm just not sure which block causes the conflict.
Not sure whether it would be an add-on I got from the marketplace or just a block I wrote.
Not sure whether it would be an add-on I got from the marketplace or just a block I wrote.
somehow you've duplicated this with core files.. did you accidentally copy concrete/* to the root?
that or were you trying to create a custom view and copied that controller.. either way whatever is at the top level directory (not concrete) should probably be the file to be moved
that or were you trying to create a custom view and copied that controller.. either way whatever is at the top level directory (not concrete) should probably be the file to be moved
It seems a lot of people have encountered a similar error. I looked back through the forum archives, and it seems pretty common. I found a dupe of the concrete/blocks directory in the root/blocks directory.
Thanks for the help!
Thanks for the help!
I am getting the same error: Fatal error: Cannot redeclare class LibraryFileBlockController in /var/www/MilliesEngineeringGroup/concrete/blocks/library_file/controller.php on line 340
This is for the function part and when I try to add a block. What is a fix for this?
Thanks
This is for the function part and when I try to add a block. What is a fix for this?
Thanks
I have this issue as well. Anyone have any idea?
$lfb = LibraryFileBlockController::getFile($cobj->getAttribute('thumbnail_image')->fID);
Fatal error: Class 'LibraryFileBlockController' not found in ../httpd.www/blocks/page_list/templates/custom.php on line 6
$lfb = LibraryFileBlockController::getFile($cobj->getAttribute('thumbnail_image')->fID);
Fatal error: Class 'LibraryFileBlockController' not found in ../httpd.www/blocks/page_list/templates/custom.php on line 6
yes the class names conflict
concrete/blocks/library_file/controller.php is where it conflicts with