Are you running PHP4, if so try running PHP5 and see if it helps.
Do automatic plugin/theme downloads from within admin work correctly?
Thread Starter
migee
(@migee)
plugins and themes both work
edit: and yes, when they have upgrades that part works to for them (auto upgrade)
Sorry I can only provide general troubleshooting on the problem 🙂
1. Try deleting the “Upgrade” folder, and then try the auto upgrade.
2. Refer to this topic with tons of helpful suggestions: http://wordpress.org/support/topic/242936?replies=46
Thread Starter
migee
(@migee)
I tried #1 as I read that thread before asking this question. Did not change much. And I do have define(‘FS_METHOD’, ‘direct’); already in my config.
Thanks for the help but no workie. If anyone else can suggest anything else I’ll give it a shot. I just wish I had a more informative error.
Thread Starter
migee
(@migee)
Hi again,
I took the time to track it down to the source in the code. I’m seeing the problem in the class-wp-upgrader.php as it tries to copy one file:
// Copy update-core.php from the new version into place.
if ( !$wp_filesystem->copy($working_dir . '/wordpress/wp-admin/includes/update-core.php', $wp_dir . 'wp-admin/includes/update-core.php', true) )
So basically the rendered version would be
if ( !$wp_filesystem->copy('D:\Web Sites\Hosted\MYWEB/wp-content/upgrade/wordpress-2.9/wordpress/wp-admin/includes/update-core.php', 'D:\Web Sites\Hosted\MYWEB/wp-admin/includes/update-core.php', true)
Digging a bit further, I dig into the class-wp-filesystem-direct.php:
function copy($source, $destination, $overwrite = false) {
if ( ! $overwrite && $this->exists($destination) )
return false;
return copy($source, $destination);
}
Basically it skips past the overwrite code, and tries to do a simple PHP copy. This, I would assume, is a permission problem with my host. What do I have to ask of them to get this to work? Does EVERYTHING need to be writable???
Thread Starter
migee
(@migee)
^ My host is running IIS 6 btw