Tanatus Posted March 27, 2017 Share Posted March 27, 2017 Hi, For those, who could encounter Internal server error 500 during the installation of PrestaShop 1.7.0.x A small solution, that was discovered recently on some hosting providers. When you try to install your Prestashop ver.1.7 you receive the 500 internal server error. If it is not connected with php zip extension, then it is error with file permissions. Open your FTP account and locate the index.php file from your installation (after you have unpacked the downloaded archive). Change the permissions for this file: deactivate permissions from "all users" to "yourself" and activate "execution". And that's all. Your installation will start after this small change. Hope this will help for someone ) 1 Link to comment Share on other sites More sharing options...
rbuelund Posted April 3, 2017 Share Posted April 3, 2017 This also worked for me. So can any developer confirm that the permissions of the files /index.php and /install/index.php need to be set to 700 ? Link to comment Share on other sites More sharing options...
kar3k4 Posted April 5, 2017 Share Posted April 5, 2017 Who is the correct permission? Link to comment Share on other sites More sharing options...
Tanatus Posted April 5, 2017 Author Share Posted April 5, 2017 Who is the correct permission? Just edit the permissions for the file - like allow editing / writing / reading to yourself. I'm not sure how to do it from some FTP software. But each hoster has online web-based FTP access. Just locate your file there and click "edit permissions" or "permissions" button (may be through right click). Link to comment Share on other sites More sharing options...
SqualaDesign Posted June 7, 2017 Share Posted June 7, 2017 HI, correct permissions are: 755, 766 or 700...never 777. 2 Link to comment Share on other sites More sharing options...
varkeychen Posted July 5, 2017 Share Posted July 5, 2017 File permission 700 worked for me well. Link to comment Share on other sites More sharing options...
marios1938 Posted July 27, 2017 Share Posted July 27, 2017 Hi Besides changing the file permission /install/index.php to 766, I also changed the PHP script execution mode from FCGId to CGI from the providers web administration panel (Virtualmin) and the installation was completed. Link to comment Share on other sites More sharing options...
Ramiz Raja Posted March 9, 2018 Share Posted March 9, 2018 : HTTP 500 - error - I am getting this error while installing Prestashop 1.7.3 please help me 1 Link to comment Share on other sites More sharing options...
francesc Posted March 10, 2018 Share Posted March 10, 2018 On 9/3/2018 at 6:01 AM, Ramiz Raja said: : HTTP 500 - error - I am getting this error while installing Prestashop 1.7.3 please help me I have the same problem and it is not resolved by changing index.php permissions ! :'( 1 Link to comment Share on other sites More sharing options...
LineCP Posted March 10, 2018 Share Posted March 10, 2018 Dear francesc Try to Install without to change the installation language (English). That's works for me. Christos 1 Link to comment Share on other sites More sharing options...
francesc Posted March 12, 2018 Share Posted March 12, 2018 Thanks, but does the same Link to comment Share on other sites More sharing options...
francesc Posted March 12, 2018 Share Posted March 12, 2018 Resolved! I reloaded all the files and the installation no longer fails me, I think some would be corrupted by a bad upload Link to comment Share on other sites More sharing options...
Zohaib-fk Posted April 1, 2018 Share Posted April 1, 2018 I used 755 permission for files and folders and it works fine on centos web hosting. This can be done using ftp client software FileZilla or File Manager from Cpanel or SSH access to server with linux command chmod -R 755 /psfoldername 1 Link to comment Share on other sites More sharing options...
Noneleft Posted April 11, 2018 Share Posted April 11, 2018 This is the actual error BTW: Europe/London] PHP Catchable fatal error: Argument 1 passed to PrestaShopBundle\Translation\Loader\SqlTranslationLoader::setTheme() must be an instance of PrestaShop\PrestaShop\Core\Addon\Theme\Theme, null given, called in /Applications/MAMP/htdocs/prestashop_1.7.3.1/classes/Context.php on line 395 and defined in /Applications/MAMP/htdocs/prestashop_1.7.3.1/src/PrestaShopBundle/Translation/Loader/SqlTranslationLoader.php on line 48 Link to comment Share on other sites More sharing options...
Noneleft Posted April 11, 2018 Share Posted April 11, 2018 The only way around it I could find, was to ensure that int he beginning that the County was set to USA - UK or any other European county meant it failed. 1 1 Link to comment Share on other sites More sharing options...
mr_absinthe Posted April 13, 2018 Share Posted April 13, 2018 On 4/11/2018 at 8:05 PM, Noneleft said: The only way around it I could find, was to ensure that int he beginning that the County was set to USA - UK or any other European county meant it failed. Thank you, this solution helped me as well. Link to comment Share on other sites More sharing options...
Sagentur Posted April 14, 2018 Share Posted April 14, 2018 Effectively! It has worked! Thank you very much (It's amazing that this works like this) ;-( Link to comment Share on other sites More sharing options...
varkeychen Posted April 15, 2018 Share Posted April 15, 2018 (edited) For Prestashop 1.7.0.x, permission 700 worked well. But for 1.7.3.1 it didn't work. After several trials, as per the direction from 'Noneleft' I installed it with the country selection USA and USA/Alaska, it worked well. I am from India and I have to change the country after the installation. Edited April 15, 2018 by varkeychen (see edit history) Link to comment Share on other sites More sharing options...
msarmiento Posted April 24, 2018 Share Posted April 24, 2018 On 11/4/2018 at 8:05 PM, Noneleft said: The only way around it I could find, was to ensure that int he beginning that the County was set to USA - UK or any other European county meant it failed. Work for me. 1.7.1.3 version Link to comment Share on other sites More sharing options...
Authentic Posted April 29, 2018 Share Posted April 29, 2018 (edited) On 14/4/2018 at 10:40 PM, varkeychen said: For Prestashop 1.7.0.x, permission 700 worked well. But for 1.7.3.1 it didn't work. After several trials, as per the direction from 'Noneleft' I installed it with the country selection USA and USA/Alaska, it worked well. I am from India and I have to change the country after the installation. You have the reason! I tried changing the country to USA and work! Thank You n.n Edited April 29, 2018 by Authentic Error type (see edit history) Link to comment Share on other sites More sharing options...
varkeychen Posted May 12, 2018 Share Posted May 12, 2018 Good news! Prestashop 1.7.3.2 solved this problem of country selection. I am from India and today I installed one copy with the country selection India genuinely in installation successfully. I hope in future we can select our own country in the installation itself. Link to comment Share on other sites More sharing options...
Nodge Posted May 22, 2018 Share Posted May 22, 2018 I'm trying to install v.1.7.3.2 and I'm getting the 500 error before any installation starts. I uploaded the 3 files from the download package to my webspace and tech support at my hosting company are telling me there is an error in the index.php file ... "PHP Parse error: syntax error, unexpected '[' in /home/sites/********/index.php on line 51" I've tried uploading the index.php file again but no joy. I've tried changing the permissions for the file to include "execute" but nothing. I've asked them to confirm what version of PHP they are running but other than that I'm stumped. Any ideas? Thanks John Link to comment Share on other sites More sharing options...
Nodge Posted May 22, 2018 Share Posted May 22, 2018 I've just checked on the hosting company's website and it looks like they are running PHP 5.2 - 7 which seems not to be compatible with Prstashop V. 1.7.3.2. So can anyone tell me the latest version of Prestashop that will run under PHP 5.2 - 7 ? Thanks John Link to comment Share on other sites More sharing options...
Mehrshad Zakerian Posted July 12, 2018 Share Posted July 12, 2018 I'd the same problem installing PrestaShop 1.7.4.0 stable on my Xampp. I read all the topics and found out this issue appears when you try to install it on different language than "EN US or UK". So I tried to find what causes this problem and finally I found out there's a module named "ps_themecusto" inside my modules directory. I removed that module and restarted the installation process. Result: My problem was solved and I did not get 500 error any more. I'll report this issue to PrestaShop asap. 1 Link to comment Share on other sites More sharing options...
Davet1986 Posted September 6, 2018 Share Posted September 6, 2018 I've asked them to confirm what version of PHP they are running but other than that I'm stumped. Any ideas?. Casino Online Link to comment Share on other sites More sharing options...
Alex Baldwin Posted December 26, 2018 Share Posted December 26, 2018 Davet1986, nice Link Link to comment Share on other sites More sharing options...
JB79 Posted April 25, 2019 Share Posted April 25, 2019 Same problem... HTTP 500 error... Nothing has worked for me. But I have found solution. Problem is on hosting server PHP version. Here is a table where are official PHP requirements, but it's really not correct for a new installation of prestashop, not sure for update od PS. PrestaShop Version Minimum Recommended Not compatible 1.6.1.x PHP 5.2 PHP 7.1 PHP 7.2+ 1.7.0 ~ 1.7.3 PHP 5.4 PHP 7.1 PHP 7.2+ 1.7.4 PHP 5.6 PHP 7.1 PHP 7.2+ 1.7.5 PHP 5.6 PHP 7.2 PHP 7.3+ I have tried many solutions (language change, permission change, but nothing has worked for me). So as a last thing I have tried was PHP ver. change from 5.6 to 7.2 and then everything was installed correctly with no errors in Slovak langauge (Prestashop v 1.7.5.1). I have tested PHP versions 7.0 and 7.1, but there was an errors too. So the solution for me was to change hosting server PHP to ver. 7.2 and everything is fine now for me now. Link to comment Share on other sites More sharing options...
thehurricane Posted November 15, 2019 Share Posted November 15, 2019 On 4/25/2019 at 11:03 AM, JB79 said: Same problem... HTTP 500 error... Nothing has worked for me. But I have found solution. Problem is on hosting server PHP version. Here is a table where are official PHP requirements, but it's really not correct for a new installation of prestashop, not sure for update od PS. PrestaShop Version Minimum Recommended Not compatible 1.6.1.x PHP 5.2 PHP 7.1 PHP 7.2+ 1.7.0 ~ 1.7.3 PHP 5.4 PHP 7.1 PHP 7.2+ 1.7.4 PHP 5.6 PHP 7.1 PHP 7.2+ 1.7.5 PHP 5.6 PHP 7.2 PHP 7.3+ I have tried many solutions (language change, permission change, but nothing has worked for me). So as a last thing I have tried was PHP ver. change from 5.6 to 7.2 and then everything was installed correctly with no errors in Slovak langauge (Prestashop v 1.7.5.1). I have tested PHP versions 7.0 and 7.1, but there was an errors too. So the solution for me was to change hosting server PHP to ver. 7.2 and everything is fine now for me now. For me solution was the same, just changed PHP version to 7.2 Link to comment Share on other sites More sharing options...
sanbikes Posted May 10, 2021 Share Posted May 10, 2021 None of this worked for me. Does anyone have any witchcraft? Link to comment Share on other sites More sharing options...
Zohaib-fk Posted May 11, 2021 Share Posted May 11, 2021 We can use auto installer feature available in many web hosting providers. For example Softaculous Auto Installer URL=> https://www.softaculous.com/softaculous/ Link to comment Share on other sites More sharing options...
sanbikes Posted May 11, 2021 Share Posted May 11, 2021 (edited) Yes, but Softaculous directly installs it for English, and that's what I don't want. In my store my language is "id 1", and Softaculous installs English with "id 1". In my store everything that refers to my language is id 1. This would cause problems. Edited May 11, 2021 by sanbikes (see edit history) Link to comment Share on other sites More sharing options...
Zohaib-fk Posted May 11, 2021 Share Posted May 11, 2021 (edited) Hello Sabikes, I found a useful tool name PrestaShop system requirements checker. This tool can help. URL => https://github.com/PrestaShop/php-ps-info/ I had created the demo video in past regarding the installation process. Edited May 27, 2021 by Zohaib-fk Post Updated (see edit history) Link to comment Share on other sites More sharing options...
sanbikes Posted May 11, 2021 Share Posted May 11, 2021 (edited) I changed the settings in Cpanel> PHP selector> PHP options Did not work! Another information I omitted, my server is "LiteSpeed" I'm almost giving up, 300 solutions none work😢 Edited May 11, 2021 by sanbikes (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted May 12, 2021 Share Posted May 12, 2021 On 5/10/2021 at 6:49 PM, sanbikes said: None of this worked for me. What is your issue? the same 500 Error? How far did you come? Link to comment Share on other sites More sharing options...
sanbikes Posted May 29, 2021 Share Posted May 29, 2021 The installation of Prestashop is not complete. And a 500 timeout message appears. I didn't want to, but I had to do it with Softaculous, except that it doesn't give me the option to choose my language at the time of installation, this technically gave me a lot of work, because my tables referring to language _lang ids were all number 1. I had to replace everything with 2 Link to comment Share on other sites More sharing options...
Nickz Posted May 29, 2021 Share Posted May 29, 2021 36 minutes ago, sanbikes said: And a 500 timeout message appears. What server you are on? Cpanel access you have? Link to comment Share on other sites More sharing options...
sanbikes Posted May 29, 2021 Share Posted May 29, 2021 Litespeed Yes, I have access. But I solved the installation in another way using Softaculous 😃 Link to comment Share on other sites More sharing options...
sanbikes Posted May 29, 2021 Share Posted May 29, 2021 I have another problem, when I activate error log I get this warning 😓 Fatal error: Class 'ObjectModel' not found in /home.../public_html/storename/classes/Configuration.php on line 30 PS 1.7.7.4 PHP 7.2 Litespeed Server Link to comment Share on other sites More sharing options...
Nickz Posted May 29, 2021 Share Posted May 29, 2021 1 hour ago, sanbikes said: ObjectModel look up stack overflow there are a few comments which could give you a hint. Link to comment Share on other sites More sharing options...
sanbikes Posted May 29, 2021 Share Posted May 29, 2021 I looked in several post-occurrence cases, but no file path that I should edit to correct, only this message Fatal error: Class 'ObjectModel' not found in Link to comment Share on other sites More sharing options...
Irualz Posted September 23, 2021 Share Posted September 23, 2021 I'm installing PrestaShop for the first time so this is all new to me. I am using cPanel and I have uploaded prestashop.zip to public_html and extracted the files. I get "Internal Server Error" when trying to launch the installer. I'm doing that by simply entering my domain in browser (www.mydomain.com). Presta version 1.7.7.8 Link to comment Share on other sites More sharing options...
Nickz Posted September 23, 2021 Share Posted September 23, 2021 7 hours ago, Irualz said: I get "Internal Server Error" when trying to launch the installer. check the requierements https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ Thee is a lot to check. Link to comment Share on other sites More sharing options...
Irualz Posted September 23, 2021 Share Posted September 23, 2021 Thanks for the tip. I ran the PHP info system requirements tool and everything else is ok except for max_input_vars under PHP configuration (current 1000, recommended 5000) memcached under PHP extensions (No vs. Yes) My PHP version is 7.4.23 and recommended is 7.1 but that shouldn't have effect I believe? Link to comment Share on other sites More sharing options...
Irualz Posted September 27, 2021 Share Posted September 27, 2021 On 9/23/2021 at 9:47 PM, Irualz said: Thanks for the tip. I ran the PHP info system requirements tool and everything else is ok except for max_input_vars under PHP configuration (current 1000, recommended 5000) memcached under PHP extensions (No vs. Yes) My PHP version is 7.4.23 and recommended is 7.1 but that shouldn't have effect I believe? Should there be an error log or such in my bluehost server? I really have no idea how to go forward from here. Should I maybe try some earlier PrestaShop versions instead of 1.7.7.8? Link to comment Share on other sites More sharing options...
Nickz Posted September 27, 2021 Share Posted September 27, 2021 4 hours ago, Irualz said: My PHP version is 7.4.23 and recommended is 7.1 but that shouldn't have effect I believe? Try it. Bluehost is not the best choice for a business startup. Specially when shared server. PHP uploads you change in php.ini for the version your server runs on. Link to comment Share on other sites More sharing options...
donato06 Posted June 2, 2022 Share Posted June 2, 2022 buon giorno prima installazione di PS 1.7.8.6 su hosting Aruba https://www.domaoffice.it/install/ www.domaoffice.it al momento non è in grado di gestire la richiesta. HTTP ERROR 500, come posso risolvere, grazie Link to comment Share on other sites More sharing options...
donato06 Posted June 2, 2022 Share Posted June 2, 2022 1 hour ago, donato06 said: Buongiorno prima installazione di PS 1.7.8.6 su hosting Aruba https://www.domaoffice.it/install/ www.domaoffice.it al momento non è in grado di gestire la richiesta. HTTP ERROR 500, posso come risolvere, grazie ho trovato questo errore dopo il test phppsinfo come posso risolvere ? grazie Link to comment Share on other sites More sharing options...
Nickz Posted June 2, 2022 Share Posted June 2, 2022 3 hours ago, donato06 said: ho trovato questo errore dopo il test phppsinfo come posso risolvere ? grazie you go to your repsective PHP folder under etc/php/xxxxx and edit the php.ini file. If you don't know much better go to job offers or PM me. 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