"Last Uploads" Stopped Working "Last Uploads" Stopped Working
 

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

"Last Uploads" Stopped Working

Started by Enterfrize, January 26, 2018, 05:45:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Enterfrize

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

ron4mac

Did you resolve it?  I don't see the issue that you describe.  Cache?

Enterfrize

It hasn't been resolved yet.  Does the gallery have a cache I could refresh?  I didn't know about that.

Enterfrize

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

ron4mac

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.

Enterfrize

Quote from: 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.

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

ron4mac

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.

Enterfrize

Quote from: 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.


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

Enterfrize

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.

Enterfrize

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?

Enterfrize

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