<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.38">
<TITLE>RE: [Xerte] toolkits export</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>When I wrote the code, I had trouble harmonising the headers (i.e making them work) on both IE and firefox. In the end I stripped most of the headers out because it was the only way I could make it work.<BR>
<BR>
The header code is part of open source zip class - You can find it in website_code/php/scorm/archive.php. Look for the function download_file. You'll see that I have commented out the lines. Maybe one of these will make yours work. I suspect it is a server settings issue, and would be grateful to know which settings work for you.<BR>
<BR>
Alternatively, you could set the file to be created, then maybe do a header redirect? That was my plan B. It might look nicer as you'd could also do a progress bar - opinions?<BR>
<BR>
Hope this helps.<BR>
<BR>
-----Original Message-----<BR>
From: xerte-bounces@lists.nottingham.ac.uk on behalf of Julian Tenney<BR>
Sent: Thu 11/12/2008 13:52<BR>
To: Xerte discussion list<BR>
Subject: RE: [Xerte] toolkits export<BR>
<BR>
It works fine on our dev box, and on my localhost, so what can be<BR>
different?<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: xerte-bounces@lists.nottingham.ac.uk<BR>
[<A HREF="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of David Goodwin<BR>
Sent: Thursday, December 11, 2008 1:46 PM<BR>
To: Xerte discussion list<BR>
Subject: Re: [Xerte] toolkits export<BR>
<BR>
-----BEGIN PGP SIGNED MESSAGE-----<BR>
Hash: SHA1<BR>
<BR>
Julian Tenney wrote:<BR>
> Can you export the learning object normally, from the properties<BR>
panel?<BR>
><BR>
<BR>
<BR>
The ..../export_$number link is taken from the properties panel. As I<BR>
said, it seems to work fine in Firefox, but fail in IE (which makes me<BR>
think perhaps the http headers aren't quite right)<BR>
<BR>
thanks<BR>
David.<BR>
<BR>
<BR>
<BR>
<BR>
> -----Original Message-----<BR>
> From: xerte-bounces@lists.nottingham.ac.uk<BR>
> [<A HREF="mailto:xerte-bounces@lists.nottingham.ac.uk">mailto:xerte-bounces@lists.nottingham.ac.uk</A>] On Behalf Of David<BR>
Goodwin<BR>
> Sent: Thursday, December 11, 2008 11:42 AM<BR>
> To: Xerte discussion list<BR>
> Subject: [Xerte] toolkits export<BR>
><BR>
> Hi,<BR>
><BR>
> If I access e.g. <A HREF="http://my.xerte.site/export_141">http://my.xerte.site/export_141</A> in firefox, it<BR>
> downloads fine and shows me a valid .zip file etc.<BR>
><BR>
> If I try to do the same in IE7, it momentarily shows the download box,<BR>
> and then comes up with an error message ("Internet Explorer cannot<BR>
> download export_141 from my.xerte.site. Internet Explorer was not able<BR>
> to open this Internet site. The requested site is either unavailable<BR>
or<BR>
> cannot be found. Please try again later.")<BR>
><BR>
> Has anyone else seen this? Any known workarounds?<BR>
> thanks<BR>
> David.<BR>
_______________________________________________<BR>
Xerte mailing list<BR>
Xerte@lists.nottingham.ac.uk<BR>
<A HREF="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>
_______________________________________________<BR>
Xerte mailing list<BR>
Xerte@lists.nottingham.ac.uk<BR>
<A HREF="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>
<BR>
- --<BR>
David Goodwin Pale Purple Limited<BR>
Office: 0845 0046746 Mobile: 07792380669<BR>
<A HREF="http://www.palepurple.co.uk">http://www.palepurple.co.uk</A> Company No: 5580814<BR>
'Business Web Application Development and Training in PHP'<BR>
-----BEGIN PGP SIGNATURE-----<BR>
Version: GnuPG v1.4.6 (GNU/Linux)<BR>
Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org">http://enigmail.mozdev.org</A><BR>
<BR>
iD8DBQFJQRmQ/ISo3RF5V6YRAsYqAKCv8F/OL+lffVPr3J7TUkft1kZL5wCeNliH<BR>
QZbqwFK4E7YqfjEzC9KQ0sM=<BR>
=Mg9/<BR>
-----END PGP SIGNATURE-----<BR>
_______________________________________________<BR>
Xerte mailing list<BR>
Xerte@lists.nottingham.ac.uk<BR>
<A HREF="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>
_______________________________________________<BR>
Xerte mailing list<BR>
Xerte@lists.nottingham.ac.uk<BR>
<A HREF="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>