Ankündigung

Einklappen
Keine Ankündigung bisher.

Absoluter Zen Cart Neuling mit weisser Seite

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Absoluter Zen Cart Neuling mit weisser Seite

    Hallo Forum, bin der neue hier,
    und auf der Suche bei der Suche nach einer Shopsoftware auf Zen-Cart
    gestoßen.
    Nachdem meine Testinstallation soweit geklappt hat, gibt es im Shop Frontend leider nur eine weiße Seite. Hier im Forum steht ja eine Menge darüber. Aber nicht zu version 1.3.9.h

    Meine Daten
    Hoster:Alfahosting
    PHP Version:5.2.17-0

    Mein Logfile sagt es gebe Probleme mit der Index.php in Zeile 43.
    Ich setze da den Text mal hier rein:
    Code:
    [25-Jan-2011 06:10:56] PHP Warning:  require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /var/www/web934/html/catalog/index.php on line 43
    [25-Jan-2011 06:10:56] PHP Warning:  require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /var/www/web934/html/catalog/index.php on line 43
    [25-Jan-2011 06:10:56] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web934/html/catalog/index.php on line 43
    Gruß Dirk

    #2
    hast du an den dateien was geändert, ohne auf den richten editor zu achten?

    Kommentar


      #3
      Zen-Cart 1.3.9 Absoluter Zen Cart Neuling mit weisser Seite

      Hier wird aber schnell geantwortet.
      Ich habe nichts an der Index.php verändert.
      Wenn ich was ändere, benutze ich Dreamweaver CS3.
      Was bedeutet BOM?

      Gruß Dirk

      Kommentar


        #4
        Zitat von Dimat66 Beitrag anzeigen
        Mein Logfile sagt es gebe Probleme mit der Index.php in Zeile 43.
        Es gibt kein Problem mit der index.php, interessant ist:
        Code:
        Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php
        Überprüfe die includes/configure.php
        Folgende Zeilen müssen genau so aussehen:
        Code:
        define('DIR_WS_INCLUDES', 'includes/');
        define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
        Folgende Zeilen müssen Deine korrekten Pfade enthalten und unbedingt den / am Schluss haben:
        Code:
        define('DIR_WS_CATALOG', '/');
        define('DIR_WS_HTTPS_CATALOG', '/');
        define('DIR_FS_CATALOG', '/xxx/xxx/xxx/xxx/');

        Kommentar


          #5
          Ich habe hier mal den Bereich aus der configure.php herauskopiert:
          Code:
          // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
          // * DIR_WS_* = Webserver directories (virtual/URL)
            // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
            define('DIR_WS_ADMIN', '/catalog/aaadmin/');
            define('DIR_WS_CATALOG', '/catalog/');
            define('DIR_WS_HTTPS_ADMIN', '/catalog/aaadmin/');
            define('DIR_WS_HTTPS_CATALOG', '/catalog/');
          
            define('DIR_WS_IMAGES', 'images/');
            define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
            define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
            define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
            define('DIR_WS_INCLUDES', 'includes/');
            define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
            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_WS_INCLUDES . 'languages/');
            define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
          
          // * DIR_FS_* = Filesystem directories (local/physical)
            //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
            define('DIR_FS_ADMIN', '/xxx/xxx/xxx/xxx/xxx/admin/');
            define('DIR_FS_CATALOG', '/xxx/xxx/xxx/xxx/catalog/');
          
            define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
            define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
            define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
            define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
            define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
            define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
            define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
          Zuletzt geändert von webchills; 25.01.2011, 08:11.

          Kommentar


            #6
            Es gibt zwei unterschiedliche configure.php
            Eine im Adminverzeichnis (DEINADMIN/includes/configure.php) und eine im Shopverzeichnis (includes/configure.php)
            Was Du hier postest ist die aus dem admin.
            Es geht aber um die im Frontend. Überprüfe die, in der ist der Fehler.

            Kommentar


              #7
              Hier ist die richtige configure.php
              Code:
              <?php
              /**
               * @package Configuration Settings circa 1.3.9
               * @copyright Copyright 2003-2010 Zen Cart Development Team
               * @copyright Portions Copyright 2003 osCommerce
               * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
               * File Built by zc_install on 2011-01-24 05:41:32
               */
              
              
              /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/
              /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
              
              // Multilingual Parameter, Timezone
                date_default_timezone_set('Europe/Vienna'); 
                define('DB_CHARSET', 'utf8');
              // Define the webserver and path parameters
                // Main webserver: eg-http://www.your_domain.com - 
                // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
                // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
                // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
                // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
                /* 
                 * URLs for your site will be built via:  
                 *     HTTP_SERVER plus DIR_WS_ADMIN or
                 *     HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
                 *     HTTP_SERVER plus DIR_WS_CATALOG or 
                 *     HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
                 * ...depending on your system configuration settings
                 *
                 * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
                 */
                define('HTTP_SERVER', 'http://www.xxx.de');
                define('HTTPS_SERVER', 'https://www.xxx.de');
                define('HTTP_CATALOG_SERVER', 'http://www.xxx.de');
                define('HTTPS_CATALOG_SERVER', 'https://www.xxx.de');
              
                // Use secure webserver for catalog module and/or admin areas?
                define('ENABLE_SSL_CATALOG', 'false');
                define('ENABLE_SSL_ADMIN', 'false');
              
              // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
              // * DIR_WS_* = Webserver directories (virtual/URL)
                // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
                define('DIR_WS_ADMIN', '/catalog/admin/');
                define('DIR_WS_CATALOG', '/catalog/');
                define('DIR_WS_HTTPS_ADMIN', '/catalog/admin/');
                define('DIR_WS_HTTPS_CATALOG', '/catalog/');
              
                define('DIR_WS_IMAGES', 'images/');
                define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
                define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
                define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
                define('DIR_WS_INCLUDES', 'includes/');
                define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
                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_WS_INCLUDES . 'languages/');
                define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
              
              // * DIR_FS_* = Filesystem directories (local/physical)
                //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
                define('DIR_FS_ADMIN', '/xxx/xxx/xxx/catalog/admin/');
                define('DIR_FS_CATALOG', '/xxx/xxx/xxx/html/catalog/');
              
                define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
                define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
                define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
                define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/');
                define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
                define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
                define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
              
              // define our database connection
                define('DB_TYPE', 'mysql');
                define('DB_PREFIX', 'zen');
                define('DB_SERVER', 'xxxxxx');
                define('DB_SERVER_USERNAME', 'xxx');
                define('DB_SERVER_PASSWORD', 'xxxxxxx');
                define('DB_DATABASE', 'xxxxxxxx');
                define('USE_PCONNECT', 'false');
                define('STORE_SESSIONS', 'db');
                // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
              
                // The next 2 "defines" are for SQL cache support.
                // For SQL_CACHE_METHOD, you can select from:  none, database, or file
                // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
                // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
                // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
                define('SQL_CACHE_METHOD', 'none'); 
                define('DIR_FS_SQL_CACHE', '/xxx/xxx/catalog/cache');
              
              // EOF
              Zuletzt geändert von webchills; 25.01.2011, 08:50. Grund: Bitte NIE komplette echte Pfade oder Datenbankangaben öffentlich posten!

              Kommentar


                #8
                Du hast die falsche Datei hochgeladen und hast die für den admin gedachte configure.php im Frontend aktiv

                Nochmal:
                Die configure.php des Adminbereichs ist anders als die des Frontends:

                /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
                /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

                Die includes/configure.php muss so ausschauen:
                Code:
                <?php
                /**
                 * @package Configuration Settings circa 1.3.9e
                 * @copyright Copyright 2003-2010 Zen Cart Development Team
                 * @copyright Portions Copyright 2003 osCommerce
                 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
                 * File Built by zc_install on 2011-01-12 08:39:09
                 */
                
                
                /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
                /***************       The 2 files should be kept separate and not used to overwrite each other.      ***********/
                
                // Multilingual Parameter, Timezone
                  date_default_timezone_set('Europe/Vienna'); 
                  define('DB_CHARSET', 'utf8');
                // Define the webserver and path parameters
                  // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
                  // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
                  define('HTTP_SERVER', 'http://www.xxx.xx');
                  define('HTTPS_SERVER', 'https://www.xxx.xx');
                
                  // Use secure webserver for checkout procedure?
                  define('ENABLE_SSL', 'false');
                
                // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
                // * DIR_WS_* = Webserver directories (virtual/URL)
                  // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
                  define('DIR_WS_CATALOG', '/xxx/xxx/');
                  define('DIR_WS_HTTPS_CATALOG', '/xxx/xxx/');
                
                  define('DIR_WS_IMAGES', 'images/');
                  define('DIR_WS_INCLUDES', '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_WS_INCLUDES . 'languages/');
                  define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
                  define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
                
                  define('DIR_WS_PHPBB', '/');
                
                // * DIR_FS_* = Filesystem directories (local/physical)
                  //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
                  define('DIR_FS_CATALOG', '/xxx/xxx/xxx/xxx/');
                
                  define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
                  define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
                  define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
                  define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
                  define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
                
                // define our database connection
                  define('DB_TYPE', 'mysql');
                  define('DB_PREFIX', 'xxx_');
                  define('DB_SERVER', 'xxx');
                  define('DB_SERVER_USERNAME', 'xxx');
                  define('DB_SERVER_PASSWORD', 'xxx');
                  define('DB_DATABASE', 'xxx');
                  define('USE_PCONNECT', 'false');
                  define('STORE_SESSIONS', 'db');
                  // for STORE_SESSIONS, use 'db' for best support, or '' for file-based storage
                
                  // The next 2 "defines" are for SQL cache support.
                  // For SQL_CACHE_METHOD, you can select from:  none, database, or file
                  // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache 
                  // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder
                  // ie: /path/to/your/webspace/public_html/zen/cache   -- leave no trailing slash  
                  define('SQL_CACHE_METHOD', 'none'); 
                  define('DIR_FS_SQL_CACHE', '/xxx/xxx/xxx/xxx/cache');
                
                // EOF
                Nimm das als Vorlage und ändere die xxx entsprechend Deiner Konfiguration

                Kommentar


                  #9
                  Ich glaube es dämmert!

                  Jetzt weiß ich was passiert ist.
                  Als ich nach der Installation das Admin Verzeichniss umbenannt habe,
                  habe ich die Configure.php einfach kopiert.
                  Ich denke das Problem ist dann Dank Eurer Hilfe gelöst.
                  Danke

                  Kommentar

                  Info zu diesem Forenarchiv:
                  Mit Release von 1.5.7 wurde die deutsche Zen Cart Version auf eine reine DIY-Lösung umgestellt.
                  Für einen Support via Forum stehen keine personellen und zeitlichen Ressourcen mehr zur Verfügung.
                  Dieses Supportforum bleibt im Nur-Lesen-Modus als Wissensarchiv noch online verfügbar.
                  PM Funktionalität, Registrierung und Posten neuer Beiträge sind deaktiviert.
                  Zugriff auf Anhänge in den Postings ist auch ohne Registrierung/Einloggen möglich.
                  FAQ und Downloadbereich des Forums wurden in die neue umfangreiche Knowledgebase auf der zen-cart-pro.at Website übernommen.

                  Das Development der deutschen Zen Cart Version geht wie bisher auf Github weiter.
                  Wir werden auch weiterhin neue Versionen bereitstellen und die Onlinedokumentation/Knowledgebase aktualisieren.
                  Fehler in der Software können auf Github als Issues gemeldet werden.
                  Follow us
                  aktuelle version
                  Zen Cart 1.5.7g deutsch
                  vom 12.12.2023
                  [Download]
                  Lädt...
                  X