domju Posted September 13, 2020 Share Posted September 13, 2020 (edited) Nice day, please advise, Prestashop version 1.7.6.7 installation on the server was successful, but as I transfer the installation to localhost, I will not even get into the administration. On hosting PHP 7.2.33: 1. cancel and clear the cache 2. I export the database via phpmyadmin 3. I'm packing Prestashop for hosting Localhost PHP 7.3. - WAMP 3.2.2.2 64 Bits: 1. start WAMP 2. Add a Virtual Host eg test / WAMP restart DNS 3. create an account + database via phpmyadmin 4. import databases 5. Unzip Prestashop to the test folder 6. in the database ps_shop_url domain localhost + domain_ssl localhost physical_uri / test / 7. parameters.php - 'database_host' => 'localhost', 8. var - delete cache and nothing, even the admin does not start, if I omit the password to access the database, for example, then the system throws an error that I can not access the database because the password is missing, so I reach for it, where can the error still be? Otherwise, a clean installation of Presty on WAMP works fine Edited September 13, 2020 by domju (see edit history) Link to comment Share on other sites More sharing options...
domju Posted September 13, 2020 Author Share Posted September 13, 2020 21 minutes ago, Pablus said: Hi, first of all, to descart any set up configuration of wamp, try to install a new prestashop on localhost and you will see the alerts in case you have it. 2) If you can't acces you dashboard you can also enable it by accessing config/defines.inc.php and usually @line 29 you will find : define('_PS_MODE_DEV_', false); change it to: define('_PS_MODE_DEV_', true); And then try again and check what error do you get, good luck Thanks for trying it, but as I wrote the clean installation works for me on localhost. I have a problem when I transfer prestashop from hosting to localhost. Link to comment Share on other sites More sharing options...
domju Posted September 13, 2020 Author Share Posted September 13, 2020 (edited) 27 minutes ago, Pablus said: Hi, what are you seen right now when you try to enter your backoffice? a blank screen? in that case enable debug mode to see which error appears and post it here. Connection error Firefox cannot connect to the xxx.cz server. He is trying hard to connect with the online server xxx.cz I deleted all the caches that came to my mind, including browsers this pops up in a browserhttps://xxx.cz/ where xxx is the domain name I'm still thinking of htaccess Edited September 13, 2020 by domju (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted September 14, 2020 Share Posted September 14, 2020 Yes, regenerate .htacesss and better change to PHP 7.2 as Prestashop is not (fully) compatible to 7.2 yet. Link to comment Share on other sites More sharing options...
musicmaster Posted September 15, 2020 Share Posted September 15, 2020 You lost me at PHP 7.3. Don't use higher than 7.2. I am puzzled why you create a virtual host. For me a subdirectory of localhost works ok (and it is one possible source of trouble less). Link to comment Share on other sites More sharing options...
domju Posted September 15, 2020 Author Share Posted September 15, 2020 (edited) 21 minutes ago, musicmaster said: You lost me at PHP 7.3. Don't use higher than 7.2. I am puzzled why you create a virtual host. For me a subdirectory of localhost works ok (and it is one possible source of trouble less). thank you I already found out, however I finally installed xampp + PHP 7.2.33 and everything works as it should of course only localhost without virtual host, I wanted to keep the original name of the eshop Edited September 15, 2020 by domju (see edit history) Link to comment Share on other sites More sharing options...
ZHSoft Posted September 16, 2020 Share Posted September 16, 2020 Recommend to use PHP7.1 Link to comment Share on other sites More sharing options...
domju Posted September 16, 2020 Author Share Posted September 16, 2020 3 hours ago, ZhSoft said: Recommend to use PHP7.1 7.2.33 is ok, no mistake, so far Link to comment Share on other sites More sharing options...
JeanMarcS Posted September 16, 2020 Share Posted September 16, 2020 6 hours ago, domju said: 7.2.33 is ok, no mistake, so far Well, PHP 7.2 is reaching EOL in 2 months, so I'd be nervous about continuing using it. But hey ! You have no choice ! Prestashop 1.7 Technology is 2 years behind PHP ! A great e-commerce solution indeed... Link to comment Share on other sites More sharing options...
domju Posted September 16, 2020 Author Share Posted September 16, 2020 1 hour ago, JeanMarcS said: Well, PHP 7.2 is reaching EOL in 2 months, so I'd be nervous about continuing using it. But hey ! You have no choice ! Prestashop 1.7 Technology is 2 years behind PHP ! A great e-commerce solution indeed... so there are hundreds of thousands of people who are still going to the prestashop 1.6. and PHP 5.6 I don't see a problem with that, but your note doesn't solve my WAMP problem Link to comment Share on other sites More sharing options...
domju Posted September 16, 2020 Author Share Posted September 16, 2020 On 9/14/2020 at 11:51 AM, JBW said: Yes, regenerate .htacesss and better change to PHP 7.2 as Prestashop is not (fully) compatible to 7.2 yet. I'll try, thank you Link to comment Share on other sites More sharing options...
musicmaster Posted September 16, 2020 Share Posted September 16, 2020 3 hours ago, domju said: I'll try, thank you After changing the PHP version you should empty the cache. 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