If I want to add adsense block to a panel, I get:

An AJAX HTTP request terminated abnormally.
Debugging information follows.
Path: /aotw/panels/ajax/editor/add-pane/panel_context%3Anode_view%3Anode_view_panel_context_3/middle/adsense_slot/adsense_slot
StatusText: 
ResponseText: 
ReadyState: 4

I'm using panels 7.x-3.3+0-dev and the latest 7.x-1.x adsense from repository.
Only the adsense blocks are affected, anything else works fine in panel add form.

Comments

szantog’s picture

Priority: Normal » Minor

Hmm thats funny.. I figured out the following:
1. All of adsense blocks are affected, not only the managed adsense. I do investigation with AdSense section targeting end block.
2. Something pure js error could be, because called panels/ajax/editor/add-pane/panel_context%3Anode_view%3Anode_view_panel_context_3/middle/block/adsense-adsense-section-start directly in browser, I get back the good json result.
3. Played with xdebug, index.php isn't started.
4. The bug is exists only in chrome, get the following error:

POST http://aotw.loc/aotw/panels/ajax/editor/add-pane/panel_context%3Anode_view%3Anode_view_panel_context_3/middle/block/adsense-adsense-section-end 
c.extend.ajaxjquery.js:142
Drupal.ajax.eventResponseajax.js:255
Drupal.ajaxajax.js:178
c.event.handlejquery.js:64
c.event.add.h.handle.o

So I'm not sure this is adsense bug. But _only_ the blocks by adsense module produce this. I tried to add another block in block info of adsense, but nothing to change, can't add own block via page_manager too.

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

Do you have an adblocker of some sort installed?

szantog’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Yes, you are right, it seems, this is caused by some of my local chrome specialties.

xbrianx’s picture

Yes adblockers were preventing this for me too.