View Single Post
  #19  
Old 06-06-2012, 12:31 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: xpayments Cron help please

Hi hooter thanks for your help, Handson sorted the issue out for me, as usual top work from them...this is what the wrote -

There was an error in the script when executed manually:
PHP Fatal error: require_once(): Failed opening required './top.inc.php' (include_path='.:/usr/local/php53/pear') in /home/mysite/public_html/xpayments/cron.php on line 23
Fatal error: require_once(): Failed opening required './top.inc.php' (include_path='.:/usr/local/php53/pear') in /home/mysite/public_html/xpayments/cron.php on line 23

So I created a php.ini file inside of the xpayments directory with the following
include_path="/home/mysite/public_html/xpayments/"

And the script is now executing without error, this is really something that the module developers should include in their documentation ans the required includes are stored directly in the same folder and php did not know to look there by default until specified in the php.ini file.

Hope this will help someone else out as its been a major headache trying to sort this, many thanks to all for your help...
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote