From 35519660926161dc2f6657020a79685a29b5e013 Mon Sep 17 00:00:00 2001
From: moodler
Use this list to jump to the appropriate answer below:
-Whenever I try to access or view - a file that I uploaded, I get an error "File not Found"
-PHP - is it installed and what version - do I have?
- -My pages show fatal errors such - as : call to undefined function: get_string()
-Why do I keep getting error messages - about "headers already sent"?
-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
+Whenever I try to access or view a file that I uploaded, I get an error "File not Found"
+PHP - is it installed and what version do I have?
+ +My pages show fatal errors such as : call to undefined function: get_string()
+Why do I keep getting error messages about "headers already sent"?
+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
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
+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
+Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at G:\web\moodle\lib\setup.php:1) in G:\web\moodle\lib\setup.php on line 123
+ +... these are all related to the fact that PHP is failing to save + "session" files on your hard disk (in a directory called /tmp). Usually the + reason is that you don't HAVE a directory called /tmp on your computer. This + is usually the case with Windows installations. + +
The solution is to fix the PHP setting for this path to point to a real directory. You can do this in your php.ini file:
+session.save_path = C:\temp
+or otherwise in a .htaccess file in your main moodle directory:
+php_value session.save_path "/home/moodle/sessions"
+ +