Jump to content

[Resolu]Pages blanches après install chez Infomaniak


Recommended Posts

Bonjour
J'ai lu ce poste Là... pour les problèmes de .htaccess mais malgré ma configuration ci-dessous j'ai une page blanche dans la partie client et admin :-S

# URL rewriting module activation
RewriteEngine on

# URL rewriting rules
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 ^([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]

# Catch 404 errors
ErrorDocument 404 /404.php


php_flag allow_url_fopen On
php_flag allow_url_include On
php_flag register_globals Off



Pouvez-vous m'aider
Merci

Link to comment
Share on other sites

J'ai ajouté ceci
Dans le fichier config/config.inc.php mettre
@ini_set(‘display_errors’, ‘off’);
à ‘on‘.
Voilà l'erreur :

Fatal error: Cannot redeclare class BlockCategories in /home/www/0d202537db6f5d039260a7981af25d7c/web/modules/blockcategories/blockcategories.php on line 278



Que faut-il faire ?
Marci

Link to comment
Share on other sites

  • 2 weeks later...

Le problème vient probablement du drapeau "E".

Essaye avec le fichier suivant:

# URL rewriting module activation
RewriteEngine on
RewriteBase / 

# URL rewriting rules
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$1$3 [L]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ category.php?id_category=$1 [QSA,L]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$1 [QSA,L]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ supplier.php?id_supplier=$1$3 [QSA,L]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ manufacturer.php?id_manufacturer=$1$3 [QSA,L]

# Catch 404 errors
ErrorDocument 404 /404.php

[/b]

Chez moi ça a résolu le problème :)

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