Guest Posted May 8, 2008 Share Posted May 8, 2008 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? Thanks. XCSO Link to comment Share on other sites More sharing options...
germ Posted May 8, 2008 Share Posted May 8, 2008 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 More sharing options...
Guest Posted May 11, 2008 Share Posted May 11, 2008 Thanks for the reply germ, I will check it and let you know if it fixes it. Thank you. Don Link to comment Share on other sites More sharing options...
Guest Posted May 11, 2008 Share Posted May 11, 2008 Excellent suggestion, the problem is listed below: Was: define('FILENAME_CONDITION', 'CONDITIONS.php'); Should have read: define('FILENAME_CONDITIONS', 'conditions.php'); Thanks, Don Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.