<< Back
Message for this thread
Posted by Messages text
Net HQ

Noavatar
Total post : 4
> Profile
Written on : 17/10/2009 19:47 ( more than one month )
Object : Problems uploading files [solved]
Hi,

I had lab-tested a Docebo installation and everything went fine, but when I did the install in my real host provider I couldn't upload files.


There is also a permanent error alert on the top when logged as Admin, statiing
"Configuration problem - Check diagnostic for more information"
but no errors are shown in the Diag panels

The "files" folder and subfolders are set to 777 and owned by my account.
Diagnostic tools detects this:

Server configuration
Server address: <the correct IP, removed for security>
Server port: 80
Server name: domain-ok.com
Server admin mail: root@domain-ip
Server software: Apache

MySQL version: 5.0.45-Max

PHP version: 4.4.7
"safe_mode" configuration: On
Configuration of "register_global": On
Configuration of "magic_quotes_gpc": On
Configuration of "upload_max_filesize": 8M
Configuration of "post_max_size": 8M
Configuration of "max_execution_time": 30s
LDAP PHP extension: On
DOM XML status: On
FTP connection: FTP OK


I am using just test files under 150kb

THE diference with my lab-test is that in my real provider I couldn't use http as upload method so I had to use FTP. FTP account details were double-checked.

There is also another error wich *might* be related, so I'll add it here:

When I log in as Admin and click "Admin area" the address is wrong, I installed docebo in a subdomain (http://courses.mydomain.com) and I am being directed to http://mydomain.com.
When I manualy add the subdomain I can acces without problem, but *maybe* that is also affecting the way Docebo is trying to upload files through ftp

Files' path appears to be ok in the config.php file:

$GLOBALS['ftppath']     = '/docs/www/mydomain.com/public_html/courses/';
$GLOBALS['where_files']  = '/files';


Thanks in advance.
HQ.

Message modified by : HQnet on : 20/10/2009 18:16
 
Erba Claudio

Avatar
Total post : 2688
> Profile
Written on : 17/10/2009 21:17 ( more than one month )
Object : Re: Problems uploading files
Did you check directory permission? (777)?
Does the FTP user have permissions to write in the directory?
Claudio 
Docebo CEO and Founder
www.docebo.com
 
Derks Giovanni

Avatar
Total post : 1861
> Profile
Written on : 20/10/2009 10:12 ( more than one month )
Object : Re: Problems uploading files
Writted by: Net HQ

When I log in as Admin and click "Admin area" the address is wrong, I installed docebo in a subdomain (http://courses.mydomain.com) and I am being directed to http://mydomain.com.
When I manualy add the subdomain I can acces without problem, but *maybe* that is also affecting the way Docebo is trying to upload files through ftp

Files' path appears to be ok in the config.php file:

$GLOBALS['ftppath']     = '/docs/www/mydomain.com/public_html/courses/';
$GLOBALS['where_files']  = '/files';



Hello,
please check that the ftp path is a real one and not going through  some links; maybe the real path is something like '/var/www/mydomain.com/courses/'; ?

Also check the url in your configuration for the not correct link problem  by going in configuration > common > Configuration and interface options and check the Website address setting. Also check it for LMS and CMS going in e-learning > main and web portal > general..

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
Net HQ

Noavatar
Total post : 4
> Profile
Written on : 20/10/2009 18:13 ( more than one month )
Object : Re: Problems uploading files
Hello Claudio / Giovanni

i found the upload problem:

the suggested absolute paths to the server (i.e.)"'/var/www/mydomain.com/courses/';" do not work,

I had to replace it for the relative path for my ftp account "/public_html/"


The website address seems to be ok everywhere I look, including the suggested menus. I'll still dig a little more.

 Anyway, the main problem is solved now.
Thanks.
Message modified by : HQnet on : 20/10/2009 18:15
 
Derks Giovanni

Avatar
Total post : 1861
> Profile
Written on : 21/10/2009 09:28 ( more than one month )
Object : Re: Problems uploading files
Writted by: Net HQ

the suggested absolute paths to the server (i.e.)"'/var/www/mydomain.com/courses/';" do not work,

I had to replace it for the relative path for my ftp account "/public_html/"


yep, mine was just an example ;)

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
Net HQ

Noavatar
Total post : 4
> Profile
Written on : 11/11/2009 15:04 ( more than one month )
Object : Re: Problems uploading files [solved]
Hi, I know that was just an example, actually I was already using a path based on the documented example, my point is that the original example is prone to confusion IMHO, in that it leads you to use a full server path instead of a path relative to your ftp account. Maybe the most clear way would be to suggest a full-path when using http uploads and a relative-path when using ftp uploads? Regards.
 
Derks Giovanni

Avatar
Total post : 1861
> Profile
Written on : 12/11/2009 09:37 ( more than one month )
Object : Re: Problems uploading files [solved]
Writted by: Net HQ

Maybe the most clear way would be to suggest a full-path when using http uploads and a relative-path when using ftp uploads?


Hi,
thanks for the feedback and the tip. Yes; this depends on which folders you have to go in once you have logged using ftp, so an absolute path could be misleading.

bye,
Giovanni. 

Docebo Staff
 - Docebo 4 released! -

 
<< Back