Jump to content

Erreur après avoir changer de serveur


Recommended Posts

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 Found

The 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

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

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 

post-759091-0-13184500-1432300158_thumb.png

Edited by ghostrider6969 (see edit history)
Link to comment
Share on other sites

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

voici se que g dans mon htacces 

 

# Use PHP5.4 as default
AddHandler 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.com
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api$ api/ [L]

RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# Images
RewriteRule ^([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 fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]

# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>

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>

#If rewrite mod isn't enabled
ErrorDocument 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

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>

Edited by guigui23 (see edit history)
  • Like 1
Link to comment
Share on other sites

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 by ghostrider6969 (see edit history)
Link to comment
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
×
×
  • Create New...