Can't Add Block: No Error Code

Permalink 1 user found helpful
Hey Everyone,

I've been working on this website since last May. It was working perfectly fine this morning and now when I go to add a new block, the dialog box opens and then it sits there blank. The site isn't loading, there is no error code... I don't get it.

I have done the following to try and solve the problem

- Logged out and back in
- Cleared the cache
- Searched the forums for something similar

creativeorange
 
jordanlev replied on at Permalink Best Answer Reply
jordanlev
Really difficult to diagnose this without more details.
Are you sure nothing changed between the time it worked and the time it didn't? Did you install (or uninstall) and addons, change the theme, modify template files, upload an image(?!), change permissions, add a new user, upgrade the system, etc.?

Is this error happening on every block you try to add, or just a specific kind of block (and which one)? Are there area layouts on the page?

If you're not seeing an error message, try going into the dashboard and changing from "Production" to "Development" mode (it's in Sitewide Settings -> Debug, I think). Then try adding the block again -- does it give you an error message this time?
Maybe it's a javascript error -- install Firebug (a free firefox plugin) and reload the page -- look to see if Firebug reports and javascript errors (you'll have to do a little learning on how firebug works first, but it's not that hard, should be plenty of docs for it out there as it is a widely-used tool).
creativeorange replied on at Permalink Reply
creativeorange
Thanks for the response Jordanlev.

I know it's a sticky one.

I think I found the source of the problem. I was experimenting with the concrete/block files and I copied the whole set into the /block folder by accident. Once I removed those files, the Add Block window worked again.

Future note: Don't do that!~
jordanlev replied on at Permalink Reply
jordanlev
Glad you figured it out.
And in the future, I would suggest that instead of saying "don't do that", you could say "do one step at a time and then test in the browser before moving on". It's great to experiment and try new things, but it helps to isolate all such experimental changes into discreet steps so if it breaks you know exactly what caused it (or at least WHERE the cause was).

-Jordan