ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Can anybody help? Scripts stopped working, can't figure out what's broken

August 12, 2011 8:30pm

Subscribe [2]
  • #1 / Aug 12, 2011 8:30pm

    Graham Huber

    217 posts

    My scripts are breaking on this call:

    $.cookie("global_header_state", "open", );

    The error is coming from part of the source being stripped out.

    In the source, the proper code is:

    $.cookie("global_header_state", "open", { expires: 30, path: '/' });

    Why the heck is that {} being stripped out?

    My site was working this afternoon, now for some inexplicable reason, it’s not. I can’t figure out for the life of me what has changed!

    Can anyone help??

    Please and thank you!

  • #2 / Aug 13, 2011 8:52am

    the3mus1can

    426 posts

  • #3 / Aug 13, 2011 1:01pm

    Graham Huber

    217 posts

    Thank you so much, the3mus1can!

    I ended up restoring config.php from my backup, and that corrected the issue. It’s being triggered whenever “Display Output Profiler” is enabled. Something is getting changed in config.php that is not being changed back, even when the setting is turned off.

    See my related tech support thread here: http://ellislab.com/forums/viewthread/196642/

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases