Jump to content

WAMP Server help


hefex
 Share

Recommended Posts

Ah sorry, I didn't see the error up top. I was looking in the function column, oops :D Either you are including the file multiple times on a page; or you are including it on a page that has its' own session_start() statement; or your php.ini (possibly .htaccess) is automatically starting a session before you do.

Link to comment
Share on other sites

  • 1 month later...

Well, as trill said, the error is in the coding.

 

If you take a look to the code, you will probably see 2 X (session_start()) in differents files, but theses files have been included or required.

 

Again, I know this is a old topic,

the best way to fix this is to read the code, following step by step what is loaded in the page you are trying to access and remove the unnecessary session_start().

 

The lazy way would be to add at the top of the page right after <?php

ob_start();

 

and and the end of the page right before ?>

ob_end_flush(); 

 

and I don't think this topic should stay in windows xp support XD Maybe moving it to the programming forum would not be a bad idea.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...