<< Back
Message for this thread
Posted by Messages text
Nugent Philip

Noavatar
Total post : 8
> Profile
Written on : 14/03/2009 18:59 ( more than one month )
Object : Uploading a PDF
Hi,

Still playing with all the features, however I'm really stuck on one thing.

I've created a course and as the tutor have tried to upload a PDF for a course using the add new learning object / upload file method.

I keep on getting a message:

"Your file has not been uploaded.
Maybe your file is too big or write permissions on the server are not correctly configured (check manual to solve this problem)"

THe file was only 100kb and the limit is 10Mb. I've checked the ftp settings and it says "ok" of the diagnostics screen.

For reference I'm on a windows server, running PHP5 and IIS6.

My ftp settings are:

$GLOBALS['uploadType'] = 'ftp';
$GLOBALS['ftphost']  = 'www.mydomain.com';     $GLOBALS['ftpport']  = '21';       
$GLOBALS['ftpuser']  = 'XXXXXX';
$GLOBALS['ftppass']  = 'XXXXXX';
$GLOBALS['ftppath']  = '/httpdocs/lms';
$GLOBALS['where_files']  = '/files';
$GLOBALS['db_conn_names'] = 'utf8';
$GLOBALS['db_conn_char_set'] = 'utf8';
$GLOBALS['mail_br'] = "\r\n";


Note the ftp host name is our web address since i am on a shared server. 


The main website is in the root, which for me is the httpdocs folder. I've installed the Docebo in the LMS folder. Installation seamed to go ok. all is working except uploading :(


Any suggestions?

Regards

Philip



Message modified by : claudio.erba on : 15/03/2009 12:16
 
Nugent Philip

Noavatar
Total post : 8
> Profile
Written on : 14/03/2009 19:55 ( more than one month )
Object : Re: Uploading a PDF
Forgot to add, this is the php config:

Info about PHP
PHP version
5.2.9-1
"safe_mode" configuration                    Off
Configuration of "register_global"           Off
Configuration of "magic_quotes_gpc"      On
Configuration of "upload_max_filesize"   10M
Configuration of "post_max_size"           10M
Configuration of "max_execution_time"   120s
LDAP PHP extension                              Off Consider this parameter only if you need to authenticate through LDAP
Configuration of "allow_url_include"         Off
FTP connection                                     FTP OK
 
Nugent Philip

Noavatar
Total post : 8
> Profile
Written on : 14/03/2009 23:43 ( more than one month )
Object : Re: Uploading a PDF
Additional info:

when I try to attach a pdf to the course info page I get:

Warning: ftp_site() [function.ftp-site]: 'SITE CHMOD 0666 /httpdocs/LMS/files/doceboLms/course/1_15_1237070506_file.pdf': command not understood in E:\inetpub\vhosts\website.com\httpdocs\LMS\doceboCore\lib\lib.upload.php on line 235

Anyone with any ideas?

cheers

Philip
 
Erba Claudio

Avatar
Total post : 2688
> Profile
Written on : 15/03/2009 12:16 ( more than one month )
Object : Re: Uploading a PDF
Philip, you are on windows then, in my hopinion, you can switch from FTP to FS mode (on config.php file)
CLaudio 
Docebo CEO and Founder
www.docebo.com
 
Nugent Philip

Noavatar
Total post : 8
> Profile
Written on : 15/03/2009 13:55 ( more than one month )
Object : Re: Uploading a PDF
FANTASTIC ! It worked first time.

Thank you.

Philip
 
<< Back