• Hello!

    I’m having a problem with my WordPress blog. Whenever I try to install or update a plugin, it gets stuck on “Installing (or Updating) Plugin”:

    The update process is starting. This process may take a while on some hosts, so please be patient.
    
    Enabling Maintenance mode…
    Updating Plugin Secure WordPress (1/1)

    Here’s how it looks like.

    I did wait for a long time but it does not change. I’ve discovered that after a while I can just leave the page, browse to my plugins list and the plugin seems to be downloaded/updated. I just need to enable it because it’s disabled. Update: ok, this time it was enabled afterwards but still was stuck and I had to guess how much time it needed to complete the update process.

    Do you have any idea what could be the cause of that installing/updating page being stuck all the time? It doesn’t prevent me from installing/updating plugins. It’s just annoying as I need to wait a bit, guess how much time it needs to download a plugin, then go and enable it.

    It started to be like that some while ago. It just didn’t annoy me much enough to finally seek for help. Today it did :>
    My blog address: https://pafell.pl/

    Thanks in advance!

Viewing 15 replies - 1 through 15 (of 16 total)
  • Try adding

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    Thread Starter Pawel

    (@pafell)

    Pardon my lack of knowledge, but where should I add it? :>

    Oh – sorry – missed a bit…

    You need to add it to the .htaccess file in your WordPress root folder. If you don’t already have an .htaccess file, then you will need to create one.

    Thread Starter Pawel

    (@pafell)

    Didn’t work ?? When I tried to access pafell.pl/wp-admin, all I could see was this messed up page.

    Just to be sure: I already had an .htaccess file in my WordPress root folder. Does it matter where in the file do I put this text or can I put it just at the end?

    I usually add it to the top of the file but, in theory, it shouldn’t matter. Did you use a plain text editor like NotePad?

    Thread Starter Pawel

    (@pafell)

    Sorry, should have mentioned it before.

    I’m on Mac OS X and I’ve used Terminal’s nano text editor. Tried to upload both in binary and ascii mode but effect was the same (I’m using Terminal’s ftp client).

    You must upload in ASCII mode. I don’t know Terminal’s nano text editor but I’d guess that’s fine. If a re-upload in ASCII format doesn’t fix things, remove those lines and re-upload. Then check with your hosts as to what version of PHP is running on your server. If it’s PHP4, try twisting their arm to upgrade the server to PHP5. If they refuse, start looking for another host. You are going to need PHP 5 for WP 3.2.

    Thread Starter Pawel

    (@pafell)

    Still the same ??

    I’m checking version of PHP right now… Inside cPanel it looks like PHP is 4.4.9 (screen).
    However, if I click PHP Info visible on screen below PHP version, it seems that PHP is on 5.2.12 (screen).

    Which version is more likely to be correct? Or should I just check with my hosting?

    Oh that’s just contradictory! Check with your hosts. Perhaps you need to enable PHP5 manually?

    Thread Starter Pawel

    (@pafell)

    I will send them an e-mail today and try to get some clarification on what PHP version are they using and what about PHP5 ??

    I will update this topic after I get their response. Many thanks for your help so far! ??

    No problem. I hope you manage to get it sorted.

    Thread Starter Pawel

    (@pafell)

    Okay, so my hosting is using PHP5. I don’t need to enable it anywhere, I just need that code you gave me to be in .htaccess.

    In fact, one of these lines (AddHandler x-mapp-php5 .php) was already present in .htaccess file (I should be killed for not noticing that) and that is what caused problems. So I added just that other line (AddType x-mapp-php5 .php) and my Dashboard displays correctly.
    However, my problem is still present – I still have to guess how much time WordPress needs to install a plugin because it’s not telling me anything (screen).

    I’ve made sure that I upload .htaccess in ascii this time.

    Plugins should only take a few seconds to install. If the download is still hanging, then something else is blocking it. Do you have access to your server’s error logs? If the server config is blocking the download, there should be something in the error log.

    Thread Starter Pawel

    (@pafell)

    It looks like it is downloading the plugin but the installation/update page doesn’t refresh while it’s doing it.

    I have just installed a plugin, the progress page was stuck as always, but all I could see in error log was this:
    [Wed Mar 23 17:08:54 2011] [error] [client 207.46.204.240] client denied by server configuration: /home/pafell/public_html/wp-admin/
    I installed the plugin in 16:20 GMT but I believe that time zone in cPanel is set to GMT+1 as it’s a Polish hosting. Thus, I’m not sure whether this log entry applies to me installing the plugin as it was there before I’ve installed it.

    I’ve also looked at Raw Access Log. I’ve pasted it here (expiration time set to 1 day).

    client denied by server configuration

    Well that’s sounds pretty conclusive. Your hosts could well be blocking the downloads. Have a word with them and see what they say. Otherwise, you’re stuck with manual uploads and updates.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Stuck on "Updating Plugin" while updating a plugin’ is closed to new replies.