[Xerte-dev] Re: Export problem

Fay Cross Fay.Cross at nottingham.ac.uk
Thu Nov 22 11:01:39 GMT 2012


Stupid question alert - would php echos appear in the firebug console?

Incidentally, I just tried importing in IE instead and got a different error to the Firefox one - 'The files in your zip folder need to be in the main folder, not within another folder in the zip.' (they're not in another folder)

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 22 November 2012 10:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Export problem

the "you can only import zip files" is usually a mime type issue.

Look in import.php for the first if statement that checks the mime type of the file.

If you echo that variable and then track in console or fiddler you could debug that part.

Sometimes mozilla and chrome report different mimetypes to IE, so it might be that as well.

On Thu, Nov 22, 2012 at 10:04 AM, Fay Cross <Fay.Cross at nottingham.ac.uk<mailto:Fay.Cross at nottingham.ac.uk>> wrote:
I know this is something that comes up a lot but even using the current files from the toolkits svn set up in xampp I can't export and then import a project.  The export (as archive zip) seems to works ok - all the expected files are in the zip.  But when I try to import it I get an error 'You can only import Zip files'

Also, I the language options check boxes on the editor are still not appearing correctly - wasn't this fixed last week?

Thanks



_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121122/f760e66e/attachment.html>


More information about the Xerte-dev mailing list