WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] 3.0 Plugin Upgrade Bug? Could Not Create Directory (100 posts)

  1. paularovena
    Member
    Posted 3 years ago #

    Do anyone know why PureFTP is the problem with WP autoupdate?
    I cannot change the ftp pureftp service!
    I can suggest a solution to the hosting provider to patch pureftp?

    Do WP 3.0.4 solve this problem?

    Regards.

  2. mudthirsty
    Member
    Posted 3 years ago #

    I talked to my server admin, and they said I was getting these errors because somewhere during the install/update, its asking for a folder called blog, instead of my wordpress directory. Where would this come from, as its not in my themes, and my settings in wordpress are correct.

  3. tonysirna
    Member
    Posted 3 years ago #

    I had luck with changing the permissions on wp-content/upgrade and wp-content/plugins and all subdirectories to 777 but I also had to add
    define(‘FS_METHOD’,’direct’); in my wp-config.php

    I still have trouble upgrading the core WP files but am able to install and upgrade plugins.

  4. yauhui
    Member
    Posted 3 years ago #

    I'm experiencing a similar problem. However, the host is indeed running ProFTP. I had been in other permission issues before this, but most of them were resolved by chmod 777 or creating the file/folder through PHP so that the owner is apache. Now that I've finally gotten WordPress running, I tried to update Akismet but gotten this error:

    "Downloading update from http://downloads.wordpress.org/plugin/akismet.2.5.2.zip…
    Unpacking the update…

    Warning: Invalid argument supplied for foreach() in /path/to/wordpress/wp-admin/includes/class-wp-filesystem-ftpsockets.php on line 299

    Could not copy file. /path/to/wordpress/wp-content/upgrade/akismet.tmp/"

    Anyone figured a solution?

    Update: Looking through my directories, I found akismet.tmp in /wp-content/ rather than /wp-content/upgrade/, which puzzled me.

  5. jamaal_jayz
    Member
    Posted 3 years ago #

    I followed onepursuit's advice step by step and it worked like a charm. This seems to be an issue of compatibility with the server which WordPress is hosted on.

  6. ccpetersen
    Member
    Posted 3 years ago #

    I posted an unanswered question about this inability to update plugins in 3.0.4 a day ago (before this thread showed up). No responses there, so I"m asking here. I checked my ftp server and it's not PureFTP. Permissions on my upgrade file is 755, and it's empty. Not sure what else to check, but I will note (as others have) that this problem cropped up in a 3.0.X upgrade, and I've been unable to update ANY plugins since then. Are any developers even looking at this thread and if so, can you offer any other fixes? Is there a way to manually update? I've never done it manually -- always relying on the once-reliable "automatic" updates.

    thx

  7. jamaal_jayz
    Member
    Posted 3 years ago #

    You have to change the FTP on your Web Host Manager side.

    Other than that, you can manually upgrade a plugin by downloading the zip file, and uploading it via FTP.

  8. ccpetersen
    Member
    Posted 3 years ago #

    The FTP is fine on the web host manager side. I already determined that. I guess I'll try the manual upgrade method. I had not done that before.

    thx

  9. jamaal_jayz
    Member
    Posted 3 years ago #

    Good luck then!

  10. ifeelgod
    Member
    Posted 3 years ago #

    Ok, Johnscottweaver hit a home run for me.

    I had tried all the listed fixes, permission changes, directory deletions etc. that had been listed. I even increased the size of my hosting space just in case I had run out of room. Further, I tried to let fantastico handle it since it was available but it would only take me to 3.0.3 not .4

    So since I have my own server and I host everything myself for my clients, I changed the ftp and whup bang bing! PROBLEM FIXED!

    Worked great on all the sites. I know it makes no sense but thats what worked.

    [sig deleted]

Topic Closed

This topic has been closed to new replies.

About this Topic