Do you try it with your eggdrop username?bit wrote:When I call php /path/to/filename.php from the shell it works.
Code: Select all
exec /path/to/php /path/to/filename.php
Code: Select all
exec lynx -preparsed 127.0.0.1/filename.php
yes, I was logged in with my eggdrop userCrazyCat wrote:Do you try it with your eggdrop username? If no, verify the rights.
I tried this already, but it didn't helpCrazyCat wrote:And peharps you'd better try:Code: Select all
exec /path/to/php /path/to/filename.php
great, that worksCrazyCat wrote:If it's always bad, try using wget or lynx, as:Code: Select all
exec lynx -preparsed 127.0.0.1/filename.php
could you give me an example how to do that?CrazyCat wrote:Use it carrefully, 'cuz if your php isn't well debugged, you may have a ghost process...
Try putting a timer (about 30s) wich halt the process (return 0?)
I think it is because the TCL does not support execution of programs with exit code non zero. When you are finishing your execution, the php script is returning something that is not apear to be 0, regrettably TCL is expecting 0 and gives you: Tcl error [notify]: child process exited abnormally .The script does not start, but only gives the following error:
Tcl error [notify]: child process exited abnormally