Page 2 of 2

Re: ERR_TOO_MANY_REDIRECTS

Posted: Mon Jan 23, 2017 1:04 pm
by mLgz0rn
I do have the latest version, and the forum is embedded here http://nm-inc.clanroyal.dk/forum
But the url is not updating when going into different topics and stuff, it just stays at "http://nm-inc.clanroyal.dk/forum"
I did read through that whole topic with some guys having the exact same issue, but none of the fixes posted there works :(

Re: ERR_TOO_MANY_REDIRECTS

Posted: Mon Jan 23, 2017 2:51 pm
by axew3
maybe, since debugging your page it return:

Code: Select all

ReferenceError: $ is not defined
can you try to add the code on overall_footer.html of phpBB
just before the closing
</body> tag instead where you have put it?

remove the code from where is, and move it just before the </body> tag.
And remember to recompile the template in phpBB after modifications.

Code: Select all

<script type="text/javascript">

$(document).on('mouseup', '.postimage', function(){
      var w3allappend = "getw3all_lightbox";
if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
});

  $(document).on("click", "a", function() {
   var href = $(this).attr("href");
   var w3allappend = href;

 if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);

});

 $('form').on('submit', function() {
 var href = $(this).attr("action");
 var ck1 = '#preview';
 var ck1r = (href.indexOf(ck1) > -1);
 if(ck1r == false){
 var w3allappend = href;
 if ('parentIFrame' in window) window.parentIFrame.sendMessage(w3allappend);
 }
});
</script>
<script type="text/javascript" src="iframeResizer.contentWindow.min.js" defer></script>

Re: ERR_TOO_MANY_REDIRECTS

Posted: Mon Jan 23, 2017 2:58 pm
by axew3
This topic has been closed because follow with questions not related to the original topic title. Please open a new topic if any reply.