Joao Beno 0 Report post 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... Share this post Link to post Share on other sites
0 lxanth 0 Report post Posted November 23, 2016 Exactly the same here. Share this post Link to post Share on other sites
0 ruilong 26 Report post Posted November 28, 2016 Check permissions on the folder /app/resources/translations so that you have write permissions on that folder. Share this post Link to post Share on other sites
0 Stephan P 0 Report post 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. Share this post Link to post Share on other sites
0 DD_DD2 4 Report post 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 Share this post Link to post Share on other sites
0 Mr X Commerce 0 Report post 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 Share this post Link to post Share on other sites
0 juan.capristan 1 Report post 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. Share this post Link to post Share on other sites
0 juan.capristan 1 Report post 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 DD_DD2 reacted to this Share this post Link to post Share on other sites
0 DD_DD2 4 Report post 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, ... Share this post Link to post Share on other sites
0 Jignesh.aakoliya 5 Report post 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. Share this post Link to post Share on other sites
0 madalien 1 Report post 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.... Share this post Link to post Share on other sites
0 quatreD4 0 Report post 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 Share this post Link to post Share on other sites
0 madalien 1 Report post Posted December 16, 2016 Thanks! but the same ... no output Share this post Link to post Share on other sites
0 DD_DD2 4 Report post Posted December 16, 2016 What is your php version ? Share this post Link to post Share on other sites
0 madalien 1 Report post 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 Share this post Link to post Share on other sites
0 DD_DD2 4 Report post 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 Share this post Link to post Share on other sites
0 hygap 1 Report post 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 Share this post Link to post Share on other sites
0 SilviaPimenta 0 Report post 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: Share this post Link to post Share on other sites
0 juanzo1 1 Report post 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 alvarocorp reacted to this Share this post Link to post Share on other sites
0 alvarocorp 0 Report post 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! Share this post Link to post Share on other sites
0 JPresta.com 125 Report post 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 Share this post Link to post Share on other sites
0 yaume 2 Report post 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 varma dandu and JPresta.com reacted to this Share this post Link to post Share on other sites
0 varma dandu 1 Report post 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 ..... ! Share this post Link to post Share on other sites
0 alessandropaglierani 1 Report post 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 1 CodeRider reacted to this Share this post Link to post Share on other sites
0 CodeRider 1 Report post 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. Share this post Link to post Share on other sites
0 jfking 0 Report post 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 Share this post Link to post Share on other sites
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...
Share this post
Link to post
Share on other sites