Hey there!
I've been using Panels for a while now and everything always worked like a charm!
But a week ago drupal wanted me to update it's core and since i updated i get ajax errors for everything i do!
Editing a panel: error
creating a new one: error
i can't help myself anymore.. maybe someone got a clue of ajax and can assist!
This is the error message the browser gives:
http://s7.directupload.net/file/d/2987/izqidtbd_jpg.htm
and this is the error text i get redirected to then:
http://pastebin.com/iTiAL8rk
Hopefully someone is able to help quickly.
greetings,
patrik
Comments
Comment #1
merlinofchaos commentedHm. The AJAX response you get forwarded to is correct. The error suggests that something is actually interrupting the AJAX call (usually this happens if something else tries to do an ajax call at the same time). It might mean that there is somehow an incompatibility between two modules.
Comment #2
fold93 commentedhey there! thanks for that quick response!
the only thing that changed between the working and the current state is the updated drupal core! :(
EDIT: Thanks for that hint! a wysiwyg editor was blocking ajax! - Turned it off, works like a charm again!
Greetings!
Comment #3
henrikakselsen commentedI'm also getting an AJAX error and I believe it was after upgrade to core 7.15 and to panels 3.3 (at the same time). The error is different than yours, though, and disabling wysiwyg didnt help.
It shows up every time I want to add some content to a region. It is a quite long error message (popup)
Comment #4
Anonymous (not verified) commentedI got the same error and no idea where to start debugging :(
Comment #5
henrikakselsen commentedI don't know whether this is related to panels or ctools. I've been experimenting with going back to prev versions, and also dev version. I also tried going back to drupal 7.14, but problem persists, so now I'm suspecting that the problem is somewhere in the database. I'm also getting this drush error, and I suspect the issues may be related:
Comment #6
Anonymous (not verified) commentedI downgraded to panels-7.x-3.2 (with latest drupal) and the AJAX errors have disappeared overhere.
To which version did you downgrade henrikakselsen?
Comment #7
henrikakselsen commentedYeah, I also tried 2.2.
I've done some more research and found that my problem is indeed connected to the PDOException I get in drush (and in the php logs). It comes down to some corrupted weight variables in the the db.
I found that changing the line 3806 in menu.inc
'weight' => $item['weight'],to
'weight' => 1,at least makes panels work fine again. Of course this is not a real fix, but at least it pinpoints the problem. What caused the messed up variable needs some more research. Jesse, I suggest you check your logs to see if you can find some related errors (or just run drush cc all).
Comment #8
Anonymous (not verified) commentedI did a sudo drush cc all and my problems are gone now.
What's weird is that I did /admin-menu/flush-cache a few times before which did not have any effects.
Comment #9
deanflory commentedAnyone having lots of AJAX issues might want to try disabling the jquery_update module, worked for me. Just spreading the info, unsure if it's related to this issue.
Comment #10
justkristin commentedDamn, it was the update javascript module for me, too. Too bad, as it was more important to our site than the other ones people suggested disabling (devel, admin toolbar, etc.)
Comment #11
gmclelland commentedI'm not sure why, but I have found that the devel module causes a lot of these ajax errors when working with Panels. Hope that helps someone.
Comment #12
dsnopekI'm pretty sure this is fixed now :-) Feel free to reopen if I'm wrong!