[Xerte-dev] Re: Export problem

Pat Lockley patrick.lockley at googlemail.com
Thu Nov 22 11:14:31 GMT 2012


Stupid question response - firebug console (well the chrome console) should
show all the text a web page returns, so a php echo should appear in firebug

*installs firebug*

Yep :)

If you look in the code - there is an echo of that error (might be in the
language file now as a text string, so cross ref) you'll see what condition
generates that error, and then work back through the logic.


On Thu, Nov 22, 2012 at 11:01 AM, Fay Cross <Fay.Cross at nottingham.ac.uk>wrote:

> 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>
> 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
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev****
>
> ** **
>
>
>
>
> _______________________________________________
> Xerte-dev mailing list
> 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/04ebcd31/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firebug.png
Type: image/png
Size: 107903 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121122/04ebcd31/attachment-0001.png>


More information about the Xerte-dev mailing list