Jump to content

Cannot Start Session


papaface

Recommended Posts

Hey,

 

Please can someone help me with this.

I have a page that refuses to load when I have session_start(); in the code.

 

This is the top of the page:

<?php
session_start();
error_reporting(1);
error_reporting(E_ALL);
ini_set('display_errors', '1');

The page just loads constantly displaying nothing when session_start(); is in there, but when I take it out, its fine.

 

Any ideas as to what is causing this?

Link to comment
https://forums.phpfreaks.com/topic/184975-cannot-start-session/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.