Recent posts Recent posts
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Recent posts

#1
cpg1.6 plugin contributions / Re: Suppressor Plugin
Last post by 406man - Today at 11:59:30 AM
To panhead – thanks for your comment. It's good to know that someone out there is using the plugin as I've not had any feedback so far.

I've tried reproducing your problem but can't. It must  be that there's a combination of settings in your gallery that's triggering the crash and I need to have these set appropriately.  I'll be happy to work with you to find the fault and fix it but I can only do that with some help from your side. What I suggest is:
  • Enable debug mode in the gallery. To do this, as Admin go into Config  > Maintenance Settings   then set "Enable Debug mode" to  Everyone
  • Ensure logging is enabled. In config > Logging and Statistics  set Logging mode to All.
  • Display the plugin config  in a reply to this topic. To do this go into Plugin Manager, then for Suppressor choose "Configure plugin". Take a screenshot of the page and trim off everything surrounding the web page and blank out anything you don't want publicly visible, leaving just the plugin settings
  • Capture the database call that crashed. From the admin menu "View log file" ought to show a database log file with the error in it. If there is something there copy it and add to the forum reply. On your web server, if you have access to the log files, there is a file /logs/php_error.log   which ought to have the database error in it.
  • What is the page that's triggering the error ?  Including the exact URL would be helpful. Delete the domain name if you don't want to display it here.
  • Is the user experiencing the crash an administrator or standard user
  • Switch debug mode off if you normally leave it off. Set "Enable Debug mode" to  no.
#2
cpg1.6 plugin contributions / Re: Suppressor Plugin
Last post by panhead - November 07, 2025, 04:47:11 PM
I re-installed version 1.1 and the problem disappeared. Strange.
#3
cpg1.6 plugin contributions / Re: Suppressor Plugin
Last post by panhead - November 07, 2025, 03:56:09 PM
I updated to the most recent version and now I get this error:

Critical error
There was an error while processing a database query

But only with the 'last additions', all other albums ar OK.
#4
cpg1.6 miscellaneous / Re: PHP Upgrade Worry
Last post by typomaniac - October 30, 2025, 06:02:38 AM
Thanks. Info much apprecitated.
#5
cpg1.6 miscellaneous / Re: PHP Upgrade Worry
Last post by ron4mac - October 29, 2025, 03:33:04 PM
Let me rephrase that in a less confusing way ...
My copy of CPG 1.6.27 is successfully running with PHP 8.4.13
#6
cpg1.6 upgrading / Re: Clicking Home Shows I'm Lo...
Last post by 406man - October 29, 2025, 09:46:20 AM
I've seen this many times and it's caused by caching, either in your web browser or at your web host. Press Ctrl and F5 together to display the most up to date version of the screen.
#7
cpg1.6 miscellaneous / Re: PHP Upgrade Worry
Last post by typomaniac - October 29, 2025, 12:50:26 AM
Where do I find a copy of the developer version?
#8
cpg1.6 upgrading / Re: Date format corrupt after ...
Last post by statek - October 28, 2025, 06:35:23 PM
I also attaching updated Ukrainian.php
#9
cpg1.6 upgrading / Clicking Home Shows I'm Logged...
Last post by 911Patches - October 27, 2025, 08:21:35 PM
I am having issues with a couple of my coppermine installs.
After upgrading to 1.6.27 when I login and then click home it shows' I'm logged out.
Click login and it shows: Error You are already logged in!
Click any other link and it reverts back to showing I'm logged in.
Any idea what is happening?

https://www.patchgallery.com/bobbrooksfirepatches/index.php
#10
cpg1.6 miscellaneous / Re: PHP Upgrade Worry
Last post by 406man - October 25, 2025, 06:00:39 PM
I'm successfully running 8.1.33 with two of my galleries. The times you're likely to see trouble are:
- if you run a PHP version that is very new and higher than the supported version.
- if you try to run old plugins or themes that haven't been updated to be compatible with a recent version of PHP 8. The plugins that I've contributed have all been tested with at least PHP 8.2.19