Jump to content

install big problem


Recommended Posts

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 7

le site est : http://hcg24.clenbuterol.cc/install/

mon serveur :
Apache version 1.3.41 (Unix)
PHP version 5.2.6
MySQL version 5.0.67-community
Architecture i686
Operating system Linux

Link to comment
Share on other sites

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

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

Then 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

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

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

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

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 work
then 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

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