Lost Ability to Add Blocks1 user found helpful
I'm pretty much up a creek otherwise?
If I try and edit existing it works.
If I try and add a block like Content I get the spinning wheel.
Did you ever have Content Around Image addon installed?
Here are some errors I am seeing, but the files dont actually exists in the code.
[Fri May 25 22:03:39 2012] [error] [client xxxxx] File does not exist: /xxxxx/xxxxx/xxxxxxx/missing.html, referer: http://xxxxxx.xxx/index.php?cID=128&ctask=check-out&ccm_token=1338008609:0f51d831ba14ab4cf1ef220f68461950 [Fri May 25 22:05:33 2012] [error] [client xxxxxxx] File does not exist: /home/xxxxxxxxxx/concrete/css/bullets.png [Fri May 25 22:05:33 2012] [error] [client xxxxxxxxxx] File does not exist: /home/xxxxxx/concrete/css/arrows.png
Somewhere in the time I was gone the laptop went to sleep and I think I had to log in again. But I'm having this problem on every page, not just that one.
More often than not, a spinning graphic is the result of a failed AJAX call, either because of a JS error, or an error in the webserver response.
[22:42:50.241] GET http://homestudiodoors.com/add_block_popup.php?cID=139&btID=9&arHandle=Main [HTTP/1.1 404 Not Found 227ms]
Don't know what to make of it... I gratefully await your further help!
add_block_popup.php itself should be located in concrete/tools - make sure it is still there and is readable/has correct file permission.
Does this occur on every block type, or just a particular one?
concrete/tools/ has the file, permissions are rw-r-r so we are good there
I dropped add_block_popup.php back to my root directory to see what happened and it found it in the root but I got permission denied error on the screen.
Click edit this page
Click on add to "header, main, sidebar, etc.."
Select Add Block (you see the full menu of blocks to add)
Select any item in this menu and you will get the spinning wheel
hope this helps.
The issue is, as I said before, why the "tools/required" path has vanished from the ajax request.
Perhaps if you posted your debug environment this might help.
and if this is the correct syntax.
Here is some access log items
220.127.116.11 - - [28/May/2012:19:17:54 -0700] "GET /index.php/tools/required/page_controls_menu_js?cID=1&cvID=&btask=&ts=1338257870 HTTP/1.1" 200 24391 "http://tandlracing.com/index.php?cID=1&ctask=check-out&ccm_token=1338257866:919a861c2ef91d2bd41acd781cd0e6c5" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0" 18.104.22.168 - - [28/May/2012:19:18:23 -0700] "GET /updates/concrete22.214.171.124/concrete/images/icons/remove.png HTTP/1.1" 200 1328 "-" "Serf/0.7.2 mod_pagespeed/0.10.21.2-1381" 126.96.36.199 - - [28/May/2012:19:18:23 -0700] "GET /index.php/tools/required/edit_area_popup.php?cID=1&arHandle=Main&atask=add&addOnly=0 HTTP/1.1" 200 19119 "http://tandlracing.com/index.php?cID=1&ctask=check-out&ccm_token=1338257866:919a861c2ef91d2bd41acd781cd0e6c5" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0" 188.8.131.52 - - [28/May/2012:19:18:23 -0700] "GET /updates/concrete184.108.40.206/concrete/images/icons/icon_header_help.png HTTP/1.1" 200 1099 "-" "Serf/0.7.2 mod_pagespeed/0.10.21.2-1381" 220.127.116.11 - - [28/May/2012:19:21:35 -0700] "GET /add_block_popup.php?cID=1&btID=31&arHandle=Main HTTP/1.1" 404 348 "http://tandlracing.com/index.php?cID=1&ctask=check-out&ccm_token=1338257866:919a861c2ef91d2bd41acd781cd0e6c5" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0"
[Mon May 28 02:31:47 2012] [error] [client 18.104.22.168] File does not exist: /home/tandlracing/tandlracing.com/updates/concrete22.214.171.124/concrete/css/bullets.png [Mon May 28 02:31:47 2012] [error] [client 126.96.36.199] File does not exist: /home/tandlracing/tandlracing.com/updates/concrete188.8.131.52/concrete/css/arrows.png
Is this what you mean?
# concrete5 Version
# concrete5 Packages
Featurist Theme (1.3), Slate Theme (1.4).
# concrete5 Overrides
# Server Software
# Server API
# PHP Version
# PHP Extensions
bcmath, calendar, cgi-fcgi, ctype, curl, date, dom, exif, filter, ftp, gd, gettext, hash, iconv, imap, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, pspell, Reflection, session, SimpleXML, sockets, SPL, SQLite, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, Zend Optimizer, zlib.
# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 90M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 7M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
I am so anxious to get this resolved. I would reinstall, but fear running into this again, especially since I'm clearly not the only one. How would the path get changed suddenly?
-- [09:00:13.640] GET http://homestudiodoors.com/add_block_popup.php?cID=139&btID=18&arHandle=Main [HTTP/1.1 404 Not Found 1445ms]
I suspect that the upgrade hasn't worked properly.
Make a copy of your config/site.php. Then edit it and remove or comment out the line which refers to the upgrade. This should revert the site to using the 5.5.2 code. See how that works.
I would also clear and then disable the cache.
You mentioned REL_DIR_FILES_TOOLS_REQUIRED - what value does it have? I would expect it to be "index.php/rools.required".
To discover its value, try adding this code to the end of one of your templates
<?php var_dump(REL_DIR_FILES_TOOLS_REQUIRED); ?>
Still the same for me
just wondering if the syntax is correct for REL_DIR_FILES_TOOLS_REQUIRED
I thought that at first, but nothing on the site.
Who is your hosting provider?
Click Manage Domain > (domain) Edit > un check "Page Speed Optimization" > Click Change setting button at the bottom.
Wait 5-10 minutes for the change to take affect
I was then able to edit and add pages again.
Thank you Riteshdas
As part of the debugging process, I created a new C5 site and to my surprise, it works as advertised!
What's with the latest 5.6.1 upgrade that breaks the new block functionality?
With the debug option on, I also get errors when I try to perform a Database Refresh. ( require_once() [function.require]: Failed opening required...)
I don't want to rebuild my site...
Just Googled this as having 'exactly' same problem with missing 'edit_area_popup.php' file. Cannot add block but can paste from scrapbook.
Anyone on this thread, found a solution, it is driving me nuts!
Many Thanks in anticipation.
did anyone find a solution to this? I just experienced the same thing (not hosted on Dreamhost) and have no idea what to do...
Before "downgrading" to 5.6.2 maybe anyone has an update on that issue??