Jump to content
xt:Commerce Community Forum

Cannot redeclare xtc_image()


rsno

Recommended Posts

Bekomme nach der Grundinstallation folgenden Fehler:

Fatal error: Cannot redeclare xtc_image() (previously declared in \\boswinfs04\home\users\web\b2756\ywh.myhost\myhost\shop\inc\xtc_image.inc.php:21) in \\boswinfs04\home\users\web\b2756\ywh.myhost\shop\inc\xtc_image.inc.php on line 59

Meine config.php sieht so aus:

define('HTTP_SERVER', 'http://www.myhost.at'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.myhost.at'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('DIR_WS_CATALOG', '/shop/'); // absolute path required

define('DIR_FS_DOCUMENT_ROOT', '//boswinfs04/home/users/web/b2756/ywh.myhost//myhost/shop/');

define('DIR_FS_CATALOG', '//boswinfs04/home/users/web/b2756/ywh.myhost//myhost/shop/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ORIGINAL_IMAGES', DIR_WS_IMAGES .'product_images/original_images/');

define('DIR_WS_THUMBNAIL_IMAGES', DIR_WS_IMAGES .'product_images/thumbnail_images/');

define('DIR_WS_INFO_IMAGES', DIR_WS_IMAGES .'product_images/info_images/');

define('DIR_WS_POPUP_IMAGES', DIR_WS_IMAGES .'product_images/popup_images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES',DIR_FS_DOCUMENT_ROOT. 'includes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_FS_CATALOG . 'lang/');

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/');

Irgendwelche Ideen?

Den Tip mit

require_once(DIR_FS_INC.'xtc_output_warning.inc.php');

require_once(DIR_FS_INC.'xtc_image.inc.php');

require_once(DIR_FS_INC.'xtc_parse_input_field_data.inc.php');

require_once(DIR_FS_INC.'xtc_draw_separator.inc.php');

hab ich schon ausprobiert - leider kein Erfolg

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...