diff --git a/lang/en/docs/faq.html b/lang/en/docs/faq.html index 128006af820..eb6dc204bc9 100644 --- a/lang/en/docs/faq.html +++ b/lang/en/docs/faq.html @@ -66,6 +66,7 @@
I keep getting this error: Failed opening required '/web/moodle/lib/setup.php'
Any text I add with an apostrophe (') or a quote (") causes errors or comes up with a slash added
I keep getting error messages about session_start
+When I go to the admin page, I get told to make dirroot blank!
See the section on webserver configuration in the Installation docs for more details.
+ +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"
+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) {
+