• Resolved phasetransitions

    (@phasetransitions)


    Greetings all,

    I’ve lost the ability to use the media uploader. The “drop here” box doesn’t appear, and clicking on the “Select Files” or “Browser Uploader” does nothing. Searching in the solutions show this to be a common problem, but there’s no solution that works for me.

    Vanilla 3.4.2 install, no plugins, completely new database. Both Chrome 23 and Firefox 16 show “jQuery is not defined” in load-scripts.php

    Server is a fresh Linode VPS on Ubuntu 12.04 LTS. This is PHP 5.3.10 with APC cache and nginx 1.x. There is a php-fpm worker pool with the same owner:group as the WP install.

    I need the media library to function properly, and am out of things to investigate, so I seek outside help! Thank you so much in advance for any help, I’m tired of banging my head on the desk ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Wow, really, vanilla install? No plugins, 2011 theme? I’ve had no problems with 3.4.2 outside of the custom fields bug.

    Did you try the latest 3.5 RC?

    Thread Starter phasetransitions

    (@phasetransitions)

    Andrew,

    Indeed no plugins, and 2011 theme. Since I am working to migrate all of my wordpress properties to multi-site, originally I had much more going on.

    In the interest of solving this problem, I kept dropping the database, simplifying the install, and reinstalling WP. Eventually ending up with a completely vanilla install. All this on new VPS metal that I know well, and has been carefully configured.

    In Chrome 23 and Firefox 17, when load-script calls jquery.js, it just stops parsing mid script. The output from FireBug/Chrome console (F12) just ends like so:
    f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.curr

    Clearly that’s not correct, but both stop at exactly the same character in jquery.js makes me think something on the backend is wonky.

    I tried the site both with APC disabled, and APC enabled, with no difference. Parsing jquery.js still stops at the same character both times.

    Thread Starter phasetransitions

    (@phasetransitions)

    Solved this, finally! And like many annoying problems, it wasn’t WordPress

    For the peanut gallery and Google posterity:
    NGINX uses files in /var/lib/nginx/fastcgi/ to manage various things. As such, NGINX must have write access to this directory. In the midst of our NGINX configurations ./fastcgi ownership was changed to NGINX (user ‘nobody’), but all of the subdirectories remained owned by www-data:www-data.

    Recursive chown on those subdirectories to nginx’s user fixed the problem, as it can now write those files.

    This doesn’t recover my lost day, but hopefully it will be useful to someone else ??

    Really cool that you tracked that down, sorry I wasn’t able to respond this morning (I’m on the west coast).

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘"jQuery not defined" in load-scripts.php results in broken media uploader!!’ is closed to new replies.