Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prestashop 1.7 Installation Ubuntu 14.04 LAMP Too many redirects

I am trying to install Prestashop 1.7 on an Ubuntu 14.04 LAMP droplet from Digitalocean.

After copying Prestashop source files under a presta folder in /var/www/html, when accessing http://95.85.6.69/presta/ in the browser I am getting redirected to http://95.85.6.69/presta/install/index.php?step=welcome which is cool, except, it keeps on redirecting until I am getting: ERR_TOO_MANY_REDIRECTS thrown back at me.

Am I doing something wrong? Is there a config I am missing? How can I surpass that error?

chrome dev tools -> network

The image above is an addition to the error description.

P.S: Ignore the differences in IPs as they are the result of multiple deployments of the same snapshot, ubuntu 14.04 LAMP, on Digitalocean.

like image 883
Dragos Rizescu Avatar asked Jan 26 '17 17:01

Dragos Rizescu


People also ask

How to fix too many redirects error in PrestaShop?

I was unable to get into PrestaShop because of the "too many redirects " error, so the solution was to edit the Apache virtual host file by adding a pound sign (#) in front of these lines: The pound signs turn those lines into comments that will be ignored by the web server. Then restart Apache...

Why PrestaShop err_too_many_redirects is not working?

Because search console can’t crawl your site perfectly due to Prestashop err_too_many_redirects. If you get this error and can’t solve it for a long time then your product and store pages will be affected by Search engine ranking. So it’s better to solve the issue as soon as possible.

How do I enable HTTPS on PrestaShop?

1) Log in to PrestaShop as the administrator. 2) On the left sidebar, click Preferences, and then click General. 3) Click Please click here to check if your shop supports HTTPS and follow the orientations. 7) Save changes again and test your website.


2 Answers

Have you enabled the curl extension? I had the same problem couple days ago. After investigating the problem, I found out that the curl extension wasn't enabled and Prestashop doesn't throw any errors if it is not enabled.

like image 56
Jack Wire Avatar answered Sep 30 '22 00:09

Jack Wire


sudo apt-get install php5-curl

Then restart the apache2 server using

sudo service apache2 restart
like image 40
John Simon Avatar answered Sep 30 '22 01:09

John Simon