I'm Tony's student that went through the fun little process of running Moodle on Godaddy. It took quite a few tries . . . but it finally is up and running. I admit it does run a bit slow at times and the themes do not always appear correctly - but it does work! Here's basically what I did-
Please note that Godaddy's is not up to date enought to run Moodle 1.6. Thus, you'll need to use the last 1.5 version available.
- UPLOADING: As mentioned in another post, you have to FTP upload the entire unzipped moodle package to your godaddy account. This takes time, and you also need to make sure everything gets uploaded. At first I tried using the Internet Explorer Webfolder setup to upload - but it always hangs. So I used SmartFTP - and for some reason the upload likes to randomly stop, especially when it is uploading the languange files. So essentially you need to stop and check to see where the upload cuts off, and then manually drag over the folders it missed.
- MySQL: I setup a MySQL within the Godaddy hosting interface according to the specifications within the moodle installation documentation.
- INSTALLATION: Once everything was uploaded and in place, then I ran the installation file for moodle-
- The basic way to make it work is DON'T CHANGE ANY SETTINGS AT ALL! The only one I changed was the wwwroot location to where the moodle folder was located, BUT do not touch or adjust the dirroot or dataroot. Just trust what Moodle ends up finding.
- Besides these settings - don't touch any other settings within all of the administration menus! Every time I tinkered with anything I had errors during the installation. Wait until the entire installation is done, then you can go back into the administration settings and change things as needed - but don't touch them during installation at all.
- With the MySQL settings - you'll need to click on the name of your SQL within Godaddy to find the proper address and etc for it.
- PHP SETTING: Assuming that you made it through the installation and things are somewhat up and running, there is one more key setting you need to change. I spent a few weeks trying to figure out why I couldn't see any photos or uploaded files within the Moodle - turns out you need to change the slasharguements settting.
- Click on the Configuration
- Go to the Variables Page
- In the Operating System section, find the slasharguments setting
- Change it to: file/php?file=/pic.jpg
- SECURITY: Finally - the big problem with Godaddy is a security issue since there is not way to create folders that are not "on the web". The only way I've figured out to cover myself on this is creating a htaccess file. Instructions can be found here:
-
Creating a data directory
Moodle will also need some space on your server's hard disk to store uploaded files, such as course documents and user pictures.
The Moodle installer tries hard to create this directory for you but if it fails then you will have to create a directory for this purpose manually.
For security, it's best that this directory is NOT accessible directly via the web. The easiest way to do this is to simply locate it OUTSIDE the web directory, but if you must have it in the web directory then protect it by creating a file in the data directory called .htaccess, containing this line:deny from all
-
- CRON: Oh - and you need to run the cron to make e-mails and etc run automatically. There's no way to run crons in Godaddy, so you need to run one off of your own computer. I have windows, so I just run the cron in the background. Check out the documentation about how to do it:
Check out my Moodle at:
http://www.djliang.com/moodle
There is a free Vocabulary Podcast Community I've created with quizzes and etc - so feel free to send students or anybody that way. Thanks!