Support » Fixing WordPress » Plugin Upload Fails

  • Resolved grysom

    (@grysom)


    Hello,

    I’ve just encountered a very strange issue when trying to upload a plugin via WordPress.

    I went to Plugins > Add New > Upload. Selected a zip file (containing a folder with plugin files). When I hit Install, I got redirected to /wp-admin/update.php?action=upload-plugin but was shown (to my surprise) just a regular Error 404 – Page Not Found.

    I tried
    – switching all the plugins off
    – switching to basic theme
    – replacing all the files (except wp-content and wp-config.php)
    – checking file properties
    – switching off pretty links

    When I disabled pretty links, the only result was that instead of being taken to Error page, I received the message “Are you sure you want to do this?”

    I experienced this issue on two websites:
    – notjusttourist.com
    – dev.notjusttourist.com

    I did all the attempts on the dev site, for obvious reasons.

    When I tried installing a plugin via the backend search, it worked just fine. However, the plugin I tried to install was WooCommerce Cart Add-ons. This one is paid so I can’t install it with the search interface.

    When I tried uploading a plugin to FTP manually, it didn’t show up on the list of plugins afterwards.

    Please note: I’m not the one who built the site so its structure is pretty much unknown to me. That’s partly what makes it difficult to investigate the issue further.

    At this point, I’m afraid I’m out of ideas and short of deeper knowledge. So, do you have any suggestion, folks?

    Thank you in advance for sharing your tips!

    Have a nice day
    Matěj

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator t-p

    (@t-p)

    Have you considered installing plugins manually?: https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation

    Thanks for the effort, but as I wrote:

    When I tried uploading a plugin to FTP manually, it didn’t show up on the list of plugins afterwards.

    So, yes…

    • This reply was modified 2 years, 11 months ago by grysom.
    Moderator t-p

    (@t-p)

    Sorry, I missed that.

    it didn’t show up on the list of plugins afterwards.

    It did not show up in the dashboard or in the FTP …?

    • This reply was modified 2 years, 11 months ago by t-p.

    It didn’t show up in the dashboard.

    Moderator t-p

    (@t-p)

    Have you tried:
    – flushing any caching plugins you might be running, as well as server and/or browser caches. Not just your browser, but any op cache or content network cache as well such as Cloudflare. If your host provider has a “Purge Varnish” option or if you can ask your provider to flush memcache on your server. If you are using SiteLock, manage your caching there.

    Thank you for your reply.

    I’ll try to do that, let you know when I’m done. 🙂

    Have a nice day
    Matěj

    Okay, so I checked the site and the server – I wasn’t able to find any cache plugin, also there is no Cloudflare involved and I’m not aware of using any other services/technologies like that.

    Perhaps there are some but I didn’t build the site, I just help to rebuild it, so I don’t really know the structure and infrastructure involved.

    Is there a way to find out what cache tools/services the site uses?

    Thank you for advice.

    Have a nice day
    Matěj

    Hey,

    the mystery has come to a conclusion. The upload function was blocked by the server provider due to security reasons. I had to contact the support, explain the situation and send them the file to check for malware in order to get it unblocked.

    So if anyone else have those strange issues I recommend checking security restrictions with the hosting support.

    Have a nice day
    Matěj

    Moderator t-p

    (@t-p)

    Glad to know it 🙂

    Flushing cache worked for me (I hate cache plugins!)

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plugin Upload Fails’ is closed to new replies.