Jump to content

.htaccess?


Recommended Posts

Hi!

I'm trying to install prestashop to a server. This is the error message i get:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/34/d36870171/htdocs/SWEDEN/prestashop/install/classes/ToolsInstall.php on line 4


I have been told to put the following lines into a .htaccess file in the root directory of the shop:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php


If i do that I dont get the php error BUT i get the error

"This application need you to activate Javascript to correctly work."


instead. I guess i somehow have to add the addtype etc to the normal htaccess file located in the config directory, but if i do i only get the php error message.

How do i solve this?
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...