Re: Why are errors displayed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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@xxxxxxxxx                              understand it better,
but the frog dies in the
                                                          process."

                      -Mark Twain

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux