Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Problem with Conditions Page


Recommended Posts

We went to try to configure the text on the conditions page and noticed that the navigation does not convert the:

  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CONDITIONS);

 $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CONDITIONS));



to http://oursite.com/conditions.php



Plus, if we just type in the right URL: http://oursite.com/conditions.php we get this error report:

Warning: main(includes/languages/english/FILENAME_CONDITIONS) [function.main]: failed to open stream: No such file or directory in os-store/catalog/conditions.php on line 15


Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_CONDITIONS' (include_path='.:/usr/lib/php') in os-store/catalog/conditions.php on line 15


Any ideas as to a fix?





Link to comment
Share on other sites

Looks like FILENAME_CONDITIONS isn't defined in your /includes/filenames.php


  define('FILENAME_CONDITIONS', 'conditions.php');

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.


"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -


"Headers already sent" - The definitive help


"Cannot redeclare ..." - How to find/fix it


SSL Implementation Help


Like this post? "Like" it again over there >

Link to comment
Share on other sites

Excellent suggestion, the problem is listed below:





Should have read:

define('FILENAME_CONDITIONS', 'conditions.php');





Link to comment
Share on other sites


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

  • Create New...