Re: Why are errors displayed?

From: Date: Fri, 07 Sep 2007 11:37:34 +0000
Subject: Re: Why are errors displayed?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-28455@lists.php.net to get a copy of this message
The folder that storeds the sessiondata must have read and write access to the user that the web server is running as ( typically this the Local Administrator ). John On 9/7/07, Gustav Wiberg <gustav@hmn.se> wrote: > Hi! > > @session_start(); //This causes the web-browser NOT to show error > @$_SESSION["test"] = "test"; //I THOUGHT this would the web-browser NOT > show error, but I get this error: > > > Warning: Unknown: open(C:\Program\php\sessiondata\sess_g4otsdj34b8npshe7dl5n6trv1, O_RDWR) > failed: Permission denied (13) in Unknown on line 0 > > Warning: Unknown: Failed to write session data (files). Please verify that the current setting > of session.save_path is correct (C:\Program\php\sessiondata) in Unknown on line 0 > > > Is there any way of solving this problem? Or do I have to set full rights in the > session-data-folder independet which user is logged in on the web... (it is NOT reachable > anonymously) - you have to log on to the network. It's an intranet > > > Best regards > /Gustav Wiberg > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.485 / Virus Database: 269.13.8/993 - Release Date: 2007-09-06 15:18 > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- -- John Mertic "Explaining a joke is like dissecting a frog: you jmertic@gmail.com understand it better, but the frog dies in the process." -Mark Twain

« previous php.windows (#28455) next »