<p class="questionlink"><a href="#failedopen">I keep getting this error: Failed opening required '/web/moodle/lib/setup.php'</a></p>\r
<p class="questionlink"><a href="#quotes">Any text I add with an apostrophe (') or a quote (") causes errors or comes up with a slash added</a></p>\r
<p class="questionlink"><a href="#sessiontmp">I keep getting error messages about session_start</a></p>\r
+<p class="questionlink"><a href="#fixdirroot">When I go to the admin page, I get told to make dirroot blank!</a></p>\r
<p class="questionlink"> </p>\r
<h3 class="question"><a name="filenotfound"></a>Whenever I try to access or view \r
a file that I uploaded, I get an error "File not Found"</h3>\r
<p class="answer">See the section on <a href="http://moodle.org/doc/?file=install.html#webserver">webserver \r
configuration</a> in the Installation docs for more details.</p>\r
\r
+\r
+\r
<h4 class="question"><a name="sessiontmp"></a>I keep getting error messages about session_start</h4>\r
<p class="answer">If you see errors like this:</p>\r
<p class="answercode">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</p>\r
<p class="answer">or otherwise in a .htaccess file in your main moodle directory:</p>\r
<p class="answercode">php_value session.save_path "/home/moodle/sessions"</p>\r
\r
+<h4 class="question"><a name="fixdirroot"></a>When I go to the admin page, I get told to make dirroot blank!</h4>\r
+<p class="answer">If you see errors like this in Moodle 1.0.9:</p>\r
+\r
+<table class=generalbox cellSpacing=0 cellPadding=5 align=center border=0>\r
+<tbody>\r
+<tr>\r
+<td bgColor=#ffbbbb>Please fix your settings in config.php: \r
+<p>You have: \r
+<p>$CFG->dirroot = "/home/users/fred/public_html/moodle"; \r
+<p>but it should be: \r
+<p>$CFG->dirroot = "";</p></td></tr></tbody></table>\r
+\r
+<p class="answer">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: </p>\r
+<p class="answercode">if ($dirroot != $CFG->dirroot) {</p>\r
+<p class="answer">and change it to this:</p>\r
+<p class="answercode">if (!empty($dirroot) and $dirroot != $CFG->dirroot) {</p>\r
+\r
\r
<h2> </h2>\r
<h2> </h2>\r