ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


PHP Warning sessionstart Issues asks for cookies


  • 2007-02-01 16:40:19

    PHP Warning sessionstart Issues asks for cookies

    Running ATutor (curren stable build) on server 2003, My SQL 4.1.22, IIS6.0, PHP 4.4.4

    Setup went OK but no log-ins work. The error on the main page is "The following errors occurred:
    Session cookies must be enabled in your browser to login. " (don't worry- they are enabled) but at the bottom of the screen I see...


    "PHP Warning: session_start() [function.session-start]: open(C:\DOCUME~1\ADSYSA~1.NYM\LOCALS~1\Temp\php\upload\sess_4f264bb5c0632c359221613f53834854, O_RDWR) failed: No such file or directory (2) in C:\web\atutor\ATutor\include\vitals.inc.php on line 93 PHP Warning: Unknown(): open(C:\DOCUME~1\ADSYSA~1.NYM\LOCALS~1\Temp\php\upload\sess_4f264bb5c0632c359221613f53834854, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\ADSYSA~1.NYM\LOCALS~1\Temp\php\upload) in Unknown on line 0 "

    Any feedback or help would be greatly appriciated.

  • 2007-02-01 16:52:20

    Re: PHP Warning: session_start() Issues- asks for cookies

    This problem has been reported a few times by IIS users, but no solution has been found yet.

    I suggest you try using Apache as your web server instead. The problems will go away.

    Or, if you do happen to figure out what the problem is will IIS, we'd certainly like to hear of a solution.

  • 2007-02-02 11:24:25

    Re: PHP Warning: session_start() Issues- asks for cookies

    Why is it using your upload directory to store sessions?
    You should specify a sessions directory instead.

    Make sure the directory exists, it may not if it's in the Temp directory.

    Best to create C:\PHP\session and specify that in your php.ini file. That should fix it.