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

Recent posts

#1
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by ron4mac - June 07, 2026, 02:11:47 PM
Quote from: Legacies on June 07, 2026, 05:13:20 AMWe removed that php setting and are now able to access the admin tools.

Glad you were able to resolve it!
#2
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by Legacies - June 07, 2026, 05:13:20 AM
Quote from: 406man on June 06, 2026, 11:35:33 AMSomewhere there's an out of date file that's being picked up that references mbstring, either by Coppermine software or PHP itself. The difficult bit is finding it.

Thank you so very much. We conducted a "find" in our php settings and found mbstring had been selected by default when we upgraded our php settings for the entire server.

We removed that php setting and are now able to access the admin tools.

We appreciate all of the brain power you guys have.
Thank you again.
Respectfully
AmericanLegacies Staff
#3
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by Legacies - June 07, 2026, 04:49:32 AM
Quote from: ron4mac on June 05, 2026, 07:42:00 PMAround 4 years ago you gave me admin access to your gallery. If you would like to do that again, I'll look to see what I can find.
We upgraded your status to admin.If you have any difficulty gaining access, please send us a message.
Thank you very much.
#4
cpg1.6 miscellaneous / Re: Coppermine db overloading ...
Last post by Joe Carver - June 06, 2026, 06:01:21 PM
In addition to what ron4mac has suggested and what you have done so far, turninig off logging detailed Hit Statistics will take a large load off of your DB. Bot/crawler traffic has been hugely inreasing as of late.
#5
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by lurkalot - June 06, 2026, 02:19:18 PM
Does the new server have Modsecurity enabled, if so disable it, or ask your host to disable it and see if it works.
#6
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by 406man - June 06, 2026, 11:35:33 AM
Somewhere there's an out of date file that's being picked up that references mbstring, either by Coppermine software or PHP itself. The difficult bit is finding it.
The latest versions of Coppermine don't have mbstring in the code.
As has been said, an old plugin or theme might have this.  You aren't using plugins or a non-standard theme but are there any of them still around in the directories ? Use your file transfer utility (WinSCP or similar) to check the dates on folders and files for old files.
Another way this could happen is if PHP itself is picking up old files when starting up. It will be useful to see what PHP thinks. You don't have the Admin menu so this will have to be created manually.

Put the following PHP file in your top level gallery directory and give it an obscure name for security reasons.

<?php
// Show the PHP configuration
    phpinfo();
?>

Then run it using the web browser:

https://yourgallery/obscurename.php

You'll get a display like the following that I've truncated. Are there additional files being picked up and shown in the line I've highlighted with red arrows ?
Does "mbstring" appear anywhere on the page ?  – use the "search on this page" feature of the web browser

php.png
#7
cpg1.6 miscellaneous / Re: Coppermine db overloading ...
Last post by phil1011 - June 06, 2026, 05:40:53 AM
Host informed me that most of the requests are from bots. They recommended Cloudflare so I've signed up and changed the nameservers. It should reduce unwanted traffic. Host re-enabled the coppermine db. Hopefully this will work in the long term.
#8
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by ron4mac - June 05, 2026, 07:42:00 PM
Around 4 years ago you gave me admin access to your gallery. If you would like to do that again, I'll look to see what I can find.
#9
cpg1.6 miscellaneous / Re: Coppermine db overloading ...
Last post by ron4mac - June 05, 2026, 07:23:25 PM
A few years ago, I suggested to you that you try a theme caching plugin. If your site is mainly public facing (users don't log in), the plugin will greatly reduce total database access. Many gallery pages are cached and the database is only accessed for them at whatever interval you set.

If caching doesn't work for you ... yes, their cheapest VPS plan should provide all you would need.
#10
cpg1.6 miscellaneous / Re: Unable to access the ADMIN...
Last post by Legacies - June 05, 2026, 05:08:28 AM
Thanks to everyone for all of the suggestions.

The theme we use is the standard theme out of the box. No changes have been made to it. The url to the site is https://americanlegacies.org/img/

When I enter the site name followed by /util.php, I get the same error.