Falsche Pfade in print_order.php ?

  • Hallo,


    offensichtlich sind in print_order.php falsche Pfade hinterlegt:


    Warning: include(/.../htdocs/hhg/lang/german/modules/payment/invoice.php) [function.include]: failed to open stream: No such file or directory in /.../htdocs/hhg/admin/print_order.php on line 102


    Warning: include() [function.include]: Failed opening '/.../htdocs/hhg/lang/german/modules/payment/invoice.php' for inclusion


    Den Pfad /lang/.. existiert bei meiner frischen Installation gar nicht.


    Oder kommen die Pfade auch aus der DB?



    Liebe Gruesse aus Kassel,


    kywalda

  • /lang/ Verzeichnis ist nichtmehr im Hauptverzeichnis wie bei xt:C sondern im store_files Ordner, da man pro Store entsprechende Sprachänderungen durchführen kann, ich lass es mal checken.

  • Hallo, hab das mit der Version 2006 ebenfalls:


    print_order.php:


    Warning: include(PFAD\www/lang/german/modules/payment/cash.php) [function.include]: failed to open stream: No such file or directory in PFAD\www\admin\print_order.php on line 102


    Warning: include() [function.include]: Failed opening 'PFAD\www/lang/german/modules/payment/cash.php' for inclusion (include_path='.;C:\php5\pear') in PFAD\www\admin\print_order.php on line 102


    Warning: constant() [function.constant]: Couldn't find constant MODULE_PAYMENT_CASH_TEXT_TITLE in PFAD\www\admin\print_order.php on line 103


    print_packingslip.php:


    Warning: include(PFAD\www/lang/german/modules/payment/cash.php) [function.include]: failed to open stream: No such file or directory in PFAD\www\admin\print_packingslip.php on line 85


    Warning: include() [function.include]: Failed opening PFAD\www/lang/german/modules/payment/cash.php' for inclusion (include_path='.;C:\php5\pear') in PFAD\www\admin\print_packingslip.php on line 85


    Warning: constant() [function.constant]: Couldn't find constant MODULE_PAYMENT_CASH_TEXT_TITLE in PFAD\www\admin\print_packingslip.php on line 86


    :(

  • Müssen wir checken.

  • selbst gelöst :D


    datei admin/print_order.php zeile 102 wiefolgt anpassen ->


    von


    PHP
    1. include (DIR_FS_CATALOG . 'lang/' . $_SESSION['language'] . '/modules
    2. /payment/' . $order->info['payment_method'] . '.php');


    nach



    PHP
    1. include (DIR_FS_LANGUAGES . $order->info['language'] . '/modules/payment/' .
    2. $order->info['payment_method'] . '.php');
  • Danke temoc25 =)


  • und das ganze muss man auch bei print_packingslip.php zeile 85 auch ändern auf:

    PHP
    1. include (DIR_FS_LANGUAGES . $order->info['language'] . '/modules/payment/' . $order->info['payment_method'] . '.php');