Guest Posted April 23, 2010 Share Posted April 23, 2010 Hi you all,<br /><br /> I copied another information box page and changed the name and appropriate titles. Entered the page name into:<br />public_html/includes/boxes/information.php as follows:<br /><br /> '<a href="' . tep_href_link(FILENAME_ARTICLES) . '">' . BOX_INFORMATION_Articles . '</a><br>' .<br /><br />When I went back to the catalog this whole line shows: " BOX_INFORMATION_Articles "<br /><br />So, I went back to /information.php and revised the entry as follows:<br /><br /> '<a href="' . tep_href_link(FILENAME_ARTICLES) . '">' . Articles . '</a><br>' .<br /><br />Now it shows: " Articles " <br /><br />What's up with this? I tried it with Contact Us and had to use an underscore "_" between the words Contact and Us <br /><br />Same thing with "About_Us " and " How_To_Choose " In all three cases I had to delete "BOX_INFORMATION_....... Woops, Got off on another subject before I got to the error message thing. Anyway, now, when I click on the Articles link in the information box I'm getting the following error message: $Id: articles.php 1739 2007-12-20 00:52:16Z hpdl $ 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_ARTICLES); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_ARTICLES));?> Warning: require(DIR_WS_INCLUDESheader.php) [function.require]: failed to open stream: No such file or directory in /home/confere3/public_html/articles.php on line 27 Warning: require(DIR_WS_INCLUDESheader.php) [function.require]: failed to open stream: No such file or directory in /home/confere3/public_html/articles.php on line 27 Fatal error: require() [function.require]: Failed opening required 'DIR_WS_INCLUDESheader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/confere3/public_html/articles.php on line 27 Don't know what I'm looking for to remedy this message. Any hints? Link to comment Share on other sites More sharing options...
Collines Posted April 26, 2010 Share Posted April 26, 2010 You have a syntax error here: require(DIR_WS_INCLUDESheader.php) in /home/confere3/public_html/articles.php Try writing it like this..... require(DIR_WS_INCLUDES . 'articles.php'); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.