The Elearning Community • Upload Error
Page 1 of 2

Upload Error

Posted: Wed May 13, 2015 4:12 pm
by tdavies
Hello,

I get an upload error on any learning object that I try to upload. I have version 1.3 and 1.4 both installed and cannot upload on either site. I am using a Linux-- Apache sever. My Sql version 5.1.73, PHP version 5.3.3. I have raised max upload size max execution and post max size. I have checked the settings and all types are in my whitelist. I have changed permissions on files and config.

This is the error I get regardless of the type of document.
Error while processing the requested operation Error while uploading the object, object not uploaded

Re: Upload Error

Posted: Wed May 13, 2015 5:11 pm
by alberto
Hi tdavies, is the /files folder writable for upload?

Re: Upload Error

Posted: Wed May 13, 2015 5:56 pm
by tdavies
Yes my /files is writeable

Re: Upload Error

Posted: Wed May 13, 2015 9:50 pm
by alberto
That log doesn't seem related to your problem, is just a missing stylesheet
The path is strange anyway, is your site url correct in the admin > config > main options?

Re: Upload Error

Posted: Thu May 14, 2015 1:28 am
by tdavies
Yes the url is correct. I installed a clean version on that domain to see if it would work.
I have tried everything I can think of but it still gives me an error.

Re: Upload Error

Posted: Thu May 14, 2015 11:47 am
by canelli
Hi
please check that all sub-folders under the files folder (and files directory itself ) are writeble by the web server .

Code: Select all

files/appCore
files/appLms
files/appLms/certificate
...
files/appLms/scorm
....

Re: Upload Error

Posted: Thu May 14, 2015 4:48 pm
by tdavies
They are all writeable. Anything else you can think of? Would it be anything in the htaccess folder?

Re: Upload Error

Posted: Thu May 14, 2015 6:19 pm
by tdavies
I figured it out! Inside of /files/tmp was a .htaccess file that said deny from all. I changed it to allow from all and it works.

Thanks for all your help!

Re: Upload Error

Posted: Thu May 14, 2015 9:03 pm
by canelli
Hi Tdavies
I'm happy you have resolved the issue and that you have shared the solution with us.

From our side we will made some check and verifications and fix the issue in a next release.
Your solution sound strange to me: the .htaccess in tmp folder 'deny access from all' because the temp folder is a temporary working area and no url must require a file from these location.

I suppose you are using apache 2.2 , can you confirm ?

Re: Upload Error

Posted: Fri May 15, 2015 9:27 pm
by tdavies
perl-Apache-ASP version 2.59-0.297781

It worked for version 1.4 but not 1.3