Base de conhecimento

Turn your application's debug or maintenance mode on and off

Switch debug mode for Joomla!, Drupal, Laravel, Magento, Nextcloud and more, and the application's own maintenance mode where it has one, from the dashboard.

Zinn®, o nosso viking, a ler a sua lista de verificação ao lado de um índice de artigos com um aberto.

Many applications we host have a debug mode of their own, and some have their own maintenance mode. You can switch them on and off from the dashboard, without editing the application's files. WordPress has its own switches on the WordPress tab.

Where to find it

  1. Open Sites and choose the website.
  2. Open Software.
  3. The debug and maintenance card is there when your application has a switch we can change.

You need the permission to manage the website's hosting panel. Without it you can see the switches but not change them.

Which applications have which switch

ApplicationDebug switch changesIts own maintenance mode
Drupalsystem.logging error_level-
Joomla!$debug, $error_reporting-
LaravelAPP_DEBUG-
Magentodev/debug/debug_loggingYes
MediaWiki$wgShowExceptionDetails-
Moodledebug, debugdisplay-
NextclouddebugYes
ownClouddebugYes
PrestaShop_PS_MODE_DEV_-

Debug mode

Debug mode makes the application record full details of an error, which helps you or your developer find a fault. For most applications it also shows those details to visitors, which can include file paths and settings, so the card asks before it turns debug mode on and warns you while it is on. Turn it off as soon as you have found the fault.

The card links to your website's logs, where the errors are recorded.

Maintenance mode

Where the application has its own maintenance mode, the card can switch it. Visitors then see the application's own maintenance page, and the website answers 503 (temporarily unavailable), so search engines know to come back later. Nothing on the website is changed or removed. Turn it off to open the website again.

What we change, and how we check it

We change only the one setting, with the application's own tools where it has them (for example occ for Nextcloud or bin/magento for Magento), or in the application's own settings file, which keeps its permissions. After every change we read the setting back from your website, and the card shows what the website answered. If the website did not take the change, the card says so and nothing else is changed. Every change is recorded in your activity log.

If you or your developer change the same setting in the application's files, the card shows that too: it always reads your website, never what we last set.

WordPress debug settings

On the WordPress tab, the switches card has Debug mode (WP_DEBUG) and, under Debug details, the other WordPress debug settings, each its own switch:

  • Write errors to a log file (WP_DEBUG_LOG): errors are saved to wp-content/debug.log.
  • Show errors on the page (WP_DEBUG_DISPLAY): visitors can read the errors too. WordPress turns this on when wp-config.php does not say otherwise, so on a live site turn it off and use the log.
  • Load full core scripts (SCRIPT_DEBUG): unminified CSS and JavaScript, slower pages.
  • Keep database queries (SAVEQUERIES): every query recorded for a debugging plugin to show. It slows the site.

The details take effect while debug mode is on. Each switch writes one setting in wp-config.php with WordPress's own tools and is read back from your website, like the others.

Under the log switch, Show the debug log opens the newest 200 lines of the log, however big the file has grown, read from your website when you open it. Clear the log asks first, then empties the file in place and reads it back to confirm. Download the log saves the newest 2 MB of the file to your computer as a text file named after the site, starting on a whole line, for reading in your own editor or sending to a developer. Only people who may manage the site's WordPress can see the log: it can hold file paths, database queries and anything a plugin printed.

WordPress wp-config settings

Below the switches, wp-config settings shows five more values from the site's wp-config.php, read each time you open the tab:

  • WordPress memory limit (WP_MEMORY_LIMIT): pick 64M, 128M, 256M or 512M, or WordPress default to remove the setting. Your PHP memory limit still caps what WordPress can use. The screen shows the value read back from the file after the change.
  • Database table prefix: shown so you know it, never changed here (changing it on a live site breaks the site unless every table is renamed with it).
  • Security keys and salts: Regenerate the salts writes new keys. Everyone signed in is signed out at once, you included, so it asks first. Use it after a suspected break-in or a leaked password. No key or password is ever shown.
  • Theme and plugin file editor (DISALLOW_FILE_EDIT): shown, not changeable. Zinn® turns wp-admin's file editor off on every site for security, so a stolen admin password cannot be used to write code into your theme or plugins. Edit files over SFTP or the file manager.
  • WordPress scheduled tasks (DISABLE_WP_CRON): shown, not changeable. Our scheduler runs WordPress's scheduled tasks every five minutes, so they run on time even when nobody visits and page views are not slowed down by them.

Every change here and to the debug switches keeps a restore copy of wp-config.php first (wp-config-zinn-restore.php, beside it, unreadable over the web), then checks that WordPress still loads. If it does not, the old file is put back at once and the change is refused, so a change made here never leaves your site down.

Este artigo ainda não foi traduzido para o seu idioma, pelo que está a ler a versão em inglês.

Mais recentes do blogue

O que temos escrito sobre alojamento, SEO e gestão de sites em escala.

SEO and Link Building from the Hosting Layer: A 2026 Operator's View

How hosting shapes indexing and link equity in 2026: keeping pages indexed, vetting aged domains before you build on them, link building without a footprint, and an honest line on what infrastructure can and cannot do for SEO.

Ler o artigo →

Making WordPress Fast and Secure: A Performance and Plugin Checklist

A practical checklist for fast, secure WordPress: server-level caching, a per-site object cache, the handful of plugins worth running, keeping the stack current, and the WooCommerce pages you must never cache.

Ler o artigo →

How to Choose Managed Web Hosting in 2026: A Buyer's Guide

What actually separates good managed hosting from a cheap box with a control panel — migrations, backups, isolation, real caching and honest scaling — and how to judge it before you commit.

Ler o artigo →

Ler o blogue →

Ainda com dúvidas?

O suporte está incluído em todos os planos, o apoio está disponível 24 horas por dia e pode escrever-nos em qualquer um dos nossos 59 idiomas — respondemos-lhe no seu.

Contactar o suporte Todos os artigos