nugenhost Posted August 16, 2008 Share Posted August 16, 2008 First off, I'm about 2 days into using WHMCS and I have to say it took me all of 4hrs to just about completely set up WHMCS, whereas it took me almost 2 weeks to setup ModernBill and that's with someone else installing it for me. I've never seen such a 'clusterF' as I have with MB. I certainly have to applaud WHMCS for such a far more superior program than MB. Now for my question: I don't know what the heck is wrong! I've done everything I can think of and have read everything online, searched the forums here and googled the heck out of finding out why my box isn't seeing IonCube for some strange reason. The PHP script that comes with IonCube claims for it to be running. I've recompiled PHP/Apache (using CPanel ev3.2) and checked php.ini and the lines are there and enable_dl=on is there. But I keep on getting an error anytime I try to run one of the cronjobs listed in WHMCS. Error: Failed loading /usr/local/IonCube/ioncube_loader_lin_5.2.so: /usr/local/IonCube/ioncube_loader_lin_5.2.so: cannot open shared object file: No such file or directorySite error: the file <b>/home/domain/public_html/clients/modules/registrars/directi/directisync.php</b> requires the ionCube PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator.domain@domain.com [~]# user@domain.com [~]# *I've changed the personal info above to prevent spambots picking it up. I also have IonCube in my /public_html/domain/clients/ioncube/ directory as directed in the instructions. It also ended up in /usr/local/IonCube along with Zend somehow. I've also read that I might need the x64 instead of the x32, so I also downloaded it and replaced the x32, that didn't work either. So really I'm at a major loss. Oh and yes! I have root on the box. I'm the eediot admin <grin> HELP!!!!!!!!!!!!!!!!!!!!!!! *smile*please*smile* TIA Diane K. 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted August 16, 2008 Share Posted August 16, 2008 Hi Diane, Do you by chance have a custom php.ini in your billing folder that may be overriding the system settings? Dump in a phpinfo.php file into your billing directory and verify what PHP.ini it's reading. It should also show you IonCube loaded in that phpinfo file. If you have a custom php.ini file in there - rename it temporarily and see if that resolves the issue. If you NEED a custom php.ini you'll need to add IonCube to the file as once you insert variables it kills IonCube unless you re-add it (same with Zend). Here's a quick article on that: http://support.handsonwebhosting.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=31 Check that phpinfo.php file - see what it's saying for PHP.INI path and also for IonCube. It SHOULD be working. 0 Quote Link to comment Share on other sites More sharing options...
nugenhost Posted August 16, 2008 Author Share Posted August 16, 2008 Thank you Conor for the reply... I've already read that article that you wrote. I did/do have a custom php.ini in there too. I've changed it to .BAK to remove it and tried it as well, still no go. Sorry, I forgot to mention I'd done that as well. See what I mean, I'm totally at a loss. And yes php is being read correctly and ioncube does show up in the file listing. It'a justa ain't workin' which is causin' me to be perplexed. Diane 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted August 17, 2008 Share Posted August 17, 2008 I've never seen such a 'clusterF' as I have with MB. But I keep on getting an error anytime I try to run one of the cronjobs listed in WHMCS. How strange that you're up and running with WHMCS but that the cron jobs give you ioncube errors. Damn the filthy pirates who make encoding necessary. Perhaps Matt or Joe would look into this for you, though it may be outside of their scope of service since it does not seem to be a WHMCS issue. If you want me to take a look and you have msn, just add me as a friend and we can have some chat. 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted August 17, 2008 Share Posted August 17, 2008 Very weird. And when you go to the folder where the cronjob file is located (the one you want to run) the phpinfo file is displaying everything correctly? What happens if you try to run the file directly from the command line in shell? 0 Quote Link to comment Share on other sites More sharing options...
nugenhost Posted August 17, 2008 Author Share Posted August 17, 2008 Uber, I'll probably be contacting you later today. I have something to do for a few hours this afternoon so I'll be away. Conor, Yes, I put the php.ini first in the /public_html/clients/ioncube dir, and read the phpinfo file and it showed in there. I then moved it to the /clients dir as well as public_html and checked all read ioncube was there. Tried it in the shell as the user and thats when I get the error, when I run it as root, it just hangs there like it's trying to run as a background process but the minute I log out as root, it drops the process. will drop it when I time out as well, checked that as well. I shouldn't have to run it as root, it should be ran as the user. I'm still at a huge loss here. Any other thoughts? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted August 17, 2008 Share Posted August 17, 2008 Tried it in the shell as the user and thats when I get the error, when I run it as root, it just hangs there like it's trying to run as a background process but the minute I log out as root, it drops the process. This is normal unless you are running a utility such as "screen" to keep the process running even when you log out. Is suPHP installed on the box? Might be worth a try to install the cron job in /etc/crontab to see if it works that way # nano -w /etc/crontab Add the following line to the end of the file, edited for your path: 0 0 * * * root php -q /home/domain/public_html/clients/modules/registrars/directi/directisync.php 0 Quote Link to comment Share on other sites More sharing options...
nugenhost Posted August 18, 2008 Author Share Posted August 18, 2008 Well NOW if this ain't the chits... I didn't change anything server wise, but I wanted to change the directory that I had WHMCS installed in, so I requested another license for the new directory.. I changed everything that I needed and thought well, I'm going to try the cron stuff again.. and low and behold it WORKED! Go figure! So, I have everything set now and it's all nicely running. Thanks everyone for your help. Uber, I might contact you over something different if you don't mind. 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted August 18, 2008 Share Posted August 18, 2008 So, I have everything set now and it's all nicely running. Uber, I might contact you over something different if you don't mind. Of course. I usually have "away" set in msn (just in case I'm dealing with a clusterF, lol) so feel free to IM me whenever. 0 Quote Link to comment Share on other sites More sharing options...
handsonwebhosting Posted August 18, 2008 Share Posted August 18, 2008 Very weird - but I'm glad it's all working for you! Fingers crossed that this is the last issue that you run into, but we all know with servers it won't be Good luck, 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.