ABHIONLINUX
Site useful for linux administration and web hosting

2011/01/13

Moodle : ERROR: Could not find or create a directory (/home/username/public_html/uploaddata/16)

After creating the course, when you try to add files/folders in the course you will get an error "ERROR: Could not find or create a directory (/home/username/public_html/uploaddata/16"

This is due permission/ownership issue/.
Make sure that all your files and folders are having correct  ownership (username.username)
Check the permission for /uploaddata/, this should be set to 777.

Unable to login to Moodle site "Your session has timed out. Please login again"

When you try to login to your Moodle admin section,  you will get an error showing "Your session has timed out. Please login again"

Fix:
Check whether the folder /uploaddata/sessions/ is having 777 permission.
Clear all the session files in this folder.

Then you will be able to login to your website.