[Xerte] Re: Problems displaying images
johnbijnens1 at gmail.com
Thu Mar 5 10:16:59 GMT 2015
Thank you VERY MUCH for your reply.
Uploading and displaying images by using a normal "graphics and sound" page doesn't work either.
The permissions on USER-FILES and underlying folders/files are
* USER-FILES : 755 (or rwxr-xr-x)
* 2-name-Nottingham : 777 (or rwxrwxrwx)
* 2-name-Nottingham /data.xml : 644 (or rw-r--r--)
* 2-name-Nottingham /media : 755 (or rwxr-xr-x)
* 2-name-Nottingham /preview.xml : 777 (or rwxrwxrwx)
* 2-name-Nottingham /media/grootte_schakel.png : 644 (or rw-r--r--)
I have tried FireFox 36.0 (on both Windows 7 SP1 and Linux Mint 17.1) and InternetExplorer 11.
It doesn't work.
I have just tested it with Google Chrome 40.x and surprisingly enough that does work without any flaws.
This rules out any misconfiguration of the server.
The workaround you suggested with
FileLocation + 'media/grootte_schakel.png'
Thanks again for the fast reply and the solution for the problem.
I couldn't have found the solution "FileLocation + ...." without a thorough (and much time consuming) investigation of the source code.
I have asked the same question on the Xerte Forum.
I will crosspost this answer to the Forum so other people can find the solution to this problem through the forum also.
On 5/03/2015 9:51, Ron Mitchell wrote:
> Does a normal graphics and sound page work in terms of uploading and
> displaying images?
> I suspect not and you really need to resolve why uploading an image via the
> editor rather than media and quota isn't working. Directory permissions on
> Also what browser? Does it work with a different browser?
> But anyway if you believe the image is uploaded correctly via media and
> quota try
> FileLocation + 'media/grootte_schakel.png'
> That's what the editot would store as the path.
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of John Bijnens
> Sent: 04 March 2015 22:19
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Problems displaying images
> A bunch of hopefully not too stupid questions.
> I'm running XOT 2.1 (update) on a Debian server.
> The xerte site is accessed through https.
> De URL in the database table sitedetails in the MySQL database is changed to
> The ownership of all the files of the xerte installation is set to the
> Apache user.
> The authorization to the xerte site is done through Db.
> I create a new project.
> I create a Tabbed Navigator object.
> I add an image to this object.
> If I try to upload the image I get an error : "Upload failed: IOerror"
> I can upload the image through the project properties (Media and quota) e.g.
> an image with the name "grootte_schakel.png"
> I enter the following in the entry field of the image in the Tabbed
> Navigator object
> I can see a preview of this image when I press the preview button.
> When I press the Play button the Tabbed Navigator object is not shown.
> If I do an "Export (Get Deployment Zip)" and open this in a browser the
> object is not shown either.
> When I remove the image the object is shown.
> Can anyone point me into the right direction to solve this problem ?
> In the database table sitedetails I see a field with the name "Apache".
> The contents of this field is "false".
> When I change this to "true" I get an error saying "preview2.php" is not
> What is the purpose of this field "Apache" ?
> Thank you very much in advance.
> Best regards,
> John Bijnens
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> This message and any attachment are intended solely for the addressee and
> may contain confidential information. If you have received this message in
> error, please send it back to me, and immediately delete it.
> Please do not use, copy or disclose the information contained in this
> message or in any attachment. Any views or opinions expressed by the author
> of this email do not necessarily reflect the views of the University of
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xerte