Having Trouble Adding Blocks.

Permalink
Hello C5 Community,

Lately I am having trouble installing new blocks on my site. I get this message when I click on "Add Block" from a menu:

Fatal error: require_once() [function.require]: Failed opening required '/home/lisaedel/public_html/updates/concrete5.6.0.2/concrete/blocks/simple_logo/controller.php' (include_path='/home/lisaedel/public_html/libraries/3rdparty:/home/lisaedel/public_html/updates/concrete5.6.0.2/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/lisaedel/public_html/updates/concrete5.6.0.2/concrete/core/libraries/loader.php on line 205

I just recently cleaned out/uninstalled some old App packages.

Even though I've been using C5 for the last year, it's still relatively new to me in terms of its lingo, so when suggesting a solution (which I am all too grateful for!) please explain like I'm 5, it will help tremendously.

Thanks so much in advance!
-Lisa

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
The block that it is complaining about "simple logo" was probably part of the theme you are using,
You can test for this by switching to one of concrete's built in themes,
If the problem goes away you will know what the cause is,
If it is your current theme causing the problem, just uninstall it (but don't delete it from your packages folder),
Clear your cache and re-install the theme, this should replace the missing simple logo block for you..
Then just switch back to your theme...
lisaedelman1980 replied on at Permalink Reply
Hi weyboat,

Unfortunately I tried that and I got the same result still. I have noticed that there's an App that is acting strangely, that was associated with the previous theme I had installed on the website. I've since deleted that old theme, but this certain App still remains. And even if I try to update it, it doesn't do anything. It won't delete, or update or anything. So I'm wondering if somehow that has something to do with it by chance?
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Okay
When you say App, I suspect it is a block that was installed by the theme you have deleted,
In that case go to Dashboard - Stacks & Blocks - Block Types,
If you see the App/Block in the list, click it and "Remove" it,
Clear your cache (always do this) and check the results..
lisaedelman1980 replied on at Permalink Reply
Hi,

Okay when I do that, that crazy error message is the first thing to come up.

Further thoughts? (This is perplexing!)

Thanks!
lisaedelman1980 replied on at Permalink Reply
Furthermore, this same crazy error message shows up under Block & Stack Permissions>Add Block>Details.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Just to be sure,
At what part of the process does the error message pop up?
lisaedelman1980 replied on at Permalink Reply
I'm logged into my dashboard, and I'm on a certain page of my site that I want to edit. I go into Edit Mode, which works fine. I roll my mouse over a section where I can edit/add something - I click on it, and where it gives the option to Add Blocks or Layout, Add Design, etc....I select Add Block. After which, that's where I see that crazy message.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Okay,
At that point you are asking the database to list all the blocks available to you,
The database checks its Block Types and complains that it has one listed that is no longer available, The database throws a wobbly and refuses to play any more,
There two ways to handle this,
First and the riskiest is to go to mysql on your server, find the offending listing and delete it, this is very risky as a wrong move here could render your website defunct!
The safest way (option 2) is to re-install the old theme that you mentioned and just leave it lying dormant,
There is possibly another solution and that would be to find a copy of the missing block and add it to your root/blocks folder..
Hope this makes sense to you..
lisaedelman1980 replied on at Permalink Reply
Ok, I just re-installed the old theme, cleared the cache and it's still happening...

How would I find this block that I need to add?
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Check in your root/blocks folder (via ftp) and look for one called simple_logo, let me know the result..
lisaedelman1980 replied on at Permalink Reply
Ok I'm in my PhpMyAdmin page - under BlockTypes, I see the Simple Logo thing. What about it are you looking for?
lisaedelman1980 replied on at Permalink Reply
Also I've found that questionable block (it's table) in here also.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Go out of phpmyadmin and see if the blocks actually exist in your root/blocks folder..
lisaedelman1980 replied on at Permalink Reply
Ok in the main folder, I don't see anything. If I go one level in to the folder that says 'concrete', and then go another level in for 'blocks', I see all sorts of folders that are block types.
Should I be looking at the 'content' folder at all?
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
So you have a folder called "Blocks" at the root of your site that is empty, or you have no folder called "Blocks" at the root of your site?
lisaedelman1980 replied on at Permalink Reply
I do have a folder at the root level that is empty, correct.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
I have to break off for a while,
I will try to pick up this thread when I return..
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Meanwhile,
Back up your database, just in case (download it also)
lisaedelman1980 replied on at Permalink Reply
Awesome, I appreciate your help, really! When you return, perhaps private message me with your IM info, so we could perhaps do this in real-time?

Cheers!
binomonkey replied on at Permalink Reply
binomonkey
having this same problem now too. After updating my C5 I get the "fatal error" message too. So now I cant add blocks.
Any help would be great.
enlil replied on at Permalink Reply
enlil
I wonder if this isn't a caching issue. Try turning off all caching in dashboard > system & settings > optimization - cache & speed settings. Clear your cache and then hopefully the problem will cease ?!