Hello all,
I've successfully installed scmartcj free but I am unable to run the required cron jobs.
Ioncube is installed and running, I am amble to access scj admin.
Output from command cd /home/XXX/public_html/scj/bin; env HTTP_HOST=XXX.com /usr/bin/php -q cron.php ..
Site error: the file <b>/home/XXX/public_html/scj/bin/cron.php</b> requires the ionCube PHP Loader ioncube_loader_lin_5.3.so to be installed by the site administrator.
Can someone please help?
unable to setup cron jobs
Re: unable to setup cron jobs
Looks like CLI php and mod_php are using different php.ini files.
Ask admin to add ioncube_loader_lin_5.3.so to CLI PHP.
Ask admin to add ioncube_loader_lin_5.3.so to CLI PHP.
Don't forget to run script update
Re: unable to setup cron jobs
Fixed this using cd /home/XXX/public_html/scj/bin; env HTTP_HOST=XXX.com /usr/bin/php -c /home/XXX/etc/php-cron.ini -q cron.php
The .ini file contains one line:
zend_extension=/usr/lib/php/modules/ioncube.so
Replace XXX with your domain name without extension.
The .ini file contains one line:
zend_extension=/usr/lib/php/modules/ioncube.so
Replace XXX with your domain name without extension.
Re: unable to setup cron jobs
Thanks, but it really depends on server setup.
Don't forget to run script update
Re: unable to setup cron jobs
I agree.admin wrote:Thanks, but it really depends on server setup.
The above method worked for me on red had. The paths are of course relative to your configuration.
Maybe it helps someone







