april_floyd Posted December 30, 2009 Posted December 30, 2009 I get the following error, when trying to get the World Pay Junior payment to work in terms of the callback any help would be appreciated PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/share/pear5') This is happening after payment when the visitor should be going back to junior_callback.php
april_floyd Posted January 7, 2010 Author Posted January 7, 2010 can anyone help with this - much appreciated
april_floyd Posted January 12, 2010 Author Posted January 12, 2010 Any help for this would be much appreciated - anyone out there who has worldpay working with Oscommerce or who has encountered this issue - would be much appreciated
MrPhil Posted January 12, 2010 Posted January 12, 2010 If the rest of osC is working (includes/application_top.php exists), I would suggest adding your store's root directory to your PHP include_path. In php.ini, add include_path='.:/usr/share/pear5:/home/ACCOUNT/public_html/store'. This assumes your store is in /home/ACCOUNT/public_html/store -- adjust to where your store actually is (full path, not relative). osC should end up looking for /home/ACCOUNT/public_html/store/includes/application_top.php. If you don't have a php.ini file, consult with your host about how and where to add one (or whether this line needs to go into .htaccess).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.