Jump to content

[solved] Installation errors - lower cases in 1&1


Recommended Posts

Hi, I am new to Prestashop and tried to install a fresh copy by downloading prestashop_1.5.4.0.zip from the default download URL.

I am installing on a 1and1 shared linux host.

After unpacking and accessing with my browser I could see in the browser URL bar that I was redirected to /install but I got a HTTP 500 error with no more information.

After enabling debug information I found out that some classes are not found because they are specified in CamelCase in init.php and /install/index.php while the actual file names are all lower case.

I had to edit the files to bring up the installer wizard.

It looks like the installer has only been tested on Windows systems. Is that correct?

 

To avoid this error for other users, how can I file a bug ticket?

 

Gert

Link to comment
Share on other sites

from where you downloaded prestashop installator?

I followed the download link from the prestashop.com home page I think.

 

When you uploading files to the FTP, try to not change the capitals, i mean that for linux FileName.php and filename.php arent the same file.

I know that and that is exactly the problem. The class is defined in all lowercase but referenced using camelcase, which is what is causing the problem. Under Windows this will not be a problem but under MacOS & Linux it is.

 

Are you suggesting there are 2 versions of Prestashop?

Link to comment
Share on other sites

you don't have any option to turn this off in hosting configuration panel?

 

OK, I found out what the problem is. It is indeed a 1and1 problem and has nothing to do with Prestashop.

 

Here's how to circumvent it:

 

Upload the prestashop zip, e.g prestashop_1.5.4.zip, file to your installation folder 1and1.

Log into your account using ssh:

ssh <your_domain_name> -l <yourusername>

Provide your FTP/SSH password. Once logged into your 1%amp;1 bash shell, type:

unalias unzip
unzip <the_prestashop_zip_file_name>

That unpacks the zip file correctly, leaving the file name case in tact.

I will contact them and ask if they can explain why they do such a stupid thing as forcing file names to lower case, BY DEFAULT!

But to me this seems to be the only awkward thing about 1and1 so far. The rest of their offering is very good and competitive.

Edited by gertvs (see edit history)
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...