504 Gateway Time-out nginx

General questions relating to Joomla! 3.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
axelgother
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 16, 2022 9:08 am

504 Gateway Time-out nginx

Post by axelgother » Wed Nov 16, 2022 9:20 am

We cannot access our website. We get either:
- "0 - Non-static method AriKernel::init() cannot be called statically" or
- "504 Gateway Time-out nginx"

When I am trying to enter the administrator page I get the error message "Missing field in database: Joomla\CMS\Table\Extension &#160; extension_id.".

Is this a general server-related issue that you are currently working on?

Best regards,
Axel
Last edited by toivo on Wed Nov 16, 2022 9:37 am, edited 1 time in total.
Reason: mod note: moved, not related to 3.x Performance

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24074
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: 504 Gateway Time-out nginx

Post by pe7er » Wed Nov 16, 2022 9:34 am

Welcome to Joomla forum!

What version of Joomla 3 do you use? The latest Joomla 3.10.11?
What PHP version do you use?

See also https://issues.joomla.org/tracker/joomla-cms/36185
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl (Renewed!) - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

axelgother
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 16, 2022 9:08 am

Re: 504 Gateway Time-out nginx

Post by axelgother » Wed Nov 16, 2022 10:11 am

Thanks for your reply.

Joomla 3.9.19.
PHP 8.1.11.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24074
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: 504 Gateway Time-out nginx

Post by pe7er » Wed Nov 16, 2022 10:17 am

Joomla 3.9 is not compatible with PHP 8.1.
Could you downgrade to PHP 8.0?

After that upgrade Joomla to the latest version 3.10.11.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl (Renewed!) - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

axelgother
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 16, 2022 9:08 am

Re: 504 Gateway Time-out nginx

Post by axelgother » Wed Nov 16, 2022 10:22 am

How do I downgrade?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24074
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: 504 Gateway Time-out nginx

Post by pe7er » Wed Nov 16, 2022 10:25 am

How do you manage your hosting?
Some hosting admin panels have an option to select the PHP version.

Every hosting / server is different. It might be best to contact your hosting provider.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl (Renewed!) - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

axelgother
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 16, 2022 9:08 am

Re: 504 Gateway Time-out nginx

Post by axelgother » Fri Dec 02, 2022 9:47 pm

I downgraded to PHP 7.4 (8.0 did not work) and then upgraded to Joomla 3.10.11. That worked fine but recently I started experiencing similar problems. Now I am getting:

"0 - Non-static method AriKernel::init() cannot be called statically"

What could be the reason? I am running Joomla 3.10.11 and PHP 8.1 and I think it started when PHP our hosting partner upgraded from PHP 7.4 to PHP 8.1.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 29639
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: 504 Gateway Time-out nginx

Post by Per Yngve Berg » Sat Dec 03, 2022 2:16 am

The error does not come from Core Joomla. You must update your extensions too.

axelgother
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Nov 16, 2022 9:08 am

Re: 504 Gateway Time-out nginx

Post by axelgother » Wed Dec 07, 2022 6:02 pm

Okay, thank you. Is there a way to export all our content or do I have to identify and uninstall the plugin that is causing this first in order to access our information on the website?

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

Re: 504 Gateway Time-out nginx

Post by AMurray » Wed Dec 07, 2022 9:43 pm

I'm pretty sure Joomla 3.10 doesn't work with PHP 8.1 either. You need to use PHP 8.0.x

I'm not sure why you need to export anything? Your content is in the database - you can export the database to a *.sql file (if that's what you mean) through your web-hosting cPanel such as with PHPMyAdmin.

You can track down the error by a process of elimination; disable third party extensions, re-enable each until you hit the one causing the error. Enabling Error Reporting and Debug will also speed this up because it should show on-screen errors and allow you to more quickly identify what might be causing the trouble.

Are you using any "Ari-Soft" extensions?

I found a support posting on Ari-Soft Forum concerning that very error message. The developer's solution stated the extension was not PHP 8 compatible. So as @per has said, try and update your extensions.
(For reference: https://www.ari-soft.com/ARI-Smart-Cont ... linit.html).

If it is Ari-Soft that might be the problem you can disable it/them in the database. Find the plugins/modules/components table (as applicable) and identify the extension, and change it from a state of "1" (enabled) to "0" (disabled), if you can't access the Joomla administrator.

[EDIT]: On the JED site listing for ARI-soft extensions, there are not many (if any) ARI extensions that appear to be actively developed, few for J4 specifically.
Regards - A Murray


Post Reply

Return to “General Questions/New to Joomla! 3.x”