philendean Posted January 6, 2017 Share Posted January 6, 2017 Hi, I am having trouble getting Cron to work. WHMCS 7.1 site is using PHP 5.6 I keep getting these two error emails 1: <br /> <b>Fatal error</b>: <br>The file <b>/home/*********/public_html/clientarea/crons/cron.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed. in <b>Unknown</b> on line <b>0</b><br /> 2. /usr/local/cpanel/bin/jailshell: -c: line 0: syntax error near unexpected token `|' /usr/local/cpanel/bin/jailshell: -c: line 0: `| php -q /home/**********/public_html/clientarea/crons/pipe.php' any help please? 0 Quote Link to comment Share on other sites More sharing options...
philendean Posted January 6, 2017 Author Share Posted January 6, 2017 Error number 1 has gone away after changing Apache version but Error number 2 is still happening 0 Quote Link to comment Share on other sites More sharing options...
bear Posted January 6, 2017 Share Posted January 6, 2017 (edited) If you look carefully, you have this: ` not ' in that statement. They are not treated the same. The pipe command does use "|", but that's an email forward, not a cron or shell command. Edited January 6, 2017 by bear 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.