The MU forums have moved to WordPress.org

'jQuery' is undefined problem.. (5 posts)

  1. Ophidian
    Member
    Posted 15 years ago #

    Hello,

    I just installed 2.8.1 on a DreamHost account on a fresh domain. I followed the instructions point by point and the install seemed to work fine as I could login and create sub blogs and such.

    However, the jQuery functionality of the WPMU install seems to be broken for a reason I don't know. The specific error given is thrown by load-scripts.php as " 'jQuery' is undefined " and found in all the browsers I tried.

    I noticed this after I changed my admin password and the password strength indicator wasn't working. I checked the widgets and the drop/drop functionality is all gone too. One is left to assume that this is all jQuery functionality.

    DreamHost has a 2.8.1 on click installer for single blogs but because I wanted to set up a few I opt'd to install WPMU.

    On a sidenote, I noticed an htaccess.dist file that is given along with the package. I have no .htaccess file at the moment but when I tried to rename and use the .dist it threw a 500 error at me. So I reverted it back..

    If someone could advise on why this might be happening I would be very thankful. I tried due dilligence and searched the bug database as well as the forums for a similar problem. Sorry if I missed it.

    Thank you,
    Ryan

  2. cafespain
    Member
    Posted 15 years ago #

    You probably can't see the htaccess file unless you set your ftp software to show hidden files, but it will be there.

    Regarding the jQuery problem, do you have access to Firefox and the Firebug extension? If so, try opening firebug on the Net tab and then refresh / load the page throwing the error. It should tell you were it is looking for jQuery and may help pin point the problem.

  3. Ophidian
    Member
    Posted 15 years ago #

    Strangely enough, this bug does not occur in Firefox now. I am a drop perplexed as to what happened. IE8 is now throwing the error and the 2.8.1 version of standalone WP works fine in IE8 with the drag and drop functionality. I tried it with normal and compatibility mode. I know everyone hates IE8 but I use it because the company I do some work for requires all code to look pristine in IE8.

    I put an entirely fresh install in earlier before testing it again as I thought I may have botched a file permissions issue.

    For some reason IE8 tosses the Jscript error still but FF handles it fine now. I wonder if my FF did the autoupdate thing as well.

    And no there isn't an .htaccess file set in the root of the web which I thought a drop wierd. I believe it is set to be global over all my domains and it is accessed through the cPanel interface that DreamHost provides. Since it's the #2 host WP suggests, I thought I'd mention all of that for anyone reading.

    I will admit the browsers that I "tried" mentioned above were only IE and FF. FF works now for some reason which makes me feel a drop stupid for posting this is the first place saying I tried it, because I KNOW that I did. Frustrating eh?

    Should this be posted up as a browser specific bug or something?

    Thanks
    Ryan

  4. Ophidian
    Member
    Posted 15 years ago #

    An additional note, I know I am not hallucinating the problem occuring atleast temporarily in FireFox w/ Firebug because a second developer who is a friend of mine was looking at it originally and had the same problem. He was using FireFox w/ the Firebug plugin to analyze it. We couldn't come up with a definite solution and thus I posted here.

    Wierd...

  5. Integralist
    Member
    Posted 15 years ago #

    I found the issue to be because two JavaScript files had failed to upload and were 0 kb in size.

    Uploading the following files again worked for me...

    wp-includes/js/jquery/jquery.js
    wp-includes/js/jquery/jquery.schedule.js

    Hope this helps others having similar issues.

    M.

About this Topic

  • Started 15 years ago by Ophidian
  • Latest reply from Integralist