[PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Chris Ditty
Can someone tell me what I am missing here?  This is working fine on my 
development machine(5.2.6), but on the production box(4.3.2), it doesn't want 
to work.  I am getting that error on my session_start() function. 

Is the difference in versions what is causing the problems?

I've googled and none of the results fit my problem.  Below is my .htaccess 
file.
php_value session.save_handler files
php_value session.save_path /tmp
php_value session.name PHPSESSID
php_flag session.auto_start off
php_value session.cookie_path /
php_flag session.use_cookies on
php_value session.cache_expire 180
php_flag session.use_trans_sid on



MLGW now offers ONLINE BILLING!
To view your bills, receive paperless bills, 
check payment status and pay online,
go to www.mlgw.com and click on the My Account link.
Enroll today!


This e-mail and any attachments represent the views and opinions
of only the sender and are not necessarily those of 
Memphis Light, Gas  Water Division, and no such inference should be made.


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



Re: [PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Bojan Tesanovic

Can you give us the exact error that you got, that can help to debug ...


On Aug 15, 2008, at 7:53 PM, Chris Ditty wrote:

Can someone tell me what I am missing here?  This is working fine  
on my development machine(5.2.6), but on the production box(4.3.2),  
it doesn't want to work.  I am getting that error on my  
session_start() function.


Is the difference in versions what is causing the problems?

I've googled and none of the results fit my problem.  Below is  
my .htaccess file.

php_value session.save_handler files
php_value session.save_path /tmp
php_value session.name PHPSESSID
php_flag session.auto_start off
php_value session.cookie_path /
php_flag session.use_cookies on
php_value session.cache_expire 180
php_flag session.use_trans_sid on



MLGW now offers ONLINE BILLING!
To view your bills, receive paperless bills,
check payment status and pay online,
go to www.mlgw.com and click on the My Account link.
Enroll today!


This e-mail and any attachments represent the views and opinions
of only the sender and are not necessarily those of
Memphis Light, Gas  Water Division, and no such inference should  
be made.



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



Bojan Tesanovic
http://classiccars.carster.us/






Re: [PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Chris Ditty
Fatal error: session_start(): Failed to initialize storage module. in 
/home/webroot/www/service/payarrange/index.php on line 4

Line 4 is the session_start();

 Bojan Tesanovic [EMAIL PROTECTED] 8/15/2008 1:10 PM 
Can you give us the exact error that you got, that can help to debug ...


On Aug 15, 2008, at 7:53 PM, Chris Ditty wrote:

 Can someone tell me what I am missing here?  This is working fine  
 on my development machine(5.2.6), but on the production box(4.3.2),  
 it doesn't want to work.  I am getting that error on my  
 session_start() function.

 Is the difference in versions what is causing the problems?

 I've googled and none of the results fit my problem.  Below is  
 my .htaccess file.
 php_value session.save_handler files
 php_value session.save_path /tmp
 php_value session.name PHPSESSID
 php_flag session.auto_start off
 php_value session.cookie_path /
 php_flag session.use_cookies on
 php_value session.cache_expire 180
 php_flag session.use_trans_sid on



 MLGW now offers ONLINE BILLING!
 To view your bills, receive paperless bills,
 check payment status and pay online,
 go to www.mlgw.com and click on the My Account link.
 Enroll today!


 This e-mail and any attachments represent the views and opinions
 of only the sender and are not necessarily those of
 Memphis Light, Gas  Water Division, and no such inference should  
 be made.


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


Bojan Tesanovic
http://classiccars.carster.us/ 







MLGW now offers ONLINE BILLING!
To view your bills, receive paperless bills, 
check payment status and pay online,
go to www.mlgw.com and click on the My Account link.
Enroll today!


This e-mail and any attachments represent the views and opinions
of only the sender and are not necessarily those of 
Memphis Light, Gas  Water Division, and no such inference should be made.


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



Re: [PHP] Sessions - Failed to initialize storage...

2008-08-15 Thread Bojan Tesanovic

Hm , this issue has been reported
http://bugs.php.net/bug.php?id=25876 and http://bugs.php.net/bug.php? 
id=32330


and it occurs sporadically for some users
though most of them said that setting
ini_set(session.save_handler, files);  solved the problem and / 
tmp dir must be writable by server


so 2 steps
1. make sure that on prod server .htaccess is actually read , as you  
set php_value session.save_handler files in it

2. /tmp is writable





On Aug 15, 2008, at 8:20 PM, Chris Ditty wrote:

Fatal error: session_start(): Failed to initialize storage module.  
in /home/webroot/www/service/payarrange/index.php on line 4


Line 4 is the session_start();


Bojan Tesanovic [EMAIL PROTECTED] 8/15/2008 1:10 PM 
Can you give us the exact error that you got, that can help to  
debug ...



On Aug 15, 2008, at 7:53 PM, Chris Ditty wrote:


Can someone tell me what I am missing here?  This is working fine
on my development machine(5.2.6), but on the production box(4.3.2),
it doesn't want to work.  I am getting that error on my
session_start() function.

Is the difference in versions what is causing the problems?

I've googled and none of the results fit my problem.  Below is
my .htaccess file.
php_value session.save_handler files
php_value session.save_path /tmp
php_value session.name PHPSESSID
php_flag session.auto_start off
php_value session.cookie_path /
php_flag session.use_cookies on
php_value session.cache_expire 180
php_flag session.use_trans_sid on



MLGW now offers ONLINE BILLING!
To view your bills, receive paperless bills,
check payment status and pay online,
go to www.mlgw.com and click on the My Account link.
Enroll today!


This e-mail and any attachments represent the views and opinions
of only the sender and are not necessarily those of
Memphis Light, Gas  Water Division, and no such inference should
be made.


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



Bojan Tesanovic
http://classiccars.carster.us/







MLGW now offers ONLINE BILLING!
To view your bills, receive paperless bills,
check payment status and pay online,
go to www.mlgw.com and click on the My Account link.
Enroll today!


This e-mail and any attachments represent the views and opinions
of only the sender and are not necessarily those of
Memphis Light, Gas  Water Division, and no such inference should  
be made.




Bojan Tesanovic
http://www.classicio.com/
http://www.real-estates-sale.com/