Peper Posted March 15, 2010 Share Posted March 15, 2010 I'm struggling to get my login to work correctly. All my pages loads corrects but it would seem there is really something wrong. I added the following code in application_top error_reporting(E_ALL & ~E_STRICT); to get all the errors listed below Please I need some help to solve some of this especially to be able to login again Here it goes: catalog/includes/application_top.php line 1 - 75 <?php /* $Id: application_top.php 1833 2008-01-30 22:03:30Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2008 osCommerce Released under the GNU General Public License */ // start the timer for the page parse time log define('PAGE_PARSE_START_TIME', microtime()); // set the level of error reporting error_reporting(E_ALL & ~E_STRICT); // check support for register_globals if (function_exists('ini_get') && (ini_get('register_globals') == false) && (PHP_VERSION < 4.3) ) { exit('Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. Please use PHP 4.3+ if register_globals cannot be enabled on the server.'); } // Set the local configuration parameters - mainly for developers if (file_exists('includes/local/configure.php')) include('includes/local/configure.php'); // include server parameters require('includes/configure.php'); if (strlen(DB_SERVER) < 1) { if (is_dir('install')) { header('Location: install/index.php'); } } // define the project version define('PROJECT_VERSION', 'osCommerce Online Merchant v2.2 RC2a'); // some code to solve compatibility issues require(DIR_WS_FUNCTIONS . 'compatibility.php'); // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; // set php_self in the local scope if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; if ($request_type == 'NONSSL') { define('DIR_WS_CATALOG', DIR_WS_HTTP_CATALOG); } else { define('DIR_WS_CATALOG', DIR_WS_HTTPS_CATALOG); } // include the list of project filenames require(DIR_WS_INCLUDES . 'filenames.php'); // include the list of project database tables require(DIR_WS_INCLUDES . 'database_tables.php'); // customization for the design layout define('BOX_WIDTH', 145); // how wide the boxes should be in pixels (default: 125) // include the database functions require(DIR_WS_FUNCTIONS . 'database.php'); // make a connection to the database... now tep_db_connect() or die('Unable to connect to database server!'); // set the application parameters $configuration_query = tep_db_query('select configuration_key as cfgKey, configuration_value as cfgValue from ' . TABLE_CONFIGURATION); while ($configuration = tep_db_fetch_array($configuration_query)) { define($configuration['cfgKey'], $configuration['cfgValue']); } // if gzip_compression is enabled, start to buffer the output Notice: Constant HEADER_TAGS_AUTO_ADD_PAGES already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_CHECK_TAGS already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_DISPLAY_COLUMN_BOX already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_DISPLAY_HELP_POPUPS already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_DIABLE_PERMISSION_WARNING already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_KEYWORD_DENSITY_RANGE already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_SEPARATOR_DESCRIPTION already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Notice: Constant HEADER_TAGS_SEPARATOR_KEYWORD already defined in /home/123/public_html/shop/includes/application_top.php on line 72 Warning: Cannot modify header information - headers already sent by (output started at /home/123/public_html/shop/includes/application_top.php:72) in /home/pgprojec/public_html/shop/includes/functions/general.php on line 1236 catalog/includes/functions/general.php Line 1235-1237 function tep_setcookie($name, $value = '', $expire = 0, $path = '/', $domain = '', $secure = 0) { setcookie($name, $value, $expire, $path, (tep_not_null($domain) ? $domain : ''), $secure); } Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pgprojec/public_html/shop/includes/application_top.php:72) in /home/123/public_html/shop/includes/functions/sessions.php on line 102 Notice: Use of undefined constant pages_html_text - assumed 'pages_html_text' in /home/123/public_html/shop/index.php on line 16 catalog/index.php line 1-17 <?php /* $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); ################# $page_query = tep_db_query("select p.pages_id, p.sort_order, p.status, s.pages_title, s.pages_html_text from " . TABLE_PAGES . " p LEFT JOIN " .TABLE_PAGES_DESCRIPTION . " s on p.pages_id = s.pages_id where p.status = 1 and s.language_id = '" . (int)$languages_id . "' and p.page_type = 1"); $page_check = tep_db_fetch_array($page_query); $pagetext=stripslashes($page_check[pages_html_text]); ##################### Notice: Undefined index: manufacturers_id in /home/123/public_html/shop/includes/header_tags.php on line 38 Notice: Undefined index: sortorder_root_1 in /home/123/public_html/shop/includes/header_tags.php on line 46 Notice: Undefined index: sortorder_root_2 in /home/123/public_html/shop/includes/header_tags.php on line 47 Notice: Undefined index: sortorder_root_3 in /home/123/public_html/shop/includes/header_tags.php on line 48 Notice: Undefined index: sortorder_root_4 in /home/123/public_html/shop/includes/header_tags.php on line 49 catalog/includes/header_tags.php file <?php /* $Id: header_tags_seo.php,v 3.0 2008/01/10 by Jack_mcs osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Portions Copyright 2009 oscommerce-solution.com Released under the GNU General Public License */ require_once(DIR_WS_FUNCTIONS . 'header_tags.php'); require_once(DIR_WS_FUNCTIONS . 'clean_html_comments.php'); // Clean out HTML comments from ALT tags etc. $canonical_url = ''; $header_tags_array = array(); $sortOrder = array(); $tmpTags = array(); $defaultTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS_DEFAULT . " where language_id = '" . (int)$languages_id . "'"); $defaultTags = tep_db_fetch_array($defaultTags_query); $tmpTags['def_title'] = (tep_not_null($defaultTags['default_title'])) ? $defaultTags['default_title'] : ''; $tmpTags['def_desc'] = (tep_not_null($defaultTags['default_description'])) ? $defaultTags['default_description'] : ''; $tmpTags['def_keywords'] = (tep_not_null($defaultTags['default_keywords'])) ? $defaultTags['default_keywords'] : ''; $tmpTags['def_logo_text'] = (tep_not_null($defaultTags['default_logo_text'])) ? $defaultTags['default_logo_text'] : ''; // Define specific settings per page: switch (true) { // INDEX.PHP case (basename($_SERVER['PHP_SELF']) === FILENAME_DEFAULT): $pageTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS . " where page_name like '" . FILENAME_DEFAULT . "' and language_id = '" . (int)$languages_id . "'"); $pageTags = tep_db_fetch_array($pageTags_query); $catStr = "select categories_htc_title_tag as htc_title_tag, categories_htc_desc_tag as htc_desc_tag, categories_htc_keywords_tag as htc_keywords_tag from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' and language_id = '" . (int)$languages_id . "'"; $manStr = "select mi.manufacturers_htc_title_tag as htc_title_tag, mi.manufacturers_htc_desc_tag as htc_desc_tag, mi.manufacturers_htc_keywords_tag as htc_keywords_tag from " . TABLE_MANUFACTURERS . " m LEFT JOIN " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where m.manufacturers_id = '" . (int)$_GET['manufacturers_id'] . "' and mi.languages_id = '" . (int)$languages_id . "'"; if ($pageTags['append_root'] || $category_depth == 'top' && ! isset($_GET['manufacturers_id']) ) { $sortOrder['title'][$pageTags['sortorder_root']] = $pageTags['page_title']; $sortOrder['description'][$pageTags['sortorder_root']] = $pageTags['page_description']; $sortOrder['keywords'][$pageTags['sortorder_root']] = $pageTags['page_keywords']; $sortOrder['logo'][$pageTags['sortorder_root']] = $pageTags['page_logo']; $sortOrder['logo_1'][$pageTags['sortorder_root_1']] = $pageTags['page_logo_1']; $sortOrder['logo_2'][$pageTags['sortorder_root_2']] = $pageTags['page_logo_2']; $sortOrder['logo_3'][$pageTags['sortorder_root_3']] = $pageTags['page_logo_3']; $sortOrder['logo_4'][$pageTags['sortorder_root_4']] = $pageTags['page_logo_4']; } $sortOrder = GetCategoryAndManufacturer($sortOrder, $pageTags, $defaultTags, $catStr, $manStr); if ($pageTags['append_default_title'] && tep_not_null($tmpTags['def_title'])) $sortOrder['title'][$pageTags['sortorder_title']] = $tmpTags['def_title']; if ($pageTags['append_default_description'] && tep_not_null($tmpTags['def_desc'])) $sortOrder['description'][$pageTags['sortorder_description']] = $tmpTags['def_desc']; if ($pageTags['append_default_keywords'] && tep_not_null($tmpTags['def_keywords'])) $sortOrder['keywords'][$pageTags['sortorder_keywords']] = $tmpTags['def_keywords']; if ($pageTags['append_default_logo'] && tep_not_null($tmpTags['def_logo_text'])) $sortOrder['logo'][$pageTags['sortorder_logo']] = $tmpTags['def_logo_text']; FillHeaderTagsArray($header_tags_array, $sortOrder); // Canonical URL add-on if (tep_not_null($cPath)) $canonical_url = tep_href_link(FILENAME_DEFAULT, 'cPath='.$cPath); break; // PRODUCT_INFO.PHP // PRODUCT_REVIEWS.PHP // PRODUCT_REVIEWS_INFO.PHP // PRODUCT_REVIEWS_WRITE.PHP case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_INFO): case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS): case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_INFO): case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_WRITE): switch (true) { case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_INFO): $filename = FILENAME_PRODUCT_INFO; break; case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS): $filename = FILENAME_PRODUCT_REVIEWS; break; case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_INFO): $filename = FILENAME_PRODUCT_REVIEWS_INFO; break; case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCT_REVIEWS_WRITE): $filename = FILENAME_PRODUCT_REVIEWS_WRITE; break; default: $filename = FILENAME_PRODUCT_INFO; } $pageTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS . " where page_name like '" . $filename . "' and language_id = '" . (int)$languages_id . "'"); $pageTags = tep_db_fetch_array($pageTags_query); $the_product_info_query = tep_db_query("select p.products_id, pd.products_head_title_tag, pd.products_head_keywords_tag, pd.products_head_desc_tag, p.manufacturers_id from " . TABLE_PRODUCTS . " p left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id where p.products_id = '" . (int)$_GET['products_id'] . "' and pd.language_id ='" . $languages_id . "'"); $the_product_info = tep_db_fetch_array($the_product_info_query); $header_tags_array['product'] = $the_product_info['products_head_title_tag']; //save for use on the logo $tmpTags['prod_title'] = (tep_not_null($the_product_info['products_head_title_tag'])) ? $the_product_info['products_head_title_tag'] : ''; $tmpTags['prod_desc'] = (tep_not_null($the_product_info['products_head_desc_tag'])) ? $the_product_info['products_head_desc_tag'] : ''; $tmpTags['prod_keywords'] = (tep_not_null($the_product_info['products_head_keywords_tag'])) ? $the_product_info['products_head_keywords_tag'] : ''; $catStr = "select c.categories_htc_title_tag as htc_title_tag, c.categories_htc_desc_tag as htc_desc_tag, c.categories_htc_keywords_tag as htc_keywords_tag from " . TABLE_CATEGORIES_DESCRIPTION . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where c.categories_id = p2c.categories_id and p2c.products_id = '" . (int)$the_product_info['products_id'] . "' and language_id = '" . (int)$languages_id . "'"; $manStr = "select mi.manufacturers_htc_title_tag as htc_title_tag, mi.manufacturers_htc_desc_tag as htc_desc_tag, mi.manufacturers_htc_keywords_tag as htc_keywords_tag from " . TABLE_MANUFACTURERS . " m LEFT JOIN " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where m.manufacturers_id = '" . (int)$the_product_info['manufacturers_id'] . "' and mi.languages_id = '" . (int)$languages_id . "' LIMIT 1"; if ($pageTags['append_root']) { $sortOrder['title'][$pageTags['sortorder_root']] = $pageTags['page_title']; $sortOrder['description'][$pageTags['sortorder_root']] = $pageTags['page_description']; $sortOrder['keywords'][$pageTags['sortorder_root']] = $pageTags['page_keywords']; $sortOrder['logo'][$pageTags['sortorder_root']] = $pageTags['page_logo']; $sortOrder['logo_1'][$pageTags['sortorder_root_1']] = $pageTags['page_logo_1']; $sortOrder['logo_2'][$pageTags['sortorder_root_2']] = $pageTags['page_logo_2']; $sortOrder['logo_3'][$pageTags['sortorder_root_3']] = $pageTags['page_logo_3']; $sortOrder['logo_4'][$pageTags['sortorder_root_4']] = $pageTags['page_logo_4']; } if ($pageTags['append_product']) { $sortOrder['title'][$pageTags['sortorder_product']] = $tmpTags['prod_title']; //places the product title at the end of the list $sortOrder['description'][$pageTags['sortorder_product']] = $tmpTags['prod_desc']; $sortOrder['keywords'][$pageTags['sortorder_product']] = $tmpTags['prod_keywords']; $sortOrder['logo'][$pageTags['sortorder_product']] = $tmpTags['prod_title']; } $sortOrder = GetCategoryAndManufacturer($sortOrder, $pageTags, $defaultTags, $catStr, $manStr, true); if ($pageTags['append_default_title'] && tep_not_null($tmpTags['def_title'])) $sortOrder['title'][$pageTags['sortorder_title']] = $tmpTags['def_title']; if ($pageTags['append_default_description'] && tep_not_null($tmpTags['def_desc'])) $sortOrder['description'][$pageTags['sortorder_description']] = $tmpTags['def_desc']; if ($pageTags['append_default_keywords'] && tep_not_null($tmpTags['def_keywords'])) $sortOrder['keywords'][$pageTags['sortorder_keywords']] = $tmpTags['def_keywords']; if ($pageTags['append_default_logo'] && tep_not_null($tmpTags['def_logo_text'])) $sortOrder['logo'][$pageTags['sortorder_logo']] = $tmpTags['def_logo_text']; FillHeaderTagsArray($header_tags_array, $sortOrder); // Canonical URL add-on if ($_GET['products_id'] != '') { $canonical_url = tep_href_link(basename($_SERVER['PHP_SELF']), 'products_id='.(int)$_GET['products_id']); } break; // SPECIALS.PHP case (basename($_SERVER['PHP_SELF']) === FILENAME_SPECIALS): $pageTags_query = tep_db_query("select * from " . TABLE_HEADERTAGS . " where page_name like '" . FILENAME_SPECIALS . "' and language_id = '" . (int)$languages_id . "'"); $pageTags = tep_db_fetch_array($pageTags_query); // Build a list of ALL specials product names to put in keywords $new = tep_db_query("select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_SPECIALS . " s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and s.status = '1' order by s.specials_date_added DESC "); $row = 0; $the_specials=''; while ($new_values = tep_db_fetch_array($new)) { $the_specials .= clean_html_comments($new_values['products_name']) . ', '; } if (strlen($the_specials) > 30000) //arbitrary number - may vary with server setting $the_specials = substr($the_specials, 0, 30000); //adjust as needed if ($pageTags['append_root']) { $sortOrder['title'][$pageTags['sortorder_root']] = $pageTags['page_title']; $sortOrder['description'][$pageTags['sortorder_root']] = $pageTags['page_description']; $sortOrder['keywords'][$pageTags['sortorder_root']] = $pageTags['page_keywords']; $sortOrder['logo'][$pageTags['sortorder_root']] = $pageTags['page_logo']; $sortOrder['logo_1'][$pageTags['sortorder_root']] = $pageTags['page_logo_1']; $sortOrder['logo_2'][$pageTags['sortorder_root']] = $pageTags['page_logo_2']; $sortOrder['logo_3'][$pageTags['sortorder_root']] = $pageTags['page_logo_3']; $sortOrder['logo_4'][$pageTags['sortorder_root']] = $pageTags['page_logo_4']; } $sortOrder['keywords'][10] = $the_specials;; if ($pageTags['append_default_title'] && tep_not_null($tmpTags['def_title'])) $sortOrder['title'][$pageTags['sortorder_title']] = $tmpTags['def_title']; if ($pageTags['append_default_description'] && tep_not_null($tmpTags['def_desc'])) $sortOrder['description'][$pageTags['sortorder_description']] = $tmpTags['def_desc']; if ($pageTags['append_default_keywords'] && tep_not_null($tmpTags['def_keywords'])) $sortOrder['keywords'][$pageTags['sortorder_keywords']] = $tmpTags['def_keywords']; if ($pageTags['append_default_logo'] && tep_not_null($tmpTags['def_logo_text'])) $sortOrder['logo'][$pageTags['sortorder_logo']] = $tmpTags['def_logo_text']; FillHeaderTagsArray($header_tags_array, $sortOrder); break; // contact_us.php case (basename($_SERVER['PHP_SELF']) === FILENAME_CONTACT_US): $header_tags_array = tep_header_tag_page(FILENAME_CONTACT_US); break; // create_xml_sitemaps.php case (basename($_SERVER['PHP_SELF']) === FILENAME_CREATE_XML_SITEMAPS): $header_tags_array = tep_header_tag_page(FILENAME_CREATE_XML_SITEMAPS); break; // dynamic_sitemap.php case (basename($_SERVER['PHP_SELF']) === FILENAME_DYNAMIC_SITEMAP): $header_tags_array = tep_header_tag_page(FILENAME_DYNAMIC_SITEMAP); break; // extra_info_pages.php case (basename($_SERVER['PHP_SELF']) === FILENAME_PAGES): $header_tags_array = tep_header_tag_page(FILENAME_PAGES); break; // faq.php case (basename($_SERVER['PHP_SELF']) === FILENAME_FAQ): $header_tags_array = tep_header_tag_page(FILENAME_FAQ); break; // info_shopping_cart.php case (basename($_SERVER['PHP_SELF']) === FILENAME_INFO_SHOPPING_CART): $header_tags_array = tep_header_tag_page(FILENAME_INFO_SHOPPING_CART); break; // privacy.php case (basename($_SERVER['PHP_SELF']) === FILENAME_PRIVACY): $header_tags_array = tep_header_tag_page(FILENAME_PRIVACY); break; // products_new.php case (basename($_SERVER['PHP_SELF']) === FILENAME_PRODUCTS_NEW): $header_tags_array = tep_header_tag_page(FILENAME_PRODUCTS_NEW); break; // reviews.php case (basename($_SERVER['PHP_SELF']) === FILENAME_REVIEWS): $header_tags_array = tep_header_tag_page(FILENAME_REVIEWS); break; // shipping.php case (basename($_SERVER['PHP_SELF']) === FILENAME_SHIPPING): $header_tags_array = tep_header_tag_page(FILENAME_SHIPPING); break; // banking.php case (basename($_SERVER['PHP_SELF']) === FILENAME_BANKING): $header_tags_array = tep_header_tag_page(FILENAME_BANKING); break; // alarm.php case (basename($_SERVER['PHP_SELF']) === FILENAME_WTO): $header_tags_array = tep_header_tag_page(FILENAME_WTO); break; // links_submit.php case (basename($_SERVER['PHP_SELF']) === FILENAME_LINKS_SUBMIT): $header_tags_array = tep_header_tag_page(FILENAME_LINKS_SUBMIT); break; // links.php case (basename($_SERVER['PHP_SELF']) === FILENAME_LINKS): $header_tags_array = tep_header_tag_page(FILENAME_LINKS); break; // advanced_search_google.php case (basename($_SERVER['PHP_SELF']) === FILENAME_ADVANCED_SEARCH_GOOGLE): $header_tags_array = tep_header_tag_page(FILENAME_ADVANCED_SEARCH_GOOGLE); break; // builder_product_info.php case (basename($_SERVER['PHP_SELF']) === FILENAME_BUILDER_PRODUCT_INFO): $header_tags_array = tep_header_tag_page(FILENAME_BUILDER_PRODUCT_INFO); break; // ALL OTHER PAGES NOT DEFINED ABOVE default: $header_tags_array['title'] = tep_db_prepare_input($defaultTags['default_title']); $header_tags_array['desc'] = tep_db_prepare_input($defaultTags['default_description']); $header_tags_array['keywords'] = tep_db_prepare_input($defaultTags['default_keywords']); break; } echo ' <title>' . $header_tags_array['title'] . '</title>' . "\n"; echo ' <meta name="Description" content="' . $header_tags_array['desc'] . '" >' . "\n"; echo strtolower(' <meta name="Keywords" content="' . $header_tags_array['keywords'] . '" >' . "\n"); if ($defaultTags['meta_google']) echo ' <meta name="googlebot" content="all" >' . "\n"; if ($defaultTags['meta_language']) { $langName = explode(",", $_SERVER["HTTP_ACCEPT_LANGUAGE"]); echo ' <meta http-equiv="Content-Language" content="' . $langName[0] . '" >'."\n"; } if ($defaultTags['meta_noodp']) echo ' <meta name="robots" content="noodp" >' . "\n"; if ($defaultTags['meta_noydir']) echo ' <meta name="slurp" content="noydir" >' . "\n"; if ($defaultTags['meta_revisit']) echo ' <meta name="revisit-after" content="1 days" >' . "\n"; if ($defaultTags['meta_robots']) echo ' <meta name="robots" content="index, follow" >' . "\n"; if ($defaultTags['meta_unspam']) echo ' <meta name="no-email-collection" value="' . HTTP_SERVER . '" >' . "\n"; if ($defaultTags['meta_replyto']) echo ' <meta name="Reply-to" content="' . STORE_OWNER_EMAIL_ADDRESS . '">' . "\n"; if (tep_not_null($canonical_url)) echo ' <link rel="canonical" href="'.$canonical_url.'" >'. "\n"; else if ($defaultTags['meta_canonical']) echo ' <link rel="canonical" href="'.GetCanonicalURL().'" >'. "\n"; echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '" >'."\n"; echo '<!-- EOF: Header Tags SEO Generated Meta Tags -->' . "\n"; CanonicalLink( $xhtml = false, 'NONSSL' ); ?> And Notice: Use of undefined constant NONSSL - assumed 'NONSSL' in /home/pgprojec/public_html/shop/includes/boxes/links.php on line 15 if ($request_type == NONSSL && tep_db_num_rows($link_featured_query) > 0) { And Lastly - no worry's yet >_< : Notice: Use of undefined constant cpb_product_builder_name - assumed 'cpb_product_builder_name' in /home/pgprojec/public_html/shop/includes/boxes/builder.php on line 46 Line 1-16 'text' => "<center><a href=" . tep_href_link(FILENAME_BUILDER) . " border=0> " . tep_image(DIR_WS_IMAGES . $builder['cpb_product_builder_image'] , $builder[cpb_product_builder_name], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . "<br>" . $builder['cpb_product_builder_name'] . "</a>"); Thanks for going through all this code, it's much appreciated :) Getting the Phoenix off the ground Link to comment Share on other sites More sharing options...
MrPhil Posted March 16, 2010 Share Posted March 16, 2010 Your "configuration" table appears to have multiple entries for HEADER_TAGS_AUTO_ADD_PAGES etc. Did you install an add-on twice? You will have to go into phpMyAdmin and remove the duplicate entries. If you did install (fully or partially) an add-on twice, or failed to completely remove an add-on, there may be other errors awaiting you. Don't sweat the "headers already sent" errors. They are a consequence of earlier error messages being sent to the browser, and should disappear when the other errors are cleared up. Read http://www.oscommerce.com/forums/topic/350012-error-in-all-page-submits/page__gopid__1467801entry1467801 . "Undefined index" usually means that an add-on was incompletely installed, or was incompletely removed after installation. Unfortunately that usually means a lot of digging, or revert to a clean (no add-ons) install code base and re-install your add-ons, paying careful attention to error messages. NONSSL should be in quotes -- it's a string, not a defined name. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.