forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: hdelange1962 on May 11, 2022, 12:50:55 pm

Title: problems showing last upload
Post by: hdelange1962 on May 11, 2022, 12:50:55 pm
since a few weeks i have problems showing the last upload date underneath the last uploads

see under a picture: https://galerij.avifaunagroningen.nl/thumbnails.php?album=lastup&cat=0

when i set on the debug mode it says: /index.php
Notice line 1049: Undefined index: last_upload
Notice line 1049: Undefined index: last_upload
....

in the index on line 1049:            $last_upload_date = ($album['pic_count'] || ($CONFIG['link_pic_count'] && $link_pic_count > 0 )) ? localised_date($album['last_upload'], $lang_date['lastup']) : '';

is this a sort of bug? or is there change something in the last versions?

i have update coppermine to version 1.6.19 but the error remains

i am not a programmer, but hope someone can help me.

Henk

Title: Re: problems showing last upload
Post by: ron4mac on May 11, 2022, 03:16:31 pm
During the upgrade to 1.6.19, you should have seen the notice about custom language files needing to have modifications applied.

https://forum.coppermine-gallery.net/index.php/topic,80524.0.html
Title: Re: problems showing last upload
Post by: hdelange1962 on May 12, 2022, 01:20:16 pm
thankx, it works!

another person did the update to 1.6.18 i did not see the message, but thanks anyway.

Henk