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

#1
cpg1.6 install / Re: Possible bug creating hit_...
Last post by andresf - April 30, 2026, 02:50:57 PM
Well, it doesn't really take up much more space; the VARCHAR type adjusts the space to the entered data.
#2
cpg1.6 install / Re: Possible bug creating hit_...
Last post by andresf - April 30, 2026, 02:33:15 PM
Thanks, ron4mac, for your reply. Indeed, it's not really a "bug" that affects the gallery's functionality.

I realized this when I saw that the "hit_stats" table is possibly the one that grows the most and takes up the most space in the database, and that field ('pid') declared as VARCHAR(100) contributes to it taking up even more space.
#3
cpg1.6 install / Re: Possible bug creating hit_...
Last post by ron4mac - April 30, 2026, 02:35:12 AM
Thank you for posting your discovery. Technically, you are correct. But it has been mis-declared like that for over 18 years without issue.
#4
cpg1.6 install / Possible bug creating hit_stat...
Last post by andresf - April 29, 2026, 09:44:51 PM
Hello:

My name is Andres and this is my first message in this forum. I want to thank André for his help with some problems I had registering.

I discovered the Coppermine Gallery a while ago and have some experience programming it. I hope I can contribute something to improve this tool.

In this post, I wanted to warn about a possible bug in the sql\schema.sql file. When the "hit_stats" table is created, the `pid` field should be of type INT, according to the documentation, not VARCHAR(100). This can be found on line 196.

Regards
#5
cpg1.6 upload / Re: Upload bug after moving fr...
Last post by ron4mac - April 10, 2026, 05:07:25 PM
I did a fresh install of Ubuntu with Nginx as the web server and had no issues running CPG 1.6.28 on it. So there must be some anomaly with your setup that is causing the abnormal response from the server during upload. That said, it's a kind of trivial abnormality that shouldn't cause the upload progress to halt. I will make a modification to CPG so, in the future, it will handle this abnormal situation more gracefully.
#6
cpg1.6 upload / Re: Upload bug after moving fr...
Last post by screamqueen - April 10, 2026, 07:43:41 AM
Thank you so much, I'm really happy everything is working again and uploads are functioning properly. I really appreciate the fix you made, everything looks perfect now.
#7
cpg1.6 upload / Re: Upload bug after moving fr...
Last post by ron4mac - April 09, 2026, 01:51:02 PM
Your Nginx server is behaving in a way that must not be totally normal. CPG upload has functioned without problem on many Nginx servers. I've made a modification to CPG upload on your galleries to get around the issue (clear your browser cache). When I have a bit more time, I'll setup a fresh ubuntu/nginx server to explore the possible root issues more deeply.
#8
cpg1.6 upload / Re: Upload bug after moving fr...
Last post by screamqueen - April 08, 2026, 07:37:14 PM
Yeah, it's on the same server. That's why it's confusing me too.

My guess is it might be related to PHP settings, like php.ini or maybe the PHP version itself.

I'll send you the access info in PM 👍
#9
cpg1.6 upload / Re: Upload bug after moving fr...
Last post by ron4mac - April 08, 2026, 05:27:59 PM
Is your friend's site on the same server?
It's strange that there is failure highlighting with the upload but no further explanation.
I you want to PM me access info, I guess I can take a look at it.
#10
cpg1.6 upload / Re: Upload bug after moving fr...
Last post by screamqueen - April 07, 2026, 11:49:19 PM
Yes, I remember. Back then my site was on a Windows server with cPanel, but now I've migrated it to a Linux server, so it could be something server-side.

At first I thought my friend's site was working fine, but I noticed it's actually having the same issue as mine. I also tried switching themes and using the default theme, but the problem is still there, when I upload multiple images at once, only one gets uploaded and the rest just stop.

If you want, I can give you root access so you can check it. I'm honestly not very familiar with Linux, so I might have misconfigured something.