Joao Beno Posted November 22, 2016 Share Posted November 22, 2016 Just downloaded the files, unziped and started it. If I go to the root domain, It redirects to the /install, and then it redirects to /install?step=welcome. from there, it keeps redirecting and never ever shows the page. PS 1.6 installs just fine... Link to comment Share on other sites More sharing options...
lxanth Posted November 23, 2016 Share Posted November 23, 2016 Exactly the same here. Link to comment Share on other sites More sharing options...
ruilong Posted November 28, 2016 Share Posted November 28, 2016 Check permissions on the folder /app/resources/translations so that you have write permissions on that folder. Link to comment Share on other sites More sharing options...
Stephan P Posted November 30, 2016 Share Posted November 30, 2016 Today i had similar problem.But installation still worked when i provide address like "mysite.com/install/index.php" this last index.php was important.I think redirect loop appear due to nginx configuration issue.I created new configuration using this one as reference:https://github.com/MattLoyeD/Prestashop-Nginx/blob/master/prestashop-nginx.confIt fix the problem for me. Link to comment Share on other sites More sharing options...
DD_DD2 Posted December 2, 2016 Share Posted December 2, 2016 @ruilong I've got the same issue, infinite loop on /install/index.php?step=welcome. The permission of /app/resources/translations is set to 755, the same for /app and /ressources. Thanks for your help Link to comment Share on other sites More sharing options...
Mr X Commerce Posted December 10, 2016 Share Posted December 10, 2016 This happened when installed LAMP stack from apachefriends. This behavior is related with Apache configuration. As a workaround, DirectoryIndex directive from Apache httpd.conf can be commented and then you should be able to access to "/install/index.php?step=welcome" (apache restart is needed). Once first installation step is done, the Apache directive can be uncommented to leave configuration in its initial state (this directive is used for example to access to phpmyadmin from lampp homepage) and installation process can continue normally. Regards 1 Link to comment Share on other sites More sharing options...
juan.capristan Posted December 13, 2016 Share Posted December 13, 2016 Same problem here. Even when the DirectoryIndex comment made no sense for me, I tried it with no luck as I supposed. I also tried checking suggested folder permissions, again with no luck. My error log shows a lot of this messages: [Tue Dec 13 22:32:03.056340 2016] [charset_lite:debug] [pid 15023] mod_charset_lite.c(219): [client 127.0.0.1:54264] AH01448: incomplete configuration: src unspecified, dst unspecified Which I couldn't understand yet... The network console of the browser shows the same infinite loop described by other users. I am trying to test PS 1.7 using a XAMPP box. Installing PS 1.6 in the same environment works without any problem. Any idea would be much appreciated. Thanks. Link to comment Share on other sites More sharing options...
juan.capristan Posted December 13, 2016 Share Posted December 13, 2016 Ok, after all it really was a problem of permissions, but don't know exactly where. I solved it changing the owner of my prestashop root folder to the user under the one Apache is running, in my case it was "daemon". So: chown -R daemon:daemon /my/prestashop/root solved the issue. 1 Link to comment Share on other sites More sharing options...
DD_DD2 Posted December 14, 2016 Share Posted December 14, 2016 @Juan, thanks for the solution. I've got the same issue when unzipping the original zip file, and solved with the same answer (https://www.prestashop.com/forums/topic/573470-17-install-fails-infinite-loop/) It appears that Ps 1.7 is very sensitive to permissions, database, ... Link to comment Share on other sites More sharing options...
Jignesh.aakoliya Posted December 16, 2016 Share Posted December 16, 2016 You need to give proper permission to prestashop root directory.use following to give permissionchown -R username:username /my/prestashop/rootThanks. Link to comment Share on other sites More sharing options...
madalien Posted December 16, 2016 Share Posted December 16, 2016 The same problem, but installed on windows wamp server ... too many redirects on http://localhost/prestashop_1.7.0.2/install/index.php?step=welcome. Unzip manual, DirectoryIndex comented, ¿permissions on windows? Nothing works.... Link to comment Share on other sites More sharing options...
quatreD4 Posted December 16, 2016 Share Posted December 16, 2016 @madalien To know more about the reason, set up to true _PS_MODE_DEV_ in /config/defines.inc.php /* Debug only */if (!defined('_PS_MODE_DEV_')) { define('_PS_MODE_DEV_', true); } and start again http://localhost/pre...hp?step=welcome Link to comment Share on other sites More sharing options...
madalien Posted December 16, 2016 Share Posted December 16, 2016 Thanks! but the same ... no output Link to comment Share on other sites More sharing options...
DD_DD2 Posted December 16, 2016 Share Posted December 16, 2016 What is your php version ? Link to comment Share on other sites More sharing options...
madalien Posted December 19, 2016 Share Posted December 19, 2016 (edited) PHP 5.6.15, Apache 2.4.17, mysql 5.7.9. (Wamp 3.0) Previous version of prestashop 1.6 without problems , as well as laravel 5.3, silex ...all works like a charm, but PS 1.7 is frozen I try with EasyPHP and the same... I have to do a test on another computer *** UPDATED **** Tested on another computer & fresh wamp installation, all works fine, complete installation ... something is wrong in my current workspace Well... thanks everyone for your help!!! Edited December 20, 2016 by madalien (see edit history) Link to comment Share on other sites More sharing options...
DD_DD2 Posted December 20, 2016 Share Posted December 20, 2016 It appears that PS 1.7 is very sensitive. I hope it will be solved in the future because this is a huge waste of time for many developpers ! it's a pity. grrrrr Link to comment Share on other sites More sharing options...
hygap Posted January 21, 2017 Share Posted January 21, 2017 Finally found this post after about 5 hours of headache. Adding DirectoryIndex disabled to the end of /etc/apache2/apache2.conf on Ubuntu solved the problem (remove after install) as per Mr X Commerce's advice. Don't forget to restart apache after making the change. p.s. Good luck with the permissions in the Starter Theme after you have managed to get your Prestashop dev environment up Link to comment Share on other sites More sharing options...
SilviaPimenta Posted January 26, 2017 Share Posted January 26, 2017 Hello. I am working version 1.6 of the prestashop, and at the moment I am developing a module that inssere a form and listaegm of it, but when I want to insert the data of the form in the DB I wanted that the message of confirmation is presented and only then forwarded to a Another page It does not currently print successfully inserted message, it just forwards it to the page I want. Someone can help me? greetings At this moment it is like this:if (Tools::isSubmit('submitExtras')) { (code) } else { (code) if($result == false) { $sql = 'INSERT INTO au_order_invoice(id_order, doctype, docseries, iddoc, signature, certification, nif, name, total, discount, hash, date_add) VALUES ( \''.$id_order.'\', \''.Tools::getValue('doctype', '').'\', \''.Tools::getValue('docseries', '').'\', \''.Tools::getValue('iddoc', '').'\', \''.Tools::getValue('signature', '').'\', \''.Tools::getValue('certification', '').'\', \''.Tools::getValue('nif', '').'\', \''.Tools::getValue('name', '').'\', \''.Tools::getValue('total', '').'\', \''.Tools::getValue('discount', '').'\', \''.Tools::getValue('hash', '').'\', \''.Tools::getValue('date_add', '').'\')'; } else { $sql = 'REPLACE INTO au_order_invoice(id_order, doctype, docseries, iddoc, signature, certification, nif, name, total, discount, hash, date_add) VALUES ( \''.$id_order.'\', \''.Tools::getValue('doctype', '').'\', \''.Tools::getValue('docseries', '').'\', \''.Tools::getValue('iddoc', '').'\', \''.Tools::getValue('signature', '').'\', \''.Tools::getValue('certification', '').'\', \''.Tools::getValue('nif', '').'\', \''.Tools::getValue('name', '').'\', \''.Tools::getValue('total', '').'\', \''.Tools::getValue('discount', '').'\', \''.Tools::getValue('hash', '').'\', \''.Tools::getValue('date_add', '').'\')'; } $res = Db::getInstance()->execute($sql); $this->_confirmation .= $this->displayConfirmation($this->l('Inserido/atualizado com sucesso!')); if($res == true) { Tools::redirectAdmin($this->context->link->getAdminLink('AdminOrders', false).'&id_order='.$id_order.'&vieworder&token='.Tools::getAdminTokenLite('AdminOrders')); } else { $this->_error .= $this->displayError($this->l('Não foi possível inseir/atualizar o formulário desejado. Por favor tente mais tarde.')); $this->renderFormExtras(); } Hello. I am working version 1.6 of the prestashop, and at the moment I am developing a module that inssere a form and listaegm of it, but when I want to insert the data of the form in the DB I wanted that the message of confirmation is presented and only then forwarded to a Another page It does not currently print successfully inserted message, it just forwards it to the page I want. Someone can help me? greetings At this moment it is like this: Link to comment Share on other sites More sharing options...
juanzo1 Posted February 9, 2017 Share Posted February 9, 2017 A mi se me ha solucionado instalando php-curl. http://stackoverflow.com/questions/41879356/prestashop-1-7-installation-ubuntu-14-04-lamp-too-many-redirects 1 Link to comment Share on other sites More sharing options...
alvarocorp Posted February 17, 2017 Share Posted February 17, 2017 A mi se me ha solucionado instalando php-curl. http://stackoverflow.com/questions/41879356/prestashop-1-7-installation-ubuntu-14-04-lamp-too-many-redirects works for Prestashop 1.7.0.5! Link to comment Share on other sites More sharing options...
JPresta.com Posted February 24, 2017 Share Posted February 24, 2017 Same problem on WAMP with 1.7.0.5, even if I add full control to all users. There is no DirectoryIndex directive. I cannot install it Link to comment Share on other sites More sharing options...
yaume Posted February 26, 2017 Share Posted February 26, 2017 I made it really dirty... in install/controllers/http/welcome.php, I replaced 2 times "$this->redirect('welcome');" with "$this->displayTemplate('welcome');" then i continued the installation in English.... don't do this at home. 2 Link to comment Share on other sites More sharing options...
varma dandu Posted March 29, 2017 Share Posted March 29, 2017 I made it really dirty... in install/controllers/http/welcome.php, I replaced 2 times "$this->redirect('welcome');" with "$this->displayTemplate('welcome');" then i continued the installation in English.... don't do this at home. You are the only useful one for this world of PS1.7.0.6 THANKS ..... ! Link to comment Share on other sites More sharing options...
alessandropaglierani Posted April 1, 2017 Share Posted April 1, 2017 (edited) Hi everyone,Installing php7.0-curl worked like a charm for me (PS 1.7.0.6, Ubuntu 16.04 server, apache, php7.0) Thanks! Edited April 1, 2017 by alessandropaglierani (see edit history) 1 Link to comment Share on other sites More sharing options...
CodeRider Posted April 19, 2017 Share Posted April 19, 2017 Hi Prestashop Windows&Apache Users Same infinite loop with Prestashop 1.7 installation on Apache 2.4, PHP 7.1.3 on Windows Server 2012 R2 Datacenter. Solution: activate extension php_curl.dll in php.ini and restart Apache. Hope it helps. Link to comment Share on other sites More sharing options...
jfking Posted June 6, 2017 Share Posted June 6, 2017 please i need help on how to fix this type of prestashop admin problem ...... update pb, redirection pb, etc please help.............my prestashop is installed on a shared server (cpanel) ...... please help Link to comment Share on other sites More sharing options...
fgwapo Posted February 28, 2018 Share Posted February 28, 2018 i am installing my prestashop in a subfolder.. I manually unzip the prestashop.zip put an htaccess file on your prestashop directory. I use one of my magento installation. (lazy to make one) chmod 777 app -R Enjoy! .htaccess Link to comment Share on other sites More sharing options...
आकाश कुमार शर्मा Posted September 25, 2020 Share Posted September 25, 2020 (edited) The issue here is that Prestashop is looking for SSL version but SSL is disabled by default in the code. As per this solution, you need to enable SSL in code and database. The steps as mentioned in the said article are as follows: Go to /classes/controller/FrontController.php and set SSL connection flag to TRUE. $ssl = false; change to $ssl = true; Then go to database and find PS_SSL_ENABLED parameter in __configuration table and change it value from "0" to "1" You will also be required to change PS_SSL_ENABLED_EVERYWHERE in the same table to "1" Edited September 25, 2020 by आकाश कुमार शर्मा (see edit history) Link to comment Share on other sites More sharing options...
Neale Posted October 21, 2020 Share Posted October 21, 2020 (edited) The issue here is that Prestashop is looking for SSL version but SSL is disabled by default in the code. As per this solution, you need to enable SSL in code and database. The steps as mentioned in the said article are as follows: Go to /classes/controller/FrontController.php and set SSL connection flag to TRUE. $ssl = false; change to $ssl = true; Then go to database and find PS_SSL_ENABLED parameter in __configuration table and change it value from "0" to "1" You will also be required to change PS_SSL_ENABLED_EVERYWHERE in the same table to "1" This worked well for me, thanks Edited October 21, 2020 by Neale not showing quote (see edit history) Link to comment Share on other sites More sharing options...
Anthony P Posted April 13, 2021 Share Posted April 13, 2021 On 10/20/2020 at 8:19 PM, Neale said: The issue here is that Prestashop is looking for SSL version but SSL is disabled by default in the code. As per this solution, you need to enable SSL in code and database. The steps as mentioned in the said article are as follows: Go to /classes/controller/FrontController.php and set SSL connection flag to TRUE. $ssl = false; change to $ssl = true; Then go to database and find PS_SSL_ENABLED parameter in __configuration table and change it value from "0" to "1" You will also be required to change PS_SSL_ENABLED_EVERYWHERE in the same table to "1" This worked well for me, thanks Verifying this works for me as well! THANKS NEAL! Note, 1.7 don't have "PS_SSL_ENABLED_EVERYWHERE" but just the other option alone was enough to correct this nonsense. Used on the home page. Prestashop, like seriously ... get with it, this is a BIG problem especially for established businesses who plan to use your product, your affiliates, your partners and those that want to recommend you. The installation is easy ... until they run into these problems. This version is not "stable". One minute it works, next minute it don't, not everyone is technically inclined and surely don't want to pay $450+ to correct what you refuse to fix. You need to include the installation option before installation starts; "Is Site SSL?: YES|NO" and another option "If SSL, Use default?: YES|NO" I would even go a step further for those migrating to include a forwarding option since the controller handles how the page works. You got to take this and fix this. Today's sites are mainly SSL and is by default thanks to google forcing it so why even bother to make ssl off by default? This reeks havok on my home page and just now after many days of headache just now figured this to work according to Neals way. ... Lastly, this is 2021, make the page full and not a little block between creating large gaps. Full pages are mainly the standard. Create a quick way to write into the custom.css file for custom css options since it overrides any css elements before it's loaded(great option) but typical open sourcy way to get to it. All of this is mainly a simply 30 minute fix, Don't need to look cute, needs to function. 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