FZCSolutions Posted May 31, 2009 Share Posted May 31, 2009 J'ai eu un gros problème, j'ai téléchargé Prestashop, je l'ai uploadé sur mon ftp;Primo : Index ne me redirectionne pas sur comme prévu sur page d'install, et la page d'install me donne ces erreurs :Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/clenlcc1/public_html/hcg24/install/classes/LanguagesManager.php on line 7le site est : http://hcg24.clenbuterol.cc/install/mon serveur :Apache version 1.3.41 (Unix)PHP version 5.2.6MySQL version 5.0.67-communityArchitecture i686Operating system Linux Link to comment Share on other sites More sharing options...
FZCSolutions Posted May 31, 2009 Author Share Posted May 31, 2009 S'il vous plait aidez moi c'est très urgent ! Link to comment Share on other sites More sharing options...
VIXUS Posted May 31, 2009 Share Posted May 31, 2009 Maybe you will get some help if you try to post in English? Link to comment Share on other sites More sharing options...
FZCSolutions Posted May 31, 2009 Author Share Posted May 31, 2009 I had a big problem, I downloaded PrestaShop, I've uploaded on my ftp; Primo: Index does not redirectionne as expected on the install page and the page gives me install these errors: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ')' in / home/clenlcc1/public_html/hcg24/install/classes/LanguagesManager.php on line 7 the site is: http://hcg24.clenbuterol.cc/install/ my server: Apache version 1.3.41 (Unix) PHP version 5.2.6 MySQL version 5.0.67-community Architecture i686 Linux operating system Link to comment Share on other sites More sharing options...
Patric Posted June 1, 2009 Share Posted June 1, 2009 May be, try to reupload the files, with FileZilla for example. Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 I had the same problems. I had to rewrite the htaccess.txt file. Just copy and paste the following code into that file.# URL rewriting module activationRewriteEngine onRewriteBase /# 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]AddType x-mapp-php5 .php# Catch 404 errorsErrorDocument 404 /404.phpThen you will need to rename that file from htaccess.txt to .htaccess and upload it to your server again.Hope this helps! Link to comment Share on other sites More sharing options...
FZCSolutions Posted June 2, 2009 Author Share Posted June 2, 2009 It gives 500 Internal Error now .. Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 Sorry, I am new at using the forums here.I probably should have posted it by using the code button ....I'll try again. # 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,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] AddType x-mapp-php5 .php # Catch 404 errors ErrorDocument 404 /404.php Just copy and paste (and save) as before and upload, then rename the file to ".htaccess" Link to comment Share on other sites More sharing options...
FZCSolutions Posted June 2, 2009 Author Share Posted June 2, 2009 Now it became like a Windows server !!!It's showing me every php content ! Link to comment Share on other sites More sharing options...
Patric Posted June 2, 2009 Share Posted June 2, 2009 Did you try to reupload all the install files ? Link to comment Share on other sites More sharing options...
FZCSolutions Posted June 2, 2009 Author Share Posted June 2, 2009 yes, already 3 times, once with the same 1.1 version and two times with the new 1.2 beta. allways same result Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 Did you rename the file to “.htaccess” ? Link to comment Share on other sites More sharing options...
FZCSolutions Posted June 2, 2009 Author Share Posted June 2, 2009 of corse ! Do you want my ftp settings ? Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 I'll take a look.EDITED-----------------------------------e-mail address has since been removed from post Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 FZCSolutions,Since I'm still just a beginner, I'll show your code for ".htaccess" here so the members can see exactly what you have so they give you a proper answer to your problem. # BEGIN WordPress RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress Hope this help! Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 I'll look at how PrestaShop is installed combined with your other files to see if it is correct, I'll get back with you as soon as I can. Link to comment Share on other sites More sharing options...
Guest Posted June 2, 2009 Share Posted June 2, 2009 FZCSolutions,I have checked all of your PrestaShop files and they now appear to be complete.With all of the other files on your server, such as "Word Press"I am wondering if PrestaShop is installed into the proper location.It appears that you are trying to install PrestaShop Shopping Cart into a "Word Press" website.I suggest that you retry to launch PrestaShop/install and if it still does not workthen hopefully a more experienced member with PrestaShop and Word Press may be able to help you.I'm interested to find out if this helps you in any way. 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