Support » Fixing WordPress » Can't install themes or plug-ins

  • Within the dashboard, I can’t install any theme’s or plugin’s.
    I get the error:
    Download failed. Could not open handle for fopen() to /tmp/…
    I’ve tried changing the permission for wp_content to 777 and 776 then back to 755 but still can’t install anything.

    Please help!
    Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi Soteres,

    just for some extra info, are you hosting on IIS?

    Thread Starter Soteres Joannou

    (@soteres-joannou)

    Sorry Robey, I’m a newbie to WordPress.
    What is IIS?
    I’m using the cPanel.

    Please check out this post:
    http://wordpress.org/support/topic/plugin-upgrades-fail-after-update-to-wp-35?replies=23

    You may need to create a writable directory, and define it in your wp-config.php file.

    Who is your host?

    Thread Starter Soteres Joannou

    (@soteres-joannou)

    Josh, it’s a local hosting company in South Africa called Sizapro.
    This is there website: http://www.sizapro.co.za

    Oh okay, no idea with them.
    Did you try what was suggested in the link (in my last comment)?

    Thread Starter Soteres Joannou

    (@soteres-joannou)

    Josh, I’ve tried the post you suggested but nothing seems to work.
    I don’t know what to do next!
    If I give you my WordPress and cPanel account log-in details, can you log-in and check what the problem is?

    Thanks.

    Another thing to check, has the hard disk space reached the quota limit? Sometimes an error_log file can grow rapidly large and fill up the disk space. This would prevent any themes or plugins being installed.

    Thread Starter Soteres Joannou

    (@soteres-joannou)

    Robey, all I have on my hosting site is the WordPress installation.

    Thread Starter Soteres Joannou

    (@soteres-joannou)

    I deleted all the files and folders in the public_html folder by mistake, then reinstalled WordPress again. Would this cause the problem that I am having?

    I deleted all the files and folders in the public_html folder by mistake, then reinstalled WordPress again. Would this cause the problem that I am having?

    Oh gosh, yes.

    You’ll want to check your wp-config.php file in the root of your WordPress installation folder. Double check the info at the top of that file to ensure it has your proper database connection information.

    Soteres, posting the username and password on here is not a good idea. Now anyone can login to your server and do what they like. I would suggest you remove it and send them via email or something

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Edit: @royarjun? I thought this was your topic but it’s not. Can you please post your own?

    First thing is don’t post in all caps. It’s considered rude. 😉

    *Drinks coffee and looks over whole topic*

    Thanks Robey for that warning about the username and password.

    Within the dashboard, I can’t install any theme’s or plugin’s.
    I get the error:
    Download failed. Could not open handle for fopen() to /tmp/…

    As Josh explained give this a try.

    Can you confirm that the define('WP_TEMP_DIR','/path/to/a/temp/dir'); is in your wp-config.php file? You may need to ask your host if that path and directory is actually writeable by the web server’s UID (show them this reply and they should know what I mean).

    The path may be 777 (generally a bad idea but for now see if you can get it working) but if the web server UID can’t see or write to that directory then that could be the problem.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Can't install themes or plug-ins’ is closed to new replies.