ellenvandrunen Posted September 26, 2019 Share Posted September 26, 2019 Hi there, I want to update my presta from 1.6.1.5 to the latest stable version. So, first I cloned the website and database as mentioned in this topic: I can login in the backend, but as someone else suggested, I keep getting the message: ERR_TOO_MANY_REDIRECTS So, I followed the steps to create a new htaccess file, but still get the same error. So, please advise. My live site is in the root directory, the clone in a subfolder /presta17 So I changed the shop url's as follows: Shop domain: www.myshop.nl/presta17 SSL domain: www.myshop.nl/presta17 Base URI: / I tried different values, but the error remains. What should I do next? Thanks in advance, Ellen Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 26, 2019 Author Share Posted September 26, 2019 (edited) Ok, I changed the settings: Shop domain: www.myshop.nl SSL domain: www.myshop.nl Base URI: presta17 Front end is loading, but it looks like the css is not. Any idea how to fix this? Edited September 26, 2019 by ellenvandrunen (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted September 26, 2019 Share Posted September 26, 2019 disable and save then enable and save friendly url's, this will regenerate your .htaccess. Then visit shop from incognito window. Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 27, 2019 Author Share Posted September 27, 2019 Thanks El Patron, I tried that, but still not working. We use the standard theme with tweaked colors. Link to comment Share on other sites More sharing options...
El Patron Posted September 27, 2019 Share Posted September 27, 2019 I assumed you already did all the other stuff, like clear cache. When this happens to me I ask @razaro, I've created probably 100's of demos/dev shops/etc. Link to comment Share on other sites More sharing options...
razaro Posted September 27, 2019 Share Posted September 27, 2019 Hi @ellenvandrunen From guide I do not see step that you need to do. In new clone database check ps_shop_url and change domin/subfolder if you did not already. Also in 1.7 you can try manually to delete dev and prod folders from var/cache/. 1 Link to comment Share on other sites More sharing options...
Fabry Posted September 27, 2019 Share Posted September 27, 2019 Hey Ellen, in ps_shop_url table don't forget the 2 slashes:-)....so you have to change: this Shop domain: www.myshop.nl SSL domain: www.myshop.nl Base URI: presta17 in: Shop domain: www.myshop.nl SSL domain: www.myshop.nl Base URI: /presta17/ I hope it works ciao Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 28, 2019 Author Share Posted September 28, 2019 13 hours ago, El Patron said: I assumed you already did all the other stuff, like clear cache. When this happens to me I ask @razaro, I've created probably 100's of demos/dev shops/etc. Hi El Patron, yes, I have cleared the cache. Thank you for your suggestion. Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 28, 2019 Author Share Posted September 28, 2019 13 hours ago, razaro said: Hi @ellenvandrunen From guide I do not see step that you need to do. In new clone database check ps_shop_url and change domin/subfolder if you did not already. Also in 1.7 you can try manually to delete dev and prod folders from var/cache/. Hi Razaro, In the clone database I checked the table ps_shop_url and it looks like this: domain = www.shop.nl domain_ssl = www.shop.nl physical_uri = /presta17/ Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 28, 2019 Author Share Posted September 28, 2019 9 hours ago, Fabry said: Hey Ellen, in ps_shop_url table don't forget the 2 slashes:-)....so you have to change: this Shop domain: www.myshop.nl SSL domain: www.myshop.nl Base URI: presta17 in: Shop domain: www.myshop.nl SSL domain: www.myshop.nl Base URI: /presta17/ I hope it works ciao Thank you Fabry, that's what it looks like in de database now. But unfortunately it did not resolve the problem. Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 28, 2019 Author Share Posted September 28, 2019 In Prestashop admin configuration information I see a warning of missing files: /cache/smarty/compile/index.php, /css/index.php are missing. But, I have the same warning in the live site. Is there anything else I should check? Thanks again, Ellen Link to comment Share on other sites More sharing options...
Fabry Posted September 28, 2019 Share Posted September 28, 2019 Hi Ellen....i wonder if you have enabled ssl in all pages....have you done this from Preference>General...check this. Link to comment Share on other sites More sharing options...
razaro Posted September 28, 2019 Share Posted September 28, 2019 Hi Ellen Maybe sharing link, if you want by Personal Message, could help out a bit. 1 Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 28, 2019 Author Share Posted September 28, 2019 2 hours ago, Fabry said: Hi Ellen....i wonder if you have enabled ssl in all pages....have you done this from Preference>General...check this. Hi Fabry, thanks, I checked and SSL is enabled on all pages. Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 28, 2019 Author Share Posted September 28, 2019 2 hours ago, razaro said: Hi Ellen Maybe sharing link, if you want by Personal Message, could help out a bit. Hi Razaro, I've send you a pm. Guys, thank you so much for helping! Really appreciate it. Ellen 1 Link to comment Share on other sites More sharing options...
razaro Posted September 28, 2019 Share Posted September 28, 2019 Hi Ellen Thank you for links and credentials. Issue is connected to your PrestaShop version, 1.6.1.5. There new bug was introduced that was fixed in later versions. https://github.com/PrestaShop/PrestaShop/pull/5410 In short, if PrestaShop is installed in sub-folder, option CCC (Combine, Compress, Cache) CSS files does not work. So it does not display any styles. I have disabled that and displays fine. You can try to test upgrade to 1.7, good luck. After in 1.7 you can enable CCC for CSS. 1 1 Link to comment Share on other sites More sharing options...
ellenvandrunen Posted September 29, 2019 Author Share Posted September 29, 2019 Wow! Thank you so much Razaro! Now, let's hope update is quick and easy ;) 1 1 Link to comment Share on other sites More sharing options...
fercaldas Posted July 17, 2020 Share Posted July 17, 2020 Friends I will take this topic to ask for help. I have problems to clone my productive shop... My version is 1.7.6.4 1- First of all I clear the productive shop cache using my productive back-office. 2- Via CPANEL I copied my production folder (public_html/shop) to public_html/shopdev (not a subfolder from productive shop) 3- Via PHPMyAdmin I export the productive DB 4- Via Cpanel I manually created new empty database (xxxx_shopdev) 5- Via PHPMyAdmin I restore the productive DB into new xxxx_shopdev DB. 6- Via PHPMyAdmin I change table xxxx_shopdev-xxxx_shop_url : ---> domain = mydomain.com/shopdev/ ---> domain_ssl = mydomain.com/shopdev/ ---> physical_uri = /shopdev/ 7- Via PHPMyAdmin I change table xxxx_shopdev-xxxx_configuration: ---> PS_SHOP_DOMAIN = mysite.com/shopdev ---> PS_SHOP_DOMAIN_SSL = mysite.com/shopdev And all I have is error 500 in front and Back-office. To test, I modify the error500.html on /shopdev folder to guarantee that the error showed is from /shopdev folder, not from productive folder and in fact the error came from /shodev folder. Don't have .htaccces file on productive folder, so i don't have it into /shopdev folder also. What am I missing ?????? please! Link to comment Share on other sites More sharing options...
fercaldas Posted July 17, 2020 Share Posted July 17, 2020 (edited) Friends, I edit the file /shopdev/app/config/parameters.php and now, the front-office is redirecting to productive shop. And I still have no access to back-office... ***EDIT Downgrade PHP version from 7.4 to v 7.1 and now, both front and back-office is redirecting to productive shop... Edited July 17, 2020 by fercaldas (see edit history) Link to comment Share on other sites More sharing options...
fercaldas Posted July 18, 2020 Share Posted July 18, 2020 SOLVED! If you installed your PS from Softaculous (Cpanel) you're a lucky bastard!!! Just click the icon "Clone" From Softaculous "Current Installations" menu: No pain, no gain..... 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