ERR_TOO_MANY_REDIRECTS

mLgz0rn
User ww
User ww
Posts: 42
Joined: Fri Jan 20, 2017 5:23 pm

Re: ERR_TOO_MANY_REDIRECTS

Post 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 :(
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: ERR_TOO_MANY_REDIRECTS

Post 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>
User avatar
axew3
w3all User
w3all User
Posts: 2883
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: ERR_TOO_MANY_REDIRECTS

Post 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.
Locked