News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

Unable to access the ADMIN TOOLS.

Started by Legacies, Yesterday at 08:16:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Legacies

 We are dealing with an issue on Coppermine 1.6.29.

We recently moved our entire cPanel to a new server and updated Coppermine after the move.

Now, we are unable to access the "Admin Tools" area.
Multiple admins are able to upload images and perform other duties, but no one can access the Admin Tools.

We are getting the following error, "PHP Request Shutdown: Use of mbstring.http_input is deprecated File: Unknown - Line: 0"

We looked through the htaccess and php.ini and could not find any references to the mbstring. We also ran a version check and found no errors.

We are using php 8.5 and tried moving it back to 8.0 to no avial.

We also installed a new program from scratch, on another cPanel that is using the same server and php. The new install worked fine.

So, we are perplexed as to what additional steps we can take to find the problem. Any suggestions would be greatly appreciate, however we would need step by step directions as we are a non-profit entity and none of our volunteers are trained in programming.

Thank you very much for any assistance.

ron4mac

The problem that you are having would seem to be stemming from some system configuration issue. If you search various AI platforms (Gemini, ChatGpt, Claude) for your failure message, you will likely find methods to try for resolution. Are you running a bunch of plugins on the problem instance? I suppose some plugin could be causing the problem. Disable all your plugins to see if there is any change.

Legacies

Hi Ron4Mac,
We appreciate your answer.
We do not run any plugins and have checked AI for solutions,
We have been running this installation of Coppermine for many-many years without any problems, so we are not sure why this is happening now.
We even tried to run a backup, but it would not load properly, so it seems like something got corrupted.

It seems like our only choice now is to either compare every file in the corrupted site to the files in a brand new working installation----or----- make a backup of our database through our cPanel and use that backup to populate a new installation.

Both of these operations will be time consuming, so we were hoping someone here had other suggestions
Thanks

andresf

Hello Legacies:

Assuming a plugin issue is ruled out, could it be that you have a theme installed that's causing the problem when accessing that deprecated function?

In Config - Themes settings, select a standard CPG theme, such as water_drops, for example, and check if it still hides the Admin Tools.

phill104

Quote from: andresf on Today at 01:17:29 PMHello Legacies:

Assuming a plugin issue is ruled out, could it be that you have a theme installed that's causing the problem when accessing that deprecated function?

In Config - Themes settings, select a standard CPG theme, such as water_drops, for example, and check if it still hides the Admin Tools.

As an aside.

There are 3 ways that coppermine decides what theme to show you:

1. based on the current config setting - stored in the database - (_config table)
2. based on a cookie that contains your preference.
3. based on a parameter passed in the url, eg. www.yoursite.com/index.php?theme=yourtheme

If you ever have probs with a theme you can just add ?theme=curve to end of your gallery url and it will set the theme to curve (for you only)

Once you have finished testing with that theme you can reset your cookies to use your default theme with www.yoursite.com/index.php?theme=???
It is a mistake to think you can solve any major problems just with potatoes.

Joe Carver

  • Post a link to one of the offending sites (it helps people to help you and could identify something you might have missed describing the problem, such as if your sites are linked with a Wordpress install (as an example))
  • If running any custom header or footer, remove either the DB setting using phpMyAdmin in Cpanel or just remove the file(s) using File Manager