• Resolved willygsd

    (@willygsd)


    Hi all,

    I’ve got a site where I can’t get the Add Media button to work. When you click on it. Nothing happens. I’ve tried switching to 2012 theme, deactivating all plugins. I’ve also added the define(‘CONCATENATE_SCRIPTS’, false ); to the wp-config.php (that helped me to be able to use the Visual tab, which wasn’t working before).

    I also tried adding define(‘WP_MEMORY_LIMIT’, ‘128M’); to wp-config.php. But the site is on geekdaddy.com (I think it’s the same as godaddy.com) and I think they keep you from getting at php.ini. When I run a script with phpinfo() it says I have 64MB.

    Any ideas?

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Site link?

    Thread Starter willygsd

    (@willygsd)

    vettechresourcecenter.com

    I’m wondering if the problem isn’t something in the wp-include\js directory. In the javascript console, it was showing a file was missing. I did move the site from Linux test hosting, to windows hosting (which had problems) to Linux hosting. I’m wondering if there’s file missing, file permission issues.

    I’m in the process of copying the \wp-include\js directory from a good install.

    Thread Starter willygsd

    (@willygsd)

    These are the java errors I see while on the edit Post screen

    Uncaught SyntaxError: Unexpected end of input media-models.min.js:1
    Uncaught TypeError: Cannot read property ‘model’ of undefined wp-plupload.min.js:1
    Uncaught TypeError: Cannot read property ‘model’ of undefined media-views.min.js:1
    Uncaught TypeError: Cannot set property ‘string’ of undefined media-editor.min.js:1

    I updated my theme , I am using weaver II and my add media button is not working either. Also, the post edit screen is stuck on VISUAL , I cant get the text view to work, when I click on it, nothing happens.
    site is earcandycabs.com

    Is there a way to roll back an update?

    I am using version 3.5.1

    Thread Starter willygsd

    (@willygsd)

    re: errors I typed from the edit Post screen.

    they are javascript, not java errors.

    @mrmackey,

    Please start your own thread.

    Willy, I suggest a manual re-install of WP…this means replacing (not overwriting) the folders wp-admin and wp-includes (do not touch wp-content or anything in root except those two folders.

    Report back.

    Also, remove any files in root not associated with WP (Linux) or required by your webhost (ask them).

    Thread Starter willygsd

    (@willygsd)

    Thanks for your advice. There might be a problem with the files as they were copied from the test site (linux) to 1st location (windows) to second location (linux).

    I’ll give it a shot as soon as I get a chance and report back.

    Thread Starter willygsd

    (@willygsd)

    Thanks Seacoast.

    I deleted all files in wp-admin, wp-includes, copied all files over, set all permissions to 755 for folders 644 for files, changed theme to 2012, turned off plugins – add media worked. changed theme back to custom theme, turned on plugins and add media still works.

    I just upgraded to 3.6 and immediately the media button stopped working. It is very hard to get a photo to post. I am assuming it is a problem with the upgrade?

    I am an amateur, basic English please. ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Add Media Button not Working’ is closed to new replies.