Loading...
 
Skip to main content

Architecture / Installation


Re: Re: Re: session_start() and invalid argument(22) error on windows xp....

> ossipetz:
> > Thank you for your suggestion...but it did not work.
> >
>
> well its supposed to work 😊
>
> in php.ini it doesnt matter a lot if you use / or \ within you path's. php will understand you. i am using / but all other folk seems to use \ (only one, dont escape it like: \\)
>
> now: apache needs to have write access to the temp folder, or the user that is running apache. make sure it is allowed to do so.
>
> also dont use spaces in that path or "quote" the path in the php.ini
>
> and well there is plenty of documentation for php/apache and windows.
>
> http://httpd.apache.org/docs-2.0/platform/windows.htmlQuestion
> http://www.php.net/manual/en/install.apache2.phpQuestion
>
> for some comments on the php.ini file look at: http://www.php.net/manual/en/configuration.phpQuestion
>
> all you probably need to do is go slowly through the php.ini file and adjust all the paths.
>
> most of your errors (headers already sent...) are follow-ups from the session-create call.
>
> note to put php.ini in c:\windows
> (use in a dos-box: > echo %SystemRoot% to be sure which folder)
>
> if you use notepad to edit php.ini the file might be php.ini.txt (use folder-options to make sure the fileextension is correct and shown).
>
> its just the first jump. in a few hours you'll never have that problem again - trust me 😊
>
>




Hello ossipetz,
I have spent the entire morning going over your suggestion...no dice. I still can't
manage to get this to work. I have reconfigured multiple paths many times.
Apache has write access permission, the file extension is correct. I have gone over much of the documentation you were kind enough to post links to. Garnichts
...nothing at all. The temp files exist and the paths are, to me, correct. I have no doubt your solution works...unfortunately not on my box. Windows is a strange beast. Anyways, I have a question for you. What does "invalid argument(22) mean here?:

Warning: session_start(): open(\\sess_0106a417db74396e89e1f53e48219ac2, O_RDWR) failed: Invalid argument (22) in C:\Apache Group\Apache\htdocs\tiki\tiki-setup_base.php on line 46


I suspect the problem is here...which means your solution is correct for a different
situation. Any suggestions? I greatly appreciate your help.

Thanks,
Larry