I need you to install Moodle on my linux server hosted by 1and1.com. I have tried, and ran into some difficulties, and don't want to deal with it anymore. Hopefully - you can help. I have set up the sql database and have loaded Moodle on my server. Your task is to get it running.
Can you help?
Here's the issue I have run into installing myself, specifically, the issue cited below:
Sometimes the installation will hang when setting up tables. This will be an abrupt hang with half the page displayed in the browser and/or other outputs removed, e.g. the “Scroll to continue” link is displayed but no “Continue” button is there. If this is the case, it is usually a mysql error and not a php error. Check that there is no limit placed on your mysql database, e.g. a "questions" limit.
If the install is on a webhost, adding the following line to the .htaccess file in the moodle directory has been known to solve the problem.
AddType x-mapp-php5 .php
Try also renaming the .htaccess file so that it is disabled.
You may also want to look and see if you've customized any of your code. Look at the last successful table, and then look at the block, mod, or other code that is referenced by that table. For example, if your install hangs and continues to say that the forum tables were successful as the last message, look at /mod/forum/ for any custom code. If you have customized code, backup those files and replace with the correct files. You can then restart the install by renaming [url removed, login to view] or reinstalling your database from the backup. If your install is successful, you can make your code changes back into the stock Moodle code.
It may also be that the "memory_limit" in your [url removed, login to view] is set too low. Please check your [url removed, login to view] file and allocate the recommended amount (see Moodle requirements). For Moodle version 1.8 and above at least 40MB is recommended.
A work-around to this problem is to setup a working Moodle system on your local PC or server using the Moodle Packages. Once you have a running Moodle, backup the database and import to your webhost. Then backup the Moodle code itself (the "moodle" directory on your PC) and copy this to your webhost using (for example) FTP. Finally, edit the moodle/[url removed, login to view] file for the new settings that have to be changed for the webhost.
To avoid this problem when upgrading, prefer to upgrade incrementally. For example: upgrade from 1.6.* to 1.7.* and then to 1.8.* rather than straight from 1.6.* to 1.8.*