Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Messed Up


ashumak

Recommended Posts

Well, things were going fine, but then I tried to add a mod, and it didn't work, so I tried going back to a previous stored set and:

 

When trying to hit the store:

 

Warning: require(includes/functions/compatibility.php) [function.require]: failed to open stream: No such file or directory in /var/www/catalog/includes/application_top.php on line 40

 

Fatal error: require() [function.require]: Failed opening required 'includes/functions/compatibility.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/catalog/includes/application_top.php on line 40

 

and when trying to hit the admin (modules):

 

Warning: include() [function.include]: Failed opening '/var/www/catalog/includes/languages/english/modules/payment/paypal_uk_express.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/catalog/admin/modules.php on line 136

Any and all help is greatly appreciated!

 

Alan

Link to comment
Share on other sites

As well in Admin section - Shipping Modules :

 

 

 

Warning: include(/var/www/catalog/includes/languages/english/modules/shipping/item.php) [function.include]: failed to open stream: No such file or directory in /var/www/catalog/admin/modules.php on line 136

 

Warning: include() [function.include]: Failed opening '/var/www/catalog/includes/languages/english/modules/shipping/item.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/catalog/admin/modules.php on line 136

MODULE_SHIPPING_ITEM_TEXT_TITLE

Table Rate

 

Warning: include(/var/www/catalog/includes/languages/english/modules/shipping/usps.php) [function.include]: failed to open stream: No such file or directory in /var/www/catalog/admin/modules.php on line 136

 

Warning: include() [function.include]: Failed opening '/var/www/catalog/includes/languages/english/modules/shipping/usps.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/catalog/admin/modules.php on line 136

 

 

The line at 136 reads:

 

include(DIR_FS_CATALOG_LANGUAGES . $language . '/modules/' . $module_type . '/' . $file);

 

 

HELP!

Link to comment
Share on other sites

Try adding your store's base (root) directory to your PHP include path. In php.ini (or wherever your host tells you to add it):

include_path='.:/usr/share/php:/usr/share/pear:/var/www/catalog'

That will usually do it.

 

From the lack of an account name, it appears that you're either running on a dedicated server (OK), or a PC with LAMPP (bad idea -- if you're not an expert at securing your site, it will be hacked, and hacked badly).

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...