Laurent71 Posted July 4, 2009 Share Posted July 4, 2009 Après de multiples tentatives, je coince tjJe vais détailler les étapes suives- envoie de mon dossier sur mon serveur ftp (image ftp)- création de la base de données, importation du fichier.sql- modification du fichier settings.inc.php <?php define('__PS_BASE_URI__', '/cousette/'); define('_THEME_NAME_', 'cousette'); define('_DB_NAME_', 'nom de la base de données'); define('_DB_SERVER_', 'mysql5-60.90'); define('_DB_USER_', 'utilisateur'); define('_DB_PREFIX_', 'ps_'); define('_DB_PASSWD_', 'mot de passe'); define('_DB_TYPE_', 'MySQL'); define('_COOKIE_KEY_', '[Edit: la cookie key aussi c\'est secret]'); define('_COOKIE_IV_', 'LAnu4TSp'); define('_PS_VERSION_', '1.1.0.5'); ?> - modification de htaccess.txt en htaccess.htaccess # URL rewriting module activation RewriteEngine on SetEnv REGISTER_GLOBALS 0 SetEnv PHP_VER 5 # URL rewriting rules RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php Et au final, j'obtiens une page avec index of/Je craque, j'ai essayé de modifier define('__PS_BASE_URI__', '/cousette/'); mais sans succésHelp........ Link to comment Share on other sites More sharing options...
Patric Posted July 10, 2009 Share Posted July 10, 2009 Déplacé depuis section anglophone. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now