Serious Problem - Add Block Is Blank After Upgrade

Permalink 3 users found helpful
I am no longer able to add a new block to my site as the Add Block dialogue is blank. This has occurred either after upgrade from 5.5.x to 5.6 or from 5.6 to 5.6.0.1. I don't know which because this is the first time I have tried to add a new block since then. I switched debugging to "show errors in page" and got an error indicating an error with the Youtube Background add-on. It couldn't locate a folder. Concrete5 indicated that this add-on was installed although the folder was missing. I re-installed this add-on and now have a different error message as follows:-


Warning: require_once(/home/mycggmpl/public_html/updates/concrete5.6.0.1/concrete/models/stack.php) [function.require-once]: failed to open stream: No such file or directory in /home/mycggmpl/public_html/updates/concrete5.6.0.1/concrete/core/libraries/loader.php on line 40

Fatal error: require_once() [function.require]: Failed opening required '/home/mycggmpl/public_html/updates/concrete5.6.0.1/concrete/models/stack.php' (include_path='/home/mycggmpl/public_html/libraries/3rdparty:/home/mycggmpl/public_html/updates/concrete5.6.0.1/concrete/libraries/3rdparty:.:/usr/lib/php:/usr/local/lib/php') in /home/mycggmpl/public_html/updates/concrete5.6.0.1/concrete/core/libraries/loader.php on line 40

i don't know what this means and I feel I shouldn't have to mess around with it as it all worked perfectly before upgrading.

Please HELP !!

piccolopete
 
Ekko replied on at Permalink Reply
Ekko
Are you a 100 percent sure that these errors weren't present in your 5.5 update ?
piccolopete replied on at Permalink Reply
piccolopete
Can't be 100% sure but I think I've added new blocks since then. Why, what difference does it make ?
Ekko replied on at Permalink Reply
Ekko
If you upgraded from concrete5.4.2.1 or earlier you would have needed to upgrade to concrete5.4.2.2 first, before moving on to 5.5. If you missed this step than thats your problem and you would most likely want to try to downgrade and re-upgrade. If you were for sure not getting these errors after you went to 5.5 than it would be something else.
piccolopete replied on at Permalink Reply
piccolopete
Since I can't answer the question with 100% certainty, how do I go about downgrading ?
Ekko replied on at Permalink Reply
Ekko
I wouldn't jump into downgrading just yet as you dont know for sure that that is the issue. You could make a copy of your site and try it on the copy to be safe as well as waiting a bit for people to see your thread that have more insight and may have encountered the same issue your having. If you do go for the downgrade theres a guide on it herehttp://www.rynomediaonline.com/resources/downgrading-your-concrete5... There are also a number of forum topics related to downgrading that you might find helpful.
piccolopete replied on at Permalink Reply
piccolopete
concrete5 Community wrote:
piccolopete replied on at Permalink Reply
piccolopete
Problem gone away after upgrading some add-ons. They were ProBlog, ProNews,RSS Feed Creator and tcSlider.

Which one is responsible? I don't know.

Hope this helps anyone else experiencing the same problem.
piccolopete replied on at Permalink Reply
piccolopete
Thanks Ekko
dstrickler replied on at Permalink Reply
dstrickler
While I'm not sure of the version I was on before, I did an upgrade via the dialog to the latest version, and now have the same problem.

I know it's a path issue (I can tell from the error when they are turned on), but I don't know how to fix it without a downgrade as you have suggested.

Are there no other options?
piccolopete replied on at Permalink Reply
piccolopete
See my comments regarding add-on updates
dstrickler replied on at Permalink Reply
dstrickler
Would you recommend I install all of them?
dstrickler replied on at Permalink Reply
dstrickler
The reason I ask is I don't need any of them, and they all cost money. Seems like an expensive way to solve the problem.
dstrickler replied on at Permalink Reply
dstrickler
SOLVED!

With the tips in the posts above, I got it working. Here's what I did.

1. I assumed it was not a problem with the code C5 code, but with a plug-in block that was misbehaving.

