MyBB Community Forums
Header Include Buttons Broken Rate/Report/Quote - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Header Include Buttons Broken Rate/Report/Quote (/thread-209610.html)



Header Include Buttons Broken Rate/Report/Quote - Baitable - 2017-04-06

Hey all, so recently after updating to 1.8.11 it completely messed up my buttons, once I press a button mentioned in the title it shows this error message in the console:

XMLHttpRequest cannot load https://bonkleagues.ml/reputation.php?action=add&uid=146&pid=0&modal=1. Redirect from 'https://bonkleagues.ml/reputation.php?action=add&uid=146&pid=0&modal=1' to 'https://www.bonkleagues.ml/reputation.php?action=add&uid=146&pid=0&modal=1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://www.bonkleagues.ml' is therefore not allowed access.

I knew I shouldn't haveĀ upgraded :/

Any help would be appreciatedĀ  Big Grin
Thx


RE: Header Include Buttons Broken Rate/Report/Quote - .m. - 2017-04-06

remove forced www in the site url !
I'd suggest to redirect www url to non-www url ( i.e. https://bonkleagues.ml )