Fatal error: Failed opening required 'http://members.lycos.co.uk/phpworld/moodle/lib/setup.php'

Re: Fatal error: Failed opening required 'http://members.lycos.co.uk/phpworld/moodle/lib/setup.php'

by David Butt -
Number of replies: 5

I tired your suggestion, but no joy.

This is all the info that I can find on tripod.  I hope it throws more light on the subject for you.

ID and path for Tripod account
empty.gif

To access your Tripod account using your PHP scripts, you can use the BASE_DIR constant. This contains the path associated with your Lycos Tripod account.
empty.gif
In the same way, your ID is saved in the LOGIN constant and the name of your site in SITENAME. You can call it up at any time.
In reply to David Butt

Re: Fatal error: Failed opening required 'http://members.lycos.co.uk/phpworld/moodle/lib/setup.php'

by David Butt -

changed entries in config.php to below, but still getting:

Fatal error: Failed opening required 'moodle/lib/setup.php' (include_path='.:/data/apache/php/mmp_lib') in config.php on line 84

///////////////////////////////////////////////////////////////////////////
// Now you need to tell Moodle where it is located. Specify the full
// web address where moodle has been installed (without trailing slash)

$CFG->wwwroot   = "http://members.lycos.co.uk/phpworld/";


///////////////////////////////////////////////////////////////////////////
// Next, specify the full OS directory path to this same location
// For Windows this might be something like "C:\apache\htdocs\moodle"

#$CFG->dirroot   = basename  ("docs/moodle");
$CFG->dirroot   = basename  ("htdocs/moodle");

 

///////////////////////////////////////////////////////////////////////////
// Now you need a place where Moodle can save uploaded files.  This
// directory should be writeable by the web server user (usually 'nobody'
// or 'apache'), but it should not be accessible directly via the web.

#$CFG->dataroot  = basename  ("docs/moodle/data");
$CFG->dataroot  = basename  ("docs/moodle/data");

In reply to David Butt

config.php for Lycos.co.uk

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
OK, then try this:

$CFG->dirroot = BASEDIR."/moodle";
$CFG->dataroot = BASEDIR."/data";

and if that doesn't work, then:

$CFG->dirroot = BASEDIR."/htdocs/moodle";
$CFG->dataroot = BASEDIR."/htdocs/data";
In reply to Martin Dougiamas

Re: config.php for Lycos.co.uk

by David Butt -

Fatal error: Failed opening required 'BASEDIR/htdocs/moodle/lib/setup.php' (include_path='.:/data/apache/php/mmp_lib') in config.php on line 88

no joy after using this code:

OK, then try this:

$CFG->dirroot = BASEDIR."/moodle";
$CFG->dataroot = BASEDIR."/data";

and if that doesn't work, then:

$CFG->dirroot = BASEDIR."/htdocs/moodle";
$CFG->dataroot = BASEDIR."/htdocs/data";

 

In reply to David Butt

Re: config.php for Lycos.co.uk

by David Butt -

$CFG->dirroot = BASE_DIR."/htdocs/moodle";
$CFG->dataroot = BASE_DIR."/htdocs/data";    

The above now gives me this error:

Fatal error: Failed opening required '/data/members/free/tripod/uk/p/h/p/phpworld/htdocs//htdocs/moodle/lib/setup.php' (include_path='.:/data/apache/php/mmp_lib') in config.php on line 88

$CFG->dirroot = BASE_DIR."/moodle"; 
$CFG->dataroot = BASE_DIR."/data";

This also gives the above error looks like moodle wont setup on lycos pity.

will moodle set up with post nuke as I have a postnuke site with plenty of space left on the server. I don't mean incorporated into postnuke but run along side it  url being www.crazybiker.net/moodle

In reply to David Butt

Re: config.php for Lycos.co.uk

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
OK, it definitely looks like you need this for Lycos:

$CFG->dirroot = BASEDIR."moodle";
$CFG->dataroot = BASEDIR."data";

Yes, you can set it up next to postnuke, but I would wait a few days for 1.0.8 if I were you.

[a few minutes later]

Ah, I just noticed the other new discussion you started where you say it works now. Great.