bigdrop Posted November 16, 2016 Share Posted November 16, 2016 (edited) Hi, I need to install Prestashop 1.6.X.X, so I downloaded the prestashop from the official directory and uploaded it to my server from ftp. When I visit my domain on firefox I get a white screen with no info, if I visit the domain from chrome I get an error HTTP ERROR 500. If I try to install the 1.7 version on chrome I get the normal setup steps and dialog. Can anyone please advise me to the right direction. What should I do? **UPDATE When I enable the debug I get this error lines: Warning: tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/mydomain.com/public_html:/home/admin/tmp) in /home/admin/web/mydomain.com/public_html/classes/PrestaShopAutoload.php on line 158Fatal error: Class 'Tools' not found in /home/admin/web/mydomain.com/public_html/classes/PrestaShopAutoload.php on line 168 I think this is something with the file permissions on my server but I'm not sure. Can someone please help? Thank you in advance! Edited November 16, 2016 by bigdrop (see edit history) Link to comment Share on other sites More sharing options...
bigdrop Posted November 17, 2016 Author Share Posted November 17, 2016 Hello, does anyone has an answer to my problem? Link to comment Share on other sites More sharing options...
MTopp Posted December 9, 2016 Share Posted December 9, 2016 Hi, crazy that no one have an answer to this error. Few years ago i use PrestaShop, then change to xtCommerce..... Now i try a new test with prestashop and have the same issue. i my case, i edit the following in PHP.INI open_basedir = none Next think... register_globals = Off register_long_arrays = Off (more performance) And ... WOW it works. 1 Link to comment Share on other sites More sharing options...
mengzc Posted December 9, 2016 Share Posted December 9, 2016 Hi, crazy that no one have an answer to this error. Few years ago i use PrestaShop, then change to xtCommerce..... Now i try a new test with prestashop and have the same issue. i my case, i edit the following in PHP.INI open_basedir = none Next think... register_globals = Off register_long_arrays = Off (more performance) And ... WOW it works. what is your php version? Link to comment Share on other sites More sharing options...
bLogix21 Posted April 30, 2017 Share Posted April 30, 2017 MTopp post worked like a champ. Just had to adjust for PHP v5.4 During Theme Installation on v1.6.1.12 I got the dreaded white screen. upload file size 256mb, all the settings etc. were fine. for 5.4 changed the following: ; This directive determines which super global arrays are registered when PHP ; starts up. G,P,C,E & S are abbreviations for the following respective super ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty ; paid for the registration of these arrays and because ENV is not as commonly ; used as the others, ENV is not recommended on productions servers. You ; can still get access to the environment variables through getenv() should you ; need to. ; Default Value: "EGPCS" ; Development Value: "GPCS" ; Production Value: "GPCS"; ; http://php.net/variables-order ;variables_order = "GPCS" (i simply added ; semicolon to remove it) ; This directive determines which super global data (G,P,C,E & S) should ; be registered into the super global array REQUEST. If so, it also determines ; the order in which that data is registered. The values for this directive are ; specified in the same manner as the variables_order directive, EXCEPT one. ; Leaving this value empty will cause PHP to use the value set in the ; variables_order directive. It does not mean it will leave the super globals ; array REQUEST empty. ; Default Value: None ; Development Value: "GP" ; Production Value: "GP" ; http://php.net/request-order ;request_order = "GP" (same as above.) 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