MyBB Community Forums

Full Version: What do these COOKIE errors mean?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey, everyone. I'm working on a site here:

https://stingerforum.org

It's currently using the NetPen theme but I also tried experimenting with another Responsive theme named W3-Responsive - and I get the same issues happening. I turned on the Javascript Console in Chrome and found these pop up whenever I click to inline moderate (first set of code) or multi-quote and attempt to add the quote to the editor (second set of code):

general.js?ver=1800:531 Uncaught ReferenceError: cookieSecureFlag is not defined
    at Object.set (general.js?ver=1800:531)
    at Object.setCookie (inline_moderation.js?ver=1807:367)
    at Object.updateCookies (inline_moderation.js?ver=1807:396)
    at HTMLInputElement.checkItem (inline_moderation.js?ver=1807:177)
    at HTMLInputElement.dispatch (jquery.js?ver=1800:4)
    at HTMLInputElement.r.handle (jquery.js?ver=1800:4)
set @ general.js?ver=1800:531
setCookie @ inline_moderation.js?ver=1807:367
updateCookies @ inline_moderation.js?ver=1807:396
checkItem @ inline_moderation.js?ver=1807:177
dispatch @ jquery.js?ver=1800:4
r.handle @ jquery.js?ver=1800:4


general.js?ver=1800:531 Uncaught ReferenceError: cookieSecureFlag is not defined
    at Object.set (general.js?ver=1800:531)
    at Object.multiQuote (thread.js?ver=1804:82)
    at HTMLAnchorElement.onclick (thread-15.html:567)
set @ general.js?ver=1800:531
multiQuote @ thread.js?ver=1804:82
onclick @ thread-15.html:567


Who understands what these messages represent and how can I fix them?
Thank you, Matt. I see. So these updates need to be made individually in new themes. I'm working on this right now. In the meantime - do I need to update ALL lines that refer to anything older than 1809? I see the following:

<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/jquery.plugins.min.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/general.js?ver=1800"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/netpen/js/theme.js"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/images/netpen/js/jquery.cookie.js"></script>

There are three different "ver=1800" lines. Change them ALL to 1809 or only the "general.js"?

Thanks again...
The main one is general.js (should really be 1810 now if you're on 1.8.10). They're only there to bust the cache between versions so technically can be anything, but the default will be 1809/1810.
Thank you, Matt! That fixed my problem. Smile Much appreciated...