DoctorMason Posted October 10, 2006 Posted October 10, 2006 Here is the code for the information box. As you can see at www.kcpa-tv.com/catalog on the column left, there is an error. How do I fix it? <?php /* $Id: information.php,v 1.6 2003/02/10 22:31:00 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ ?> <!-- information //--> <tr> <td> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => BOX_HEADING_INFORMATION); new infoBoxHeading($info_box_contents, false, false); $info_box_contents = array(); $info_box_contents[] = array('text' => '<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a><br>' . '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a><br>' . '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_LINKS) . '">' . BOX_INFORMATION_LINKS . '</a><br>' . // VJ Links Manager v1.00 added '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); new infoBox($info_box_contents); ?> </td> </tr> <!-- information_eof //--> Doctor Mason, World's #1 "Temporary Webmaster"
Guest Posted October 10, 2006 Posted October 10, 2006 '<a href="' . tep_href_link(FILENAME_LINKS) . '">' . BOX_INFORMATION_LINKS . '</a><br>' . // VJ Links Manager v1.00 added It would seem that BOX_INFORMATION_LINKS has not been defined. Look for the following in catalog/includes/languages/english.php and add an entry for the above. // information box text in includes/boxes/information.php define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us');
DoctorMason Posted October 10, 2006 Author Posted October 10, 2006 It would seem that BOX_INFORMATION_LINKS has not been defined. Look for the following in catalog/includes/languages/english.php and add an entry for the above. // information box text in includes/boxes/information.php define('BOX_HEADING_INFORMATION', 'Information'); define('BOX_INFORMATION_PRIVACY', 'Privacy Notice'); define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use'); define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns'); define('BOX_INFORMATION_CONTACT', 'Contact Us'); Here is what caused the error: If anyone else has it then add: code had to be added to english.php // VJ Links Manager v1.00 begin define('BOX_INFORMATION_LINKS', 'Links'); // VJ Links Manager v1.00 end Doctor Mason, World's #1 "Temporary Webmaster"
Recommended Posts
Archived
This topic is now archived and is closed to further replies.