Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

failed to open stream: No such file or directory (but module works)


samper19

Recommended Posts

Posted

I'm getting an error that I notice others have raised but mine might be different.

 

I get following errors both in Admin and Catalog but only happens on certain payment modules and only when they are installed.

 

Warning: include(includes/languages/english/modules/payment/banktransfer.php): failed to open stream: No such file or directory in public_html/shop/includes/classes/payment.php on line 38

 

there are others but they are all the same error. 

 

However in Admin I get same error and yet the module still appears in the install list and i can install it, delete it and edit it.

Also even tho I see the above error

1.  The file exists

2.  the payment module actually works in the checkout.

 

this only happens to 3 modules in this case all others work and look fine. 

Also the 3 modules I get errors with display the Constant value rather than the text  EG: (MODULE_PAYMENT_BANKTRANSFER_TEXT_TITLE)

 

I assume the errors are related but I can't find where to define the missing constants.

 

ideas?

 

thanks

Sam P

Posted

you are missing the language files for these module in the catalog/includes/languages .... directory, exactly as the error says, cant read the file, because the file isn't there

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Posted

Warning: include(includes/languages/english/modules/payment/banktransfer.php): failed to open stream:

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Archived

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

×
×
  • Create New...