gertvs Posted April 18, 2013 Share Posted April 18, 2013 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 More sharing options...
vekia Posted April 18, 2013 Share Posted April 18, 2013 from where you downloaded prestashop installator? 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. Link to comment Share on other sites More sharing options...
gertvs Posted April 18, 2013 Author Share Posted April 18, 2013 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 More sharing options...
Tung at RockPOS.com Posted April 20, 2013 Share Posted April 20, 2013 I had experienced on a similar case. Our test site was on 1and1 hosting. I did not know why this hosting automatically converted all characters to lowercase. A stupid thing! In that case, my solution: leave the hosting and purchase a new host, for example: A2 hosting. Link to comment Share on other sites More sharing options...
vekia Posted April 21, 2013 Share Posted April 21, 2013 you don't have any option to turn this off in hosting configuration panel? Link to comment Share on other sites More sharing options...
gertvs Posted April 22, 2013 Author Share Posted April 22, 2013 (edited) 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 April 22, 2013 by gertvs (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted April 22, 2013 Share Posted April 22, 2013 thank for sharing your solution, so i think that i can mark this thread as solved 1 Link to comment Share on other sites More sharing options...
Tung at RockPOS.com Posted April 22, 2013 Share Posted April 22, 2013 (edited) This link may provide more information, if someone else would like to know. http://www.prestashop.com/forums/topic/640-11-hosting-service-specific-problems/ Cheers, Edited April 22, 2013 by Hamsa (see edit history) 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