#48412 [NEW]: session_start error send internal server error 500
From: plasmapermanent at msn dot com
Operating system: Windows XP SP3
PHP version: 5.2.9
PHP Bug Type: Session related
Bug description: session_start error send internal server error 500
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 bug report at http://bugs.php.net/?id=48412&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48412&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48412&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48412&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48412&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48412&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48412&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48412&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48412&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48412&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48412&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48412&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48412&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48412&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48412&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48412&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48412&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48412&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48412&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48412&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48412&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48412&r=mysqlcfg
Thread (6 messages)
- plasmapermanent at msn dot com