Vantiv / litle-integration-magento

Magento Integration for Vantiv eCommerce
https://developer.vantiv.com/community/ecommerce
MIT License
6 stars 10 forks source link

Compilation in Magento causes error in LitleOnline.php #16

Open GregDake opened 10 years ago

GregDake commented 10 years ago

Whenever we have Compilation enabled in Magento, we get this error when we try to use anything in the admin or frontend that involves Litle. Can you help us fix that? Thanks.

E_COMPILE_ERROR: require_once(): Failed opening required 'Litle/LitleSDK/LitleOnline.php' (include_path='/var/www/ibox/includes/src:.:/usr/share/pear:/usr/share/php')

amitvig22 commented 9 years ago

There is a quick fix for this.

On your magento server copy the LitleSDK folder, the path is : magento/app/code/local/Litle/LitleSDK

Copy the contents to the magento includes dir, the destination should be : magento/includes/src/Litle

This will fix the file tree and compilation will succeed.

We are looking into why the file tree fails and how we can resolve this.