Recent posts - Page 8 Recent posts - Page 8
 

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

#71
cpg1.6 install / Re: Blank page on install step...
Last post by phill104 - February 11, 2025, 09:27:04 PM
I think you first need to work out what the cause of the error at stage 9 is. A blank page is simply your server being unable to process a command. If this is something required by CPG to actually run then we need to work out why your server is not happy. In Linux, the server can be configured to display the error, or just display a white screen. In either way that error should be logged. Unfortunately, there are many ways a server can be setup so your host is the best team to advise on what this error is. If you tell them the exact time of the blank screen they can look at the logs and tell you what the error is. Some hosts allow you to adjust the display of these errors in their cPanel, others have a page in cPanel that contains the logs so you could also look there to see if there is anything available. In most cases, this kind of error is a hosting configuration problem.
#72
cpg1.6 install / Blank page on install step 9
Last post by beermatmania1 - February 11, 2025, 05:32:37 AM
Hi
I have been trying to install the most recent Coppermine 1.6 but each time I get to step 9 all I get is a blank page.
Also is there any way of adding a admin login and pass to an existing Coppermine 1.6 installation manually through the scripts. This installation all works except I get the error Critical error
There was an error while processing a database query when I try to log in or register.Apart from that all seems fine.
Thanks in advance for any help
#73
cpg1.6 miscellaneous / Duplicated albums on creation,...
Last post by AnnieHoney - February 09, 2025, 04:34:00 AM
Everything I'm doing, it's doing duplicated. Create an album? Creates 2
Batch adding? After adding, it tries to re-add. If it's just one image, it adds as double, delete one, the other breaks cause its just one file

both on php versions 8.1 and 8.4
#74
cpg1.6 upgrading / Re: Upgrade from 1.6.12 to 1.6...
Last post by phill104 - February 02, 2025, 06:44:08 PM
You should be fine with whatever is normally shipped with your servers build that runs PHP 8.2. That could be MariaDB or MySQL etc.  As always, make sure you backup files and database berfore starting the upgrade.
#75
Feature requests / Re: search within comments
Last post by statek - January 31, 2025, 06:47:22 PM
I also didn't find solution on CPG forums so I've set Google Programmable Search Engine and paste html code in search.php on my foto gallery.

#76
cpg1.6 upgrading / Re: Upgrade from 1.6.12 to 1.6...
Last post by JPNARF - January 30, 2025, 03:52:41 AM
#77
cpg1.6 plugins / Re: MOVED: Suppressor Plugin...
Last post by 406man - January 28, 2025, 12:29:39 PM
I've updated the plugin which can be found in the new forum here:

https://coppermine-gallery.com/forum/index.php/topic,80717.0.html
#78
cpg1.6 plugin contributions / Suppressor Plugin V1.2
Last post by 406man - January 28, 2025, 12:27:26 PM
I've upgraded the Suppressor plugin with some major new features and released it as version 1.2.  In broad terms the new features allow display or suppression of various fields for a particular album. Previous versions only suppressed various fields for the whole gallery.

The first new feature involves, depending on how the gallery is configured, either display of uploader name or suppressing the display of uploader name for a particular album.

A little more explanation. One of the gallery configuration settings in the Thumbnail View section is "Display uploader name below the thumbnail". As it says, this will display the uploader name below each thumbnail  in the thumbnail display screen. The setting applies to all albums so if you, for example set the checkbox, it's not possible to have an album where the name of the uploader isn't displayed. It's either displayed on all albums or none of them. Similarly, if you don't set the checkbox it's not possible to have an album where the name of the uploader is displayed.

Suppressor Version 1.2 implements its functionality using the Keyword field for an album. If you have a gallery where uploader name is normally displayed and the keyword NOUPLOADER is included in the Keyword field the uploader name will be suppressed for that album. Similarly, if you have a gallery where uploader name is not normally displayed and the keyword UPLOADER is included in the Keyword field the uploader name will be displayed for that album. Where a gallery has multiple keywords the standard keyword separator is the ";" character. Although the gallery configuration allows this to be changed it's recommended to leave it as it is.

Note that on the image Display screen the name of the uploader is always displayed if the "File information is visible by default" configuration option has been checked in the "Image View" section of the gallery configuration. It isn't impacted by the "Display uploader name below the thumbnail" configuration setting  described above. The suppressor plugin V1.2 will suppress display of uploader name for any picture in a particular album if the NOUPLOADER album keyword is set.

The other new feature involves suppressing the display of image EXIF information. This is enabled in the Image Settings section of the gallery configuration using the "Read EXIF data from JPEG files" setting. By adding NOEXIF to the album keyword field this display can be suppressed. At the same time it will also suppress the display of the custom fields for image description. Custom Fields are configured in the "Custom fields for image description" section of the gallery configuration.
#79
cpg1.6 themes (visuals) / Re: Additional custom fields
Last post by FrA1l3 - January 28, 2025, 12:44:25 AM
Mods for 1.6.26

You need to use Fileseek for example and search for these words:
user4
user_field4_name
usr4
user_field

Other words to search (but you can find it with usr4 as well):
   enabusr4
   usr4fld
   usr4checked


This is the list of files to modify to get 100% functionality on this version:
db_imput.php
edit_one_pic.php
editpics.php
thumbnails.php
uniload.php
update.php
search.php  <-- change foreach (range(1, 4) for 1, 20
include/admin.inc.php
include/functions.inc.php <-- there is a 'for' for user_field limited to 4 fields replace with (( $i <= 20 ))
include/picmgmt.inc.php
include/search.inc.php
include/codebase.php
plugins/upload_h5a/admin.php
plugins/upload_h5a/config.php
plugins/upload_h5a/initialize.inc.php
plugins/upload_h5a/js/upload.js
plugins/upload_h5a/js/upload.min.js
plugins/upload_sgl/codebase.php
sql/schema.sql
sql/basic.sql

Additionally, you should modify your language file, in my case, I'm from Spain so I need to edit this file:
lang/spanish.php
#80
cpg1.6 miscellaneous / Re: Error after updating to ph...
Last post by Joe Carver - January 27, 2025, 06:37:36 PM
It looks like you are running an older version of Coppermine.

Upgrade to version 1.6.26 (links above).

(from the release notes: "Line  56: 2020-02-25 [M] Remove use of deprecated *magic_quotes* functions {ron4mac}")