Jump to content

mise en ligne ne fonctionne pas 90plan ovh


Recommended Posts

Après de multiples tentatives, je coince tj
Je 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és
Help........

9324_yT7Hm3ZgCECvhOIpmbQO_t

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More