Recent posts - Page 3 Recent posts - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Recent posts

#21
cpg1.6 install / Re: Fresh Install with Install...
Last post by ron4mac - April 18, 2025, 10:30:41 PM
It would seem that PHP on your server has been configured with some restrictions. If you are able, check your php.ini to see whether the exec() function is disabled.
#22
cpg1.6 install / Re: Fresh Install with Install...
Last post by nowordneeded - April 16, 2025, 04:08:49 AM
Phil:

The log file keeps repeating

QuotePHP Fatal error:  Uncaught Error: Call to undefined function exec() in
#23
cpg1.6 install / Re: Fresh Install with Install...
Last post by phill104 - April 15, 2025, 08:01:34 PM
What is the 500 error? You will need to check the server logs to find out what the actual error is.
#24
cpg1.6 install / Fresh Install with Installer S...
Last post by nowordneeded - April 15, 2025, 12:40:50 PM
Hello:

I've been trying for the better part of two days to try to install a fresh copy on a new site using both the installer stub. Each time I do, I get a white screen directly after I select which version I want to use. When I refresh I get "Please first delete the log file: installer.log.txt." When I do that, I go back to the screen to select which version I want. Basically, I'm thrown into a loop.

I've tried just uploading the files directly to the server via FTP, and I get to step 4, and it goes to a 500 error. When I try to add the database information directly to a created config.php file, it tells me the installer was already run and the file is locked.

I'm trying to install version 1.6.28 here: https://diego-luna.com/gallery.

The Wordpress installation worked like a charm. I've yet to have Coppermine act like this before.

Thanks to anyone who can help.

NWN
#25
cpg1.6 permissions / Re: CPG 1.6 - Safe to use
Last post by SolidSnake2003 - March 29, 2025, 08:52:48 PM
Quote from: phill104 on March 29, 2025, 10:44:48 AMYes. We have had no reports of any security issues.

Thanks for answering my question Phil104
#26
cpg1.6 permissions / Re: CPG 1.6 - Safe to use
Last post by phill104 - March 29, 2025, 10:44:48 AM
Yes. We have had no reports of any security issues.
#27
cpg1.6 permissions / CPG 1.6 - Safe to use
Last post by SolidSnake2003 - March 28, 2025, 04:27:02 AM
Is it still safe to use the current version of 1.6 of Coppermine Photo Gallery on a fansite? I ask cause I'm working on relaunching one of my fansites and want to use Coppermine as the gallery. I see that there hasn't been any updates for a year.
#28
cpg1.6 miscellaneous / Re: Modify custom fields in fi...
Last post by FrA1l3 - February 24, 2025, 11:08:09 PM
A small clarification, when I choose the option to upload a single file, I can see all the fields. It is in the multiple files option where the custom fields that I need to fill out do not appear.

(https://i.imgur.com/ZIVGtFW.png)

thank you!
#29
cpg1.6 miscellaneous / Modify custom fields in file u...
Last post by FrA1l3 - February 23, 2025, 07:43:02 PM
Hello friends.

I have been making the modification of adding 20 custom fields to my gallery for years, with each update I make the same modification and I explain it in this other thread:
https://coppermine-gallery.com/forum/index.php/topic,79437.msg390717.html

The thing is that there is a file that I am resisting, and it is the upload.php.
By default it shows the first 4 custom fields and I can't get it to show my other custom fields.
Could you help me please?
I am leaving you an image of the files so you can see how the other custom fields look in other places.

It would save me a lot of time if I could establish the custom fields before uploading the photos, since it is information that they share and I wouldn't have to add the information one by one

default_fields.png
#30
cpg1.5 theme contributions / Re: Theme Pinmine ...
Last post by Leigh2000 - February 23, 2025, 09:50:21 AM
Finally updated my site to v1.6.26 and discovered this theme stopped working so I thought I would share my solution.

find line 1257 in theme.php
$result = cpg_db_query("SELECT COUNT(msg_id) FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'");    list($num) = mysqli_fetch_row($result);
and replace with
$result = cpg_db_query("SELECT COUNT(msg_id) FROM {$CONFIG['TABLE_COMMENTS']} WHERE pid='$pid'");

// Check if $result is an instance of CPG_DbaseResult
if ($result instanceof CPG_DbaseResult) {
    // Use the appropriate fetch method for CPG_DbaseResult
    $row = $result->fetchRow(); // Hypothetical method; verify the actual method in your library
    $num = $row[0];
} else {
    // Handle unexpected result type
    die("Error: Invalid query result type.");
}

No problems so far so hopefully this keeps it working.
Thanks for the nice theme btw  :)