[Xerte] "FileLocation + " error

Paul Vaughan paul.vaughan at southdevon.ac.uk
Thu May 20 09:32:58 BST 2010


I have discovered by analyzing the error logs that the media folder is not being created.

When a new user logs in for the first time, Xerte creates a folder (e.g.) 8-newuser-Nottingham with the correct permissions, but does not create the media folder within it, so when the user attempts to upload (e.g.) an image the file cannot be uploaded and the preview cannot function.

I can get around this for now by manually creating folders with the correct permissions, but: 1. we only have 8 users and this will hopefully vastly increase, and 2. if more folders are required (e.g. for other kinds of media) the process will fail until I manually create these folders too.

Paul.



On 19/05/10 16:57, Patrick Lockley wrote:

Hello,

each project will have a media folder. If you go into user-files folder can you see the projects folder? In it's media folder is the file?

It sounds like a rights issue when a file is uploaded?

What are the security settings for the userfiles and project folder?

Pat


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> on behalf of Paul Vaughan
Sent: Wed 19/05/2010 15:17
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Subject: [Xerte] "FileLocation + " error

Hi all.

I am a techie in our Computer Services department and a recent job for
me was to install Xerte Online Toolkits onto a 'spare' server for use
around the college.  Install was apparently successful and I handed over
to the users to create resources.

One of them has reported an error when adding in an image. They choose
the image (say img.jpg) and in the text box next to 'Image' you get
"FileLocation + " showing, then "/media/img.jpg". This looks wrong, and
clicking on the preview button produces an error popup reading: You must
select media before you can preview it."

I thought I had everything correct during install but maybe not.  I'd be
grateful for any assistance those on this list can provide as Google
turned up very little.

Regards,

Paul.

PS.
Server spec: Ubuntu 9.10, PHP 5.2.10, MySQL 5.0.51a, Apache 2.2.12,
Xerte 27/1/2010
Client Spec: Ubuntu 10.04, Firefox 3.6.3, Flash 10.0.45.2.
--
Paul Vaughan
Senior Coordinator - Web Development
South Devon College, Long Road, Paignton, Devon TQ4 7EJ
paulvaughan at ... moodle... www.southdevon.ac.uk<http://www.southdevon.ac.uk>
01803 540 540 - Switchboard

This email and any attachments may contain information which is confidential to South Devon College.  If you are not the intended recipient, please notify the sender immediately by replying to this email and then delete the email without making any copies or using it in any way.

South Devon College accepts no legal responsibility for the contents of the message.  Any views expressed in the message are those of the sender and may not reflect the views of the College.

Although any attachments to the message will have been checked for viruses before transmission, you are urged to carry out your own virus check before opening attachments, because South Devon College accepts no responsibility for loss or damage caused by software viruses.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte



This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.


--
Paul Vaughan
Senior Coordinator - Web Development
South Devon College, Long Road, Paignton, Devon TQ4 7EJ
paulvaughan at ... moodle... www.southdevon.ac.uk<http://www.southdevon.ac.uk>
01803 540 654 - Computer Services
01803 540 540 - Switchboard

________________________________
This email and any attachments may contain information which is confidential to South Devon College. If you are not the intended recipient, please notify the sender immediately by replying to this email and then delete the email without making any copies or using it in any way.

South Devon College accepts no legal responsibility for the contents of the message. Any views expressed in the message are those of the sender and may not reflect the views of the College.

Although any attachments to the message will have been checked for viruses before transmission, you are urged to carry out your own virus check before opening attachments, because South Devon College accepts no responsibility for loss or damage caused by software viruses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100520/41af9204/attachment.html


More information about the Xerte mailing list