{"id":243,"date":"2005-09-01T14:15:26","date_gmt":"2005-09-01T12:15:26","guid":{"rendered":"http:\/\/www.greenman.co.za\/wordpress\/?p=243"},"modified":"2005-09-01T14:15:26","modified_gmt":"2005-09-01T12:15:26","slug":"highly-annoying-php-session-bug","status":"publish","type":"post","link":"https:\/\/www.greenman.co.za\/blog\/?p=243","title":{"rendered":"Highly annoying PHP Session bug"},"content":{"rendered":"<p>I&#8217;m experiencing a highly annoying PHP sessions bug (<a href=\"http:\/\/bugs.php.net\/bug.php?id=32330\">PHP bug 32330<\/a>). By simply trying to start a session with session_start(), at seemingly random times I get a <em>session_start(): Failed to initialize storage module:<\/em> error.<br \/>\nThe <a href=\"http:\/\/bugs.php.net\/bug.php?id=32897\">PHP bug 32897<\/a>, is actually more accurate in my case, but that one&#8217;s been closed as a duplicate.<\/p>\n<p>The bug has been open since October 2003, and is probably still there because it&#8217;s so difficult to duplicate. The server I&#8217;m experiencing it on has all sorts of other junk on it. Someone said they started experiencing it after installing OSCommerce, which does exist on this server too.<\/p>\n<p>If somebody does come across this post looking for help, there&#8217;s a thread over at <a href=\"http:\/\/forum.mamboserver.com\/showthread.php?t=14198\">mamboserver.com<\/a> that is helpful for newbies in getting session.save_handler set to FILES, not USER, the most common cause of the problem.<\/p>\n<p>But sadly that&#8217;s not my problem. Can anyone shed some more light on this?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m experiencing a highly annoying PHP sessions bug (PHP bug 32330). By simply trying to start a session with session_start(), at seemingly random times I get a session_start(): Failed to initialize storage module: error. The PHP bug 32897, is actually more accurate in my case, but that one&#8217;s been closed as a duplicate. The bug&hellip; <a class=\"more-link\" href=\"https:\/\/www.greenman.co.za\/blog\/?p=243\">Continue reading <span class=\"screen-reader-text\">Highly annoying PHP Session bug<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-243","post","type-post","status-publish","format-standard","hentry","category-metal-technical","entry"],"_links":{"self":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=243"}],"version-history":[{"count":0,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/posts\/243\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}