Jump to content
thejerm

Installing Moodle

Recommended Posts

Before I go out and purchase a dedicated server for moodle I thought I would run a test install on my domain here... However it does not seem to be working. I did everything like it said in the install.php and then said to download the config.php and place it in the home moodle directory. Now it says I will be transferred to http://****/moodle/admin/index.php, which i am, but it is a blank page. in the Installation FAQ for Moodle it says

Check the dirroot variable in config.php. You must use complete, absolute pathnames, eg:

 

$CFG->dirroot = "d:\inetpub\sites\www.yoursite.com\web\moodle";

 

This doesn't seem to work either.

 

Any help would be great

Share this post


Link to post
Share on other sites

That config sure looks like a DOS configuration to me. The servers here are Linux operating systems.

 

So you config line should look more like

"/home/your-cpanel-name/public_html/web/moodle"

 

Then again I could be way off here.

Share this post


Link to post
Share on other sites
That config sure looks like a DOS configuration to me. The servers here are Linux operating systems.

 

So you config line should look more like

"/home/your-cpanel-name/public_html/web/moodle"

 

Then again I could be way off here.

That is what I would assume also, so I figured it should/would be "/home/your-cpanel-name/public_html/web/moodle" or '/home/your-cpanel-name/public_html/web/moodle' (the latter being what the install.php file output).

Share this post


Link to post
Share on other sites

Just tossing out an idea here (even tho' it may seem simple):

 

Have you tried 'www.yoursite.com/web/moodle' in the config.php file? (Assuming the files were installed in your /public_html/web/moodle directory.)

Share this post


Link to post
Share on other sites

Hi thejerm,

 

Just stumbled across your post and wasn't sure if you worked it out...

 

My config.php file for Moodle has the following lines in it:

 

$CFG->wwwroot = 'http://www.somedomain.com/moodle';

$CFG->dirroot = '/home/somedoma/public_html/moodle';

 

Make sure that the 'somedoma' bit on the dirroot line is your TCH account name - it may only be the first 8 letters of your domain name.

 

Cheers,

 

Dave

 

(Edit: It didn't like displaying my first dummy domain!)

Edited by davehickey

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...