Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon4.gif   Elog command not working properly, posted by Stefano colafranceschi on Thu Sep 24 00:14:49 2015 
    icon2.gif   Re: Elog command not working properly, posted by Edmund Hertle on Fri Sep 25 22:37:08 2015 
       icon2.gif   Re: Elog command not working properly, posted by Stefano on Sat Sep 26 03:34:44 2015 
Message ID: 68127     Entry time: Fri Sep 25 22:37:08 2015     In reply to: 68124     Reply to this: 68128
Icon: Reply  Author: Edmund Hertle  Author Email: edmund.hertle@kit.edu 
Category: Question  OS: Linux  ELOG Version: 3.1.0 
Subject: Re: Elog command not working properly 
> <p>Hi,</p>
> 
> <p>I have a problem running elog command from php script. Basically in the php I call system(&quot;elog -h etc etc.. And from the php command line works but not in the browser apparently without errors (php apache 
logfile no problem), any suggestions?</p>

Hey,
this sounds more like a PHP issue.
Which PHP version are you using? 
Which webserver? 
Which php function are you using: shell_exec() or exec()? Try looking at the return of exec()
Is the elog file set to the correct file permissions to be executed by the webserver?
Is the elog file in the PHP path or do you take care of defining the correct path?


eddy
ELOG V3.1.5-3fb85fa6