WebEngine's 6th Anniversary

On December 19th, 2018 we will be celebrating 6 years of WebEngine CMS!
The event is here!

ERROR_log

#1
Hello, what the problem
Europe/Budapest] PHP Notice: Undefined index: SCRIPT_NAME in /home/...../public_html/includes/webengine.php on line 33
[19-Sep-2017 15:01:02 Europe/Budapest] PHP Notice: Undefined index: SCRIPT_FILENAME in /home/...../public_html/includes/webengine.php on line 33

i using Linux host
pls help
 
#3
This is because if you exc php in console (ex. php - q /home/patch/cron.php) you don't have any $_SERVER data. I fix this problem by defining a $console = true; variable in cron.php and some $_SERVER values used in webengine.php, like SCRIPT_NAME, SCRIPT_FILENAME and REMOTE_ADDR.

btw: sorry for my bad english, i speak spanish.
 
Top