Score:0

How do I enable all error messages altering directly a database table?

US flag
user109348

When I try to log in on a site, I get a generic error, which doesn't help in understanding what exactly is going wrong.

I would like to enable the All messages, with backtrace information option shown for Error messages to display, to be able to understand what the error cause is.

Is it possible to change it by directly altering a database table? If the answer is yes, which table and which row should I change?

Score:1
id flag

This question as written, "directly in MySQL", is unanswerable. The value to change is found with this query:

SELECT data FROM `config` where name = 'system.logging';

But the content of the data column is a blob type containing serialized PHP data, and that data contains a configuration hash that is particular to your site.

You will have to write a PHP program that selects the value, unserializes it, changes the error_level key to verbose, serializes the new data then re-inserts it. I know of now way to do that directly in MySQL alone.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.