rey55 Posted February 6, 2009 Share Posted February 6, 2009 bonjour,je narrvie pas l'installer; je deja fais le modif sur le fichier htaccess pour le ovh , mais pas de resultate... Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.57/guida/www/Boutik/01/install/classes/LanguagesManager.php on line 7 Link to comment Share on other sites More sharing options...
Patric Posted February 6, 2009 Author Share Posted February 6, 2009 rey55 : je te crée un nouveau topic, je pense qu'il est mieux de conserver celui en sticky pour donner des infos plutôt que pour demander de l'aide... ;-) Link to comment Share on other sites More sharing options...
Patric Posted February 6, 2009 Author Share Posted February 6, 2009 Poste le contenu de ton fichier .htaccess. Link to comment Share on other sites More sharing options...
Gub Posted February 6, 2009 Share Posted February 6, 2009 J'ai aussi un problème en installant prestashop sur OVH :Quand je valide l'adresse http://www.monsite.com/vente/install/J'ai sur l'écrangetIncludeTradFilename()) include_once($lm->getIncludeTradFilename()); ?> Ca semble provenir des lignes suivantes :include(INSTALL_PATH.'/classes/LanguagesManager.php');$lm = new LanguageManager(dirname(__FILE__).'/langs/list.xml');$_LANG = array();$_LIST_WORDS = array();function lang($txt) { global $_LANG , $_LIST_WORDS; return (isset($_LANG[$txt]) ? $_LANG[$txt] : $txt);}if ($lm->getIncludeTradFilename()) include_once($lm->getIncludeTradFilename());?><html ><head>*********************************Mon fichier .htaccessSetEnv PHP_VER 5 SetEnv REGISTER_GLOBALS 0RewriteBase / RewriteEngine onRewriteRule ^([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]AddType x-mapp-php5 .phpAddHandler x-mapp-php5 .phpErrorDocument 404 /404.phpMerci de votre aide Link to comment Share on other sites More sharing options...
rey55 Posted February 7, 2009 Share Posted February 7, 2009 Poste le contenu de ton fichier .htaccess. merci , voila mon fichier htaccess.txt SetEnv PHP_VER 5SetEnv REGISTER_GLOBALS 0RewriteBase / # URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ product.php?id_product=$2$4 [L,E]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 ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ cms.php?id_cms=$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 errorsErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
Patric Posted February 7, 2009 Author Share Posted February 7, 2009 voila mon fichier htaccess.txt Le fichier htaccess.txt doit être renommé.htaccessavec le point au début. Sous Windows tu pourras pas le faire facilement. Sur un serveur avec ton client FTP ça devrait aller.Au pire, jette un oeil ici :http://www.prestashop.com/forums/viewthread/8835 Link to comment Share on other sites More sharing options...
rey55 Posted February 7, 2009 Share Posted February 7, 2009 je suis arriver, ...il falé renomé le fichier htaccess.txt = .htacces (sans l'extention .txt)merci, merci encore Link to comment Share on other sites More sharing options...
Gub Posted February 8, 2009 Share Posted February 8, 2009 J'ai aussi un problème en installant prestashop sur OVH :Quand je valide l'adresse http://www.monsite.com/vente/install/J'ai sur l'écrangetIncludeTradFilename()) include_once($lm->getIncludeTradFilename()); ?> ************************************************Avec le fichier suivant, ça marche.Merci à vous************************************************SetEnv PHP_VER 5SetEnv REGISTER_GLOBALS 0RewriteBase / # URL rewriting module activationRewriteEngine on# URL rewriting rulesRewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.)$ product.php?id_product=$2$4 [L,E]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 ^content/([0-9]+)\-([a-zA-Z0-9-])(.)$ cms.php?id_cms=$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 errorsErrorDocument 404 /404.phpPS :comment le passer à "résolu" ? Link to comment Share on other sites More sharing options...
Patric Posted February 8, 2009 Author Share Posted February 8, 2009 Le topic est déjà en "Résolu"... 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