[wp-hackers] wp-filesystem
Mr. Awesome
theone.andonly.mr.awesome at gmail.com
Thu Mar 6 07:06:23 GMT 2008
DD32 and I were having offlist email conversations about the
wp-filesystem-tester plugin and what was working or not working..
Basically, for me, some how there was another directory made within the
directory... which I had to delete...
DD32 wrote: "I have a feeling thats being casused by the previous
non-working code creating a folder called
/home/.hostname/myuser/vindictivebastard.net/ in your home directory.
(ie. so a folder exists at
/home/.hostname/home/.hostname/myuser/vindictivebastard.net/ )
Can you check if that folder exists, and if so, Delete it, and try again?"
Once I found it in the Dreamhosts.com WEBFTP panel, I deleted it and
then tried FTP-ing via the filesystem way, and it worked. I changed the
version of the Akismet plugin from 2.1.4 to 2.1.3... Clicked on "update
autmatically" link, filled in FTP credentials and hit submit... Got this:
"Downloading update from http://downloads.wordpress.org/plugin/akismet.zip
Unpacking the update
Removing the old version of the plugin
Installing the latest version
Plugin upgraded successfully"
I then went to the plugins page to see if it WAS updated, and yep it was
updated...
Evidently he was testing it on the wp-contact-form plugin, and He wrote:
"It turned out to be the Blank files, wp-contact-form has several 0 byte
files, Since the FTP server was returning absolutely nothing for the
files, the wrapper was assuming that it meant there was no file there..
Which caused it to fail copying the plugin over."
He then added that patch:
http://trac.wordpress.org/attachment/ticket/5586/5586.4.diff
http://trac.wordpress.org/changeset/7164
I did a SVN UP on the domains... and attempted updating that
"contact-form-7" plugin
(http://ideasilo.wordpress.com/2007/04/30/contact-form-7/), and then got
this message below here....
Fatal error: Call to undefined method WP_Filesystem_ftpsockets::chdir()
in
/home/.hostname/myuser/vindictivebastard.net/wp-admin/includes/class-wp-filesystem-ftpsockets.php
on line 101
More information about the wp-hackers
mailing list