nashefm Posted August 27, 2010 Posted August 27, 2010 ok here is the deal i have a website that i have a Help link, "http://www.alternativerings.com/help.php", "http://www.alternativerings.com" follow this link for the website and click on help, its give me this error: Warning: main(includes/languages/english/FILENAME_HELP) [function.main]: failed to open stream: No such file or directory in /home/content/n/a/s/nashefm/html/ar/help.php on line 15 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_HELP' (include_path='.:/usr/local/lib/php') in /home/content/n/a/s/nashefm/html/ar/help.php on line 15 my questions is why is it giving me this error, and how can i fix it. i created this page in the main root by copying the shipping.php file and renaming it into help.php please keep in mind that i have changed these: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_HELP); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_HELP)); also i created in language a file called help.php and inserted the text in it. any advice thanks
multimixer Posted August 27, 2010 Posted August 27, 2010 You need to define the new file in the file includes/filenames.php, in this way define('FILENAME_HELP', 'help.php'); My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.