Jump to content

cron-job to /pipe/pop.php will not


rudberg

Recommended Posts

I'm getting this error when putting a cron-job to download support-requests:

 

Site error: the file <b>/home/myaide/myaide.net/pipe/pop.php</b> requires the ionCube PHP Loader ioncube_loader_lin_4.4.so to be installed by the site administrator.

 

I had to go through a cgi-bin setup story in order to load whmcs at all at install, but that was with a ioncube_loader_lin_5.2.so so I'm a bit at a loss at what to do here?

 

 

(btw, this happened after I changed from the recommended:

*/5 * * * * php -q /home/myaide/myaide.net/pipe/pop.php

 

to first omit the "php -q" since my dreamhost.com account would give me a:

sh: php: command not found

 

At first I got a "permission denied" but the "ionCube" error came after I changed permission to 754.

 

I'm also a bit weary of whether it's OK to leave the permissions at 754 on a shared hosting account?

 

Thanks in advance for any insight.

Link to comment
Share on other sites

  • WHMCS Support Manager

Ioncube is the system we use to encode the WHMCS source files (http://wiki.whmcs.com/IonCube_Installation)

 

It's strange that you receive this error on the cron and not your WHMCS installation though. You can try installing the runtime encoders available from our client area, or do as the error message suggests and contact your host.

Link to comment
Share on other sites

Yes, I also think it's strange as the phpinfo file gives me:

 

PHP Version 5.2.9 

System  Linux batman 2.6.29-xeon-aufs2.29-ipv6-qos-grsec #1 SMP Thu Jul 9 16:42:58 PDT 2009 x86_64  

 

I'm not sure how I could use the info on the runtime encoders?

 

According to the error message, it looks like it wants me to run with the 4.4 version, but since my system tells me I'm on 5.2, can I run BOTH somehow, then how?

Link to comment
Share on other sites

In case someone has a similar problem, this i the way I found to solve this by using the following command instead:

curl http://webisteaddress.tld/whmcsfolder/pipe/pop.php

and it works.

 

As far as I've got it, curl will actually fetch info. Where will the info fetch go? Will it be lost in cyberspace, or will it be blobbing up my dreamhost account?

 

Cheers, H

Link to comment
Share on other sites

  • 2 weeks later...

We also had this issue, and still do, and believe me we have tried almost everything we can think of.

 

Anyway, as above if you can't get it to run with curl you can also use wget.

 

This works for any of the crons, basic or module specific ones.

 

Hopefully someday someone will suss why it doesn't work right :)

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