When I try to add content on a panel page region, a pop up appears, a circle spins but nothing happens. I look for a known issue but nothing works for me. I changed my browser (firefox, chromium, chrome), no improvement. Could you help me ?

Files: 
CommentFileSizeAuthor
#17 cckb_ccksite.txt533 byteschris.leversuch

Comments

hcarmody’s picture

I am having the same issue

bensnyder’s picture

@lebastidien09 - It would probably help if you gave more information regarding your environment (i.e. ctools version).

I do not have this problem and I have:
Panels 7.x-3.0-alpha2
Ctools 7.x-1.0-alpha2
Drupal 7.0

hcarmody’s picture

@bensnyder

I have the same set up and also have this issue.
Panels 7.x-3.0-alpha2
Ctools 7.x-1.0-alpha2
Drupal 7.0

bensnyder’s picture

Hmm, there must be something different in our environments though. I'm not sure how I would be an exception....

Since what is being described sounds like it is related to javascript, can you check your console log and confirm that you don't have any js errors?

bensnyder’s picture

Ok, I just came across this as well. Confirmed.

hcarmody’s picture

I went into my console log and there were no js errors. So, I went ahead and cleared the log and tried to add content again and there was still no log entry.

hcarmody’s picture

ok, we intstalled
Panels 7.x-3.0-alpha2
Ctools 7.x-1.0-alpha2
Drupal 7.0

on our local test server and the issue does not exist.

lebastidien09’s picture

I have the same configuration :
Panels 7.x-3.0-alpha2
Ctools 7.x-1.0-alpha2
Drupal 7.0
and no js errors reported.
I've changed panels and ctools versions (the dev one), but it's always the same problem.

I have another problem with the webform module, it could be related ? (here)

srsbl’s picture

I'm also not being able to add content. A pop up appears with "An AJAX HTTP error occurred.
HTTP Result Code: 200 ..."

UPDATE: Disabled Drupal for Firebug and the issue no longer appears.

merlinofchaos’s picture

Title:Add content» Add content popup appears but only with throbber

Changing to a more useful title so that when I'm scanning issues I have some idea what I'm looking at.

Makawak’s picture

Getting the same issue when trying to add content and trying to add regions in panels. Errors:

An AJAX HTTP error occured.
HTTP Result Code: 404
Debugging information follows.
Path:
/demo/terminex/panels/ajax/editor/layout/panel_context%3Anode_view%3A/add/main-row/right
StatusText: Not Found
Response Text:
Page Not Found | Terminex
@import

And

An AJXA HTTP request terminated abnormally
Debugging information follows/
Path:
/demo/terminex/panels/ajax/editor/select-content/panel_context%3Anode_view%3A/center
StatusText:
ResponseText:
ReadyState: 4

One thing the stuck out to me was the path it was calling it was going to the base/root of the site folder which in this case is demo/terminex and looking for the panels folder which doesn't exist there... Could it just be looking in the incorrect location or am I just completely off?

bkelly9376’s picture

Think I'm having the same issue. I get an alert box with a very long message when trying to add content to a variant.

Ctools 7.x-1.0-alpha2
Panels 7.x-3.0-alpha2

The message starts with:

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /?q=panels/ajax/editor/select-content/panel_context%3Anode_view%3Anode_view_panel_context/middle
StatusText: OK

Update: Fixed. Needed to enabled "Custom content panes" in Ctools.

hcarmody’s picture

I actually don't get an error message either on the screen when trying to add content or in the reports. I did check the "Custom content panes" in Ctools. It was enabled already and I still have the issue.

robxu9’s picture

Priority:Major» Critical

subscribing
I'm having this issue - I use panels as my homepage, but if I can't add content it just won't work.

all ctools modules enabled, Ctools 7.x-1.0-alpha2
panel 7x dev < Feb 5, 2011
Drupal 7

lnovell30’s picture

Was this ever fixed.... now; I'm having the same issue.... Obviously since this is central to adding any content to a panel page, a solution is really really needed... It was working before, less than 2 weeks ago, but not now...

the issue seems related to the flex panel; Strangely, I can add content on the right, but not on the left content pane.

lnovell30’s picture

Here's a possible work-around. Since the popup just lingers for certain panel regions, I tried another panel region on the same panel, since I was using flex panels, and I was able to add the content to this panel. I then dragged the content from the panel region that allowed me to add to the panel region that I was originally targetting.... that seemed to work.

chris.leversuch’s picture

StatusFileSize
new533 bytes

I've been having the same problem - the problem for me came down to a javascript file that I was loading as part of a custom module. If I don't load the javascript (specifically, jQuery), everything is fine.

I've attached the javascript in case it's any help, I'll try and narrow it down to a specific line/feature.

chris.leversuch’s picture

It's the Flowplayer code causing the problem for me - only the frontpage has container with an id of player. Not sure why this should stop Panels from working though.

mmtahir’s picture

I have the same problem (#0), I recently installed Drupal 7 with Panels, and haveing this problem. I am using Firefox 3.6.15.

mmtahir’s picture

FIXED for me, what I did is
1. Goto Modules/Panels , edit its permission (enabled the check boxes shown add/edit/delet contents to panels)
2. Then I disabled/re-enabled the module(s)
3. Finally I de-activiated the Toolbar (administration) module as it was also causing errors i.e.

Message: Object doesn't support this property or method
Line: 30
Char: 3
Code: 0
URI: http://www.mysite.com/modules/toolbar/toolbar.js?lhqnh6

After completing the third step, it started working.

hcarmody’s picture

Finally, thank-you! Disabling the Admin Toolbar worked for me!

merlinofchaos’s picture

Title:Add content popup appears but only with throbber» toolbar module interferes with Panels' AJAX

Need to get to the bottom of this.

Oceanman’s picture

I am not using panals but I have a similar problem. The throbber spins forever but nothing happens. I just disabled the admin toolbar and that did not help. I think the problem is somewhere deeper. I have been trying to find an answer for this for days. Besides, I need the admin toolbar to get around. This problem is new but I can not backtrack to where it appeared. If anyone finds something, please post.

Oceanman’s picture

Some success! I just tried the problem area, then checked my reports/log.

It pointed to location:
system/ajax.
message:
Notice: Undefined index: field_languages_level in term_level_element_ajax_callback() (line 145 of C:\Users\Desktop\website\sites\all\modules\term_level\term_level_element.inc).

I recently installed colorbox which uses ajax. I disabled colorbox and now my other ajax items are working again. Not sure what all this is about but that is how it worked for me.

D7
Colorbox
7.x-1.x-dev

thugsb’s picture

I also have this error when trying to add content. It allowed me to add 4 "New custom content", but now I can't add any more. I'm not sure what I changed between additions.

Enviro:
Drupal 7
ctools: 7.x-1.0-alpha2
panels: 7.x-3.0-alpha2

Toolbar module is disabled (admin_menu in use), custom panes enabled. Disabling and re-enabling custom panes didn't help.
HTTP Result Code: 200, nothing in the console log.

thugsb’s picture

Updating to ctools and panels alpha3 didn't help. Same error. I believe a HTTP error 200 actually means it is succeeding in loading the call that the AJAX made, but then there's something else breaking it.

thugsb’s picture

I looked in my error log, and it gave the following:
"Theme key "panels_edit_display_form" not found."
I'm using Zen theme. So maybe it's just a theme issue. Not sure how to fix it though...

thugsb’s picture

Weird. I just found the admin didn't have permissions for some operations, like:
Panel: Create new content
However, this still didn't fix it. Any ideas out there?

merlinofchaos’s picture

Can you try forcing a cache flush? Something like 'drush cc all' or going to the performance page and clearing the cache from there?

prairiehippo’s picture

I ran into the same issue.

Disabling the toolbar fixed it. But I think that's a symptom of something else.

I checked my logs and got an error: page not found, misc/jquery.cookie.js?v=1.0

http://drupal.org/node/1052372

Enabling Javascript aggregation fixed the issue for me. I have a feeling this is more of a Drupal 7 issue then it is a Panels problem.

Deadwater’s picture

Enabling Javascript aggregation fixed the issue for me too. Thanks!

cballew’s picture

Disabling the "drupalforfirebug" module gets rid of the reaction to the bug for me, but it's the panels_edit_display_form not found that's causing the issue.

Lasac’s picture

Same issue with using selection rules. Uninstalling drupal for firebug fixed it for me (like stated above).

Letharion’s picture

Version:7.x-3.0-alpha2» 7.x-3.x-dev
Status:Active» Closed (works as designed)

This issue seems to include several different javascript related issues.
Since there's no clear and specific reason behind "the" issue, and no real indication that Panels does anything wrong, I will close this issue, but feel free to add more ways to debug similar issues, as it might help others.

If you identify a _specific_ problem, where _Panels_ is to blame, please open a new issue about that.

Letharion’s picture

Assigned:lebastidien09» Unassigned
mErilainen’s picture

My problem was one custom module with javascript. It would be nice to know what is Panels so picky about, because I don't have any problems with other modules.

damban’s picture

Encountered this problem today. Can't add content to a panel on a Panel Page.

D7.14
Panels 7.x-3.2
Ctools 7.x-1.0

Error: "Warning: Invalid argument supplied for foreach() in include() (line 28 of /home/example/public_html/sites/all/modules/panels/templates/panels-add-content-modal.tpl.php)."

I disabled the Toolbar module to keep moving, clearly not a solution.

Anonymous’s picture

I had the same problem today. Went through this and similar threads. We were hosting the site in IIS and the problem turned out to be URLScan, and colon in the URL plan. I had to do is exclude the colon rule and everything worked as expected.

C:\Windows\system32\inetsrv\urlscan\UrlScan.ini

; : ; Don't allow alternate stream access

nishant_k’s picture

Issue summary:View changes

If u have jquery update
then go to admin/config/development/jquery_update

and select jquery version 1.8
worked for me :)