Here for the community? On May 9th, we'll be in New Orleans. Don’t miss out!
i get information as "An error occurred while attempting to process /panels/ajax/add-pane/panel_context%3Auser_view%3A/top"
First, whenever you file one of these requests, please provide some information. In fact, I've now given you more words just asking for more information than you gave me about your problem. For example, what were you doing at the time? Does this happen for every piece of content or just for one particular piece of content? Does this happen only for one particular pane?
Second, did you check your php/apache/watchdog logs and see if some kind of error was displayed there?
Lastly, support requests are never critcal. That is rude.
I apologize if any mistakes. I am new to Drupal and php.
I just can give information about what I did. Hope this helps .
1. admin/build/pages:- I enabled User profile template. After that I clicked edit
2. admin/build/pages/edit/user_view :- I was directed to this page I clicked on Add new varient
3. build/pages/nojs/operation/user_view/actions/add:- I named title as profile and selected selection rules and contexts and created varient.
4.admin/build/pages/nojs/operation/user_view/actions/configure:- I continued just clicking continue button without any changes.
5.admin/build/pages/nojs/operation/user_view/actions/configure/context :- I continued same as no. 4 step
6.admin/build/pages/nojs/operation/user_view/actions/configure/choose: I choosed layout as two column stacked.
7.admin/build/pages/nojs/operation/user_view/actions/configure/content :- At this stage I tried to add content on the top gives error as below:- not only top but also all blocks right side, bottom, and left side.
"An error occurred while attempting to process /panels/ajax/add-pane/panel_context%3Auser_view%3A/top"
Hope this helps
alert message pops-up in new window on title bar " The page at http://site.com says: " and on body part of window "An error occurred while attempting to process /panels/ajax/add-pane/panel_context%3Auser_view%3A/left" . while this window pop-ups I can't press ctrl+shift+j.
I'm getting the same message...and it's not only when I try to add contents...it's also when I try to delete them. In firefox, drupal returns to me : "Access denied" for administration area...
I found following error in dblog report :
Type : page not found
Date : Thursday, October 22, 2009 - 21:36
User : ryan
Location : http://domain.com/panels/ajax/add-pane/panel_context%3Ablog_user%3A/left
Referrer : http://domain.com/admin/build/pages/nojs/operation/blog_user/actions/con...
Message : 406.shtml
Severity : warning
easytech: Thanks for the thorough report explaining the steps you went through. I tried following them exactly, and everything works for me. Your report in #7 is particularly interesting. That error matches the procedure.
Do you know if your server is running something called mod_security? It is known that mod_security can reject these AJAX requests, and I have not yet figured out a way to prevent this. This doesn't look exactly like the kind of error that you would get with mod_security, though, but it is worth checking.
Another thing to check: Try visiting that URL manually. (Note for this to be useful, you may need to go through the process of creating the panel, as it relies on temporary storage that may or may not still be there if you hit it manually after the process aborted).
Please set this issue back to 'active' after you've answered this.
One other question: Do you see any errors in your log or anywhere else involving 'ctools_object_cache' table?
Ok, I've looked at this a bit more deeply. This is definitely a mod_security issue, that 406 return code indicates that it is. I don't currently know how to fix it, but mod_security can usually be disabled in the .htaccess file. Do a google search on mod_security 406 .htaccess and I think you'll find a couple of solutions that have worked for other platforms. In the meantime, I need to set up mod_security somewhere and see if I can fix this.
Okay! I've tried googling this a few times and never figured out what mod_security was doing. Now I finally understand and I have a fix!
First, this is a patch to ctools not Panels. Try this patch. Remember to apply it to ctools. =)
Thanks for your soon reply. This patch works for me. thank you very much
Committed to -dev. Thanks!
actually committed to CTools.
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.