Unable to add new Blocks - add_block_popup.php 404

Permalink
I have a Concrete 5 based site running live for 4 weeks now.
All fine working so far.
Today I discovered that I can not add blocks anymore.
Whether it's a content block or any other doesn't matter.
I can't get pass the loading screen.

I can add blocks from the scrapbook though.
Also editing them is no problem.

Any ideas on this one? As there is no error message I don't really know where to look first.
Disabling the cache and restarting apache had no effects.
All hints are very welcome:)

1 Attachment

michaelfm
 
michaelfm replied on at Permalink Reply
michaelfm
Hi all,

Firebug showed me the following error:
/add_block_popup.php?cID=1&btID=1&arHandle=Main+2&random=1300962873159 404 Not Found

I'm using the latest stable concrete 5 version.
concrete/tools/add_block_popup.php exists.

Now compared this install with another project:

The Link in the 'Add Block' Box in edit mode should point towww.www.site.com/index.php/tools/required/add_block_popup.php.....

In my case onlywww.www.site.com/add_block_popup.php...... appears.
Don't know what could cause this.
jshannon replied on at Permalink Reply
jshannon
Good news and bad news.

It appears this is due to mod_pagespeed. At least for me. I was getting the exact same error, didn't change anything except for uninstalling and restarting apache, and it worked fine.

On the other hand, I didn't bother trying to get to the root of the problem. Hopefully this has pointed someone in the right direction.

James
creativeorange replied on at Permalink Reply
creativeorange
Wow. yes! I developed this exact problem this morning. Site has been running fine for 10 months and now that the French portion is about to go live on Friday, I can't make these edits to prep the site to go live. Anyone have any ideas what is causing this?!?!
dbader replied on at Permalink Reply
Quick Fix:

Add ./ before <? echo REL_DIR_FILES_TOOLS_REQUIRED?> in concrete/elements/block_area_add_new.php.
michaelfm replied on at Permalink Reply
michaelfm
That worked just fine, thanks a lot dbader! I can finally add blocks again:)
I changed the path in line 201 and 208.
swindleM replied on at Permalink Reply
swindleM
bless you, dbader. worked just peachy
rondellaquila replied on at Permalink Reply
Humm...I added the './' to no avail. Any other thoughts or mods I can try?