Jump to content
NFORLA

Prestashop 1.7.6.4 - Unable to complete installation

Recommended Posts

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.

  1. First of all i have unzipped prestashop manually and tried installing as usual with domain.com/<prestafolder>/install.
  2. I have followed every step in the configuration, that is, set the shop's and DB information with success.
  3. 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. 1: HTTP 0 - error -

 

Can somebody give a hint of what am i doing wrong?

Any help will be greatly appreciated.

 

Edited by NFORLA
more info (see edit history)

Share this post


Link to post
Share on other sites

Checking the server logs, apache or nginx, might help with identifying the issues.

Share this post


Link to post
Share on other sites
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).

err.png

Share this post


Link to post
Share on other sites

@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.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

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.

prestashoperror.jpg

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Why are you installing this old version? It has known security bugs and should be upgraded to latest 1.7.6.7

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

I have this exact same error. I don't know how to correct the error please help me with that.

Share this post


Link to post
Share on other sites

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 by ZhSoft (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More