baalow Posted January 20, 2014 Share Posted January 20, 2014 Bonjour, j'éspère trouvé de l'aide sur ce topic Explication : Depuis que j'ai tranferer mon site sur un autre hebergeur je m'apperçoi que quand je me rend sur mon site le théme ne s'affiche plus par contre mon BO fonctionne parfaitement. j'ai donc décidé de relancer les URL simplifiée et la je me trouve sur une erreur 500. J'ai supprimer mon fichier .htaccess et replacé l'ancien fichier est je me retrouve donc sur mon theme qui ne s'affiche pas. merci d'avance pour votre aide. Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Je précise que mon site ne se trouve pas à la racine du ftp. /wwww/flamantrose -> j'ai modifié le chemin d'accès dans ma basse de données (ps_shop_url) = /www/flamantrose Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 question bete. as tu modifié l'url dans la configuration des url toujours dans SEO & URL Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Bonjour, Merci pour ta réponde : Domaine : www.leflamant-rose.com Domaine SSL : www.leflamant-rose.com Chemin : /www/flamantrose Oui je pense être bon. Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Pour chemin: enlèves voir les trois w et mets plutôt /flamantrose/ n'oublies pas le slash à la fin 1 Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Je vient de le faire est la je suis tombée sur 500 internal servor error Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 et en bdd tu peux regarder si les changements on été pris en compte? Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 Tu as un problème d'accès au fichier de ta boutique. Dans le BO onglet préférence seo / url url de la boutique chemin: le chemin à ton dossier ne doit pas être bon désactive également le module block slider Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Oui PS_SHOP_URL /flamantrose/ Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Je ne trouve pas le modue block_slider dans les modules. Pour le chemin d'accès il pointe bien vers /wwww/flamantrose et dedans ce trouve tout l'install de presta. Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 C'est le module bskslider, tape slider dans recherche tu devrait trouver le module. Pas de problème d'affichage coté BO ? Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 Dans le BO essaye avec ce chemin:/ (juste un slash) Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Aucun probléme sur le BO. J'ai trouvé un module qui ce s'apelle (bitshok slider) je les désactivé. J'essaye de remettre le bon chemin d'accès mais je n'arrive plus à le modifiér que ce soit sur le BO ou sur la BDD. Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 (edited) il manque le slash après flamantrose @Enduro je te laisse finir avec lui il faut que je fasse autre chose Merci. Edited January 20, 2014 by zaar (see edit history) Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 modifie le fichier config/setting.inc.php define('_PS_DIRECTORY_', '/flamantrose/'); Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Sayer j'ai remi /www/flamantrose je n'est plus l'erreur 500 je retourne sur mon théme mais toujours aucun affichage define('_PS_DIRECTORY_', '/flamantrose/'); sans les www ? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 J'ai pas cette table : define('_DB_SERVER_', '?');define('_DB_NAME_', '?');define('_DB_USER_', '?');define('_DB_PASSWD_', '?');define('_DB_PREFIX_', 'ps_');define('_MYSQL_ENGINE_', 'InnoDB');define('_PS_CACHING_SYSTEM_', 'CacheMemcache');define('_PS_CACHE_ENABLED_', '0');define('_MEDIA_SERVER_1_', '');define('_MEDIA_SERVER_2_', '');define('_MEDIA_SERVER_3_', '');define('_COOKIE_KEY_', 'MOhNFmbRUGhqa42LVaoZbUcOxK0kYyJRD3t7EqXpECkNMDQ0nik0URk1');define('_COOKIE_IV_', 'XsM915tE');define('_PS_CREATION_DATE_', '2013-05-05');define('_PS_VERSION_', '1.5.3.1');define('_RIJNDAEL_KEY_', '5av2y7VYfYHEITifq44hRIPteRoouNT9');define('_RIJNDAEL_IV_', '8kuEBWQeZkn9Z4WhLG7X6g=='); Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 Quand tu te connect en ftp ou se trouve ta boutique ex www/tes dossiers prestashop ou www/prestashop/tes dossiers presta Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 /www/flamantrose est la ce trouve mais dossiers prestashop mais aucun / aprer flamantrose Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 donc ton chemin est /flamantrose/ Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Ben non j'ai un dossier www/ avant sa Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 désactive la réécriture d'url (URL simplifiée) Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 (edited) tu as deux fois www ? www/www/flamantrose/tes dossiers presta Edited January 20, 2014 by Enduro (see edit history) Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Non juste /www/flamantrose Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 J'ai desactivé la réécriture d'url (URL simplifiée) Mais plus moyen d'accedé a mon BO Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Firefox a détecté que le serveur redirige la demande pour cette adresse d'une manière qui n'aboutira pas. Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 Ce n'est pas normal que tu n'est plus d'accès au BO en désactivant la réécriture d'url, et ton hébergeur qu'est qu'il en pense ? Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 essaye cette adresse http://www.leflamant-rose.com/www/flamantrose/adresse de ton back office Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 J'ai rebalancer mon ancien fichier .htaccess sa fonctionne de nouveau. voici ce que contien mon fichier .htaccess # DESACTIVATION DU CACHE POUR LES FICHIERS DYNAMIQUES<FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$">Header unset Cache-Control</FilesMatch></IfModule># .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# http://www.prestashop.com - http://www.prestashop.com/forums # URL Rewriting activation 1&1RewriteEngine onRewriteBase /wwww/flamantrose # FORCE le WWW pour l'url du siteRewriteCond %{HTTP_HOST} ^www.leflamant-rose.com$RewriteRule ^(.*) http://www.leflamant-rose.com/ [QSA,L,R=301] # URL Rewriting rulesRewriteRule ^([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 Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Je retrouve le site mais pas le BO Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Quand j'essaye d'aller sur mon BO il me donne cette url la http://www.leflamant-rose.com/www/flamantroseindex.php? Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 il manque le / après flamantrose je te l'ai dis depuis le début de ce topic 1 Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 regzardes: Pour chemin: enlèves voir les trois w et mets plutôt /flamantrose/ n'oublies pas le slash à la fin comme tu ne l'as pas fait tes urls sont du type flamantroseindex au lieu de flamantrose/index Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Je vien de le faire BDD rien ne ce passe. Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 J'ai toujours l'accès au site sans le théme mais je ne c pas accédé au BO Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Quand je mais sa sur mon BDD /flamantrose/ Je tombe directement sur mon BO quand je tape www.leflamant-rose.com Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 ton site en front s'affiche mal car les liens des fichiers css sont du style flamantrosecss/style.css au lieu de flamantrose/css/style.css et ton accès o BO pose problèe car tu as flamantroseindex.php au lieu de flamantrose/index.php. Donc si on analyse bien le truc c'est toujours le probleme du /. Dans ta bdd ou as tu mis /flamantrose/ ? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 J'ai placer /flamantrose/ dans ps_shop_url Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 mets le dans le champs physical_uri de ta table ps_shop_url dans domaine tu met seulement leflamant-rose.com Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 tout est fait comme tu dit. Mon BO fonctionne corectement Mais le FRONT mon théme ne s'affiche toujours pas. Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 ah je sais, vas sur ton ftp,dans ton theme il y a un dossier cache, vide le en supprimant tout sauf le fichier index Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Non toujours pas :'( Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 tu as vidé le cache de navigateur? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Oui biensur, tu peux le constaster par toi même si tu veux www.leflamant-rose.com Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 bon alors essayons un truc: dans parametres avancés-> performances. Dans la partie CCC coche conserver le fonctionnement classique, ensuite vide manuellement le cache de ton theme + le cahce smarty + le cache navigateur Rééssayes. Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Comment procéde t'on pour vider manuelement le smarty ? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 C bon, Non rien ne ce passe. Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Personne pour m'aider ? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Quand j'essaye d'activé URL simplifiée, plus rien ne fonctionne mon site passe en 500 internal servor error ? Peut être que sa viens du fichier .htaccess ? Voici ce qu'il contient : # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# http://www.prestashop.com - http://www.prestashop.com/forums<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule . - [E=REWRITEBASE:/flamantrose/]RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# ImagesRewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]# DispatcherRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^.*$ - [NC,L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]</IfModule><IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year"</IfModule>FileETag INode MTime Size<IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript</IfModule>#If rewrite mod isn't enabledErrorDocument 404 /flamantrose/index.php?controller=404# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 fais une sauvegarde de ton htaccess. ensuite supprimes le et regénères le pou rvoir si il y a des changements. n'oublies pas de laissez /flamantrose/ dasn la config (sans les www et avec le / à la fin) Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Voici le nouveau .htacces # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution# http://www.prestashop.com - http://www.prestashop.com/forums<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule . - [E=REWRITEBASE:/flamantrose/]RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# ImagesRewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]# DispatcherRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^.*$ - [NC,L]RewriteCond %{HTTP_HOST} ^leflamant-rose.com$RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]</IfModule><IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year"</IfModule>FileETag INode MTime Size<IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript</IfModule>#If rewrite mod isn't enabledErrorDocument 404 /flamantrose/index.php?controller=404# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again La il me passe le site en error 500 quand je demande un nouveau htaccess Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 et si tu supprimes le .htaccess est ce que tu retrouves ton site? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Quand je le supprime sa me donne sa Not FoundThe requested URL /flamantrose/ was not found on this server. Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 (edited) question: à la racine tu as quoi? un autre htaccess? d'ailleurs pkoi ne pas mettre ta boutique à la racine? ce n'est qu'une question pas unne critique tu as surement une bonne raison. Edited January 20, 2014 by zaar (see edit history) Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Le problème c'est que j'ai d'autres sites qui vont arrivais sur le même FTP A la racine du FTP j'ai des fichier qui provienne de mon hébergeur actuel. aucun .htacces a la racine Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Bizarre parce qu'on même pas accéder à leflamant-rose.com tu peux créer un fichier vide index.php à la racine? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Voila je viens de créer le fichier index.php. Peut on discuté par skype ? Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Désolé je n'ai pas skype ni facebook ni rien de tout ça....ça me permet d'être encore marié depuis 14 ans 1 Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Lol du jamais vue !!! Bon tu pense que je doit tout réinstaller mon site ? Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 mdr . Non attend tu peux remettre un htaccess vide? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 c fait ! Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Tiens mets ça dedans maintenant: # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on RewriteCond %{HTTP_HOST} ^http://leflamant-rose.com$ RewriteRule . - [E=REWRITEBASE:/flamantrose/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # AlphaImageLoader for IE and fancybox RewriteCond %{HTTP_HOST} ^http://leflamant-rose.com$ RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" </IfModule> FileETag INode MTime Size <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript </IfModule> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /flamantrose/index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Fait ! Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Bon ben écoutes je suis vraiment désolé c'est pas faute d'avoir essayer, à moins que qqun de plus compétent prenne le relais je préconiserais la réinstallation. As tu beaucoup avancé dans la conception de ta boutique ou es tu au commencement? Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Ben pas mal quand même l'avancement. Mais mon fichier index.php est vierge je doit pas le remplacer ? Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Ce que je ne comprend c'est qu'au départ nous avions vu juste (il manquait le / et il fallait enlever les www) ceci aurait du résoudre ton problème. mais le fait qque tu aies activé l'url rewritting ça atout fait buggué (normal le chemin était faussé) Mais là je ne comprend plus rien. Link to comment Share on other sites More sharing options...
baalow Posted January 20, 2014 Author Share Posted January 20, 2014 Pas de problème, un grand merci à toi pour ton aide ! Je verrai demain ce que je décide de faire. Bonne soirée , merci ! Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 si je pense à une autre idée d'ici là je te recontacte Bonne soirée. Link to comment Share on other sites More sharing options...
walidon Posted January 20, 2014 Share Posted January 20, 2014 (edited) dans prestashop, si votre PS installation est dans la racine de votre site sur ftp (www.votresite.fr) et il y a pas de subfolder (www.votresite.com/boutique) alors dans le url de shop (ou chemin) il faut ajouter simplement un / voir image attachée si ce autre il faut faire a titre d'example un /boutique/ votre erreur ce que vous avez changé ça sur la BDD avans, il fallait le faire sur botre BO d'abord! Edited January 20, 2014 by walidon (see edit history) 1 Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 (edited) oui mais il y avais un dossier justement walidon !!! flamantrose/ Et si vous avez bien tout lu vous verrez qu'au départ son erreur était d'avoir mis www/flamantrose au lieu de /flamantrose/ ce qà quoi nous avons remédier mais je pense que le mal était fait puisqu'il avait activé l'url rewritting. Car ensuite ç a tout simplement planté. Edited January 20, 2014 by zaar (see edit history) Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 walidon je dois dire que votre façon de faire est déroutante. Vos postez un message puis vous l'éditez non pas en ajoutant quelques chose ou en apportant quelques modifs mais en changeant complètement votre intrevention !!! du coup moi je m'y perd je répond à un de vos messages qui n'existe plus ! (déjà vu sur un autre topic sur lequel vous intervenez) Link to comment Share on other sites More sharing options...
walidon Posted January 20, 2014 Share Posted January 20, 2014 oui je constaté ça, ce pour ça parfois ce bien de lire les documentations! dans le BO on presque tout, on interfere sur le BBD que si ce urgent et necessaire! si rien n'est encore fait, ben une nouvelle tentative comme si ce la 1er fois supprimer tout les table du ps_ , faire la configuration du nouveau en indiquant le chemin correct, uploader de nouveau et je suis sur que tout ira bien Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 (edited) Je viens de relire le début du sujet, dans ta table de la base de donnée (ps_shop_url) tu indique /www/flamantrose met ton nom de domaine www.leflamant-rose.com ps_shop_url c'est l'adresse de ta boutique, ce n'est pas le chemin d'accès au fichier Puis tu retourne dans la BO seo url Tu vérifie bien que tu as domaine:www.leflamant-rose.com chemin:/flamantrose/ et ensuite tu clique sur enregistrer pour régénérer le htaccess Edited January 20, 2014 by Enduro (see edit history) Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 (edited) Enduro regardes, si il a fait ce que je lui ai di ça devrait être bon mets le dans le champs physical_uri de ta table ps_shop_url dans domaine tu met seulement leflamant-rose.com ps_shop_url c 'est le nom de la table pas du champ pour le chemin Edited January 20, 2014 by zaar (see edit history) Link to comment Share on other sites More sharing options...
walidon Posted January 20, 2014 Share Posted January 20, 2014 walidon je dois dire que votre façon de faire est déroutante. Vos postez un message puis vous l'éditez non pas en ajoutant quelques chose ou en apportant quelques modifs mais en changeant complètement votre intrevention !!! du coup moi je m'y perd je répond à un de vos messages qui n'existe plus ! (déjà vu sur un autre topic sur lequel vous intervenez) t'as raison zaar et je m'excuse pour ça, je n'ai pas un bon niveau en français (je suis anglophone) donc parfois qlq chose m'échappe ou je comprend mal ce qu'on veut dire, ce pour ça je relis ce que j'écris et je corrige. Je suis désolé pour qlqonque inconvénient et merci pour votre compréhension cher ami Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 walidon c'est moi qui suis désolé ton francais étant bon je pensais pas avoir affaire à un anglophone Je comprends mieux maintenant Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 Zaar, Oui on est d'accord Dans PS_SHOP_URL domaine:www.leflamant-rose.com physical_uri:/flamantrose/ Moi je mettrai www.leflamant-rose.com et pas leflamant-rose.com Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 dans ma base chez le nom de domaine sans les www et ça fonctionne très bien donc ça nevient pas de là je pense. Quoiqu'il en soit je vous laisse cogiter, mais je pense qu'il va devoir réinstaller. Si vous trouvez une solution tant mieux. Link to comment Share on other sites More sharing options...
Enduro Posted January 20, 2014 Share Posted January 20, 2014 Oui, les deux fonctionne. Tu peux regarder également dans l'onglet performance / informattions voir ce qu'il t'indique fichier manquant,.... ZZZzzzz, RRzzzz Link to comment Share on other sites More sharing options...
zaar Posted January 20, 2014 Share Posted January 20, 2014 Ben je crois qu'il est n'est pas là....on cherche une solution à son problème mais lui doit ronfler mdr Link to comment Share on other sites More sharing options...
baalow Posted January 21, 2014 Author Share Posted January 21, 2014 Bonjour, Oui effectivement j'etait entrain de ronfler ! Donc si je résume. J'éfface ma BDD, je l'importe corectement en rentrant les bonne info. Les dossiers du FTP, je les supprime ou je peut les laisser ? Link to comment Share on other sites More sharing options...
Enduro Posted January 21, 2014 Share Posted January 21, 2014 Non, tu n'efface rien du tout On va essayé d'être claire sur ce topic par ce que là çà part dans tout les sens. 1- Quel information à tu dans la table (base de donnée MySQL) PS_SHOP_URL domaine: physical_uri: 2- Regarde dans l'onglet paramètres avancés / informations ce qu'il t'indique comme url de la boutique, fichiers manquants 3- Demande de l'aide à ton hébergeur, çà ne coute rien de lui demander une assistance. 4- Tu peux effectuer un test en local (transfert de ta boutique sur ton ordinateur) Link to comment Share on other sites More sharing options...
baalow Posted January 21, 2014 Author Share Posted January 21, 2014 Bonjour, En tout cas un grand merci pour votre aide. Voila après avoir réinstaller tout mon site à la racine comme au bon vieux temps, mon site re-fonctionne mes certaines pages ne fonctionne pas est il me manque des images. Je n'ose pas touchez, quelque peux aller faire un tour dessus est me donner sont avis ? merci Link to comment Share on other sites More sharing options...
baalow Posted January 21, 2014 Author Share Posted January 21, 2014 Je précise bien que j'ai fait la réécriture d'url . Link to comment Share on other sites More sharing options...
baalow Posted January 21, 2014 Author Share Posted January 21, 2014 Changement effectué, j'ai réussi a récupérais les photos.. mais sur quelque lien j'ai un message d'erreur qui apparait : Please use the following URL instead: http://www.leflamant-rose.com/strings-boxers/13-string-blasco-avec-ouverture-5900308552766.html?ff9681f45fc75c2317749ca6d18afc4e=111YgYu1r1nHpx9mmbTx9aZRW5eTKlo3qQn50FosYOHGtNix2WV0nF2rdsbgSc6JxwXdLunxVhegVr4iCG%2FIDUNvY8h8uBYrMkI1YcknZc199CfejKiN%2BwjuSOMJsm%2BRWjoaifJjFHAAxw1Pf30llFd0UwTHWOFb3S149GmktnyIxvzaYatSActgPHGqJMb5ykQsb3J1Z4GQYVUsFMnREL4b%2F3GQW8c7zHawTxdwIvv6s%2BgLOEFcS1rMYQJLpkZk1M7UOvrUIvGhubRUkXHIyhrcor0JoA36AYvlXc7nE%2F%2BL1%2FiZdCmh%2F94I0r3FfWL3000236&_ga=GA1.2.672178464.1390289944&3f99a2f33f7744ef0eca694ec6b1a644=111YgYu1r1nHpx9mmbTx9dHlNQ5Hjb1rm6cr%2FVr9EGha0FmK0lXCLnKw9WVIfLergyl3KASbu0a2ILEiG9DCe2BsZsOtwOOEoS13wPMJhNw%3D000075&__utma=45815865.672178464.1390289944.1390333251.1390333251.1&__utmb=45815865.1.10.1390333251&__utmc=45815865 Link to comment Share on other sites More sharing options...
Gregory Roussac Posted January 23, 2014 Share Posted January 23, 2014 Hello, Essayer de désactiver le apache multiviews dans l'onglet SEO ? Si le domaine est configuré chez l'hébergeur pour pointer vers le dossier le chemin est / Si le site est en sous dossier (et non en vhost qui pointe vers le dossier) le chemin est /flamantrose/ mais l'url du site contiendra ce sous dossier, ce qui est bien mais pas top. On dirait surtout un problème de configuration du domaine sur le serveur qui pointe sur www et non le dossier donc mais chapeau a vous pour l'entraide ! Cordialement 1 Link to comment Share on other sites More sharing options...
baalow Posted January 23, 2014 Author Share Posted January 23, 2014 Bonjour, Voila probléme resolue. Je devait faire poimter mon répertoire seulement sur le / est pas sur /flamantrose/ Cordialement merci a tout le monde pour votre aide. à bientôt ! 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