#48412 [NoF->Fbk]: session_start error send internal server error 500

From: Date: Thu, 07 Jan 2010 12:39:30 +0000
Subject: #48412 [NoF->Fbk]: session_start error send internal server error 500
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-146411@lists.php.net to get a copy of this message
ID: 48412 Updated by: pajoye@php.net Reported By: plasmapermanent at msn dot com -Status: No Feedback +Status: Feedback Bug Type: Session related Operating System: Windows XP SP3 PHP Version: 5.2.9 New Comment: Please try using this snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2009-06-11 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-06-03 23:52:12] hradtke@php.net An internal server error (500) is displayed if error reporting is turned off. Please make sure it is turned on. If session_start() is causing problems, it may be because of a session collision. Try testing the code in a clean browser with no previous session and see if the problem still exists. ------------------------------------------------------------------------ [2009-05-31 14:15:43] plasmapermanent at msn dot com I can't give shot code because I try to use session and it work. But when I use code that I give in link. It's error. I'm only add session_start() just 1 line. ------------------------------------------------------------------------ [2009-05-28 12:40:28] pajoye@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2009-05-28 12:31:33] plasmapermanent at msn dot com Description: ------------ Just insert session_start() into code and got error. I try to insert top of code. It still error. Reproduce code: --------------- Source Code ================ http://www.thaicybergames.com/webboard/index.php?topic=108158.0 ================ MySQL ================ CREATE TABLE IF NOT EXISTS p28officer ( id double unsigned NOT NULL, user char(20) COLLATE utf8_bin NOT NULL, pass char(20) COLLATE utf8_bin NOT NULL, ldate date DEFAULT NULL, ltime time DEFAULT NULL, ip varchar(15) COLLATE utf8_bin DEFAULT NULL, lv tinyint(4) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin; INSERT INTO p28officer (id, user, pass, ldate, ltime, ip, lv) VALUES (999999999999, 'xxx', 'xxx', '2009-05-28', '20:02:00', '127.0.0.1', 9); Expected result: ---------------- I just send variable name and pass into this page. It would be can use session and remember "ssid" variable as session to use in other pages. Actual result: -------------- This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying. If I remove that line. It work fine. But can't use session. Juse enable that line this error was come. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48412&edit=1

« previous php.bugs (#146411) next »