From e67dd40a4622be973876efe146ca693a68dfda86 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 3 Jun 2003 03:12:02 +0000 Subject: [PATCH] Added new FAQ fixdirroot --- lang/en/docs/faq.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lang/en/docs/faq.html b/lang/en/docs/faq.html index 128006af82..eb6dc204bc 100644 --- a/lang/en/docs/faq.html +++ b/lang/en/docs/faq.html @@ -66,6 +66,7 @@ +

Whenever I try to access or view a file that I uploaded, I get an error "File not Found"

@@ -150,6 +151,8 @@

See the section on webserver configuration in the Installation docs for more details.

+ +

I keep getting error messages about session_start

If you see errors like this:

Warning: session_start() [function.session-start]: open(/tmp\sess_d40f380d37d431fc1516e9a895ad9ce0, O_RDWR) failed: No such file or directory (2) in G:\web\moodle\lib\setup.php on line 123

@@ -166,6 +169,23 @@

or otherwise in a .htaccess file in your main moodle directory:

php_value session.save_path "/home/moodle/sessions"

+

When I go to the admin page, I get told to make dirroot blank!

+

If you see errors like this in Moodle 1.0.9:

+ + + + +
Please fix your settings in config.php: +

You have: +

$CFG->dirroot = "/home/users/fred/public_html/moodle"; +

but it should be: +

$CFG->dirroot = "";

+ +

then you have encountered a small bug that occurs on some servers. The problem is with the error-checking mechanism, not with your actual path. To fix it, find this line (line 66) in the file admin/index.php:

+

if ($dirroot != $CFG->dirroot) {

+

and change it to this:

+

if (!empty($dirroot) and $dirroot != $CFG->dirroot) {

+

 

 

-- 2.39.5