ghostrider6969 Posted May 22, 2015 Share Posted May 22, 2015 Bonjour voila je détient la dernière version de prestahop et nous avons du changer de serveur alors on fait un backup de tout les fichiers et de la base de donnée et on transfert le tout mais voila que sur le nouveau serveur nous avons ceci comme erreur mais pour-temps le dossier fr est belle et bien sur le serveur donc il i aurait une mauvaise communication entre prestashop et la base de donné ou ??? Est-ce que quelqu’un peut m'aider merci Not FoundThe requested URL /fr/ was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Link to comment Share on other sites More sharing options...
Leyoh Posted May 22, 2015 Share Posted May 22, 2015 (edited) Bonjour, avez vous modifié les fichiers de conf pour donner la nouvelle adresse de la base de données ? Edited May 22, 2015 by Leyoh (see edit history) 1 Link to comment Share on other sites More sharing options...
ghostrider6969 Posted May 22, 2015 Author Share Posted May 22, 2015 Bonjour, avez vous modifié les fichiers de conf pour donner la nouvelle adresse de la base de données ? Bonjour le fichier settings.inc.php à belle et bien été modifier comme ils faut ils ni à pas d'erreur de frappe dans le fichier. Link to comment Share on other sites More sharing options...
prestasafe Posted May 22, 2015 Share Posted May 22, 2015 Bonjour, Il faut juste regenérer le .htaccess dans paramètres avancée -> SEO & URL et cliquez sur sauvegarder au niveau de la réécriture d'url. 1 Link to comment Share on other sites More sharing options...
ghostrider6969 Posted May 22, 2015 Author Share Posted May 22, 2015 Bonjour, Il faut juste regenérer le .htaccess dans paramètres avancée -> SEO & URL et cliquez sur sauvegarder au niveau de la réécriture d'url. Bonjour et merci mais je voudrait bien le faire mais je peux pas je reçoit une page vierge blanche quand je veux accéder a mon panneau admin Link to comment Share on other sites More sharing options...
prestasafe Posted May 22, 2015 Share Posted May 22, 2015 (edited) tu as bien enlevé le /fr dans ton url ? qu'a tu fait exactement comme manipluation ? Sinon essaye de copier ton ancien .htaccess sur le nouveau serveur. Edited May 22, 2015 by guigui23 (see edit history) Link to comment Share on other sites More sharing options...
ghostrider6969 Posted May 22, 2015 Author Share Posted May 22, 2015 (edited) tu as bien enlevé le /fr dans ton url ? qu'a tu fait exactement comme manipluation ? Sinon essaye de copier ton ancien .htaccess sur le nouveau serveur. Oui je retire le /fr mais automatiquement ses rediriger ver le /fr et lorsque je transfert le .htaccess de l’ancien serveur au nouveau serveur et bien quand je tape l'adresse sa m'envoi un fichier en téléchargement voir l'image en pièces jointe Edited May 22, 2015 by ghostrider6969 (see edit history) Link to comment Share on other sites More sharing options...
prestasafe Posted May 22, 2015 Share Posted May 22, 2015 Ah mais la ca serait plus un problème de configuration du serveur. As tu mcrypt d'installé ? c'est quoi comme serveur que tu as pris ? c'est toi qui l'a configuré ou c'est une configuration toute faite ? Link to comment Share on other sites More sharing options...
prestasafe Posted May 22, 2015 Share Posted May 22, 2015 Ou (je viens de pensé) a supprimer les lignes dans ton .htaccess qui correspondent aux anciennes configuration de ton ancien hébergeur (genre ovh ou 1&1) par ex: AddType x-mapp-php5.5 .php AddHandler x-mapp-php5.5 .php 1 Link to comment Share on other sites More sharing options...
ghostrider6969 Posted May 22, 2015 Author Share Posted May 22, 2015 Ah mais la ca serait plus un problème de configuration du serveur. As tu mcrypt d'installé ? c'est quoi comme serveur que tu as pris ? c'est toi qui l'a configuré ou c'est une configuration toute faite ? avant j'etais avec justhost et maintenant g un vps avec OVH Link to comment Share on other sites More sharing options...
ghostrider6969 Posted May 22, 2015 Author Share Posted May 22, 2015 voici se que g dans mon htacces # Use PHP5.4 as defaultAddHandler application/x-httpd-php54 .php# ~~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#Domain: erotiquelachute.comRewriteRule . - [E=REWRITEBASE:/]RewriteRule ^api$ api/ [L]RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# ImagesRewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]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]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]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]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]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]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]RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]# AlphaImageLoader for IE and fancyboxRewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]# DispatcherRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^.*$ - [NC,L]RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]</IfModule>AddType application/vnd.ms-fontobject .eotAddType font/ttf .ttfAddType font/otf .otfAddType application/x-font-woff .woff<IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch></IfModule>#If rewrite mod isn't enabledErrorDocument 404 /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...
prestasafe Posted May 22, 2015 Share Posted May 22, 2015 (edited) supprime le AddHandler application/x-httpd-php54 .php et si ça marche toujours pas supprime ça aussi AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttfAddType font/otf .otfAddType application/x-font-woff .woff<IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch></IfModule> Edited May 22, 2015 by guigui23 (see edit history) 1 Link to comment Share on other sites More sharing options...
ghostrider6969 Posted May 22, 2015 Author Share Posted May 22, 2015 (edited) supprime le AddHandler application/x-httpd-php54 .php et si ça marche toujours pas supprime ça aussi AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> non toujours pas de site qui affiche je me demandais est-ce possible de réinstaller prestashop et après de importer ma base avec tout mes produits par la suite ??? Ils me faut une solution rapide ils me reste que 1 semaine avant de faire l'ouverture officiel et je n'est pas envie de tout rentrer les produit 1 par 1 encore Edited May 22, 2015 by ghostrider6969 (see edit history) Link to comment Share on other sites More sharing options...
prestasafe Posted May 22, 2015 Share Posted May 22, 2015 Hum ça me semble super étonnant. Je t'envoi un message privé pour faire des tests sur un autre serveur ! 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