[Xerte] Re: Problem Importing Media in XOTv2

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Jun 4 13:13:52 BST 2013


I've seen this a few times recently - thanks for your help, we'll solve it,

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Bruce Jackson
Sent: 04 June 2013 11:08
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Problem Importing Media in XOTv2

Hi,
I posted this on the Xerte Community site this morning (eventually getting it under the correct category), but wondered whether this list was a better place:

...,

Here at SOAS I've recently installed XOTv2 on a SLES11 LAMP server setup.
I'm getting problems importing media.
For authenticated users (LDAP), the system seems to happily create a workspace and project with what appears to be the correct directory structure under 'USER-FILES' (a named directory containing 'data.xml' and 'preview.xml' files, along with a 'media' directory).
However, when using the 'Edit' button on the 'My Projects' page, and then trying to 'insert' media (I've tried images and videos) to a page, I hit a problem.
It allows me to navigate to a file that I want to upload; tells me "Upload successful"; puts a 'path' in the 'image' box on the edit screen; and even writes that path into the 'data.xml' and 'preview.xml' files. But it doesn't upload the image to the 'media' directory.
I can upload files by clicking on the 'Properties' button on the 'My Projects' page and using the 'Media and quota' tab to 'Import' the files. They are then written to the 'media' directory and display correctly via the 'My Projects' 'Preview' button (or the 'Edit' -> 'Play' buttons).

These are only small(ish) files - less than 1MB.

Does anyone have any ideas what is set incorrectly, or can anyone point me towards the correct bit of code to put some debug messages in?

Cheers,

Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130604/023ad5fd/attachment.html>


More information about the Xerte mailing list