Generally speaking this kind of problem would be down to some sort of javascript erroring in the page, or some other server side issue.
You may want to try looking at the browser's javascript console after submitting. This would indicate any client or server side failures with that process.
- Edit post
- Submit an edit
- Open your browser console (usually by pressing F12)
- See if there are any errors listed in the "Console" section
XenForo.activate(%o) [object HTMLDocument] xenforo.js:223
"flash url: http://lionsground.com/js/swfupload/Flash/swfupload.swf" attachment_editor.js:7:292
Attachments changed, total files: 0, images: 0 attachment_editor.js:14:30
XenForo.init() 75ms. jQuery 1.11.0/1.2.8-dev xenforo.js:209:316
OverlayLoader for posts/2615/edit-inline xenforo.js:288:363
Loaded css 0, post_edit_inline xenforo.js:250:374
XenForo.activate(%o) [object Object] xenforo.js:223
Event: %s AutoValidationDataReceived xenforo.js:342
message_html: Okay xenforo.js:352:131
undefined: Okay xenforo.js:352:131
Event: %s AutoValidationComplete xenforo.js:344
DeCache Object { 0: <div.xenOverlay>, selector: "", context: undefined, length: 1 } xenforo.js:285:106
TagError: adsbygoogle.push() error: No slot size for availableWidth=0
<xen:hook name="ad_message_body" />
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id}">
<style>
.responsive-site-post-800 { width:auto; height:auto; display: inline-block; padding: 0px; float: right; margin: 15px; position: relative; }
</style>
<!-- Site-Inpost-News -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="xxxxxx"
data-ad-slot="xxxxxx"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</xen:if><br /><br />
<xen:hook name="ad_below_top_breadcrumb" />
<xen:if is="{$contentTemplate} == 'forum_list'">
<!-- Site-Header-News -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="xxxxxxxxxx"
data-ad-slot="xxxxxxxx"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</xen:if>
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id}">
<style>
.responsive-site-post-800 { width:auto; height:auto; display: inline-block; padding: 0px; float: right; margin: 15px; position: relative; }
</style>
<!-- Site-Inpost-News -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="xxx"
data-ad-slot="xxx"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</xen:if><br /><br />
What do you advice?
That didn't help.instead of width:auto, try assigning a maxwidth?
Sorry, what?I would likely recommend trying to identify a conditional to not output the script tag on edit
I haven't tested this, but try adding:
To the condition.Code:AND {$viewName} != 'XenForo_ViewPublic_Thread_ViewPosts'
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0 AND !{$message.conversation_id} AND {$viewName} != 'XenForo_ViewPublic_Thread_ViewPosts'">
(adsbygoogle = window.adsbygoogle || []).push({});
setTimeout(function()
{
(adsbygoogle = window.adsbygoogle || []).push({});
}, 500);
That's basically the expected behaviour with that approach.
Instead of that you could try changing:
Code:(adsbygoogle = window.adsbygoogle || []).push({});
To:
Code:setTimeout(function() { (adsbygoogle = window.adsbygoogle || []).push({}); }, 500);
This should delay the ads loading by half a second, which may give it enough time to detect the correct width for the ad slot.
Beyond that, this is really an issue to take up via Google support channels.
We use essential cookies to make this site work, and optional cookies to enhance your experience.