Paule1271 Posted April 7, 2005 Report Share Posted April 7, 2005 Also ich habe die Installationsanweisungen befolgt. Bei mir auf dem Localhost funktioniert der Shop auch einwandfrei. Nachdem ich ihn auf den Server geladen habe und die .htaccess f?r Strato konfiguriert habe, l?sst sich der Shop nicht ?ffnen. Es erscheint dann immer nur folgender Text: <?php /* ----------------------------------------------------------------------------------------- $Id: index.php,v 1.19 2004/04/25 16:30:44 fanta2k Exp $ XT-Commerce - community made shopping http://www.xt-commerce.com Copyright © 2003 XT-Commerce ----------------------------------------------------------------------------------------- based on: © 2000-2001 The Exchange Project (earlier name of osCommerce) © 2002-2003 osCommerce(default.php,v 1.84 2003/05/07); www.oscommerce.com © 2003 nextcommerce (default.php,v 1.13 2003/08/17); www.nextcommerce.org Released under the GNU General Public License ----------------------------------------------------------------------------------------- Third Party contributions: Enable_Disable_Categories 1.3 Autor: Mikel Williams | [email protected] Customers Status v3.x © 2002-2003 Copyright Elari [email protected] | www.unlockgsm.com/dload-osc/ | CVS : http://cvs.sourceforge.net/cgi-bin/viewcvs...by=date#dirlist Released under the GNU General Public License ---------------------------------------------------------------------------------------*/ include( 'includes/application_top.php'); // create smarty elements $smarty = new Smarty; // include boxes require(DIR_FS_CATALOG .'templates/'.CURRENT_TEMPLATE. '/source/boxes.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && xtc_not_null($cPath)) { $categories_products_query = xtc_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . $current_category_id . "'"); $cateqories_products = xtc_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = xtc_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . $current_category_id . "'"); $category_parent = xtc_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_INCLUDES . 'header.php'); include (DIR_WS_MODULES . 'default.php'); $smarty->assign('language', $_SESSION['language']); $smarty->caching = 0; if (!defined(RM)) $smarty->load_filter('output', 'note'); $smarty->display(CURRENT_TEMPLATE . '/index.html'); ?> Was ist da falsch gelaufen? Link to comment Share on other sites More sharing options...
smedder Posted April 7, 2005 Report Share Posted April 7, 2005 Sicher, dass du PHP-Unterst?tzung bei deinem Webspacepaket mit drin hast? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.