Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Problem with Cron Job

Hello!

As all providers know, WHMCS uses a cron to generate invoices automatically.

We recently did an update and now everything is screwed up.

When attempting to run the cron from Command Line

user@server php -q /path/to/directory/whmcs/admin/cron.php
Site error: the file /path/to/directory/whmcs/admin/cron.php requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

This made me think that Ioncube wasn't installed correctly, but..

Any solutions or reccomendations?

Comments

  • php -q /path/to/ioncube/installer.php

  • @Rallias said:
    php -q /path/to/ioncube/installer.php

    There is no installer.php in any of the ioncube files. https://client.mcmyhost.net/files/

  • Just install ioncube loaders?google is your friend

  • @mcmyhost said:
    There is no installer.php in any of the ioncube files. https://client.mcmyhost.net/files/

    Massive facepalm.

  • Include paths are not always the same when something is run via cron/command line vs the web, why not include the Ioncube loaders into PHP.ini?

    If this isn't something you can sort out without posting on a forum you shouldn't be hosting anyone, ever... I can't wait to see what happens when something goes wrong on one of your nodes.

  • Kids these days...

  • There are two ini files, which are used by php-cli and mod-php. If you have installed IonCube loader, then it was configured in mod-php's php.ini file which is located at /etc/php5/apache2/php.ini

    Open that file and copy IonCube Extension (just search ioncube) directives to PHP-cli's php.ini , which is located at /etc/php5/cli/php.ini

    Once set, it will fix your problem

Sign In or Register to comment.