Schedule Status: Sleeping | Required File Status: Sleeping

It broadly looks good. The memory limit seems low compared to the max input and max upload file sizes though. I assume you restarted Apache after making changes?

Yup, restarted Apache afterwards a couple times just in case, but still get the message.

Thanks,
Ben

This always turns out to be a server configuration issue…

What size file are you trying to upload? How long is it taking?

It’s only about 500kb, just a picture I made to test it with, usually takes a split second then displays the Syntax error, but adds it to the media library anyway. If I try to add it to the background it adds it in, but nothing is displayed in design view or preview layout, and the little [x] saying the layout is problematic stays there, regardless.

Does the file get created in the CMS library directory?

It does indeed. Is it right that I’ve put a folder on the root of C: called xibo\library and added that to the CMS? + given it full access rights.

Assuming you’ve put the full path to that folder in the CMS settings then yes that sounds right.

Please run the Report Fault wizard and upload a file. Hopefully in the troubleshoot.txt file there will be some kind of error. You may want to redact the contents before uploading it.

Yeah, I put C:\xibo\library into CMS.

I’ve uploaded the ‘troubleshoot log.txt’ for adding in a image to the media library here:

http://1drv.ms/1QoA74e

Thanks,
Ben

Looks like the uploaded file isn’t being written or something else is deleting it:

“2015-06-03 13:02:37”,“content”,"","unlink(C:\xibo\library\temp/Image 4.jpg): No such file or directory
2
Warning
C:\xampp\htdocs\xibo\3rdparty\jquery-file-upload\XiboUploadHandler.php
38

Do I need to modify anything in the XiboUploadHandler.php file? Or should that be left alone?

You definitely shouldn’t be modifying files.

Can you check that the webserver is able to create temporary files in theat temp directory please? And check if any anti-virus software or similar prevented the file being created there.

We use Sophos anti-virus at my school. I will try disabling it and uploading again.

How would I test the see if the webserver can create temp files in that directory?

Try deleting the temp folder and see if it’s recreated.

Should be no need to disable Sophos - just see if it logged any actions.

I deleted the temp folder and it did recreate it when I tried to upload a picture.

Sophos hasn’t logged any actions for it.

I’m not sure then I’m afraid. Seems like something strange is happening under the hood. I’ve no idea what.

At this point you’d need to use a browser inspection tool (such as Developer Tools) to see what the XHR request that is coming back from the file upload contains.

It should almost immediately point us in the right direction (you should put the CMS in “test” mode first from settings).

I appreciate this is a more “technical” thing to have to do, but unfortunately I can’t think of any other options.