NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
I have 2 problems with evaluation. please help me.


Joined: 27 Mar 2005
Posts: 2
Reply with quote
Hello.

I have 2 problems.

On my apache server, the session_start function works perfectly. But when i debug, when it parse the line session_start(); i have an error "cannot send session cookies - header already sent by..."

What can i do ?

Secont problem :

i run the debugger with F9. it runs until the end of the script. Then i click on a link on the script. It goes on the news script but it don't stop in this new script. So i can only debug the index.php and i can not debug any other script because it the parser of the debugger doesn't stop in any line of the scripts that comes after the first one .

Why ?

I am sorry my english is not good at all. I hope you'll understand me anyway.

Thanks
View user's profileFind all posts by parisienSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Quote:
"cannot send session cookies - header already sent by..."

You have to check you code at the specified location and avoid any output at it. Alternatively you may want to move session_start to the top of you code.

Quote:
Then i click on a link on the script. It goes on the news script but it don't stop in this new script.

It depends on the link and cookies related settings. Check if cookies are enabled and if the link forwards to the web located in the same domain as the page where you click on the link. Protocol (https vs http) must be the same to. If any one condition does not meet, you need to review alternative ways on starting debug sessions. See the post on the FAQ forum "HOW to run debug session".
View user's profileFind all posts by dmitriSend private messageVisit poster's website
I have 2 problems with evaluation. please help me.
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic