Jump to content

Problème d'installation chez infomaniak


Recommended Posts

Bonjour à tous,

J'ai quelques soucis à installer prestashop chez infomaniak.
Jusqu'a l'étape 3, tout fonctionne correctement mais au moment de passer à l'étape 4, rien ne se passe, j'ai beau cliquer sur le bouton suivant, aucune réaction...

à l'étape 2, tous les prérequis sont bons :

    *  Paramètres PHP :
   * PHP 5.0 ou supérieur installé
   * Envoi de fichier autorisé
   * Création de nouveaux dossiers et fichiers autorisée
   * Librairie GD installée
   * Le support de MySQL est activé
   * Droits en écriture sur les dossiers
   * /config
   * /tools/smarty/compile
   * Droits en écriture sur les dossiers (et leurs sous-dossiers) :
   * /img
   * /mails
   * /modules
   * /themes/prestashop/lang
   * /translations

Paramètres optionnels

   * Paramètres PHP :
   * Ouverture des URL externes autorisée
   * L'option PHP "register global" est désactivée (recommandé)
   * La compression GZIP est activée (recommandé)



le .htaccess a été modifié comme indiqué (cf. les 3 dernières lignes :

################################## Errors ######################################
#ErrorDocument 301 /error/301-moved_permanently.html
#ErrorDocument 302 /error/302-moved_temporarily.html
#ErrorDocument 303 /error/303-see_other.html
#ErrorDocument 400 /error/400-bad_request.html
ErrorDocument 401 /error/401-authorization_required.html
#ErrorDocument 402 /error/402-payment_required.html
ErrorDocument 403 /error/403-forbidden.html
ErrorDocument 404 /error/404-not_found.html
#ErrorDocument 405 /error/405-method_not_allowed.html
#ErrorDocument 406 /error/406-not_acceptable.html
#ErrorDocument 407 /error/407-proxy_authentication_required.html
ErrorDocument 408 /error/408-request_timed_out.html
#ErrorDocument 409 /error/409-conflicting_request.html
#ErrorDocument 410 /error/410-gone.html
#ErrorDocument 411 /error/411-content_length_required.html
#ErrorDocument 412 /error/412-precondition_failed.html
#ErrorDocument 413 /error/413-request_entity_too_long.html
#ErrorDocument 414 /error/414-request_uri_too_long.html
#ErrorDocument 415 /error/415-unsupported_media_type.html
ErrorDocument 500 /error/500-internal_server_error.html
#ErrorDocument 501 /error/501-not_implemented.html
#ErrorDocument 502 /error/502-bad_gateway.html
ErrorDocument 503 /error/503-service_unavailable.html
#ErrorDocument 504 /error/504-gateway_timeout.html
#ErrorDocument 505 /error/505-http_version_not_supported.html
################################################################################

######################### Howto map /~user to /user ############################
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/([^/]+)$
RewriteCond %{DOCUMENT_ROOT}/%1 !-d
RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
RewriteRule ^([^/]+)$ http://%{HTTP_HOST}/$1/ [R,L]
RewriteCond %{REQUEST_URI} ^/([^/]+)/
RewriteCond %{DOCUMENT_ROOT}/%1 !-d
RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
RewriteRule ^([^/]+)(.+)$ /~$1/$2
################################################################################

###################### Howto map /users/user to /users/user ####################
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/users/([^/]+)$
RewriteCond %{DOCUMENT_ROOT}/%1 !-d
RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
RewriteRule ^users/([^/]+)$ http://%{HTTP_HOST}/users/$1/ [R,L]
RewriteCond %{REQUEST_URI} ^/users/([^/]+)/
RewriteCond %{DOCUMENT_ROOT}/%1 !-d
RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
RewriteRule ^users/([^/]+)(.+)$ /~$1/$2
################################################################################

php_flag allow_url_fopen On
php_flag allow_url_include On
php_flag register_globals Off



aurais-je loupé quelque chose ?? :(
merci d'avance pour vos réponses et navrée si la question a déjà été posée mais je n'ai rien trouvé.

Link to comment
Share on other sites

Bonjour,
Configure bien ton .htaccess comme suit:
# 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

a essayer

Link to comment
Share on other sites

  • 5 months later...

# 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

a essayer


Bonjour
J'ai une page blanche il ne faut laissé que ce code dans le htaccess ou l' ajouter au reste , j'ai essayé les deux de toute manière. :-S
Les dossiers où l'on a changés les droits faut-il les rechanger après l'installation ?

Merci
Link to comment
Share on other sites

  • 3 years later...

J'ai egalement quelques soucis à installer prestashop chez infomaniak et la création du .htaccess ne change rien à mes problèmes d'installation. (environ 25 tentatives avec la dernière version de prestashop) et je pose la question ou précisément enregistrer ce fichier.

Merci

vincent

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