Add Block Dialog Box Empty

Permalink
I just did an upgrade on our site from 5.5.1 to 5.6.0 to 5.6.1.2. Everything looks pretty good, but when I go to add a block, the Add Block dialog box is empty. So, I cannot add any new content.

It looks like my Add Stack and Clipboard lists are working. The core Concrete files for 5.6.1.2 are in the /updates folder.

Does anybody have any ideas on what would cause this problem?

Thank you - Tim

1 Attachment

fieldsyncmobile
 
drbiskit replied on at Permalink Reply
drbiskit
It will likely be a script error - possibly the same script being included twice, or just a script that is causing conflict with the dialog box.

Try to find which script is causing the error, by removing them one by one, and then you could try just not loading it when you are logged in as the super user admin, using eg:

[code]
<?php $u = new User(); if($u->isSuperUser() || $u->inGroup(Group::getByName('Administrators'))){ ?>
<!-- Load something here when logged in as admin, if required -->
<?php } else { ?>
<!-- This would be the script/s that are causing the error -->
<?php } ?>
[code]

Hope that helps.
fieldsyncmobile replied on at Permalink Reply
fieldsyncmobile
Thanks for the response! Unfortunately that might be a little over my head as I am not a developer. I can follow specific directions in opening and editing files, but that's a little bit too loose for me and my current understanding of how things work in C5.

Can you offer any more specific details or things I can look at.

Thanks again - Tim
fieldsyncmobile replied on at Permalink Reply 1 Attachment
fieldsyncmobile
I stumbled around in Block and Stack Permissions and tried to add myself as being able to Add Blocks. I wasn't able to accomplish this. I have attached the dialog box, which is not informative, that appeared when I tried to do this.

Thanks - Tim
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
It seems like there was some problem in the core updates file. Have you downloaded it from the Concrete5 site? If not try to download it from C5 site. Also you can do some R&D by yourself. Just navigate to your roots config directory and open the site.php
Then comment out the DIRNAME_APP_UPDATED line & check whether the problem exists.

Rony
fieldsyncmobile replied on at Permalink Reply
fieldsyncmobile
Rony -

I did download the core files from the Concrete5 website, extracted them to my system and FTP'd them to my web server in the /updates folder. The update from 5.5 to 5.6.0 was not done in that way however.

I opened up and edited the site.php file and commented out the this line: define('DIRNAME_APP_UPDATED', 'concrete5.6.1.2');

That brought me back to the 5.6.0 installation. When I tested to see if the Add Block dialog remained empty, it indeed is empty. So, perhaps the problem started with the 5.5 to 5.6.0 upgrade...??

I would hate to roll back to 5.5 because I really need the features in 5.6.1.2. Any other words of wisdom?

Thanks - Tim
fieldsyncmobile replied on at Permalink Best Answer Reply
fieldsyncmobile
[SOLVED] I got this figured out. Turns out I have four (4) add-on's listed on the Add Functionality list that were not compatible with 5.6.x. They were shown graphically with the gray/white Concrete5 logo rather than the one that ships with the add on.

I couldn't remove, update or otherwise edit these items from the C5 interface.

The resolution was to manually download each of the offending add on's from the market to my hard drive. Then extract the ZIP files also to my hard drive. Then, using FTP, copy each folder to the /packages folder on the web server. Then they would appear properly in the C5 interface where I could uninstall them.

That was fun to figure out. I guess my lesson learned is to make sure all add-ons are properly installed and compatible with the version that's being upgraded to.