RichardPryor Posted July 10, 2008 Posted July 10, 2008 Warning: main(includes/languages/english/FILENAME_FAQ): failed to open stream: No such file or directory in /home/content/m/o/l/ddd/html/catalogue/faq.php on line 14 Warning: main(includes/languages/english/FILENAME_FAQ): failed to open stream: No such file or directory in /home/content/m/o/l/ddd/html/catalogue/faq.php on line 14 Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_FAQ' (include_path='.:/usr/local/lib/php') in /home/content/m/o/l/ddd/html/catalogue/faq.php on line 14 Getting that error after I installed the faq contribution. I bought a template for $150. http://www.reefsolutions.info/catalogue/ Is my information box the one on that has Specials, Search, Contact Us... as categories?
Guest Posted July 10, 2008 Posted July 10, 2008 Warning: main(includes/languages/english/FILENAME_FAQ): failed to open stream: No such file or directory in /home/content/m/o/l/ddd/html/catalogue/faq.php on line 14 Warning: main(includes/languages/english/FILENAME_FAQ): failed to open stream: No such file or directory in /home/content/m/o/l/ddd/html/catalogue/faq.php on line 14 Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_FAQ' (include_path='.:/usr/local/lib/php') in /home/content/m/o/l/ddd/html/catalogue/faq.php on line 14 Getting that error after I installed the faq contribution. I bought a template for $150. http://www.reefsolutions.info/catalogue/ Is my information box the one on that has Specials, Search, Contact Us... as categories? includes/languages/english/faq.php <--- file is missing
RichardPryor Posted July 10, 2008 Author Posted July 10, 2008 includes/languages/english/faq.php <--- file is missing No, the file is there. Here's the code: <?php/* FAQ system for OSC 2.2 MS2 v2.1 22.02.2005 Originally Created by: http://adgrafics.com [email protected] Updated by: http://www.webandpepper.ch [email protected] v2.0 (03.03.2004) Last Modified: http://shopandgo.caesium55.com [email protected] v2.1 (22.02.2005) Released under the GNU General Public License osCommerce, Open Source E-Commerce Solutions Copyright © 2004 osCommerce */ // FAQ SYSTEM define('HEADING_TITLE', 'Frequently Asked Questions'); define('FAQ_NAVBAR_TITLE', 'FAQ'); define('FAQ_BACK_TO_TOP', '[back To Top]'); // FAQ SYSTEM ?>
sLaV- Posted July 10, 2008 Posted July 10, 2008 No, the file is there. Here's the code: The problem is that you have not defined what FILENAME_FAQ is...open this file: /includes/filenames.php and add this line near the bottom (before the closing ?> ) define('FILENAME_FAQ', 'faq.php'); Then at the top of your faq.php file (the main file sitting in your /catalogue directory not the language file) add this straight underneath require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_FAQ);
Guest Posted July 10, 2008 Posted July 10, 2008 The problem is that you have not defined what FILENAME_FAQ is...open this file: /includes/filenames.php and add this line near the bottom (before the closing ?> ) define('FILENAME_FAQ', 'faq.php'); Then at the top of your faq.php file (the main file sitting in your /catalogue directory not the language file) add this straight underneath require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_FAQ); Plus any other steps missed in the install.html file.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.