504 Gateway Timeout Error in Backend Administrator

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
DOliveros
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Nov 09, 2021 5:53 pm

504 Gateway Timeout Error in Backend Administrator

Post by DOliveros » Tue Nov 09, 2021 7:30 pm

Hey guys!

I have a problem with my site, I have a Joomla 3.8.8 site (I know it's old but can't update at the moment) and can't access the article list in the backend administrator, everything else works well, the frontend works as well even I can post new articles but when I try to access the article list to edit past news or pages I get a 504 Gateway Timeout error.


The database has maybe 6500 articles, I don't know what else could it be.

I have other sites in the same server, all with the same version but those works as usual. Only this site has this problem.

This is the Url that gets the error.

/xxxx/administrator/index.php?option=com_content

Thanks for the help.

This is the FPA.
Forum Post Assistant (v1.6.3) : 9-Nov-2021 wrote:
Last PHP Error(s) Reported :: wrote:[09-Nov-2021 14:00:36 America/Bogota] PHP Warning: A non-numeric value encountered in /var/www/html/unilibre/plugins/system/helix/core/helix.php on line 548
Basic Environment :: wrote:Joomla! Instance :: Joomla! 3.8.8-Stable (Amani) 22-May-2018
Joomla! Platform :: Joomla Platform 13.1.0-Stable (Curiosity) 24-Apr-2013
Joomla! Configured :: Yes | Writable (770) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: true | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: false | Proxy: false | LiveSite: | Session lifetime: 15 | Session handler: none | Shared sessions: false | SSL: 0 | Error Reporting: default | Site Debug: false | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 3.8.8: Yes | Database Supports J! 3.8.8: Yes | Database Credentials Present: Yes |

Host Configuration :: OS: Linux | OS Version: 3.10.0-1160.6.1.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | System TMP Writable: Yes | Free Disk Space : 246.43 GiB |

PHP Configuration :: Version: 7.3.11 | PHP API: fpm-fcgi | Session Path Writable: Yes | Display Errors: 0 | Error Reporting: 22527 | Log Errors To: /var/opt/rh/rh-php73/log/php-fpm/www-error.log | Last Known Error: 09th November 2021 14:00:36. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 5M | Max. POST Size: 8M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 128M

