#1 (permalink)  
Alt 14.11.2006, 22:33
Benutzer
 
Registriert seit: 06.10.2004
Beiträge: 31
Standard Fehlermeldung in My Shop

Warning: constant(): Couldn't find constant ALLOW_CATEGORY_DESCRIPTIONS_TITLE in /var/www/vhosts/megamusicshop.com/httpdocs/html/xtcommerce3/admin/configuration.php on line 174

Warning: constant(): Couldn't find constant ALLOW_CATEGORY_DESCRIPTIONS_DESC in /var/www/vhosts/megamusicshop.com/httpdocs/html/xtcommerce3/admin/configuration.php on line 181

Kann mir einer sagen woran das liegt ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 18.11.2006, 20:47
Benutzerbild von KingKay
Erfahrener Benutzer
 
Registriert seit: 12.10.2004
Ort: Haag in Oberbayern
Beiträge: 302
Standard Seit Template Installation Fehlermeldung

Ich habe die Fehlermeldung auch seitdem ich ein Template installiert habe. Nur weiss ich nicht ob es am Template liegt. Es ist ein Template von xtc-layouts. Was hast du getan bevor der Fehler auftrat und hast du es behoben?

Hier dick gedruckt sind die entsprechenden Zeilen 174 und 181 im PHP Code:

Code:
                //move multi_categories
                if (is_array($_POST['multi_categories']) && xtc_not_null($_POST['move_to_category_id'])) {
                    foreach ($_POST['multi_categories'] AS $category_id) {
                        $dest_category_id = xtc_db_prepare_input($_POST['move_to_category_id']);
                        if ($category_id != $dest_category_id) {
                            $catfunc->move_category($category_id, $dest_category_id);
                        }
                    }
                }
                //move multi_products
                if (is_array($_POST['multi_products']) && xtc_not_null($_POST['move_to_category_id']) && xtc_not_null($_POST['src_category_id'])) {
                    foreach ($_POST['multi_products'] AS $product_id) {
                        $product_id = xtc_db_prepare_input($product_id);
                        $src_category_id = xtc_db_prepare_input($_POST['src_category_id']);
                        $dest_category_id = xtc_db_prepare_input($_POST['move_to_category_id']);
                        $catfunc->move_product($product_id, $src_category_id, $dest_category_id);
                    }
                }

BR
Kay

Geändert von KingKay (18.11.2006 um 21:02 Uhr)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 18.11.2006, 21:21
xt:Commerce Support Kunde
 
Registriert seit: 13.10.2006
Beiträge: 697
Standard

Du hast da wohl die falsche Datei offen. Die Zeilen 174 und 181 in admin/configuration.php lauten:
PHP-Code:
    <td width="300" valign="top" class="dataTableContent"><b>'.@constant(strtoupper($configuration['configuration_key'].'_TITLE')).'</b></td>
[...]
    <
br />'.@constant(strtoupper( $configuration['configuration_key'].'_DESC')).'</td
In deinen beiden Zeilen kommen die bemängelten Konstanten gar nicht vor.

Offensichtlich fehlen dir in lang/[SPRACHE]/admin/configuration.php die zwei Einträge. Die scheint nämlich das Template zu benötigen bzw. zu ergänzen, für die Standardinstallation sind sie nicht nötig.

Matt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
fehlermeldung, shop

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus



Alle Zeitangaben in WEZ +1. Es ist jetzt 11:00 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand