[wp-testers] update.php in wp-admin?
Adriaan van Natijne
a.vannatijne at gmail.com
Mon Feb 18 17:45:08 GMT 2008
Thanks for the link!
Trac crashed my browser (FF) while searching...
Nothing is changed when I try an update. Tough I did like to share the
errors with you.
Adriaan
Creating the directory upgrade (in wp-content) as the ftp user
(web1_adriaan) didn't worked.
Maybe it's the .zip module of php? I'm using Linux on the server.
The errors:
> Downloading update from
> http://downloads.wordpress.org/plugin/akismet.zip
>
>
> ( ! ) Warning:
> Invalid
> argument
> supplied for
> foreach()
> in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 283
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 1.6070
> 695712
> WP_Filesystem_FTPext->delete( )
> ../update.php:161
>
> ( ! ) Warning:
> ftp_rmdir()
> [function.ftp-rmdir]: /var/www/web1/web/wp-content/upgrade/akismet: Directory not empty in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 286
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 1.6070
> 695712
> WP_Filesystem_FTPext->delete( )
> ../update.php:161
> 5
> 1.6617
> 696048
> ftp_rmdir ( )
> ../class-wp-filesystem-ftpext.php:286
>
> Unpacking the update
>
> Removing the old version of the plugin
>
>
> ( ! ) Warning:
> ftp_chdir()
> [function.ftp-chdir]: /var/www/web1/web/wp-content/plugins/akismet/akismet.php: No such file or directory in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 300
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 2.4148
> 724656
> WP_Filesystem_FTPext->delete( )
> ../update.php:177
> 5
> 2.4148
> 724656
> WP_Filesystem_FTPext->is_file( )
> ../class-wp-filesystem-ftpext.php:278
> 6
> 2.4148
> 724656
> WP_Filesystem_FTPext->is_dir( )
> ../class-wp-filesystem-ftpext.php:296
> 7
> 2.4156
> 724656
> ftp_chdir ( )
> ../class-wp-filesystem-ftpext.php:300
>
> ( ! ) Warning:
> ftp_delete()
> [function.ftp-delete]: /var/www/web1/web/wp-content/plugins/akismet/akismet.php: No such file or directory in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 279
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 2.4148
> 724656
> WP_Filesystem_FTPext->delete( )
> ../update.php:177
> 5
> 2.4174
> 724576
> ftp_delete ( )
> ../class-wp-filesystem-ftpext.php:279
>
> ( ! ) Warning:
> ftp_chdir()
> [function.ftp-chdir]: /var/www/web1/web/wp-content/plugins/akismet: No such file or directory in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 300
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 2.4197
> 724496
> WP_Filesystem_FTPext->delete( )
> ../update.php:182
> 5
> 2.4197
> 724496
> WP_Filesystem_FTPext->is_file( )
> ../class-wp-filesystem-ftpext.php:278
> 6
> 2.4198
> 724496
> WP_Filesystem_FTPext->is_dir( )
> ../class-wp-filesystem-ftpext.php:296
> 7
> 2.4205
> 724496
> ftp_chdir ( )
> ../class-wp-filesystem-ftpext.php:300
>
> ( ! ) Warning:
> ftp_delete()
> [function.ftp-delete]: /var/www/web1/web/wp-content/plugins/akismet: No such file or directory in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 279
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 2.4197
> 724496
> WP_Filesystem_FTPext->delete( )
> ../update.php:182
> 5
> 2.4221
> 724416
> ftp_delete ( )
> ../class-wp-filesystem-ftpext.php:279
>
> Installing the latest version
>
>
> ( ! ) Warning:
> Invalid
> argument
> supplied for
> foreach()
> in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 283
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 2.4331
> 724600
> WP_Filesystem_FTPext->delete( )
> ../update.php:189
>
> ( ! ) Warning:
> ftp_rmdir()
> [function.ftp-rmdir]: /var/www/web1/web/wp-content/upgrade/akismet: Directory not empty in /var/www/web1/web/wp-admin/includes/class-wp-filesystem-ftpext.php on line 286
> Call Stack
> #
> Time
> Memory
> Function
> Location
> 1
> 0.0003
> 42312
> {main}( )
> ../update.php:0
> 2
> 0.2449
> 656216
> do_plugin_upgrade( )
> ../update.php:111
> 3
> 0.3379
> 670552
> wp_update_plugin( )
> ../update.php:93
> 4
> 2.4331
> 724600
> WP_Filesystem_FTPext->delete( )
> ../update.php:189
> 5
> 2.4451
> 724928
> ftp_rmdir ( )
> ../class-wp-filesystem-ftpext.php:286
> Plugin upgraded successfully
--
Adriaan van Natijne <a.vannatijne at gmail.com>
fwrite.org
Op maandag 18-02-2008 om 08:04 uur [tijdzone -0800], schreef Lloyd Budd:
> On Feb 18, 2008 7:40 AM, Adriaan van Natijne <a.vannatijne at gmail.com> wrote:
> > Are there any known problems with this feature reported?
> > I get errors for free with this new function (without an update...).
> >
> > When we just forget this little thing: great updates!
>
> As Ryan wrote in the ticket for this "Lot's more error checking and
> user feedback is needed."
> http://trac.wordpress.org/ticket/5586#comment:18
>
> "Committed a minimalist first pass. Let's see if we can stabilize this
> in time for 2.5. If we can't, we'll strip it out and move it to 2.6.
> This uses DD32's filesystem abstraction. I decided not to do the chmod
> 777 thing like so many plugins do. If the server is running as the
> user, the code will do direct writes to the filesystem, otherwise FTP
> is used. Right now ftp is forced for testing purposes. ftpext works
> for me on the ftp servers I tested against. ftpsockets needs work to
> bring it up to speed with the changes to ftpext. Lot's more error
> checking and user feedback is needed."
>
> Hope that helps,
More information about the wp-testers
mailing list