Web Development Thread, Moodle Problems in Coding and Web Development; hey all. I wasn't sure what section to put this in, but i figured what with it being PHP and ...
-
7th March 2006, 12:38 PM #1
- Rep Power
- 0
Moodle Problems
hey all. I wasn't sure what section to put this in, but i figured what with it being PHP and all that this would be the best place.
I've just installed it onto our Win2K3 Server running IIS6. But when you go on the actual pages you get faced with:
Code:
Warning: include(G:\Inetpub\WWWroot\moodle/theme/standardwhite/config.php) [function.include]: failed to open stream: No such file or directory in G:\Inetpub\WWWroot\moodle\lib\weblib.php on line 2193
Warning: include() [function.include]: Failed opening 'G:\Inetpub\WWWroot\moodle/theme/standardwhite/config.php' for inclusion (include_path='.;c:\php\includes;G:\InetPub\WWWRoot') in G:\Inetpub\WWWroot\moodle\lib\weblib.php on line 2193
Warning: Cannot modify header information - headers already sent by (output started at G:\Inetpub\WWWroot\moodle\lib\weblib.php:2193) in G:\Inetpub\WWWroot\moodle\lib\moodlelib.php on line 2142
Warning: Cannot modify header information - headers already sent by (output started at G:\Inetpub\WWWroot\moodle\lib\weblib.php:2193) in G:\Inetpub\WWWroot\moodle\lib\moodlelib.php on line 2143
Warning: include(G:\Inetpub\WWWroot\moodle/theme/standardwhite/header.html) [function.include]: failed to open stream: No such file or directory in G:\Inetpub\WWWroot\moodle\lib\weblib.php on line 1898
Warning: include() [function.include]: Failed opening 'G:\Inetpub\WWWroot\moodle/theme/standardwhite/header.html' for inclusion (include_path='.;c:\php\includes;G:\InetPub\WWWRoot') in G:\Inetpub\WWWroot\moodle\lib\weblib.php on line 1898
Is there something blatently obvious I'm missing from the PHP setup or something?
Thanks
-Rob
-
-
IDG Tech News
-
7th March 2006, 12:40 PM #2 Re: Moodle Problems
Have you entered some kind of path wrong some where?
Code:
Warning: include(G:\Inetpub\WWWroot\moodle/theme/standardwhite/header.html)
The path starts with back slashes and ends with forward slashes.
-
-
7th March 2006, 12:42 PM #3
- Rep Power
- 0
Re: Moodle Problems

Originally Posted by
ChrisH Have you entered some kind of path wrong some where?
Code:
Warning: include(G:\Inetpub\WWWroot\moodle/theme/standardwhite/header.html)
The path starts with back slashes and ends with forward slashes.
Yeah moodle seems to of "chosen" to do that, I've tried changing the first part in config.php so that it uses '/' but then it says I have an error in my Config.php and to change '/' to '\'
-
-
7th March 2006, 12:43 PM #4 Re: Moodle Problems
What did you use to install php on your 2k3 server?
I used http://www.easyphp.org/ and had no problems with the installation.
Ben
-
-
7th March 2006, 12:45 PM #5
- Rep Power
- 0
Re: Moodle Problems

Originally Posted by
plexer What did you use to install php on your 2k3 server?
I used
http://www.easyphp.org/ and had no problems with the installation.
Ben
Just the standard MSI from php.net and then chucked on the extension dll's it needed.
-
-
7th March 2006, 12:48 PM #6 Re: Moodle Problems
I would suggest trying the easyphp setup.
-
-
7th March 2006, 12:51 PM #7
- Rep Power
- 0
Re: Moodle Problems

Originally Posted by
plexer I would suggest trying the easyphp setup.
Aye, I'll keep it as an option. Surely there must be just something set wrong somewhere in php.ini or the like?
-
-
7th March 2006, 12:58 PM #8 Re: Moodle Problems
You have blank lines at the end of your config.php
-
-
7th March 2006, 01:00 PM #9 Re: Moodle Problems
I have a feeling the PHP only has the bare minimum required to get going when you install it via the MSI. If you download the ZIP (which is eight times the size) and configure it manually you might have more success.
FYI I'm running an experimental Moodle on IIS6 and PHP 4 with no problems.
-
-
7th March 2006, 01:10 PM #10
- Rep Power
- 0
Re: Moodle Problems

Originally Posted by
Geoff You have blank lines at the end of your config.php
I've just checked and it is EXACTLY like:
Code:
<?php /// Moodle Configuration File
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'moodleuser';
$CFG->dbpass = 'testpass';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://localhost:8000/moodle';
$CFG->dirroot = 'G:\Inetpub\WWWroot\moodle';
$CFG->dataroot = 'G:\MoodleData';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?> with no extra spaces etc

Originally Posted by
Norphy I have a feeling the PHP only has the bare minimum required to get going when you install it via the MSI. If you download the ZIP (which is eight times the size) and configure it manually you might have more success.
FYI I'm running an experimental Moodle on IIS6 and PHP 4 with no problems.
Aye that it does, I extracted the required extensions (gd.dll and mysql.dll) after I installed the MSI. Could it have anything to do with running PHP 5.1.2 rather than PHP 4?
-Thanks for all the responses
-
SHARE:
Similar Threads
-
By timbo343 in forum Virtual Learning Platforms
Replies: 10
Last Post: 20th June 2007, 03:28 PM
-
By wesleyw in forum Virtual Learning Platforms
Replies: 10
Last Post: 29th March 2007, 10:24 AM
-
By EvLPhenom in forum Virtual Learning Platforms
Replies: 15
Last Post: 1st December 2006, 08:04 PM
-
By wesleyw in forum Virtual Learning Platforms
Replies: 3
Last Post: 22nd May 2006, 01:03 PM
-
By alan-d in forum Web Development
Replies: 5
Last Post: 20th January 2006, 12:56 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules