Jump to content
Sign in to follow this  
baal

mise en ligne prestashop, help!!!!

Recommended Posts

beaucoup de topic traitent ce sujet mais aucuns sont complets.

je suis chez 1&1;j ai hebergé filezila
j ai paramaitré ma base de donnée.
mon site apparait sans mise en forme(donc ma base de donnees marche), et mes liens ne sont pas valables...
je precise j ai crée un dossier "mosaik" à la racine de mon site dans lequel j ai transféré mes fichiers
apres quelques heures de galeres je ne comprends pas le souci...merci de votre aide.

voici mon seetings.inc

<?php

define(’PS_BASE_URI‘, ‘/mosaik/’);
define('_THEME_NAME_', 'shop');
define('_DB_NAME_', 'db330395219');
define('_DB_SERVER_', 'db2502.1and1.fr');
define('_DB_USER_', 'dbo330395219');
define('_DB_PREFIX_', 'ps_');
define('_DB_PASSWD_', '*******');
define('_DB_TYPE_', 'MySQL');
define('_COOKIE_KEY_', 'GRGoDDFDaVUtT6VB3Ng8018KkKY2ALJqGPr85mPUMqFYKpkDhgz7TABZ');
define('_COOKIE_IV_', 'SMAbwf1H');
define('_PS_VERSION_', '1.2.5.0');

?>


et voici mon htacces

AddType x-mapp-php5 .php

# URL rewriting module activation
RewriteEngine on
RewriteBase /

# URL rewriting rules
RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [L,E]
RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [L,E]
RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E]
RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E]
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]
RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E]

# Catch 404 errors
ErrorDocument 404 /404.php

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
Sign in to follow this  

×
×
  • Create New...

Important Information

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