Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Failed opening required 'includes/application_top.php


april_floyd

Recommended Posts

Posted

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

  • 2 weeks later...
Posted

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

Posted

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).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...