media Posted November 25, 2015 Posted November 25, 2015 I saw IPB 4.1.4.1 asking for php 5.5 I have upgraded... IP board is working just fine but my other sites on the server having session problem or header not sent problem Anyone has any idea where to look at for this problem on the server???? Php 5.4 and Apache 2.2 all my website were working, after upgrading to php 5.5.30 and apache 2.4 I am getting these error message on log file on every domain on the server [25-Nov-2015 01:55:44 UTC] PHP Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mysite/public_html/qa-include/ajax/asktitle.php:76) in /home/mysite/public_html/qa-include/app/users.php on line 146 [25-Nov-2015 01:55:44 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/mysite/public_html/qa-include/ajax/asktitle.php:76) in /home/mysite/public_html/qa-include/app/users.php on line 183 Session info from phpinfo() What should I check on the server or where do I look at?
media Posted November 25, 2015 Author Posted November 25, 2015 Looks like browser cache and what you do on the screen is interfering each other... I save the form data and see the new data on the screen and if I hit edit again I see old data feed into form field? Weird? Anyone please???? Thanks
Bluto Posted November 25, 2015 Posted November 25, 2015 Try putting the session_start() call to the top of pages which are having the issues. That might solve it. http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php
Tracy Perry Posted November 29, 2015 Posted November 29, 2015 One thing to check.. make sure you other scripts (that are running on the other sites) are compatible with 5.5 (and higher). Some scripts will NOT work with the newer versions and are restricted to older (classic case is vB 3.x series).
media Posted December 9, 2015 Author Posted December 9, 2015 Finally I have nailed it... Just in case anyone else encounter this problem here is my solution: for session path I put this on the domain root session.save_path = "/home/mysite/tmp" cache issue, I have changed values on So we have removed the "public" below and set it to "nocache": session.cache_limiter = public session.cache_expire = 180 Good Luck
Recommended Posts
Archived
This topic is now archived and is closed to further replies.