504 Gateway time-out error on install

Permalink Browser Info Environment
I want to install a pixel theme using sample data, but I get a 504 Gateway time-out during installation.
I tried changing the settings in php.ini and clearing the site cache, but it didn't improve.
How can I install with sample data included?

1 Attachment

Type: Ticket
Status: Archived
yasudahospital
View Replies:
shahroq replied on at Permalink Reply
shahroq
Hi,
Plz, check the `Instructions` page #36-37.
yasudahospital replied on at Permalink Reply
yasudahospital
Thank you for your reply, shahroq.
As advised, I checked the items.

>36. Verify whether the theme has been installed, upgraded, or uninstalled completely

  →I can't find any of the four messages.


>37. Theme is not installed or upgraded completely

  →Increased max_execution_time from 300 to 600. The site cache was cleared.
   And I tried the installation again, but I get a 504 Gateway time-out error.
shahroq replied on at Permalink Reply
shahroq
The lack of those msgs means the theme is not installed properly. You can do these steps to make 100% sure whether the issue is caused by `max_execution_time`:

1. First reinstall the theme without the sample contents and check if the corresponding msg shows up.
2. If so, reinstall the theme again, with sample contents. Then check `Dashboard > Sitemap` and see whether any of the sample pages are already there. At this point, you should be able to see some of the pages, though not fully imported and might empty. If that's the case, it indicates your server needs more time to import and build the pages. The theme contains a huge number of sample pages and the process patently expected to take time on shared servers, so give it a bigger execution time, temporarily, and try again.
3. If the problem persists, send me your site credentials and I will take a look.
Cheers,
yasudahospital replied on at Permalink Reply
yasudahospital
Thank you for contacting us. The problem didn't go away, so I sent the site credentials to a private message. We apologize for the inconvenience, but please check.
808computers replied on at Permalink Reply
808computers
I'm having the same issue (500 Error/Internal Server Error). I even set max_execution_time to 300 in the hostgator panel. Although after looking though hostgator's documentation it seems their max_execution_time limit is a maximum of 30 seconds so if increasing that value is required it's not possible with HostGator's shared hosting packages.
https://www.hostgator.com/help/article/php-settings-that-cannot-be-c...

Worked around this issue by installing XAMPP on my local machine to install and setup the website and Pixel 2 theme and it worked fine. I'm guessing it would of worked fine with the default execution time (120) in XAMPP but I set it to 300 just in case. Will just move it to my Hostgator shared hosting once I'm done setting everything up.

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.4
Version Installed - 8.5.4
Database Version - 20200609145307

# Database Information
Version: 5.6.33-log
SQL Mode: NO_ENGINE_SUBSTITUTION

# concrete5 Packages
Pixel Theme (2.4.0)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
5.6.20

# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dba, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, mysqlnd, odbc, openssl, pcntl, pcre, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, readline, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 300
log_errors_max_len - 1024
max_file_uploads - 100
max_input_nesting_level - 64
max_input_time - 300
max_input_vars - 1000
memory_limit - 512M
post_max_size - 32M
sql.safe_mode - Off
upload_max_filesize - 24M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Chrome/88.0.4324.190

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.