Jump to content

Cron Issue


MJHost

Recommended Posts

Good evening all,

 

I have just spent a very long time online to my hosting provider, due to an issue with my Cron Job not functioning.

 

I am getting the following when the Cron runs:

 

Site error: the <a href="http://www.ioncube.com">ionCube</a> PHP Loader needs to be installed. This is a widely used PHP extension for running ionCube protected PHP code, website security and malware blocking.

 

My hosting provider, has stated that the PHP Loader is installed, and that they believe the issue lies with the Cron, and the way it is scripted!

 

The cron is:

php -q /home/ab1634/public_html/crons/cron.php

 

Can anyone offer any suggestions, or point me in the right direction?

Link to comment
Share on other sites

Hello MJHost,

 

That specific error indicates that whilst you may have the right ionCube Loaders installed on your account it appears your CLI may not have the right ionCube Loader versions, you might need to ask your host if they can provide a custom PHP path that you can call when running the cron.

 

Thank you, adding /opt/php56/bin/php to the Cron seems to have done the trick.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated