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.

super fresh 2.1 install - undefined "$global_js_mtime"?!

August 09, 2010 10:44am

Subscribe [2]
  • #1 / Aug 09, 2010 10:44am

    moresided

    18 posts

    hey all, kinda surprised this hasn’t come up but I did a fresh download and install of 2.1 earlier today and ended up with this in a rendered page on the admin, which basically broke any javascript and therefore made the CP unusable:

    <h4>A PHP Error was encountered</h4>
    
    <p>Severity: Notice<br />
    Message:  Undefined variable: global_js_mtime<br />
    Filename: _shared/header.php<br />
    Line Number: 37</p>
    
    <p></div>

    There’s only one reference to global_js_mtime where it’s being used, but never set.  I ended up just checking to see if it’s set and if not, using jquery_mtime, which was a variable also available in the same file:

    themes/cp_themes/default/_shared/header.php

    How’d this get through QA?

  • #2 / Aug 09, 2010 5:04pm

    Ingmar

    29245 posts

    Can you please try to re-upload a fresh set of files? Pay special attention to your themes, too. I have never encountered this issue before.

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

ExpressionEngine News!

#eecms, #events, #releases