Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
375 views
in Q2A Core by
retagged by

URGENT: After installing Apache 2.4 and PHP 5.5.30 I get this errors, What should I do?

 

[24-Nov-2015 08:25:54 UTC] PHP Notice:  Undefined index: content in /home/mysite/public_html/qa-include/qa-theme-base.php on line 2244
[24-Nov-2015 10:07:47 UTC] PHP Warning:  session_start(): open(/tmp/sess_b82968601df06a4bbbfbd54551052cb3, O_RDWR) failed: Permission denied (13) in /home/mysite/public_html/qa-include/app/users.php on line 146
[24-Nov-2015 10:07:47 UTC] PHP Warning:  Unknown: open(/tmp/sess_b82968601df06a4bbbfbd54551052cb3, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[24-Nov-2015 10:07:47 UTC] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0
[24-Nov-2015 15:57:04 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

by
Looks like I can post question but I cannot post images at all...
Not sure if QA is compatible with php5.5.30 or a server configuration issue????

BTW, just in case I need to put this here too: Session path is correct

session.save_path  = /tmp
And chomed correctly

session.save_path defines the argument which is passed to the save handler. If you choose the default files handler, this is the path where the files are created. Defaults to /tmp.
by
if I remove image, I can post just fine... :)
by
More problem coming up?
[24-Nov-2015 21:58:50 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
[24-Nov-2015 21:58:50 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
[24-Nov-2015 22:03:14 UTC] PHP Notice:  Undefined variable: params in /home/mysite/public_html/qa-include/app/post-update.php on line 440
[24-Nov-2015 22:03:14 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/mysite/public_html/qa-plugin/event-logger/qa-event-logger.php on line 155
by
Error log showing more problem
[26-Nov-2015 13:30:47 UTC] PHP Warning:  Invalid argument supplied for foreach() in /home/mysite/public_html/qa-plugin/event-logger/qa-event-logger.php on line 155
[26-Nov-2015 16:09:47 UTC] PHP Question2Answer form security violation for register by anonymous (code mismatch) on /register?to=5269%2Fprogram-secerken-dikkat-edilmesi-gereken-hususlar-nelerdir via /mysite.com/register?to=5269%2Fhelp-choosing-programs
by
Q2A works fine with all versions of PHP from 5.2+. There is definitely a problem with sessions somewhere. Can you try making a plain PHP script like 'test.php' with just this:

<?php
session_start();

And see if that works fine?

Not sure about the other notices/warnings but they are likely a result of the sessions not working.
by
Hi Scott,
I put this
<?php
 session_start();
 echo "working";
?>

It is working, I see the "working" text

????
by
Are you still getting the session errors on the site?
by
Well, finally figured it out...
Even server side session path set correctly and chomed, I guess still was not working...
I have created an experimental php.ini file local level and put session path in it...
Fixed the problem...

Please log in or register to answer this question.

...