2. I went into Dashboard, then System & Settings, and then, in Debug Level, enabled showing errors. This is going to show errors for everyone, but had to be done.

3. Then I tried to Add Block on a page, and instead of a blank screen, I got the errors.

4. From the error path that it's choking on, I could see the plug in that was giving it a and error. For me it was a "redirect" plug-in.

5. I then went into the SQL table for Block Types, found the row with the bad plug-in, and deleted it.

6. Then I went back into Dashboard's System and Settings, choose Database XML, and checked off "Refresh core database tables and blocks." and clicked the "Refresh Database" button. I don' know if this step was needed but it seemed logical.

7. Now turn back off the display of errors from #2 above.

Now all is back to normal!
kevinla replied on at Permalink Reply
Thanks your post helped a lot!

I enabled the error messages and noticed that a few old 3rd party blocks were causing problems. I could only see the errors on the dashboard side. I opened phpmysdmin and found a table called Blocktypes and in there I saw all my Blocks. So I deleted them from the database one by one [read: backup your database first!]. Each time I deleted a block type entry from the database, I would refresh the PHP error message and it would name the next culprit. And by the fourth block it didn't throw an error anymore! Now I can Refresh the core database and add blocks without issue. I'd buy you a beer if I could!
mhawke replied on at Permalink Reply
mhawke
Buy him a beer the C5 way... mark his answer as the 'Best Answer'
kevinla replied on at Permalink Reply
Okay, forgive my dumb ass but I don't see the Best Answer button anywhere... :/ Help!
mhawke replied on at Permalink Reply
mhawke
Sorry, I'm the dumb ass. Only the original poster (piccolopete) can see the 'Best Answer' link. I thought you were the OP. Please forgive me.
kevinla replied on at Permalink Reply
Oh phew it's cool. No worries. =)
ea1958 replied on at Permalink Reply
ea1958
In my header blocks i do not get the 'move' function when i try to edit them
ea1958 replied on at Permalink Reply
ea1958
i may have missed one of the upgrades so i wiped the installation and did it over, through the Softaculous installer.
It was only a one page info site, autismoutloud.com
sully210 replied on at Permalink Reply
sully210
OK, I have a similar problem, a bit different as I know what I did. I had Dynamic Iframe and Bootswatch installed on my site and a total meltdown occurred last night for no apparent reason. I am sure I may have done something but couldn't tell you what it was if I did. Anyway, I had to load files from a backup and start to rebuild. Everything was going fin until about an hour ago and now I cannot add blocks to my site. The two addons I mentioned are in my add functionality panel but have hte gray concrete5 hand meaning there is no logo because those directories are not there. I had a hell of a time last night with a theme that did the same thing and I need to know if there is a moderately simple way to reinstall those blocks, or delete them to eliminate the error? I managed to get it done last night with the theme, and now that I think about it the Defunct Social Icons as well it just took a lot of trial and error and I am hoping I am an idit and there is a quicker solution. This is the error I get:
Warning: require_once(/home/goldclub/public_html/angrybullhartford.com/packages/dynamic_iframe/blocks/dynamic_iframe/controller.php) [function.require-once]: failed to open stream: No such file or directory in /home/goldclub/public_html/angrybullhartford.com/concrete/core/libraries/loader.php on line 218
Fatal error: require_once() [function.require]: Failed opening required '/home/goldclub/public_html/angrybullhartford.com/packages/dynamic_iframe/blocks/dynamic_iframe/controller.php' (include_path='/home/goldclub/public_html/angrybullhartford.com/libraries/3rdparty:/home/goldclub/public_html/angrybullhartford.com/concrete/libraries/3rdparty:.:/usr/local/php52/pear') in /home/goldclub/public_html/angrybullhartford.com/concrete/core/libraries/loader.php on line 218

Any advice is greatly appreciated. Thanks.
sully210 replied on at Permalink Reply
sully210
I solved this myself, I don't know how but through a series of database and file comparisons, uploading/downloading the problem seems tobe gone for now.