• I have a site where the Media Library screen no longer will render the library of files. Also, the medial uploader has stopped working.

    I get the following javascript errors:

    GET https://test2.jisapp.rmamm.gov/wp-includes/js/plupload/plupload.full.min.js?ver=2.1.1 net::ERR_CONTENT_LENGTH_MISMATCH media-new.php:44

    Uncaught ReferenceError: plupload is not defined handlers.js?ver=4.0:406

    Uncaught TypeError: Cannot read property ‘hasClass’ of undefined

    I have:

    1. Uninstalled and deactivated all plugins
    2. Re-installed WordPress 4.0
    3. Added script debug true
    4. Cleared all caches

    All without success.

    Thanks in advance for any help offered.

Viewing 15 replies - 16 through 30 (of 31 total)
  • Thread Starter cwolff

    (@cwolff)

    Development seems to think this is a server issue or the result of an incomplete download. I’m not sure I agree, glad I have a workaround:

    https://core.trac.www.ads-software.com/ticket/30053

    Development cannot be correct. I experienced the same problem with the Add Media button suddenly not working. Also the Link button is not working. Tried it on different pages with same result. Re-installed WP 4.0 and have same situation. Although I can create links manually, I’m not smart enough to know a workaround for getting an image from the Library onto my page without the Add Media button to enable automatically entering the address of the file. Reported to trac as #30060.

    Moderator James Huff

    (@macmanx)

    cwolff, just in case it’s an incomplete file, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    If that didn’t do it, then I’d have to agree it’s a server issue.

    jryodabobs, that’s a completely different issue than what’s being described here (the OP’s link button works). Would you please open your own thread? https://www.ads-software.com/support/forum/how-to-and-troubleshooting#postform

    Thread Starter cwolff

    (@cwolff)

    MacManX, I have done the re-download thing numerous times in varying fashion with zero success.

    I can install any prior version clean and the media upload stuff works just fine.

    But I can not do the same with 4.0.

    Moderator James Huff

    (@macmanx)

    Then it would sound like a server issue I suppose. I tend to lean towards Nacin’s judgement, he knows what he’s talking about. ??

    Maybe contact your hosting provider and direct them to https://core.trac.www.ads-software.com/ticket/30053

    Before you do that, there is one type of server issue you may be able to work around, try adding define('CONCATENATE_SCRIPTS', false); to your wp-config.php file just below the define('DB_HOST' line.

    https://codex.www.ads-software.com/Editing_wp-config.php#Disable_Javascript_Concatenation

    deni58creates

    (@deni58creates)

    I am having the same issue, but on an older WP version. When I upload the file via Media Library “add new”, I can see the file on server files, but it’s not showing in the media library. I can use the url to add the image to a post or page, but since my client is the one who usually does this, she wants to be able to update the site, and not have to bother with contacting me every time she want to make updates. I have a pretty good working knowledge of WordPress, but not enough to use a workaround unless it’s explained step by step. Anyone willing to help me out?
    Thanks in advance!
    Denise

    Thread Starter cwolff

    (@cwolff)

    Denise, Im pretty confident that this issue is due to an incomplete or corrupted download, for whatever reason… at least it appears so in my case… wordpress bug tracking suggested the same.

    Are you self hosted?

    If so, installing WP core from the server itself (previously downloaded) rather than from a fresh download worked for me…

    Moderator James Huff

    (@macmanx)

    Yes, please try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    deni58creates

    (@deni58creates)

    Hi, thanks for your replies. I don’t actually host the site on a server in my office, but I do manage the hosting from my account with a web host company. So I do have access to the server files via FTP. This site is one that I took over from the company I used to work for, and I did not actually build it. When I worked there, I was told that we didn’t update the WP versions or plugins because the developers may have done some customizations along the way.

    This site is extremely out of date and at the same time that the uploader stopped working, we were also unable to post blogs anymore, getting an error message that we didn’t have permissions to edit those pages. (that’s an entirely different problem that has nothing to do with this thread, I understand that).

    So the process started of updating everything. I’m hesitant to completely update the site in the WP backend, so I’ve started “rebuilding” the site on a different server so that we will in the end have a brand new site with the same look/content.

    However, the existing site is still being used and the client wants to be able to change images/content while I finish the new site. Since this function is not working now, I started searching to see if I could find an interim solution. So it appears that what I’m doing is the solution that you both are suggesting. I’m not finished with that, so I don’t know if that will resolve the issues.

    Long answer to your short question, and probably way too much information, but I do appreciate both of you replying to my post and reading my reply.

    I’ll try to remember to post here when I’ve completed the upgrade to let y’all know if it has worked for me.

    Thanks again, hope you have a great week!

    Denise

    Moderator James Huff

    (@macmanx)

    Well, you can’t update WordPress one file at a time. If that is indeed what you’re doing, there’s your problem. ??

    It should be working fine once you’ve completed the update.

    deni58creates

    (@deni58creates)

    ?? What I meant was by just clicking on the “update now” button. I need to update from version 3.0.1 and there are many versions between then and now (which you no doubt know). What I found in searching forums that the suggestion is to only skip 2 versions when updating to avoid other complications. So I updated manually, by dropping our child theme into the new version, and then copy/pasting all of their content. Maybe it was the long way around, but the updated site is pretty much looking the way it should, I still need to test the functionality of everything. In addition to this client, I still have about 30 others that want help, and it’s just me doing all of this work. So it’s taking time.

    Thanks again for the help.

    Denise ??

    Thread Starter cwolff

    (@cwolff)

    Denise,

    I would:

    – Do a fresh install of the latest WordPress

    – Install your current theme for fun, to see what it looks like, tweak

    – Install all necessary plugins

    – Migrate, organize, and update your content

    – Tell your customer what a huge favor you have done them

    With the excellent updating options in the latest WordPress you shouldnt have this problem again. Moving your theme shouldnt be much trouble. The ease of use you will gain from your new install will make this happen quickly.

    Moderator James Huff

    (@macmanx)

    In general, if you just want to update the install, it should be safe to move to 3.5.2, then 4.0.

    Make sure that you backup first!

    https://codex.www.ads-software.com/WordPress_Backups

    deni58creates

    (@deni58creates)

    cwolff – Last item – telling my customer what a huge favor I’ve done – so great! I’ll make sure I do that. ??
    James – That’s good to know. What I am wondering is can I chose which version I wish to update to from the WordPress site, or do I still need to do that manually via FTP?

    Thanks
    Denise

    Moderator James Huff

    (@macmanx)

Viewing 15 replies - 16 through 30 (of 31 total)
  • The topic ‘Media Library and Uploader suddenly not working.’ is closed to new replies.