CI and server compatibility - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CI and server compatibility (/showthread.php?tid=15540) |
CI and server compatibility - El Forum - 02-07-2009 [eluser]Whis[/eluser] Hello, I'm using a new server, but I can't use traditional Php sessions. I always have those errors: Code: Message: session_start() [function.session-start]: open(/var/php_sessions/sess_d070e9588771a023e627727100107f29, O_RDWR) failed: No such file or directory (2) Code: Message: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/bosweb/web092/b925/d5.soufiane/public_html/artefuz/demo/system/libraries/Exceptions.php:164) Code: Message: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/bosweb/web092/b925/d5.soufiane/public_html/artefuz/demo/system/libraries/Exceptions.php:164) Code: [code]Message: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' Code: Message: Unknown: open(/var/php_sessions/sess_d070e9588771a023e627727100107f29, O_RDWR) failed: No such file or directory (2) Code: Message: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/php_sessions) I tried everything possible, but I still have this problem. (I also checked for spaces after ?> ). Do You have any idea ? Thanks Whis CI and server compatibility - El Forum - 02-08-2009 [eluser]Whis[/eluser] Before the PHP sessions, I used the CI session, but my server just sent me that the request was too big (and the POST or GET array was too big). On another server, the request just stoped ... Any Idea ? Thanks EDIT: I also tested with a new copy of CI and just adding in it "session_start()" and i've the same issue... maybe something wrong in the server configuration ? CI and server compatibility - El Forum - 02-08-2009 [eluser]Krzemo[/eluser] I guess one important thing is missing in your post... server details... CI and server compatibility - El Forum - 02-08-2009 [eluser]Whis[/eluser] I solved the CI session issue! I checked the database sessions table and I found that the script is bigger than 4k, so the server crash... I also noticed that using flashdata is a bad idea cause it adds lot of charaters ... Thanks . CI and server compatibility - El Forum - 02-08-2009 [eluser]Whis[/eluser] Ok it works, But, is it normal to have just 4ko free even when i use the database sessions ? Thanks, Whis. CI and server compatibility - El Forum - 02-08-2009 [eluser]Whis[/eluser] I open a new subject for the last question. Whis. |