ERROR_log

nemeth

New Member
Sep 3, 2017
4
0
1
26
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
 

Lautaro

Administrator
Developer
Dec 19, 2012
555
231
43
Seems to be an issue with crons. I will do some debugging on it.
 

Ch3ma

New Member
Oct 22, 2017
9
2
3
26
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.
 
  • Like
Reactions: Lautaro