Upload Error

Backend functionalities: user management, course management, reports, certificates, etc.
tdavies
Newbie
Posts: 7
Joined: Wed May 13, 2015 3:28 pm
Version: forma.lms 1.4

Upload Error

Post 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

User avatar
alberto
FormaLms Guru
Posts: 990
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Upload Error

Post by alberto »

Hi tdavies, is the /files folder writable for upload?
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

tdavies
Newbie
Posts: 7
Joined: Wed May 13, 2015 3:28 pm
Version: forma.lms 1.4

Re: Upload Error

Post by tdavies »

Yes my /files is writeable
Last edited by tdavies on Thu May 14, 2015 1:24 am, edited 1 time in total.

User avatar
alberto
FormaLms Guru
Posts: 990
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Upload Error

Post 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?
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

tdavies
Newbie
Posts: 7
Joined: Wed May 13, 2015 3:28 pm
Version: forma.lms 1.4

Re: Upload Error

Post 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.

User avatar
canelli
FormaLms Guru
Posts: 490
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Upload Error

Post 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
....
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------

tdavies
Newbie
Posts: 7
Joined: Wed May 13, 2015 3:28 pm
Version: forma.lms 1.4

Re: Upload Error

Post by tdavies »

They are all writeable. Anything else you can think of? Would it be anything in the htaccess folder?

tdavies
Newbie
Posts: 7
Joined: Wed May 13, 2015 3:28 pm
Version: forma.lms 1.4

Re: Upload Error

Post 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!

User avatar
canelli
FormaLms Guru
Posts: 490
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Upload Error

Post 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 ?
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------

tdavies
Newbie
Posts: 7
Joined: Wed May 13, 2015 3:28 pm
Version: forma.lms 1.4

Re: Upload Error

Post by tdavies »

perl-Apache-ASP version 2.59-0.297781

It worked for version 1.4 but not 1.3

Post Reply