Hey there-
I went to install phpopenchat today and when I run the test.php script
that comes with, I get this error:
*Fatal error*: Call to undefined function: session_save_path() in
*/path/to/website/htdocs/phpopenchat/config.inc.php* on line *98
*I'm not sure why this is coming up since the s
You have to set the session_save_path("some_where") in all pages where
you call to session_start(). And you should do it *before* calling
session_start.
On the manual:
session_save_path() returns the path of the current directory used to
save session data. If path is specified, the path to which
For all you're talking about, It looks like your hosting provider is
running PHPsuExec. So, PHP is now running as CGI and .htaccess does
not work anymore to setup PHP values or flags (Will fire a 500
internal server error). Instead, you have to use a custom php.ini fle.
(just write in this custom p
John Holmes wrote:
Al wrote:
Tried adding to htaccess: php_value session.save_path
/www/u/username/htdoc/session Hoping it would override php.ini. Got a
server error 500.
Try putting quotes around the path and this should work, providing your
ISP allows .htaccess files.
I'm guessing that sess
server error 500.
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session_save_path
My virtual host eliminated the common session tmp folder which forces me
to set
up one in my area.
I'm trying to co
John Holmes wrote:
Al wrote:
Tried adding to htaccess: php_value session.save_path
/www/u/username/htdoc/session Hoping it would override php.ini. Got a
server error 500.
Try putting quotes around the path and this should work, providing your
ISP allows .htaccess files.
I'm guessing that sess
Can you do an .htaccess solution? If so, you could probably just set
session save path with PHP_VALUE in the .htaccess file
> -Original Message-
> From: Al [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 07, 2004 8:25 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] se
Al wrote:
Tried adding to htaccess: php_value session.save_path
/www/u/username/htdoc/session Hoping it would override php.ini. Got a
server error 500.
Try putting quotes around the path and this should work, providing your
ISP allows .htaccess files.
I'm guessing that
session_save_path has t
My virtual host eliminated the common session tmp folder which forces me to set
up one in my area.
I'm trying to come up with the best, considering:
Custom php.ini; resisting because having to make certain it is always in sync
with host's changes.
Tried adding to htaccess: php_value session.sav
9 matches
Mail list logo