Odkryłem, że pod CLI jest wszystko okej, ale pod CGI już nie.
Pod CGI jest jakoś ustawione aby nie pokazywał błędów, muszę mieć pokazywanie błędów pod CGI ponieważ pod CLI niema GET, POST itp.
CLI:
Kod
[webnull@webnull-linux-laptop tuxplace-cube]$ php index.php
PHP Warning: Missing argument 1 for libsmarty::FixParams(), called in /srv/http/tuxplace-cube/core/modules/smarty.so.php on line 24 and defined in /srv/http/tuxplace-cube/core/modules/smarty.so.php on line 51
Warning: Missing argument 1 for libsmarty::FixParams(), called in /srv/http/tuxplace-cube/core/modules/smarty.so.php on line 24 and defined in /srv/http/tuxplace-cube/core/modules/smarty.so.php on line 51
<html><head><title>OPS!</title></head><body><h2>We are sorry! Our application crashed unexpectly and report was sent to administrator.</h2>
<br/>
<br/><b>/srv/http/tuxplace-cube/core/modules/translator.so.php(43): translator.so.php::E_ERROR::init:: Cannot load default language, please check configuration</b><br/>
Stack trace: #0 /srv/http/tuxplace-cube/core/kernel.so.php(101): libtranslate->__construct('', Object(tuxKernel))
#1 /srv/http/tuxplace-cube/core/kernel.so.php(29): tuxKernel->modprobe('translator', '')
#2 /srv/http/tuxplace-cube/core/modules/hooks.so.php(16): tuxKernel->__get('alang')
#3 /srv/http/tuxplace-cube/core/kernel.so.php(101): libhooks->__construct(NULL, Object(tuxKernel))
#4 /srv/http/tuxplace-cube/index.php(40): tuxKernel->modprobe('hooks', NULL)
#5 {main}<br/><br/>
<br/>Dont worry, just try to go back in your web browser - we will repair this site soon.</body></html>PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /srv/http/tuxplace-cube/core/modules/exceptions.so.php on line 92
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /srv/http/tuxplace-cube/core/modules/exceptions.so.php on line 92
CGI:
Kod
<html><head><title>OPS!</title></head><body><h2>We are sorry! Our application crashed unexpectly and report was sent to administrator.</h2>
<br/>
<br/><b>/srv/http/tuxplace-cube/core/modules/translator.so.php(43): translator.so.php::E_ERROR::init:: Cannot load default language, please check configuration</b><br/>
Stack trace: #0 /srv/http/tuxplace-cube/core/kernel.so.php(101): libtranslate->__construct('', Object(tuxKernel))
#1 /srv/http/tuxplace-cube/core/kernel.so.php(29): tuxKernel->modprobe('translator', '')
#2 /srv/http/tuxplace-cube/core/modules/hooks.so.php(16): tuxKernel->__get('alang')
#3 /srv/http/tuxplace-cube/core/kernel.so.php(101): libhooks->__construct(NULL, Object(tuxKernel))
#4 /srv/http/tuxplace-cube/index.php(40): tuxKernel->modprobe('hooks', NULL)
#5 {main}<br/><br/>
<br/>Dont worry, just try to go back in your web browser - we will repair this site soon.</body></html>
-- WebNuLL