Jump to content

Site indisponible ! Besoin d'aide


Recommended Posts

Bonjour à tous,

 

Problème qui a touché et qui touche encore beaucoup de monde ici, mais je n'ai pas réussi à trouver de réponses...

 

Alors j'avais mon prestashop dans un dossier /prestashop et j'ai voulu le mettre a la racine de mon site. Je pensais que ce serait simple, évidemment non...

 

J'ai donc été dans seo/url pour modifier /prestashop en / 

J'ai verifie dans ma base de données ps_shop url et il m'affiche bien /

 

J'ai d'abord eu un probleme : Fatal error :allowed memory size of...

J'ai contacté mon hebergeur qui m'a levé la limite.

 

Depuis je n'ai clairement plus rien : seulement ça : Code d'erreur : ERR_EMPTY_RESPONSE.

 

Plus d'accès au back-office non plus bien sur. 

 

J'ai supprimé les fichiers dans smarty/compil, rien ne s'est passé..

 

Si vous avez des pistes car la je suis bloqué...

 

Merci de vos réponses..

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

J'ai egalement ce message lorsque j'essaye de me connecter au back-office : 

 

Warning: require(config/config.inc.php): failed to open stream: No such file or directory in /var/www/vhosts/helenere.co.uk/subdomains/shop/httpdocs/config/config.inc.php on line 29 Warning: require(config/config.inc.php): failed to open stream: No such file or directory in /var/www/vhosts/helenere.co.uk/subdomains/shop/httpdocs/config/config.inc.php on line 29 Fatal error: require(): Failed opening required 'config/config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/vhosts/helenere.co.uk/subdomains/shop/httpdocs/config/config.inc.php on line 29 

 

 

J'ai regardé les droits d'accès, ils semblent corrects : 755 pour le dossier config et 744 pour config.inc.php

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

 

 

# ~~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


 

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{HTTP_HOST} ^shop.helenere.co.uk$

RewriteRule . - [E=REWRITEBASE:/]

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

 

# Images

RewriteCond %{HTTP_HOST} ^shop.helenere.co.uk$

RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]

RewriteCond %{HTTP_HOST} ^shop.helenere.co.uk$

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} ^shop.helenere.co.uk$

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} ^shop.helenere.co.uk$

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} ^shop.helenere.co.uk$

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} ^shop.helenere.co.uk$

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} ^shop.helenere.co.uk$

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} ^shop.helenere.co.uk$

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} ^shop.helenere.co.uk$

RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]

RewriteCond %{HTTP_HOST} ^shop.helenere.co.uk$

RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]

# AlphaImageLoader for IE and fancybox

RewriteCond %{HTTP_HOST} ^shop.helenere.co.uk$

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

RewriteCond %{HTTP_HOST} ^shop.helenere.co.uk$

RewriteRule ^.*$ - [NC,L]

RewriteCond %{HTTP_HOST} ^shop.helenere.co.uk$

RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]

</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

 

 

 

Voila mon fichier htaccess, est-il correct ? Je crois avoir essayé toutes les possibilités... 
Link to comment
Share on other sites

J'ai modifié mon fichier htaccess en indiquant SetEnv PHP_VER 5

 

Ensuite dans mon fichier config.inc.php il y avait ca : require_once(./includes/config.inc.php) 

 

J'ai supprimé cette ligne et tout fonctionne à nouveau. Si un admin passe par la il peut donc mettre RESOLU..

 

Si ca peut aider quelqu'un, j'aurais passé quelques heures dessus...

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...