Guest Posted January 20, 2006 Posted January 20, 2006 I'm having issues with the footer.php not displaying. This is the code in shopping_cart.php <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> I don't see anything wrong with it. None of the pages are displaying the footer.php, does anyone have a simple working footer.php that i can try replacing? I had my host replace it with a default footer.php and it still does not work.
♥akmac Posted January 20, 2006 Posted January 20, 2006 Have you recently made changes to column_right.php or any of the boxes that display in it? Quidquid latine dictum sit, profundum viditur.
Guest Posted January 20, 2006 Posted January 20, 2006 Have you recently made changes to column_right.php or any of the boxes that display in it? Yes I commented out all the boxes. Anything I wasn't supposed to comment? <?php /* $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // require(DIR_WS_BOXES . 'shopping_cart.php'); if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if (isset($HTTP_GET_VARS['products_id'])) { if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { // include(DIR_WS_BOXES . 'best_sellers.php'); } else { // include(DIR_WS_BOXES . 'product_notifications.php'); } } else { // include(DIR_WS_BOXES . 'product_notifications.php'); } } else { // include(DIR_WS_BOXES . 'best_sellers.php'); } if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) // include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { // include(DIR_WS_BOXES . 'specials.php'); } // require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { // include(DIR_WS_BOXES . 'languages.php'); // include(DIR_WS_BOXES . 'currencies.php'); } ?>
♥akmac Posted January 20, 2006 Posted January 20, 2006 An error in column_right.php could keep your footer from loading, as it loads directly after the right column. Replace the column_right.php with a stock (or empty) file and see if the error goes away. If it does, there was an error in your moddded column page. If that doesn't fix it-I don't know what it is. Quidquid latine dictum sit, profundum viditur.
Guest Posted January 21, 2006 Posted January 21, 2006 An error in column_right.php could keep your footer from loading, as it loads directly after the right column. Replace the column_right.php with a stock (or empty) file and see if the error goes away. If it does, there was an error in your moddded column page. If that doesn't fix it-I don't know what it is. Nope, tried replacing it with an empty file, still did not fix the problem. Where could I find a stock file to try?
♥akmac Posted January 23, 2006 Posted January 23, 2006 Useyour unmodified copy from your original download. If you don't have one, download it again. Quidquid latine dictum sit, profundum viditur.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.