Upload problem

Upload problem

by Tom Dedobbeleer -
Number of replies: 4

When our students (and me also) want to upload a photo for their profile, they get everytime the same error:

Warning: mkdir(/public_html/moodledata): No such file or directory in /home/donbuso/public_html/moodle/lib/moodlelib.php on line 1002

Anyone knows a solution?

Tom Dedobbeleer

Average of ratings: -
In reply to Tom Dedobbeleer

Re: Upload problem

by Zbigniew Fiedorowicz -
Your config.php should have:

$CFG->dataroot  =  '/home/donbuso/public_html/moodledata';
In reply to Zbigniew Fiedorowicz

Re: Upload problem

by Tom Dedobbeleer -

Thanks a lot, stupid error of me!!!

Ciao

Tom

In reply to Tom Dedobbeleer

Re: Upload problem

by Jan Dierckx -
Then again it's probably not a good idea to put the moodledata inside your public_html folder, where everyone has access to the files you upload!

You can find out more about this in ...
http://moodle.org/doc/?file=install.html#data


which, by the way, can be read in Dutch as well. smile

Veel succes!

In reply to Jan Dierckx

Re: Upload problem

by Tom Dedobbeleer -

Beste Jan,

ik heb jullie voorbeeld ook gezien van olvrode.

Knap werk!

Waar sla jij je geuploade files op?

Tom Dedobbeleer
Buso Don Bosco Halle