By Marco Finizio on Wednesday, 26 August 2015
Posted in Technical Issues
Replies 4
Likes 0
Views 0.9K
Votes 0
Hi, when I use an adsense responsive code within EB 5 settings like this one (I have the responsive option enabled too of course):
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXX"
data-ad-slot="XXX"
data-ad-format="auto"></ins>
(I have removed sensitive information)

In the page console i see this javascript error:

Error: adsbygoogle.push() error: Cannot find a responsive size for a container of width=0px and height=undefinedpx data-ad-format=auto

The result is that no ad is displayed.

With standard (no responsive) adsense codes the system works and the Ads are displayed correctly.

The EB version is the latest 5.0.22

Any help is appreciated. Thank you
Hi Marco,

I am really sorry for the delay of this reply.

I've applied the fix inside your /components/com_easyblog/themes/wireframe/adsense/responsive.php and it should be working fine now. The fix will be included in the next release of easyblog.
·
Thursday, 27 August 2015 16:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Marco,

I can't seems to replicate the issue in my local instance. Can I have your joomla backend and FTP access so we can check on the issue directly?
·
Wednesday, 26 August 2015 17:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, please find credentials under Site Details. Thanks
·
Wednesday, 26 August 2015 17:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi, any news on this?
·
Thursday, 27 August 2015 15:59
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post