No Code Attached Yet
avatar N6REJ
N6REJ
27 Apr 2024

Steps to reproduce the issue

Go to global config and set debug to "on"
hit save
set to off,
hit save

Expected result

debug follows button settings, & configuration.php is changed.

Actual result

globacl config is completely ignored and debug is stuck on.

System information (as much as possible)

https://kuj5.klasusers.com/
systeminfo-2024-04-27T18_02_36+00_00.txt

Additional comments

avatar N6REJ N6REJ - open - 27 Apr 2024
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Apr 2024
avatar brianteeman
brianteeman - comment - 27 Apr 2024

AS ALWAYS - unable to replicate

avatar chmst
chmst - comment - 27 Apr 2024

J 5.1 ?
I cannot replicate this issue, in my installation the settings are as expected. Online and on localhost.

avatar brianteeman
brianteeman - comment - 27 Apr 2024

You do realise that the system information you posted proves that debug is off!!

image

avatar N6REJ
N6REJ - comment - 27 Apr 2024

right, but what I'm saying is changing it in the backend does nothing.. it's only if you edit the confitg file maunally that it does anytthung BUT, the debug still shows.
image
Check the link I gave.
@brianteeman your snide remark is unnecessary and unhelpful

avatar N6REJ
N6REJ - comment - 27 Apr 2024

J 5.1 ? I cannot replicate this issue, in my installation the settings are as expected. Online and on localhost.

yes mam

avatar N6REJ
N6REJ - comment - 27 Apr 2024

another proof of that is that it says "display_offline_message" to true but clearly its ignored

avatar N6REJ
N6REJ - comment - 27 Apr 2024

J 5.1 ? I cannot replicate this issue, in my installation the settings are as expected. Online and on localhost.

if you set debug to on and then hit save does it revert to off? Ours does

avatar AlisonAMG
AlisonAMG - comment - 27 Apr 2024

Error reporting was stuck on Max and wouldn't shut off - had to set it to none via config to do it.

avatar brianteeman
brianteeman - comment - 27 Apr 2024

seriously. Come on Bear - you've been around long enough now to surely realise that that setting is about the message which would be displayed WHEN the site is off

image

avatar N6REJ
N6REJ - comment - 27 Apr 2024

before hitting save
image

after save
image
image

avatar brianteeman
brianteeman - comment - 27 Apr 2024

Your porblem is simple. Lets approach this logicaly.

Changes made by editing the configuration.php file work
Changes made using the global config settings in Joomla do not work

What can we conclude from this. Two possibilities

  1. There is a bug in joomla preventing changes in global config
  2. There is something specific to your system preventing Joomla from saving the changes in global config.

We can rule out option 1 (until someone else can repeat it)

So lets look closer at option 2 - What can we test

When you press save in joomla after making a change does it actually say anything. It should be
image

If it says saved but nothing has been saved - please post a screenshot to prove that Joomla is telling lies

avatar Fedik
Fedik - comment - 27 Apr 2024

Maybe you have PHP "opcache" issue, kind of. Or another cache.
That can explain why your config does not changes immediately.

Joomla trying to do opcache_invalidate when it is available.

avatar AlisonAMG
AlisonAMG - comment - 27 Apr 2024
avatar N6REJ
N6REJ - comment - 27 Apr 2024

just to add to what @AlisonAMG said, we've already reinstaleld core files

avatar AlisonAMG
AlisonAMG - comment - 27 Apr 2024

Hi @Fedik Not using OPCache but am using Cache Cleaner by RegLabs. It is set to clear on save but have also been using the clear button.

Thanks to anyone helping out.

avatar brianteeman
brianteeman - comment - 27 Apr 2024

reinstalling core files almost NEVER solves anyything

Your video clearly shows that when you try to save it does not as there is no confirmation message

What do you think that means?

It can only mean one thing - Joomla was unable to write to the configuration.php file

This is a server config issue

avatar AlisonAMG
AlisonAMG - comment - 27 Apr 2024

Thanks Brian - Will look into that.
Odd since other things outside of Global are doing the things as expected.

avatar brianteeman
brianteeman - comment - 27 Apr 2024

you can easily verify that assertion.

take a backup of the site and install it on a known good server. Happy to do that on my server

avatar AlisonAMG
AlisonAMG - comment - 27 Apr 2024

This is a known good server. The live J3 site is rolling on it.

If you would like to give it a spin the BU is 1.1 GB
Let me know your preferred method to get it.

avatar brianteeman
brianteeman - comment - 27 Apr 2024

you can backit up excluding the images/ and that should make it a lot smaller. Send it to me by whatever method is best for you

avatar AlisonAMG
AlisonAMG - comment - 27 Apr 2024

Sent the link to you via MM Brian. Obv at your convenience.

avatar brianteeman
brianteeman - comment - 27 Apr 2024

As expected. Installed on a known good server provided to me by https://www.scalahosting.com/joomla-vps.html and it works perfectly.

Not a Joomla bug so can be closed. (Will take a further look to see what caused the problem but its not a core bug)

avatar AlisonAMG
AlisonAMG - comment - 27 Apr 2024

Many thanks Brian for your assistance.

avatar brianteeman
brianteeman - comment - 27 Apr 2024

For reference the problem was a php config issue.

The max_input_vars was 1000 which would normally be just enough but as this site had a large number of user groups and access levels the limit was reached when saving config and eventually would be reached when aving modules and menu items

Unfortunately this error doesnt usually make any visual display - its just in your server logs.

The clue is that it would appear to save BUT no Joomla Save message will be displayed.

We did discuss in the past some form of notification when this happens but I forget the outcome

avatar brianteeman
brianteeman - comment - 27 Apr 2024

We did discuss in the past some form of notification when this happens but I forget the outcome

Found it
#7456

This would have identified the problem immediately

avatar brianteeman
brianteeman - comment - 28 Apr 2024

Can someone close this please. It was not a joomla bug and it has been resolved

avatar HLeithner HLeithner - change - 28 Apr 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-04-28 16:28:24
Closed_By HLeithner
avatar HLeithner HLeithner - close - 28 Apr 2024

Add a Comment

Login with GitHub to post a comment