forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: Enterfrize on January 26, 2018, 05:45:28 pm

Title: "Last Uploads" Stopped Working
Post by: Enterfrize on January 26, 2018, 05:45:28 pm
Hi all,

This is a first for us.

The "Last Uploads" seems to have hit an end-date:

https://www.mtbs3d.com/gallery/thumbnails.php?album=lastup&cat=0

Yet we have more recent uploads:

https://www.mtbs3d.com/gallery/thumbnails.php?album=39

Any guesses on the cause?

Regards,
Enterfrize
Title: Re: "Last Uploads" Stopped Working
Post by: ron4mac on January 26, 2018, 05:59:56 pm
Did you resolve it?  I don't see the issue that you describe.  Cache?
Title: Re: "Last Uploads" Stopped Working
Post by: Enterfrize on January 26, 2018, 06:13:36 pm
It hasn't been resolved yet.  Does the gallery have a cache I could refresh?  I didn't know about that.
Title: Re: "Last Uploads" Stopped Working
Post by: Enterfrize on January 26, 2018, 06:15:36 pm
Sorry!  I included the wrong link.

Here is the problem link:

https://www.mtbs3d.com/gallery/thumbnails.php?album=lastup&cat=-39

Here is a folder that has more recent images:

https://www.mtbs3d.com/gallery/thumbnails.php?album=39

Regards,
Enterfrize
Title: Re: "Last Uploads" Stopped Working
Post by: ron4mac on January 26, 2018, 07:21:14 pm
By cache, I was referring to your web browser cache.

I still don't see the issue ... last 2 files uploaded Jan 6, 2018 and Dec 7, 2017. Shows on both links.
Title: Re: Re: "Last Uploads" Stopped Working
Post by: Enterfrize on January 26, 2018, 07:44:02 pm
By cache, I was referring to your web browser cache.

I still don't see the issue ... last 2 files uploaded Jan 6, 2018 and Dec 7, 2017. Shows on both links.

There have been a whole slew of files uploaded since then - today included.  It stopped listing files as the last files on January 6 and has ignored new file uploads since then even though they are very much there.

Regards,
Neil
Title: Re: "Last Uploads" Stopped Working
Post by: ron4mac on January 26, 2018, 08:24:18 pm
If I do a 'search' for files that have 'jpg' in them and newer that 30 days ago, the only one that comes up is that Jan 6 one.

Possibilities...
The uploads some how failed and didn't make it into the database.
Your host had to reload an older copy of the database.

Enable debug mode in the config to see if it reveals anything to you.
Title: Re: Re: "Last Uploads" Stopped Working
Post by: Enterfrize on January 27, 2018, 03:57:37 am
If I do a 'search' for files that have 'jpg' in them and newer that 30 days ago, the only one that comes up is that Jan 6 one.

Possibilities...
The uploads some how failed and didn't make it into the database.
Your host had to reload an older copy of the database.

Enable debug mode in the config to see if it reveals anything to you.


1. I'm able to see the actual updates complete with their descriptions and thumbnails.  So something is in the database.
2. We run our own dedicated server.

I ran debug mode.  A lot of warnings came up, but I Googled, and these warnings aren't errors, they are warnings to do with formatting.  This is just a sampling:

-----
Deprecated line 253: Non-static method Inspekt::getMatched() should not be called statically, assuming $this from incompatible context
Deprecated line 529: Non-static method Inspekt::isIp() should not be called statically, assuming $this from incompatible context
Deprecated line 236: Non-static method Inspekt::getEscaped() should not be called statically, assuming $this from incompatible context
Deprecated line 236: Non-static method Inspekt::getEscaped() should not be called statically, assuming $this from incompatible context
Deprecated line 140: Non-static method Inspekt::getAlnum() should not be called statically, assuming $this from incompatible context
-----


This might be useful:

-----
\bridge\phpbb3.inc.php

    Notice line 110: Undefined index: admingroups_phpbb3
-----


It's strange that it would just cut-off suddenly.  Is there a limit to how many files can be in a directory before files are no longer counted?  Most of the files end up in a single directory that I use.

Regards,
Enterfrize
Title: Re: "Last Uploads" Stopped Working
Post by: Enterfrize on January 27, 2018, 04:16:16 am
I made a discovery.  I did a version check of the files, and a couple were missing and / or out of date.

index.php in albums was missing - fixed.
One other file was out of date, and I fixed that.

The phpbb3 bridge file is modified, but I expected that.

Didn't make a difference in the outcome though.
Title: Re: "Last Uploads" Stopped Working
Post by: Enterfrize on January 27, 2018, 04:28:25 am
I made another discovery.

1. If I'm not logged in, I do not see the new files at all (not in the direct directory listing, not in latest files, nothing).
2. When I am logged in, I can see the files in the directory directly, but still not in "latest files".

Is it possible that there is a permission setting somewhere that determines if my album is for private or public viewing?  Or that a slew of files are somehow privately listed versus publicly listed?
Title: Re: "Last Uploads" Stopped Working
Post by: Enterfrize on January 27, 2018, 04:36:21 am
I figured it out.  I'm...such an idiot.  No idea why I didn't run into this issue until now.  I had to manually approve the missing images - all good now.

Sorry for the inconvenience.

Regards,
Enterfrize