heli-online.com Posted August 16, 2011 Report Share Posted August 16, 2011 Hallo Zusammen, habe das Trusted Shop Modul installiert. Nun bekomme ich beim Aufruf bzw. Weiterleitung von der "checkout_shipping.php" auf die "checkout_payment.php" eine weisse Seite mit dem Fehler: Warning: Cannot modify header information - headers already sent by (output started at /var/www/ph15s574/html/includes/classes/boxes.php:74) in /var/www/ph15s574/html/inc/xtc_redirect.inc.php on line 29 Mit der Datei "boxes_shop_original.php" funktioniert der Shop. <?php /* ----------------------------------------------------------------------------------------- $Id: boxes.php 1298 2005-10-09 13:14:44Z mz $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright (c) 2003 XT-Commerce ----------------------------------------------------------------------------------------- Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ define('DIR_WS_BOXES',DIR_FS_CATALOG .'templates/'.CURRENT_TEMPLATE. '/source/boxes/'); include(DIR_WS_BOXES . 'categories.php'); include(DIR_WS_BOXES . 'manufacturers.php'); if ($_SESSION['customers_status']['customers_status_show_price']!='0') { require(DIR_WS_BOXES . 'add_a_quickie.php'); } require(DIR_WS_BOXES . 'last_viewed.php'); if (substr(basename($PHP_SELF), 0,8) != 'advanced') {require(DIR_WS_BOXES . 'whats_new.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'content.php'); require(DIR_WS_BOXES . 'information.php'); require(DIR_WS_BOXES . 'payment.php'); require(DIR_WS_BOXES . 'clubaccount.php'); require(DIR_WS_BOXES . 'santander.php'); include(DIR_WS_BOXES . 'languages.php'); if ($_SESSION['customers_status']['customers_status_id'] == 0) include(DIR_WS_BOXES . 'admin.php'); require(DIR_WS_BOXES . 'infobox.php'); require(DIR_WS_BOXES . 'loginbox.php'); include(DIR_WS_BOXES . 'newsletter.php'); if ($_SESSION['customers_status']['customers_status_show_price'] == 1) include(DIR_WS_BOXES . 'shopping_cart.php'); if ($product->isProduct()) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (isset($_SESSION['customer_id'])) include(DIR_WS_BOXES . 'order_history.php'); if (!$product->isProduct()) { include(DIR_WS_BOXES . 'best_sellers.php'); } if (!$product->isProduct()) { include(DIR_WS_BOXES . 'specials.php'); } if ($_SESSION['customers_status']['customers_status_read_reviews'] == 1) require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'currencies.php'); } $smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/'); ?>[/PHP] Mit der Datei "boxe_shop_trusted.php" bekomme ich die obige Fehlermeldung: [PHP]<?php /* ----------------------------------------------------------------------------------------- $Id: boxes.php 1298 2005-10-09 13:14:44Z mz $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright (c) 2003 XT-Commerce ----------------------------------------------------------------------------------------- Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ define('DIR_WS_BOXES',DIR_FS_CATALOG .'templates/'.CURRENT_TEMPLATE. '/source/boxes/'); include(DIR_WS_BOXES . 'categories.php'); include(DIR_WS_BOXES . 'manufacturers.php'); if ($_SESSION['customers_status']['customers_status_show_price']!='0') { require(DIR_WS_BOXES . 'add_a_quickie.php'); } require(DIR_WS_BOXES . 'last_viewed.php'); if (substr(basename($PHP_SELF), 0,8) != 'advanced') {require(DIR_WS_BOXES . 'whats_new.php'); } require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'content.php'); require(DIR_WS_BOXES . 'information.php'); require(DIR_WS_BOXES . 'payment.php'); require(DIR_WS_BOXES . 'clubaccount.php'); require(DIR_WS_BOXES . 'santander.php'); include(DIR_WS_BOXES . 'languages.php'); if ($_SESSION['customers_status']['customers_status_id'] == 0) include(DIR_WS_BOXES . 'admin.php'); require(DIR_WS_BOXES . 'infobox.php'); require(DIR_WS_BOXES . 'loginbox.php'); include(DIR_WS_BOXES . 'newsletter.php'); if ($_SESSION['customers_status']['customers_status_show_price'] == 1) include(DIR_WS_BOXES . 'shopping_cart.php'); if ($product->isProduct()) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (isset($_SESSION['customer_id'])) include(DIR_WS_BOXES . 'order_history.php'); if (!$product->isProduct()) { include(DIR_WS_BOXES . 'best_sellers.php'); } if (!$product->isProduct()) { include(DIR_WS_BOXES . 'specials.php'); } if ($_SESSION['customers_status']['customers_status_read_reviews'] == 1) require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'currencies.php'); } if (TS_SHOW_RATING_WIDGET) { require(DIR_WS_BOXES . 'ts_rating_widget.php'); } if (TS_SHOW_RATING_BUTTON) { require(DIR_WS_BOXES . 'ts_rating_button.php'); } $smarty->assign('tpl_path','templates/'.CURRENT_TEMPLATE.'/'); ?>[/PHP] [b]if (TS_SHOW_RATING_WIDGET) { require(DIR_WS_BOXES . 'ts_rating_widget.php'); } if (TS_SHOW_RATING_BUTTON) { require(DIR_WS_BOXES . 'ts_rating_button.php'); }[/b] ist die Integration des Trusted Shop Moduls... Vom Support des Trusted Shop habe ich leider nur eine Rückmeldung bekommen, mit der ich nicht weiterkomme :-( "[i]der Fehler tritt in includes/classes/boxes.php:74 auf, also vermutlich ein Problem beim Aufruf 'echo $tableBox_string;'. Möglicherweise fragen Sie zunächst beim Hersteller des XT Templates an, woher die Inkompatibilitäten der Funktionen stammen könnten?[/i]" Bitte um Hilfe, da sonst alles funktioniert, also die Bewertungen an sich usw. Momentan läuft der Shop mit der Datei "boxes_shop_original.php". Das bedeutet, das Modul funktioniert weiterhin, da in der E-Mail eine Bewertungsmöglichkeit erscheint. Nur die Box mit dem Modul ist nicht sichtbar und die Kunden gelangen wieder von der "checkout_shipping.php" auf die "checkout_payment.php" Vielen Dank! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.