coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 install => Topic started by: wildwalker on August 18, 2023, 03:06:37 PM

Title: Corrupted dates in gallery
Post by: wildwalker on August 18, 2023, 03:06:37 PM
Hello all,

I recently moved my gallery, and in the new gallery when I look at the date of an uploaded image I see something like "%540 %17, %2023"

I am guessing this is either in the bd, or the way the data is parsed from the db.

Has anyone experienced this before? is there a possible file to for a read of all image dates?

I moved from 1.6.03 (stable) to 1.6.25 (stable)

Best regards,
Alan Walker.
Title: Re: Corrupted dates in gallery
Post by: ron4mac on August 18, 2023, 03:39:20 PM
Please see the note that was included with many versions prior to 1.6.25

https://github.com/coppermine-gallery/cpg1.6.x/releases
Title: Re: Corrupted dates in gallery
Post by: wildwalker on August 18, 2023, 04:22:44 PM
Quote from: ron4mac on August 18, 2023, 03:39:20 PM
Please see the note that was included with many versions prior to 1.6.25

https://github.com/coppermine-gallery/cpg1.6.x/releases

Hello, this seems to be talking about custom language files, I am not (as far as I am aware) using any custom language files, my site is set to english_gb

"custom language files (ones not distributed with CPG)"

Should I need to make any changes in this case?

Best regards,
Alan Walker.
Title: Re: Corrupted dates in gallery
Post by: ron4mac on August 18, 2023, 05:23:11 PM
The english_gb language file is no longer (currently) distributed with newer versions of CPG. So that file, in essence, is a custom language file.
Title: Re: Corrupted dates in gallery
Post by: wildwalker on August 18, 2023, 11:32:27 PM
Quote from: ron4mac on August 18, 2023, 05:23:11 PM
The english_gb language file is no longer (currently) distributed with newer versions of CPG. So that file, in essence, is a custom language file.

Well, my Coppermine gallery is 19 years old, will be 20 next year :)

So I guess after many upgrades and server moves, including moving from Windows IIS to Linux Apache and nginx over the last 10 years there might be the odd deprecated file still dogging about.
Title: Re: Corrupted dates in gallery
Post by: lurkalot on August 25, 2023, 09:52:00 AM
Visit your gallery with this added to the end of your url in the address bar and it should cure your issue

/?lang=english