News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

Recent posts

#71
cpg1.6 miscellaneous / Re: Error messages
Last post by sharpo - January 02, 2026, 12:22:06 AM
Concerning minicms, I would use it if it was available - but if not, I'll manage without it.

Give it some time & see if anybody else shows interest in it, being able to add a few comments here & there used to be very handy.

Thanks for updating me on the situation with it.

Oh, just looked at my gallery - it was started on Jan 22nd 2006. Yes, nearly 20 years ago!!
#72
cpg1.6 upgrading / Re: Upgrading from PHP 7.3 to ...
Last post by 911Patches - January 01, 2026, 11:23:57 PM
This was also an error:

Fatal error: Uncaught ArgumentCountError: strtolower() expects exactly 1 argument, 2 given in /home/patchgallery/public_html/plugins/theme_switch/codebase.php:53 Stack trace: #0 /home/patchgallery/public_html/plugins/theme_switch/codebase.php(53): strtolower() #1 /home/patchgallery/public_html/include/plugin_api.inc.php(307): theme_switch_page_start() #2 /home/patchgallery/public_html/include/init.inc.php(442): CPGPluginAPI::action() #3 /home/patchgallery/public_html/index.php(22): require('/home/patchgall...') #4 {main} thrown in /home/patchgallery/public_html/plugins/theme_switch/codebase.php on line 53
#73
cpg1.6 upgrading / Upgrading from PHP 7.3 to 8.2 ...
Last post by 911Patches - January 01, 2026, 10:55:28 PM
Hello

I updated my PHP one step at a time from 7.3 to 7.4 to 8.0 to 8.1
I eventually want to end up at 8.2 for site host performance issues etc.
However, sometime when I went to 8.1 I was getting this error when using index.php

Fatal error: Uncaught Error: Call to undefined function mysqli_report() in /home/patchgallery/public_html/include/database/mysqli/dbase.inc.php:32 Stack trace: #0 /home/patchgallery/public_html/include/init.inc.php(172): CPG_Dbase->__construct() #1 /home/patchgallery/public_html/index.php(22): require('/home/patchgall...') #2 {main} thrown in /home/patchgallery/public_html/include/database/mysqli/dbase.inc.php on line 32

I have degraded back to 7.4 but am still getting this fatal error.

Any ideas on what I can do so that I can update PHP?

Thank You
#74
cpg1.6 upgrading / Re: Clicking Home Shows I'm Lo...
Last post by 911Patches - January 01, 2026, 10:48:30 PM
Thank You!
#75
cpg1.6 miscellaneous / Re: Error messages
Last post by ron4mac - January 01, 2026, 09:30:52 PM
When looking at the issue minicms is having with PHP8.3, I looked at what it takes to switch the editor. I was able to switch to the basic operation of Trix after looking at it for a few hours. I also have experience with embedding CKEditor in one of my own projects. Changing the editor is quite doable ... but is it something worth doing? I'm not sure how relevant CPG is today. There may be only one or two people who have compelling interest in using minicms.
#76
cpg1.6 miscellaneous / Re: Error messages
Last post by phill104 - December 31, 2025, 09:03:12 PM
Just be aware there was a security issue with the editor (FCKeditor) and was never updated. FCKeditor has been discontinued for some time and replaced with CKeditor with a substantial lot of changes since the version shipped with MiniCMS.

Details and links to the repo here - https://en.wikipedia.org/wiki/CKEditor

I am not sure how much work would be needed to replace the editor in the package.
#77
cpg1.6 miscellaneous / Re: Error messages
Last post by sharpo - December 30, 2025, 05:15:54 PM
Thanks for that, glad I mentioned the problem!!

Will look into it later when I have some spare time.
#79
cpg1.6 plugin contributions / Re: MiniCMS for CPG 1.6....
Last post by ron4mac - December 30, 2025, 12:35:05 PM
In the configuration.php file of the plugin, just after the line at the top of the page
if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');insert this new line
global $enabled_languages_array;
#80
cpg1.6 miscellaneous / Re: Coppermine news page fails...
Last post by sharpo - December 30, 2025, 01:19:57 AM
Before I shut down for the night, I reloaded the page & it immediately told me there was an update.

I checked to see what it was - I was running 1.6.26 and the update was to 1.6.27 - so performed the update & checked to make sure no errors.

So for me, problem sorted now.