Bonjour, n'arrivant pas à effectuer le .htaccess et .htpassword j'ai crée un ibays (buchecroute) où il y a tous le catalogue après installation et configuration du fichier configure.php qui donne cela :
define('HTTP_SERVER', 'http://10.0.0.1'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://10.0.0.1'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', '10.0.0.1');
define('HTTPS_COOKIE_DOMAIN', '10.0.0.1');
define('HTTP_COOKIE_PATH', '/buchecroute/');
define('HTTPS_COOKIE_PATH', '/buchecroute/');
define('DIR_WS_HTTP_CATALOG', '/buchecroute/');
define('DIR_WS_HTTPS_CATALOG', '/buchecroute/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
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_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/home/e-smith/files/ibays/buchecroute/html/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
// define our database connection
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'admin');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'test');
define('USE_PCONNECT', 'true'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
Ensuite pour la partie admin chez créer un autre ibays (pcbzero) avec ce fichier de configure.php
define('HTTP_SERVER', 'http://10.0.0.1'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://10.0.0.1');
define('HTTPS_CATALOG_SERVER', 'https://10.0.0.1');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/home/e-smith/files/ibays/buchecroute/html/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/pcbzero/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/home/e-smith/files/ibays/pcbzero/html/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/buchecroute/'); // absolute path required
define('DIR_FS_CATALOG', '/home/e-smith/files/ibays/buchecroute/html/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '\\home/e-smith/files/ibays/buchecroute/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_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
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_BACKUP', DIR_FS_ADMIN . 'backups/');
// define our database connection
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'admin');
define('DB_SERVER_PASSWORD', '');
define('DB_DATABASE', 'test');
define('USE_PCONNECT', 'true'); // use persisstent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
Donc tous va bien a part que je n'arrive pas a mettre des images dans mon catalogue; il me dit :
Erreur : le chemin cible n'existe pas.
Erreur Erreur : Le répertoire d'images n'existe pas : /home/e-smith/files/ibays/buchecroute/html/images/
Dans l'ibays buchecroute je n'ai pas pu supprimer entièrement tous les fichiers dans le dossier admin
MERCI de votre aide