Database Configuration :: Version: 5.5.68-MariaDB (Client:mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | Database Size: 79.02 MiB | #of Tables with config prefix:  89 | #of other Tables:  0 | User Privileges : GRANT PROXY
Detailed Environment :: wrote:PHP Extensions :: Core (7.3.11) | date (7.3.11) | libxml (7.3.11) | openssl (7.3.11) | pcre (7.3.11) | zlib (7.3.11) | filter (7.3.11) | hash (7.3.11) | Reflection (7.3.11) | SPL (7.3.11) | session (7.3.11) | standard (7.3.11) | cgi-fcgi () | bcmath (7.3.11) | bz2 (7.3.11) | calendar (7.3.11) | ctype (7.3.11) | curl (7.3.11) | dom (20031129) | mbstring (7.3.11) | fileinfo (7.3.11) | ftp (7.3.11) | gd (7.3.11) | gettext (7.3.11) | iconv (7.3.11) | json (1.7.0) | exif (7.3.11) | mysqlnd (mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $) | PDO (7.3.11) | Phar (7.3.11) | posix (7.3.11) | recode (7.3.11) | shmop (7.3.11) | SimpleXML (7.3.11) | sockets (7.3.11) | sqlite3 (7.3.11) | sysvmsg (7.3.11) | sysvsem (7.3.11) | sysvshm (7.3.11) | tidy (7.3.11) | tokenizer (7.3.11) | xml (7.3.11) | xmlwriter (7.3.11) | xsl (7.3.11) | zip (1.15.4) | mysqli (7.3.11) | pdo_mysql (7.3.11) | pdo_sqlite (7.3.11) | wddx (7.3.11) | xmlreader (7.3.11) | Zend Engine (3.3.11) |
Potential Missing Extensions ::

Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: Maybe
Folder Permissions :: wrote:Core Folders :: images/ (775) | components/ (770) | modules/ (770) | plugins/ (770) | language/ (770) | templates/ (770) | cache/ (777) | logs/ (770) | tmp/ (770) | administrator/components/ (770) | administrator/modules/ (770) | administrator/language/ (770) | administrator/templates/ (770) | administrator/logs/ (770) |

Elevated Permissions (First 10) :: 1/ (770) | 1-fondos/ (770) | 1-fondos/pngs/ (770) | administrator/ (770) | administrator/cache/ (770) | administrator/code/ (770) | administrator/code/com_content/ (770) | administrator/code/com_content/controllers/ (770) | administrator/code/com_content/models/ (770) | administrator/code/com_content/views/ (770) |
Database Information :: wrote:Database statistics :: Uptime: 20833 | Threads: 1 | Questions: 265698 | Slow queries: 290 | Opens: 908 | Flush tables: 2 | Open tables: 400 | Queries per second avg: 12.753 |
Extensions Discovered :: wrote:Components :: Site ::
Core :: com_mailto (3.0.0) 1 | com_wrapper (3.0.0) 1 |
3rd Party:: WF_AGGREGATOR_DAILYMOTION_TITLE (2.6.15) ? | WF_AGGREGATOR_VIMEO_TITLE (2.6.15) ? | WF_AGGREGATOR_VINE_TITLE (2.6.15) ? | WF_AGGREGATOR_[youtube]_TITLE (2.6.15) ? | WF_FILESYSTEM_JOOMLA_TITLE (2.6.15) ? | WF_LINKS_JOOMLALINKS_TITLE (2.6.15) ? | WF_POPUPS_JCEMEDIABOX_TITLE (2.6.15) ? | WF_POPUPS_WINDOW_TITLE (2.6.15) ? | WF_LINK_SEARCH_TITLE (2.6.15) ? | WF_ANCHOR_TITLE (2.6.15) ? | WF_ARTICLE_TITLE (2.6.15) ? | WF_AUTOSAVE_TITLE (2.6.15) ? | WF_BROWSER_TITLE (2.6.15) ? | WF_CHARMAP_TITLE (2.6.15) ? | WF_CLEANUP_TITLE (2.6.15) ? | WF_CLIPBOARD_TITLE (2.6.15) ? | WF_CONTEXTMENU_TITLE (2.6.15) ? | WF_DIRECTIONALITY_TITLE (2.6.15) ? | WF_EMOTIONS_TITLE (2.6.15) ? | WF_FONTCOLOR_TITLE (2.6.15) ? | WF_FONTSELECT_TITLE (2.6.15) ? | WF_FONTSIZESELECT_TITLE (2.6.15) ? | WF_FORMATSELECT_TITLE (2.6.15) ? | WF_FULLSCREEN_TITLE (2.6.15) ? | WF_HR_TITLE (2.6.15) ? | WF_IMGMANAGER_TITLE (2.6.15) ? | WF_INLINEPOPUPS_TITLE (2.6.15) ? | WF_KITCHENSINK_TITLE (2.6.15) ? | WF_LAYER_TITLE (2.6.15) ? | WF_LINK_TITLE (2.6.15) ? | WF_LISTS_TITLE (2.6.15) ? | WF_MEDIA_TITLE (2.6.15) ? | WF_NONBREAKING_TITLE (2.6.15) ? | WF_PREVIEW_TITLE (2.6.15) ? | WF_PRINT_TITLE (2.6.15) ? | WF_SEARCHREPLACE_TITLE (2.6.15) ? | WF_SOURCE_TITLE (2.6.15) ? | WF_SPELLCHECKER_TITLE (2.6.15) ? | WF_STYLE_TITLE (2.6.15) ? | WF_STYLESELECT_TITLE (2.6.15) ? | WF_TABLE_TITLE (2.6.15) ? | WF_TEXTCASE_TITLE (2.6.15) ? | WF_VISUALBLOCKS_TITLE (2.6.15) ? | WF_VISUALCHARS_TITLE (2.6.15) ? | WF_XHTMLXTRAS_TITLE (2.6.15) ? |

Components :: Admin ::
Core :: com_admin (3.0.0) 1 | com_ajax (3.2.0) 1 | com_associations (3.7.0) 1 | com_banners (3.0.0) 1 | com_cache (3.0.0) 1 | com_categories (3.0.0) 1 | com_checkin (3.0.0) 1 | com_config (3.0.0) 1 | com_content (3.0.0) 1 | com_contenthistory (3.2.0) 1 | com_cpanel (3.0.0) 1 | com_fields (3.7.0) 1 | com_finder (3.0.0) 1 | com_installer (3.0.0) 1 | com_joomlaupdate (3.6.2) 1 | com_languages (3.0.0) 1 | com_login (3.0.0) 1 | com_media (3.0.0) 1 | com_menus (3.0.0) 1 | com_messages (3.0.0) 1 | com_modules (3.0.0) 1 | com_newsfeeds (3.0.0) 1 | com_plugins (3.0.0) 1 | com_postinstall (3.2.0) 1 | com_redirect (3.0.0) 1 | com_search (3.0.0) 1 | com_tags (3.1.0) 1 | com_templates (3.0.0) 1 | com_users (3.0.0) 1 | com_weblinks (3.4.1) 1 |
3rd Party:: COM_JCE (2.6.15) 1 | Multicats (3.8.8.1) 1 | RokSprocket (2.1.28) 1 | com_uniterevolution (2.2.8) 1 | com_uniterevolution2 (4.6) 1 | com_j2xml (3.7.196) 1 |

Modules :: Site ::
Core :: mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_search (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_weblinks (3.4.1) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: News Show SP2 (2.2) 1 | RokSprocket Module (2.1.28) 1 | Sj Video Box (1.0) 1 | SP Countdown (1.0.0) 1 | SP Portfolio (1.1) 1 | SP Simple Map (1.2.0) 1 | SP Tweet (2.2.0) 1 | Unite Revolution Slider (2.2.8) 1 | Unite Revolution Slider 2 (4.6) 1 |

Modules :: Admin ::
Core :: mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_latest (3.0.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_menu (3.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 0 | mod_stats_admin (3.0.0) 1 | mod_status (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::

Libraries ::
Core ::
3rd Party::

Plugins ::
Core :: plg_authentication_cookie (3.0.0) 1 | plg_authentication_gmail (3.0.0) 0 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_captcha_recaptcha (3.4.0) 1 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 0 | plg_content_geshi (2.5.0) 0 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 0 | plg_content_vote (3.0.0) 1 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_finder_weblinks (3.4.1) 1 | PLG_INSTALLER_FOLDERINSTALLER (3.6.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | PLG_INSTALLER_URLINSTALLER (3.6.0) 1 | plg_installer_webinstaller (1.1.1) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_search_categories (3.0.0) 1 | plg_search_contacts (3.0.0) 1 | plg_search_content (3.0.0) 1 | plg_search_newsfeeds (3.0.0) 1 | plg_search_tags (3.0.0) 0 | plg_search_weblinks (3.4.1) 1 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_p3p (3.0.0) 1 | plg_system_redirect (3.0.0) 1 | plg_system_remember (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_stats (3.5.0) 1 | plg_system_updatenotification (3.5.0) 1 | plg_twofactorauth_totp (3.2.0) 0 | plg_twofactorauth_yubikey (3.2.0) 0 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 0 |
3rd Party:: Ajax - CW Multicats *Power* (3.7.4.1) 1 | Content CW Multicats *Power* -Page (3.7.4.1) ? | Content - Fast Social Share (2.8) 1 | plg_content_jce (2.6.15) 1 | Content - RokInjectModule (2.1.28) 1 | Simple Picture Slideshow (1.5.8) 1 | plg_editors_codemirror (5.37.0) 1 | plg_editors_jce (2.6.15) 1 | plg_editors_tinymce (4.5.8) 1 | PLG_EDITORS-XTD_SLIDERS (4.0.9FREE) 1 | PLG_EDITORS-XTD_TABS (4.0.10FREE) 1 | plg_extension_jce (2.6.15) 1 | plg_installer_jce (2.6.15) 1 | PLG_INSTALLER_EORISIS_SETUP (2.3.2) 1 | Quick Icon - CW Multicats Updates N (3.8.0.0) ? | plg_quickicon_jce (2.6.0-pro-bet) 1 | System - Google Analytics (4.6.1) 1 | System - CW Multicats Plugin (3.8.1.4) 1 | System - CW Multicats - Power Featu (3.7.4.1) ? | System - Helix Framework (2.1.8) 1 | plg_system_jce (2.6.15) 1 | System - MVC Override for CW Multic (3.8.8.1) ? | PLG_SYSTEM_NNFRAMEWORK (15.1.6) 1 | plg_system_popup_anywhere (1.6.0) 1 | System - RokCommon (3.2.9) 1 | System - RokSprocket (2.1.28) 1 | PLG_SYSTEM_SLIDERS (4.0.9FREE) 1 | PLG_SYSTEM_TABS (4.0.10FREE) 1 | PLG_SYSTEM_EORISIS_FACEBOOK_PIXEL (1.2.1) 1 | Google Tag Manager (1.0.0) 1 | plg_system_j2xml (3.7.46) 1 |
Templates Discovered :: wrote:Templates :: Site :: beez3 (3.1.0) 0 | Eventus (1.0) 1 | protostar (1.0) 1 |
Templates :: Admin :: hathor (3.0.0) 1 | isis (1.0) 1 |
Last edited by toivo on Tue Nov 09, 2021 8:03 pm, edited 1 time in total.
Reason: mod note: disabled smilies in post Options for readability

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9727
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: 504 Gateway Timeout Error in Backend Administrator

Post by AMurray » Tue Nov 09, 2021 9:46 pm

The time-out is a server error - your web host can probably help you track down what is causing it. They will probably say "It's Joomla - refer to them for support", but we can't do anything until we know the exact (or even possible) cause if it's at the server level. You may have identified the issue - overloaded database - your host can advise if this is nearing it's allocated size limit and that sort of thing.

Can you access server logs - e.g. php error log (another thing your host can possible assist with).

System Config issues
*Overloaded Database - there could be well a problem with nearing resource limits concerning your hosting? e.g. it seems to time out only when you access the article manager and it doesn't succeed listing the articles? How many records/lines per page do you have listing e.g. 50 per screen or more/less (if you can find that info)?
*You have some incorrect folder permissions (770) The recommended setting is 755.
*Configuration file should be 444
*Potential file ownership issues (that's a server configuration problem your host can help you fix).

System Updates
*Joomla 3.8.8 is four years out of date - curious to know why you haven't updated, or couldn't update within the last four years?
*Are all extensions current?
*Do you have (a) current/regular backup(s)?

PHP Errors
The top of the FPA may also provide the clue:

Last PHP Error(s) Reported :: wrote:
[09-Nov-2021 14:00:36 America/Bogota] PHP Warning: A non-numeric value encountered in /var/www/html/unilibre/plugins/system/helix/core/helix.php on line 548.

Possible solutions that may help
*Check with your host for assistance if required with:
1. Setting correct file permissions
2. Fix the potential file ownership issue.
3. PHP 7.3 is EOL next month - can you switch to PHP 7.4?
4. Optimise the database (through phpMyAdmin). (general reference: https://www.siteground.com/tutorials/ph ... -database/)


DIY System Maintenance
1. Akeeba Backup (it seems it's not installed) or another backup utility available to you.
2. Update Joomla CMS to 3.10 ASAP
3. Update extensions.
Regards - A Murray
General Support Moderator


Locked

Return to “Administration Joomla! 3.x”