Hi!
When trying to upload a file in Administration/Files, I get the following error: "A problem occurred while uploading 'C' (possibly it was too large)".
The file is just 24 kb, though. I tried to change read/write permissions on the C:/moodle folder, but that doesn't help.
My settings are:
$CFG->dbtype = "mysql";
$CFG->dbhost = "XXX.XX.XX.XX"; /my IP
$CFG->dbname = "moodle";
$CFG->dbuser = "XXXX";
$CFG->dbpass = "XXXXXXXXX";
$CFG->wwwroot = "http://XXX.XX.XX.XX/moodle";
$CFG->dirroot = "C:/Inetpub/wwwroot/moodle";
$CFG->dataroot = "C:/moodle";
$CFG->buggy_referer = false;
What could be wrong? I run win xp, IIS5.
I suspect it could have something to do with permissions to write on the C:/moodle folder?
/Pontus
This is from my php.ini
=============
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
================
It works to make a forum attachment, and that file is possible to download, there is a folder created called moddata in the moodle folder. The file is not recognized as the file it is, i.e. a Word document, it is an unknown file with a question mark. I can't access that file as a resource, because then it says: Warning: Invalid argument supplied for foreach() in C:Inetpubwwwrootmoodlelibweblib.php on line 261
When I tried to upload a new image though, it didn't work... It seemed to upload, but after reloading and emptying internet cache and reload there is but the smiley.
=============
; Whether to allow HTTP file uploads.
file_uploads = On
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = C:PHPuploadtemp ; temporary directory for HTTP uploaded files (will use system default if not specified)
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
================
It works to make a forum attachment, and that file is possible to download, there is a folder created called moddata in the moodle folder. The file is not recognized as the file it is, i.e. a Word document, it is an unknown file with a question mark. I can't access that file as a resource, because then it says: Warning: Invalid argument supplied for foreach() in C:Inetpubwwwrootmoodlelibweblib.php on line 261
When I tried to upload a new image though, it didn't work... It seemed to upload, but after reloading and emptying internet cache and reload there is but the smiley.