Closed mogh90 closed 10 years ago
Open sysconfig.inc.php and search for :
@ini_set('display_errors', true);
and change to
@ini_set('display_errors', false);
Or try to disable display_errors on php.ini and restart your web server
On Sun, Oct 6, 2013 at 6:46 PM, mogh90 notifications@github.com wrote:
I used to work with slims5 on an old server
now I change my server and this warning appears
Warning: php_uname() has been disabled for security reasons in /home/pn3shira/public_html/lib2/lib/lang/php-gettext/gettext.inc on line 244
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/pn3shira/public_html/lib2/lib/lang/php-gettext/gettext.inc:244) in /home/pn3shira/public_html/lib2/index.php on line 35
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pn3shira/public_html/lib2/lib/lang/php-gettext/gettext.inc:244) in /home/pn3shira/public_html/lib2/index.php on line 35
how can I fix the problem?
— Reply to this email directly or view it on GitHubhttps://github.com/slims/slims7_cendana/issues/13 .
Open Source is about respecting other people creation and sharing knowledge to others. Sebaik baiknya manusia adalah yang bermanfaat bagi orang lain. http://dicarve.blogspot.com
thanks a lot but can you explain why this warning appeared?
That is because php_uname function is disabled and then causing php to send error message. This error message then causing session failed to start, because the error outputing something earlier to the browser.
On Mon, Oct 7, 2013 at 10:05 PM, mogh90 notifications@github.com wrote:
thanks a lot but can you explain why this warning appeared?
— Reply to this email directly or view it on GitHubhttps://github.com/slims/slims7_cendana/issues/13#issuecomment-25816124 .
Open Source is about respecting other people creation and sharing knowledge to others. Sebaik baiknya manusia adalah yang bermanfaat bagi orang lain. http://dicarve.blogspot.com
I used to work with slims5 on an old server
now I change my server and this warning appears
Warning: php_uname() has been disabled for security reasons in /home/pn3shira/public_html/lib2/lib/lang/php-gettext/gettext.inc on line 244
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/pn3shira/public_html/lib2/lib/lang/php-gettext/gettext.inc:244) in /home/pn3shira/public_html/lib2/index.php on line 35
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pn3shira/public_html/lib2/lib/lang/php-gettext/gettext.inc:244) in /home/pn3shira/public_html/lib2/index.php on line 35
how can I fix the problem?