SOLVED - File upload not working - Error:true - php settings appear correct

Asked by Nathan

Hi all.

My Xibo server instance is 1.6.2, running on WAMP currently. At the moment, I am unable to upload large videos. It appears that the server isn't allowing me to upload over the default 2MB file size limit, even though I have set the php variables needed, and was working on 1.4.x.

For clarification, I have ensured that the following values are still set, as they were before I upgraded from 1.4:

file_uploads = On
upload_max_filesize = 750M
memory_limit = 1000M
post_max_size = 750M

When I ran the upgrade, the Xibo upgrade script identified that the Large File Uploads was set up correctly.

I can successfully upload a 600KB video, but I can't upload a 200MB video. When I do, the file does not upload, and the xibo server windows just says "Error:true". I have tried turning on debugging and auditing, but the xibo logs do not indicate anything on the logs pane. I have also checked through the php error logs and the apache error logs, and there is nothing coming up that relates to when I try to upload the large file.

Would there be any more settings or anything that I have missed?

Regards,
Nathan

EDIT:
Solution found - network web filter was blocking large uploads before they even reached the Xibo server.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Nathan
Solved:
Last query:
Last reply:
Revision history for this message
Nathan (nbutler-o) said :
#1

As a follow up too, when I go to upload the file, xibo does show that the file must be less than 750M.
Just for further testing, I have also tried values such as 100M, 1000M, 750MB, 1G.
Thanks

Revision history for this message
Alex Harrington (alexharrington) said :
#2

Maximum execution time and maximum input time most likely are too low

Revision history for this message
Nathan (nbutler-o) said :
#3

Hi Alex.
The max_execution_time was set to 150, and max_input_time was set to 60.
However, the error appeared immediately when I hit the upload button, so it shouldn't be a timeout error. The usual green progress bar for the file upload doesn't appear at all, just goes straight to the error.
Thanks,
Nathan

Revision history for this message
Alex Harrington (alexharrington) said :
#4

Both seem low to me, and I think should have s on the end (ie 300s).
Failing that filesystem permissions would be my next suspect. Your
webserver user needs to write to the server library location, and wherever
your webserver is using as temp storage

Revision history for this message
Nathan (nbutler-o) said :
#5

Hi Alex.
I managed to find out that, for some reason, I haven't been able to upload from my windows PC's. I have tested 2 PCs (Windows 7 Ent) and the server itself (Windows Server 2008 R2), all using Firefox (31.0) and Chrome (36.x).
Strangely though, I have been able to upload from my Mac workstation, using Safari and Chrome. Could there be any issue arising from the client that I am uploading from? Alternatively, would there be any way to see what the actual error text is by changing the page code (so instead of showing "true", it would say something like "File too large" or similar)?
Thanks,
Nathan

Revision history for this message
Alex Harrington (alexharrington) said :
#6

Tried the CMS logs?

Revision history for this message
Dan Garner (dangarner) said :
#7

When using Chrome, can you press CTRL + ALT + J to open the developer tools and switch to the network tab. Then open your form and select a file for upload.

What do you see loaded in the network tab of developer tools?

Revision history for this message
Nathan (nbutler-o) said :
#8

@Alex - sorry for late reply. I checked the CMS logs, and there is nothing I can see that clarifies what is going on there.

@dangamer - I checked on both my (working) Mac Chrome instance, and also on the PC instance which wasn't uploading. They both have the same files loaded and they both were missing the query.min.map file. I downloaded the query map file from query.com and that now loads, but the issue is still the same. There are 47 requests that have successfully loaded when opening the Library menu, and 57 when getting to the page to upload a video.
When I try to upload the file, I get the the error "net:ERR_CONNECTION_ABORTED"

Revision history for this message
Nathan (nbutler-o) said :
#9

Hi all.
Thanks all for the help and suggestions. It turns out all configurations that we had tested were perfect, however one of our network admins had changed something on our internet filter device, so the filter was blocking large file uploads network wide. The upload had worked from my mac client because it was bypassing the filter. No wonder nothing was coming up in any of the logs...
Thanks again!