problem siwht session debbuging |
Site Admin
|
session_start() should work w/o problem.
Let me see your script and phpinfo() results. |
||||||||||||
|
can i send u the phpinfo |
|
the result of it as a file in email or u need something specific?
the code is :
the problem is in the line marke as ******* |
||||||||||||||
_________________ Israel - the best place to live in after heaven |
Site Admin
|
okay.
Insert two strings on top all: phpinfo(); die(); Run using debugger then send me phpinfo results. Then remove the lines, run debug session, step till you get the error message, make screenshot and send it to me too. Thanks, Dmitri. |
||||||||||||
|
i wanted to send u everything in email |
|
but when i pressed yourr email button i got an empty box
withought your email and when i looked at the status bar i saw only "emailto:" so how can i send u the error so u can check it? thanks in advance peleg |
||||||||||||
_________________ Israel - the best place to live in after heaven |
|
I think the e-mail was support_AT_nusphere_DOT_com
|
||||||||||||
|
so how can i send him what he haveasked for? |
|
...
|
||||||||||||
_________________ Israel - the best place to live in after heaven |
|
I had the same problem before but was able to fix it myself before posting. The problem is caused because the folder "sessions" doesn't exist in "<phpED>/php" but session_start() doesn't check for presence of that dir and doesn't attempt to create it, it only attempts to write a file there and therefore will fail.
This problem can be solved by creating that directory "sessions" in "<phpED>\php" In "<phpED>\php\php.ini":
The snapshot pelegk sent me: TechPlatform doesn't produce this error because TP stores session data in apache's logfile directory (weird ) In "<TP>\apache\php.ini":
|
||||||||||||||||
|
|
The moment I looked at the snapshot I realized what the problem was but now as I looked at pelegk's phpinfo() result I found a line
session.save_path C:\PHP\sessiondata (http://myserver/phpinfo.htm) Now this is confusing - in the IDE it will try to use C:\Program Files\...\sessions but in php.in it says C:\PHP\sessiondata |
||||||||||||
|
i did : |
|
C:\Program Files\...\sessions
and its workign the c:\php\sessiondata is for the php itself and not for the debugging like i needed int he first line i rote |
||||||||||||
_________________ Israel - the best place to live in after heaven |
Site Admin
|
O-o,
definitely, it falls beyond my skills in English... Would you please translate back ? |
||||||||||||
|
|
Who? What?
|
||||||||||||
|
problem siwht session debbuging |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by