Fatal error Session_Start () Troubleshooting steps in PHP, Fatalsession_start
Error message:
Fatal Error:session_start () [Function.session-start]: Failed to initialize Storage module:files (path:) in C:\usr\phpMy Admin\libraries\session.inc.php on line 75
I. Change the server configuration:
1. Check the Error.log (apache2.2\logs) file to see if there are any error reports. Not found.
2, check whether the value of Session.save_handler in php.ini is files, if it is not changed to files
3, check whether the Session.save_path in php.ini file is commented, if there is, then remove the front ";".
4. Change the path behind Save_path to an existing path, such as "D:\php\temp"
5. Check that the Temp folder's properties are readable and writable.
6. Restart the Apache server. Ok
Change session storage path in ii.php program
Copy the Code code as follows:
$sessSavePath = DirName (__file__). " /.. /cache/sessions/";
if (is_writeable ($sessSavePath) && is_readable ($sessSavePath))
{
Session_save_path ($sessSavePath);//Focus Change Session storage path
}
PHP fatal Error:main () [Functionmain</a>]: The script tried to execute a
The script tried to execute a method or access a property of a incomplete object. Please ensure that the class definition "Car" of the "object" is trying to operate on is loaded _before_ unserialize () Gets called or provide a __autoload () function to load the class definition in D:\TsbGameWebSystem\back_car.php on line 1 5
The program attempts to interpret a method or property of a pair of images, make sure that you have defined "car" in the class you want to manipulate before calling "Loaded_before_unserialize ()", or provide a method for __autoload () to load the definition of the class, in D:\ Line 15 of tsbgamewebsystem\back_car.php
It means that you did not define the property or method of the car before calling it!
PHP Fatal Error problem
Is your PHP file encrypted with Zend? You re-encrypt the code and try again.
http://www.bkjia.com/PHPjc/858750.html www.bkjia.com true http://www.bkjia.com/PHPjc/858750.html techarticle PHP Fatal Error session_start () Error resolution step, fatalsession_start error message: Fatal Error:session_start () [ Function.session-start]: Failed to initialize storage module: ...