]> git.mjollnir.org Git - moodle.git/commitdiff
More cleanup
authormoodler <moodler>
Sat, 26 Apr 2003 05:40:24 +0000 (05:40 +0000)
committermoodler <moodler>
Sat, 26 Apr 2003 05:40:24 +0000 (05:40 +0000)
lang/en/docs/faq.html

index 3817581024b44898c65d15e8c2d535bb7105e7d5..2ea703e9e60ab71015e688f361b1b81446618d33 100644 (file)
        border: none;\r
        padding-left: 10px;\r
 }\r
+.answercode {\r
+       font-family: "Courier New", Courier, mono;\r
+       font-size: small;\r
+       border: none;\r
+       padding-left: 60px;\r
+}\r
 -->\r
 </style>\r
 </head>\r
 <p>&nbsp;</p>\r
 <h4 class="question"><a name="php"></a>PHP - is it installed and what version \r
   do I have?</h4>\r
-<div class="answer"> \r
-  <p>Make a new file on your web site called info.php, containing the following \r
+  <p class="answer">Make a new file on your web site called info.php, containing the following \r
     text, and call it from your browser:</p>\r
     \r
-  <pre>      &lt;?PHP phpinfo() ?&gt;</pre>\r
-</div>\r
+  <p class="answercode">&lt;?PHP phpinfo() ?&gt;</p>\r
 <p class="answer">If nothing happens then you don't have PHP installed. See the \r
   installation docs for some information about where to download it for your computer.</p>\r
 <p class="answer">&nbsp;</p>\r
 <h4 class="question"><a name="blankpages"></a>Why are all my pages blank? </h4> \r
-<p class="answer">Check the dirroot and/or dataroot in config.php. You must use \r
-  complete, absolute pathnames:</p>\r
-<p class="answer"> eg &nbsp$CFG->dirroot = "d:\inetpub\sites\www.yoursite.com\web\moodle";</p>\r
-<p class="answer"> eg&nbsp $CFG->dataroot = "d:\inetpub\sites\www.yoursite.com\database\moodle";</p>\r
+<p class="answer">Check the dirroot variable in config.php. You must use complete, \r
+  absolute pathnames, eg:</p>\r
+<p class="answercode"> $CFG->dirroot = "d:\inetpub\sites\www.yoursite.com\web\moodle";</p>\r
 <p>&nbsp; </p>\r
 <h4 class="question"><a name="errorgetstring"></a>My pages show fatal errors such \r
   as : call to undefined function: get_string()</h4>\r
 <p class="answer">If you see errors like:</p>\r
-<p class="answer">Parse error: parse error, unexpected T_VARIABLE in c:\program \r
+<p class="answercode">Parse error: parse error, unexpected T_VARIABLE in c:\program \r
   files\easyphp\www\moodle\config.php on line 94 <br>\r
   Fatal error: Call to undefined function: get_string() in c:\program files\easyphp\www\moodle\mod\resource\lib.php \r
   on line 11</p>\r
 <h4 class="question"><a name="headerssent"></a>Why do I keep getting error messages \r
   about &quot;headers already sent&quot;?</h4>\r
 <p class="answer">If you see errors like this:</p>\r
-<blockquote> \r
-  <p class="answer">Warning: Cannot add header information - headers already sent \r
-    by (output started at /webs/moodle/config.php:87) in /webs/moodle/lib/moodlelib.php \r
-    on line 1322 </p>\r
-  <p class="answer"> Warning: Cannot add header information - headers already \r
-    sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/lib/moodlelib.php \r
-    on line 1323 </p>\r
-  <p class="answer"> Warning: Cannot add header information - headers already \r
-    sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/login/index.php \r
-    on line 54 </p>\r
-</blockquote>\r
+<p class="answercode">Warning: Cannot add header information - headers already \r
+  sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/lib/moodlelib.php \r
+  on line 1322 </p>\r
+<p class="answercode"> Warning: Cannot add header information - headers already \r
+  sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/lib/moodlelib.php \r
+  on line 1323 </p>\r
+<p class="answercode"> Warning: Cannot add header information - headers already \r
+  sent by (output started at /webs/moodle/config.php:87) in /webs/moodle/login/index.php \r
+  on line 54 </p>\r
 <p class="answer">You have blank lines or spaces after the final ?> in your config.php \r
   file. Sometimes text editors add these - for example Notepad on Windows - so \r
   you may have to try a different text editor to remove these spaces or blank \r
   it on, add this line to your httpd.conf, or to a .htaccess file in your local \r
   directory (see the <a href="./?file=install.html#webserver">Install documentation</a> \r
   for more details): </p>\r
-<blockquote>\r
-  <pre>\r
-     <span class="answer"><b>AcceptPathInfo</b> on</span></pre>\r
-</blockquote>\r
+<p class="answercode"><b>AcceptPathInfo</b> on</p>\r
 <p class="answer">Note, this will ONLY work for Apache versions 2.x. </p>\r
 <p class="answer">If you are not using Apache 2 and you still have this problem \r
   (unlikely) then you can switch Moodle to use an alternative method. The disadvantages \r