You are here:  » Ion Cube

Support Forum



Ion Cube

Submitted by steve on Mon, 2008-10-20 12:46 in

Hi David,

When running this sript from a file via SSH


cd /home/XXX/public_html/scripts
/usr/local/bin/php /home/XXX/public_html/scripts/register.php GreenandBlacks.xml "xml|PRODUCTS/PRODUCT/" "Green and Blacks" "PRODUCT_NAME" "DESCRIPTION" "IMAGE_URL" "DEEPLINK" "PRICE" "CATEGORIES/CATEGORY" "" "" ""

I get this 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 directory.

I contacted my host and they say I need to install ioncube myself on the server, but is it needed? And if so where about do I need to install it?

I also used a test file,

<?php
  header
("Content-Type: text/plain;");
  print 
"Testing.";
?>

and that didn't give the error, I am wondering if it is a problem at the host?

Cheers, Steven

Submitted by support on Mon, 2008-10-20 12:52

Hi Steven,

You are correct - it is not needed, and no part of the Price Tapestry distribution references anything to do with ION Cube.

Where you see error messages like this, and your host has indicated that ION Cube is not specified anywhere as part of the global configuration; then check for a local php.ini directive that may be trying to load ION Cube.

Also make sure that you try your test script via the command line (just as you were calling register.php) as the command line version of PHP is normally a separate binary to the Apache module...

Cheers,
David.