NFORLA Posted May 1, 2020 Share Posted May 1, 2020 (edited) Hi everyone, i've been trying to install prestashop 1.7.6.4 on a dedicated VPS but i'm stuck. I've done this not so long ago with success on my local machine. Some info: WebServer: Apache 2.4 PHP Type: Apache Module PHP Version 7.1.30 I've enabled all requiered extensions as specified by phppsinfo.php I've configured PHP following phppsinfo.php guidelines. Directories are writable I'm using dev mode. First of all i have unzipped prestashop manually and tried installing as usual with domain.com/<prestafolder>/install. I have followed every step in the configuration, that is, set the shop's and DB information with success. When the time comes to install sometimes it fails at 0%, sometimes at 12%, 23%(the maximum i could get was 64% at 'Installing module addons') Everytime it fails it just shows '1. HTTP 0 - error': Se ha producido un error durante la instalación... Puede utilizar los enlaces que se encuentran en la columna de la izquierda para volver a los pasos anteriores, o también reiniciar el proceso de instalación haciendo clic aquí. 1: HTTP 0 - error - Can somebody give a hint of what am i doing wrong? Any help will be greatly appreciated. Edited May 1, 2020 by NFORLA more info (see edit history) Link to comment Share on other sites More sharing options...
Rhobur Posted May 9, 2020 Share Posted May 9, 2020 Checking the server logs, apache or nginx, might help with identifying the issues. Link to comment Share on other sites More sharing options...
NFORLA Posted May 11, 2020 Author Share Posted May 11, 2020 On 5/9/2020 at 8:48 AM, Rhobur said: Checking the server logs, apache or nginx, might help with identifying the issues. Hi @Rhobur, thanks for the answer. The thing is that Apache doesn't display any errors (in logs/errors.log and php_errors.log ) related to this. I've also checked the mysql server logs and nothing, PrestaShop log folder is empty. Is there any other place i should check? It just stops at 12% and with '1: HTTP 0 - error -'(img attached). Link to comment Share on other sites More sharing options...
El Patron Posted May 14, 2020 Share Posted May 14, 2020 https://stackoverflow.com/questions/872206/what-does-it-mean-when-an-http-request-returns-status-code-0/14507670 1 Link to comment Share on other sites More sharing options...
Rhobur Posted May 14, 2020 Share Posted May 14, 2020 @NFORLAI think the credentials (user name and/or password) for the database connection are not the right ones. Try to connect to your database with phpMyAdmin using the same credentials you used in Prestashop install. 1 1 Link to comment Share on other sites More sharing options...
Aelanna Posted July 15, 2020 Share Posted July 15, 2020 I have this exact same error. I can't get past 12% before I get a 500 error in database table creation. I am running Windows Server 2008 with IIS 7. Php 7.4.5 MySQL 8.0.20 Prestashop 1.7.6.4 I made sure everything needed was installed and configured, and checked all file and folder permissions. I can log into the database fine with phpMyAdmin. I've been trying to install this for 2 months now and it's been nothing but a headache. Link to comment Share on other sites More sharing options...
Janett Posted July 16, 2020 Share Posted July 16, 2020 Link to comment Share on other sites More sharing options...
Aelanna Posted July 16, 2020 Share Posted July 16, 2020 Well, I finally solved the problem. I tried the install directly on the server itself and was able to get a more detailed error message. It was a timeout problem with FastCGI. I increased the timeout to 600 and the install completed. Link to comment Share on other sites More sharing options...
JBW Posted July 17, 2020 Share Posted July 17, 2020 Why are you installing this old version? It has known security bugs and should be upgraded to latest 1.7.6.7 Link to comment Share on other sites More sharing options...
Aelanna Posted July 17, 2020 Share Posted July 17, 2020 At the time I downloaded it, it was the current version. That's how long I've been fighting with it. Now that I finally have it working I can upgrade. Link to comment Share on other sites More sharing options...
Aelanna Posted July 27, 2020 Share Posted July 27, 2020 I decided to upgrade to 1.7.6.7 using one-click upgrade and it crashed and made my site inoperable. Good thing I didn't have any data in it yet. I wiped the database again, deleted all my Prestashop, and did a fresh install of 1.7.6.7 and it's fine. Link to comment Share on other sites More sharing options...
Freak-A-Wear Posted August 9, 2020 Share Posted August 9, 2020 I had this issue as well. I kept getting a 504 gateway timeout 12% in while creating database tables. Ubuntu 18.04 server, using nginx and mysql/mariadb. I Got passed that stage by adding " fastcgi_read_timeout 240;" to my nginx.conf and increased the "keepalive_timeout". Adjust this numbers to your requirements. If you make them something ridiculously high, might want to bump them back down later. Link to comment Share on other sites More sharing options...
darkertech Posted August 31, 2020 Share Posted August 31, 2020 I have this exact same error. I don't know how to correct the error please help me with that. Link to comment Share on other sites More sharing options...
ZHSoft Posted September 2, 2020 Share Posted September 2, 2020 (edited) 1.php.ini max_execution_time = 0 memory_limit = 2G restart your php 😀 2./etc/apache2/extra/httpd-default.conf Timeout 3600 KeepAliveTimeout 50 <IfModule reqtimeout_module> RequestReadTimeout header=0,MinRate=500 body=0,MinRate=500 </IfModule> restart your apache2 😀 3.sudo vim /etc/hosts 127.0.0.1 api.prestashop.com 127.0.0.1 api-addons.prestashop.com 4.classes/Tools.php Search all timeout and replace timeout=100000 Edited September 2, 2020 by ZhSoft (see edit history) 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