Hi, I'm trying to get Thunderbird 3 (version 3.1.2) to install the addons from the update server. We have this working fine with Thunderbird 2 and the Connector is downloaded and installs correctly in TB3 but I can't get Lightning to download and install on TB3.
In the error console on TB3 I'm seeing: Error: no element found Source File: https://webmail.server.ca/plugins/updates3.php?plugin=%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D&version=0.00&platform=WINNT_x86-msvc Line: 1 If I click on the link in the error console I see: <?xml version="1.0"?> <!DOCTYPE RDF> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <Description about="urn:mozilla:extension:{e2fda1a4-762b-4020-b5ad-a41df1933103}"> <em:updates> <Seq> <li> <Description> <em:version>1.0b2.102i</em:version> <em:targetApplication> <Description><em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <em:minVersion>3.1.0</em:minVersion> <em:maxVersion>3.1.*</em:maxVersion> <em:updateLink>https://webmail.server.ca/plugins/WINNT_x86-msvc/lightning-1.0b2.102i.xpi</em:updateLink> </Description> </em:targetApplication> </Description> </li> </Seq> </em:updates> </Description> </RDF> If I take the URL from the above message (https://webmail.server.ca/plugins/WINNT_x86-msvc/lightning-1.0b2.102i.xpi) and paste it into a browser, it downloads the correct lightning file and I can take that file and manually install it in TB3. So, the files seem to be correct and the updates.php script is providing the correct information and the apache error logs show no errors but it won't download. I get the same results on our test SOGo server and our live SOGo server. I've tried different versions of Thunderbird 3.1.x with the same results. Any ideas? Thanks, Bill C. apache access log: 172.16.1.234 - - [01/Oct/2010:12:06:02 -0600] "GET /plugins/updates3.php?plugin=%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D&version=0.00&platform=WINNT_x86-msvc HTTP/1.1" 200 823 172.16.1.234 - - [01/Oct/2010:12:06:02 -0600] "GET /plugins/[email protected]&version=0.00&platform=WINNT_x86-msvc HTTP/1.1" 200 797 172.16.1.234 - - [01/Oct/2010:12:06:02 -0600] "GET /plugins/[email protected]&version=0.00&platform=WINNT_x86-msvc HTTP/1.1" 200 790 updates3.php -------------------- <?php /* updates.php - this file is part of SOGo * * Copyright (C) 2006-2009 Inverse inc. * * Author: Wolfgang Sourdeau <[email protected]> * * This file is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This file is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ /* This script handles the automatic propagation of extensions pertaining to a SOGo site. It requires PHP 4.1.0 or later. */ $plugins = array( "[email protected]" => array( "application" => "thunderbird", "version" => "3.102", "filename" => "sogo-connector-3.102.xpi" ), "[email protected]" => array( "application" => "thunderbird", "version" => "3.102", "filename" => "sogo-integrator-3.102-wbtc.xpi" ), "{e2fda1a4-762b-4020-b5ad-a41df1933103}" => array( "application" => "thunderbird", "version" => "1.0b2.102i", "filename" => "lightning-1.0b2.102i.xpi" )); $applications = array( "thunderbird" => "<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <em:minVersion>3.1.0</em:minVersion> <em:maxVersion>3.1.*</em:maxVersion>" ); $pluginname = $_GET["plugin"]; $plugin =& $plugins[$pluginname]; $application =& $applications[$plugin["application"]]; if ( $plugin ) { $platform = $_GET["platform"]; if ( $platform && file_exists( $platform . "/" . $plugin["filename"] ) ) { $plugin["filename"] = $platform . "/" . $plugin["filename"]; } elseif ( !file_exists( $plugin["filename"] ) ) { $plugin = false; } } if ( $plugin ) { header("Content-type: text/xml; charset=utf-8"); echo ('<?xml version="1.0"?>' . "\n"); ?> <!DOCTYPE RDF> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <Description about="urn:mozilla:extension:<?php echo $pluginname ?>"> <em:updates> <Seq> <li> <Description> <em:version><?php echo $plugin["version"] ?></em:version> <em:targetApplication> <Description><?php echo $applications[$plugin["application"]] ?> <em:updateLink>https://webmail.server.ca/plugins/<?php echo $plugin["filename"] ?></em:updateLink> </Description> </em:targetApplication> </Description> </li> </Seq> </em:updates> </Description> </RDF> <?php } else { header("Content-type: text/plain; charset=utf-8", true, 404); echo( 'Plugin not found' ); } ?> Integrator extensions.rdf ----------------------------------- <?xml version="1.0"?> <!DOCTYPE RDF> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:isi="http://inverse.ca/sogo-integrator/" xmlns:em="http://www.mozilla.org/2004/em-rdf#" xmlns:NC="http://home.netscape.com/NC-rdf#"> <Seq about="http://inverse.ca/sogo-integrator/extensions" isi:updateURL="https://webmail.server.ca/plugins/updates3.php?plugin=%ITEM_ID%&version=%ITEM_VERSION%&platform=%PLATFORM%"> <li> <Description em:id="{e2fda1a4-762b-4020-b5ad-a41df1933103}" em:name="Lightning"/> </li> <li> <Description em:id="[email protected]" em:name="SOGo Integrator"/> </li> <li> <Description em:id="[email protected]" em:name="SOGo Connector"/> </li> </Seq> </RDF> -- [email protected] https://inverse.ca/sogo/lists
