ID: 49142 Updated by: j...@php.net Reported By: ies_clan at hotmail dot com Status: Open -Bug Type: Apache related +Bug Type: Session related -Operating System: Windows XP SP3 +Operating System: * -PHP Version: 5.3.0 +PHP Version: 5.3, 6 (2009-08-01 New Comment:
Reduced reproduce script: <?php class AScript { public static function CreateFiles() { file_put_contents('temp.txt', new self); } public function __toString() { throw new Exception('Server Crash!'); } } function foo() { return true; } set_error_handler('foo'); session_set_save_handler( 'foo', 'foo', 'foo', 'foo', 'foo', 'foo' ); session_start(); AScript::CreateFiles(); Previous Comments: ------------------------------------------------------------------------ [2009-08-03 19:56:12] ies_clan at hotmail dot com hi, ok i try to make it into 2 files, but i can't do it better sry :( http://www.makerland.de/exceptionBugnew.zip no database is need. only open the index.php in the core.class.php are some classes, but not much code. if u comment out the new SystemSession(ROOT_DIR.'FileSystem/Sessions/'); all works fine O.o or if u comment out throw new \Exception('Server Crash!'); i hope i could help :) ------------------------------------------------------------------------ [2009-08-03 16:01:57] ies_clan at hotmail dot com Description: ------------ plz first load the zip and install the script: http://www.immunecellcompetence.com/exceptionBug.zip in the root dir is a sql file. u have to edit the exceptionBug\Engine\Configuration\Password.Inc.php file. after that, u can start it. if u see the login page, klick on the link: Login mit EnemyArea und test sometimes often, until u got loged in. then klick on the next link: EnemyArea and the apache will crash with the following msg: unbehandelte ausnahme in httpd.exe [4624] to fix it you have to go into the MKLF\System\Engine\StyleSheet.class.php the line //use MKLF\System\Engine\Exceptions\SystemException; is the problem. if u comment that in, it will work. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49142&edit=1