Jump to content

prestashop 1.7.4.2 HTTP 504 - error - Gateway Timeout


Recommended Posts

Hi,

I get the following error during Prestashop 1.7 installation on centos.

Quote

An error occurred during installation...

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here.

  1. 1: HTTP 504 - error -

    Gateway Timeout

 

I've changed some php params as advised such as :

max_execution_time    10000
max_file_uploads    20    
max_input_nesting_level    64
max_input_time    3000    
max_input_vars    10000    
memory_limit    512M   

of no use of course.

What's the solution?

Can anyone help please?

Thanks

err2.jpg

Link to comment
Share on other sites

Those pics are off of a absolute crap hosting at host gator using the PHP 5.6 Stable selected. NOTE: this does NOT load 5.6 it actually loads 7.1.14

I say its crap because every click in back office takes going to get a cup of coffee and coming back to see it load.

Server information Linux #1 SMP Thu Feb 8 23:35:45 MST 2018 x86_64

Server software version: Apache

PHP version: 7.1.14

Memory limit: 256M

Max execution time: 30

Upload Max File size: 64M

MySQL version: 5.6.41-84.1

MySQL engine: InnoDB

MySQL driver: DbPDO

 

Also note this install did not allow me to click the go to backoffice button as that goes to site/admin and the software gives the admin folder a random gen rename.

Slightly better server Hostmonster

Selected

http://prntscr.com/l0gg3a

Server information Linux #1 SMP Tue Jan 23 10:30:30 MST 2018 x86_64

Server software version: Apache

PHP version: 7.0.31

Memory limit: 256M

Max execution time: 30

Upload Max File size: 64M

MySQL version: 5.6.32-78.1

MySQL engine: InnoDB

MySQL driver: DbPDO

Also note this install did not allow me to click the go to backoffice button as that goes to site/admin and the software gives the admin folder a random gen rename.

This one runs "slightly better" I only have to spin around in the chair 3 times per page load.

I have yet to get it to install on centos

Edited by jstillings1 (see edit history)
Link to comment
Share on other sites

Ok cool so what PHP Version are you running and do you have PDO to MYSQLi ext installed?

On that note also What MYSQL version or MariaDB version are ya running

Just open terminal and type mysql and it will tell ya the version

while your in there try to run the command nginx -v and make sure it says not a valid command.

 

The php is harder to tell you will have to upload a file and access it via browser

 

Make a file with this in it

<?

phpinfo();

?>

Access the file via browser.

Find the version and what exts are loaded

 

Edited by jstillings1
Found out CLI php is different then web served. (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  • 10 months later...

It seems a little late to answer this, because i just use prestashop today, i meet the same issue, my environment is :

·MAMP Pro use nginx

·PHP 7.2.7

·MYSQL 5.7

i try to set nginx fastcgi_read_timeout to 1000;

like this:

fastcgi_connect_timeout     75;
fastcgi_read_timeout           1000;
fastcgi_send_timeout         1000;

image.png.e6f4e02e7aaba145f90b40ea918d2066.png

then it works!IT cost me a whole morning time to install prestashop, hope  it can helps you.

 

Link to comment
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...