Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding new page?


thezone

Recommended Posts

Posted

I'm trying to add a faq page so far i've gotten this far but i get this error

 

Warning: main(includes/languages/english/FILENAME_FAQ): failed to open stream: No such file or directory in /mnt/w0002/d41/s25/b028780c/www/poonzwear.com/store/nfoscomm/catalog/faq.php on line 15

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_FAQ' (include_path='.:/usr/local/nf/lib/php') in /mnt/w0002/d41/s25/b028780c/www/poonzwear.com/store/nfoscomm/catalog/faq.php on line 15

 

<?php

/*

$Id: faq.php,v 1.22 2006/08/01 23:26:22 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_FAQ); <--- problem?

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_FAQ)); <-- problem?

?>

 

etc

etc

 

and

<?php

/*

$Id: faq.php,v 1.22 2006/08/01 23:26:22 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'FAQ');

define('HEADING_TITLE', 'FAQ');

etc

etc

Posted
I'm trying to add a faq page so far i've gotten this far but i get this error

 

Warning: main(includes/languages/english/FILENAME_FAQ): failed to open stream: No such file or directory in /mnt/w0002/d41/s25/b028780c/www/poonzwear.com/store/nfoscomm/catalog/faq.php on line 15

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_FAQ' (include_path='.:/usr/local/nf/lib/php') in /mnt/w0002/d41/s25/b028780c/www/poonzwear.com/store/nfoscomm/catalog/faq.php on line 15

and

 

did you upload the files through Admin Tools??

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted
did you upload the files through Admin Tools??

 

admin tools? I just uploaded them through File Manager

Posted
admin tools? I just uploaded them through File Manager

 

ok if you uploaded them through File Manger that is what cuases problems and errors try uploaded them through FTP Client. Not through File Manger

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Posted

Did you add anything to /includes/filenames.php and /includes/languages/english.php?

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Archived

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

×
×
  • Create New...