remixstore Posted November 4, 2005 Posted November 4, 2005 I am trying to add a few new pages with navigation via the footer. What I basically tried is first adding an 'About Us' page. I took the privacy page and duplicated them. Ok, so there is the shop/privacy.php and shop/includues/languages/english/privacy.php (where we update all the text, obviously). so now I made shop/about.php and shop/includes/languages/english/about.php I looked through and through and it should work... what am I missing... I get the below error... any insight is greatly appreciated Warning: main(includes/languages/english/FILENAME_ABOUT): failed to open stream: No such file or directory in /homepages/36/d106168665/htdocs/mastershot/shop/about.php on line 15 Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_ABOUT' (include_path='.:/usr/local/lib/php') in /homepages/36/d106168665/htdocs/mastershot/shop/about.php on line 15 below is the shop/about.php <?php/* $Id: about.php,v 1.22 2003/06/05 23:26:23 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_ABOUT); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ABOUT));?><!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"><html <?php echo HTML_PARAMS; ?>><head><meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"><title><?php echo TITLE; ?></title><base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"><link rel="stylesheet" type="text/css" href="stylesheet.css"></head><body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"><!-- header //--><?php require(DIR_WS_INCLUDES . 'header.php'); ?><!-- header_eof //--> <!-- body //--><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td class="main"><?php echo TEXT_INFORMATION; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table></td><!-- body_text_eof //--> </tr></table><!-- body_eof //--> <!-- footer //--><?php require(DIR_WS_INCLUDES . 'footer.php'); ?><!-- footer_eof //--></body></html><?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>[code]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.