Ergebnis 1 bis 2 von 2

Thema: Strato Installations Probleme

  1. #1
    TP-Junior
    Registriert seit
    May 2009
    Beiträge
    8

    Question ---

    MYSQL Datenbank wurde importiert und nun kommt der Fehler (index):

    Code:
    Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 146 in /mnt/web3/23/06/52093406/htdocs/shop/inc/xtc_db_connect.inc.php on line 24
    Unable to connect to database server!
    In dieser Zeite Steht:
    Code:
    $$link = mysql_connect($server, $username, $password);
    Aber die Daten stimmen soweit alle!


    Strato gibt in den FAQ die Verzeichnissangabe so vor:

    Code:
    /home/strato/www/erste-zwei-bustaben/www.domain.de/htdocs/ Verzeichniss/
    /home/strato/www/ek/www.ekyo.de/htdocs/shop/
    Hier mal meine Einstellungen:

    /admin/includes/configure.org.php

    Code:
    <?php
    /* --------------------------------------------------------------
      ### Be careful, this is the backup of your original configuration data ###
    
      XT-Commerce - community made shopping
      http://www.xt-commerce.com
    
       Copyright (c) 2003 XT-Commerce
      --------------------------------------------------------------
      based on:
      (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
      (c) 2002-2003 osCommerce (configure.php,v 1.14 2003/02/21); www.oscommerce.com
    
      Released under the GNU General Public License
      --------------------------------------------------------------*/
    
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
      define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost or - https://localhost should not be empty for productive servers
      define('HTTP_CATALOG_SERVER', 'http://localhost');
      define('HTTPS_CATALOG_SERVER', 'https://localhost');
      define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
      define('DIR_FS_DOCUMENT_ROOT', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // where the pages are located on the server
      define('DIR_WS_ADMIN', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/admin/'); // absolute path required
      define('DIR_FS_ADMIN', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/admin/'); // absolute pate required
      define('DIR_WS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // absolute path required
      define('DIR_FS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // absolute path required
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_ORIGINAL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/original_images/');
      define('DIR_FS_CATALOG_THUMBNAIL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/thumbnail_images/');
      define('DIR_FS_CATALOG_INFO_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/info_images/');
      define('DIR_FS_CATALOG_POPUP_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/popup_images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_ORIGINAL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/original_images/');
      define('DIR_WS_CATALOG_THUMBNAIL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/thumbnail_images/');
      define('DIR_WS_CATALOG_INFO_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/info_images/');
      define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/popup_images/');
      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_CATALOG. 'lang/');
      define('DIR_FS_LANGUAGES', DIR_FS_CATALOG. 'lang/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
      define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/');
      define('DIR_WS_FILEMANAGER', DIR_WS_MODULES . 'fckeditor/editor/filemanager/browser/default/');
    
    // define our database connection
      define('DB_SERVER', 'rdbms.strato.de'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', '****');
      define('DB_SERVER_PASSWORD', '****');
      define('DB_DATABASE', '****');
      define('USE_PCONNECT', 'false'); // use persisstent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    
    ?>

    /admin/includes/configure.php

    Code:
    <?php
    /* --------------------------------------------------------------
    
      XT-Commerce - community made shopping
      http://www.xt-commerce.com
    
       Copyright (c) 2003 XT-Commerce
      --------------------------------------------------------------
      based on:
      (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
       
      
    
      (c) 2002-2003 osCommerce (configure.php,v 1.14 2003/02/21); www.oscommerce.com
    
      Released under the GNU General Public License
      --------------------------------------------------------------*/
    
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
      define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost or - https://localhost should not be empty for productive servers
      define('HTTP_CATALOG_SERVER', 'http://localhost');
      define('HTTPS_CATALOG_SERVER', 'https://localhost');
      define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
      define('DIR_FS_DOCUMENT_ROOT', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // where the pages are located on the server
      define('DIR_WS_ADMIN', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/admin/'); // absolute path required
      define('DIR_FS_ADMIN', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/admin/'); // absolute pate required
      define('DIR_WS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // absolute path required
      define('DIR_FS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // absolute path required
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
      define('DIR_FS_CATALOG_ORIGINAL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/original_images/');
      define('DIR_FS_CATALOG_THUMBNAIL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/thumbnail_images/');
      define('DIR_FS_CATALOG_INFO_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/info_images/');
      define('DIR_FS_CATALOG_POPUP_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/popup_images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_ORIGINAL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/original_images/');
      define('DIR_WS_CATALOG_THUMBNAIL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/thumbnail_images/');
      define('DIR_WS_CATALOG_INFO_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/info_images/');
      define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/popup_images/');
      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_CATALOG. 'lang/');
      define('DIR_FS_LANGUAGES', DIR_FS_CATALOG. 'lang/');
      define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
      define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
      define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/');
      define('DIR_WS_FILEMANAGER', DIR_WS_MODULES . 'fckeditor/editor/filemanager/browser/default/');
    
    // define our database connection
      define('DB_SERVER', 'rdbms.strato.de'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', '****');
      define('DB_SERVER_PASSWORD', '****');
      define('DB_DATABASE', '****');
      define('USE_PCONNECT', 'false'); // use persisstent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    
    ?>

    /includes/configure.php

    Code:
    <?php
    /* --------------------------------------------------------------
    
      XT-Commerce - community made shopping
      http://www.xt-commerce.com
    
       Copyright (c) 2003 XT-Commerce
      --------------------------------------------------------------
      based on:
      (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
      (c) 2002-2003 osCommerce (configure.php,v 1.13 2003/02/10); www.oscommerce.com
    
      Released under the GNU General Public License
      --------------------------------------------------------------*/
    
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
      define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
      define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be empty for productive servers
      define('ENABLE_SSL', false); // secure webserver for checkout procedure?
      define('DIR_WS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // absolute path required
      define('DIR_FS_DOCUMENT_ROOT', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/');
      define('DIR_FS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/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/');
    
    // define our database connection
      define('DB_SERVER', 'rdbms.strato.de'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', '****');
      define('DB_SERVER_PASSWORD', '****');
      define('DB_DATABASE', '****');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>
    /includes/configure.org.php

    Code:
    <?php
    /* --------------------------------------------------------------
      ### Be careful, this is the backup of your original configuration data ###
    
      XT-Commerce - community made shopping
      http://www.xt-commerce.com
    
       Copyright (c) 2003 XT-Commerce
      --------------------------------------------------------------
      based on:
      (c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
      (c) 2002-2003 osCommerce (configure.php,v 1.13 2003/02/10); www.oscommerce.com
    
      Released under the GNU General Public License
      --------------------------------------------------------------*/
    
    // Define the webserver and path parameters
    // * DIR_FS_* = Filesystem directories (local/physical)
    // * DIR_WS_* = Webserver directories (virtual/URL)
      define('HTTP_SERVER', 'http://localhost'); // eg, http://localhost - should not be empty for productive servers
      define('HTTPS_SERVER', 'https://localhost'); // eg, https://localhost - should not be empty for productive servers
      define('ENABLE_SSL', false); // secure webserver for checkout procedure?
      define('DIR_WS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/'); // absolute path required
      define('DIR_FS_DOCUMENT_ROOT', '/home/strato/www/ek/www.ekyo.de/htdocs/shop/');
      define('DIR_FS_CATALOG', '/home/strato/www/ek/www.ekyo.de/htdocs/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/');
    
    // define our database connection
      define('DB_SERVER', 'rdbms.strato.de'); // eg, localhost - should not be empty for productive servers
      define('DB_SERVER_USERNAME', '****');
      define('DB_SERVER_PASSWORD', '****');
      define('DB_DATABASE', '****');
      define('USE_PCONNECT', 'false'); // use persistent connections?
      define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
    ?>
    Geändert von ceviin (27.05.2009 um 15:57 Uhr)

  2. #2
    TP-Junior
    Registriert seit
    May 2009
    Beiträge
    8

    Question

    Hallo Leute ich hab das Problem, dass ich XT:Commerce 304SP2.1 nicht auf meinem Strato PowerPlus Packet zum laufen bekomme.

    Ich habe das Skript auf meinen Server geuploadet unter /shop/ und mit der Subdomain: shop.ekyo.de verknüpft.

    Danach habe ich nach Anleitung die Rechvergabe gemacht.

    Jedoch beim Installations-Abruf unter http://shop.ekyo.de/xtc_installer/ kommen folgende Fehler:

    Code:
    Warning: main(/home/strato/http/power/web3/23/06/52093406/htdocs/includes/classes/boxes.php) [function.main]: failed to open stream: No such file or directory in /mnt/web3/23/06/52093406/htdocs/shop/xtc_installer/includes/application.php on line 36
    
    Fatal error: main() [function.require]: Failed opening required '/home/strato/http/power/web3/23/06/52093406/htdocs/includes/classes/boxes.php' (include_path='.:/opt/RZphp4/includes') in /mnt/web3/23/06/52093406/htdocs/shop/xtc_installer/includes/application.php on line 36
    Darauf habe ich zwei Tage mich schlau gemacht und hab dann die PHP Version in dem Verzeichnis /shop/ von 5.2.8 zu 4.4.9 geändert (Unterstüzt wird ab 4.1.3).

    Jedoch hat das alles nichts gebracht und ich habe weiter gesucht und hier in diesem Forum hatten andere das selbe Problem mit Strato Packeten.
    Link: http://www.traum-projekt.com/forum/8...tml#post906152

    Nun hab ich den selben Fehler wie die anderen und bei Änderung bringt er mir weitere Fehler. Ich weis einfach nicht mehr weiter und brauche baldmöglichst einen Shop. Beforzugt XTC und ich bin in PHP und MYSQL ein Einsteiger!

    Index Fehler:

    Code:
    Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /mnt/web3/23/06/52093406/htdocs/shop/inc/xtc_db_connect.inc.php on line 24
    Unable to connect to database server!
    Dieser tritt sogar ein, wenn ich die Datenbank manuell einfüge und in den Configs editiere.

    Strato gibt zwei Pfade:
    1. DOCUMENT_ROOT: /home/strato/www/...
    2. Loaded Configuration File: /mnt/web...

    Ich habe die Configs bearbeitet und mit beiden Pfaden schon versucht:

    /home/strato/http/power/web3/23/06/52093406/htdocs/
    /mnt/web3/23/06/52093406/htdocs/shop/
    Derzeit ist der "/mnt/web3/23/06/52093406/htdocs/shop/" eingetragen und funktoniert trozdem nicht...


    Hoffe Ihr könnt mir helfen...! Danke
    Geändert von ceviin (27.05.2009 um 15:36 Uhr) Grund: XT:Commerce Problem bei Strato

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Ähnliche Themen

  1. OSCommerce + Installations-Probleme
    Von b_wolf im Forum Content Management Systeme & Shop Systeme
    Antworten: 3
    Letzter Beitrag: 29.10.2008, 21:09
  2. Hat jemand Probleme mit Strato-Servern?
    Von maxi89 im Forum Einfach so ...
    Antworten: 1
    Letzter Beitrag: 08.07.2007, 19:42
  3. Bin jetzt bei Strato und habe Probleme
    Von blockbaster im Forum Server & Provider
    Antworten: 1
    Letzter Beitrag: 27.12.2006, 18:25
  4. probleme mit script auf strato
    Von lobster im Forum Traum-Dynamik
    Antworten: 9
    Letzter Beitrag: 11.09.2006, 21:51
  5. Probleme mit E-Mails bei Strato
    Von vince im Forum Webdesign allgemein
    Antworten: 0
    Letzter Beitrag: 14.12.2005, 08:11

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

     

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51