[wp-testers] Testers wanted: Plugin update testing

DD32 wordpress at dd32.id.au
Mon Mar 10 01:41:39 GMT 2008


On Mon, 10 Mar 2008 12:20:48 +1100, Kirk M <justhinkin2 at gmail.com> wrote:

> I've been using the latest nightly builds (not currently set up for SVN),
> currently running 03/09/08. On both my test site and my main which is using
> the latest 2.5, the upgrade fails with the following:
>
>>Downloading update from http://downloads.wordpress.org/plugin/akismet.zip
>
>>Unpacking the update
>
>>Incompatible archive
>
> This has been going on over the last several nightly builds no matter which
> plugin upgrade I tested. I actually haven't had a successful upgrade yet.
> Just as a note, the OneClick plugin works with no problem in WP 2.5 if that
> helps any.

I've got a similar error on my main webhost, I think its a incompatibility between the PHP version, the OS, and the Zip decompressor in use.
In wp-admin/update.php replace the function show_message() with this one:

function show_message($message) {
	if( is_wp_error($message) ){
		if( $message->get_error_data() )
			$message = $message->get_error_message() . ': ' . $message->get_error_data();
		else			$message = $message->get_error_message();
	}
	echo "<p>$message</p>";
}

And see what the result is, It'll probably be something like:
"Incompatible archive: Unable to find End of Central Dir Record signature"

I'll look into what the OneClick plugin is using, I thought it was using the same zip handling class that is currently being used in WordPress, But i may be wrong.

> --------------------------------------------------
> From: "DD32" <wordpress at dd32.id.au>
> Sent: Sunday, March 09, 2008 7:58 PM
> To: <wp-testers at lists.automattic.com>
> Subject: [wp-testers] Testers wanted: Plugin update testing
>
>> Hi all Testers,
>> Wordpress 2.5 is due to be released sometime soon(When ever its ready i
>> believe - But thats another threads discussion).
>>
>> But so far theres been very little bug reports flowing in for the plugin
>> updater, So, I ask of you, The Testers, To grab the latest SVN copy of
>> WordPress, install an old plugin (One thats available on WordPress.org)
>> and hit the "updgrade automatically" link on the plugins page.
>>
>>
>> An alternative to downloading a older version of the plugin, is to simply
>> change the version header of a existing plugin, For testing, i've mainly
>> been using akismet:
>> (after changing)
>> <?php
>> /*
>> Plugin Name: Akismet
>> Version: 2.1.0
>> Author: Matt Mullenweg
>> Author URI: http://photomatt.net/
>> */
>>
>> Do the upgrade proceedure and it should click click over pretty smoothly
>> to update it
>> If anyone has a problem while attempting an upgrade, Please post back with
>> the messages shown on the upgrade page. (I'll then follow up with a plugin
>> i have which should help pin-point the problem)
>>
>>
>> Note:
>> How the upgrade proceedure works:
>> + WordPress notices theres a new plugin version available, displays links
>> on plugin page
>> + User clicks upgrade link
>> + WordPress asks for FTP details to connect to the local account to
>> perform the upgrade (Note: At present, FTP is FORCED to be used for beta
>> testing)
>> + WordPress connects via ftp
>> + WordPress attempts to locate the WordPress folder
>> + WordPress downloads the latest .zip
>> + WordPRess extracts the files from the .zip to a temporary directory
>> + WordPress deletes the old plugin files
>> + WordPress copies the new files into their place
>> + WordPress deletes its temporary files, And upgrade complete
>>
>> It could fail at any one of those steps, And given the number of failure
>> points, I'm supprised theres only been 2 reports of it not working
>> correctly (Both since fixed up)
>>
>> I also stress, WordPress trunk is still pre-beta stage, It is not designed
>> to work in production environments right now, While i use it on a live
>> site without any problems, I cant guarantee you wont have trouble, Try
>> running it on a test install first, then it everythings running allright,
>> only then decide to try it on your live setup :)
>>
>> Cheers,
>> DD32
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
> 





More information about the wp-testers mailing list