Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: "Last Uploads" Stopped Working  (Read 5748 times)

0 Members and 1 Guest are viewing this topic.

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
"Last Uploads" Stopped Working
« 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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: "Last Uploads" Stopped Working
« Reply #1 on: January 26, 2018, 05:59:56 pm »

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

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: "Last Uploads" Stopped Working
« Reply #2 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.
Logged

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: "Last Uploads" Stopped Working
« Reply #3 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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: "Last Uploads" Stopped Working
« Reply #4 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.
Logged

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Re: "Last Uploads" Stopped Working
« Reply #5 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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: "Last Uploads" Stopped Working
« Reply #6 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.
Logged

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Re: "Last Uploads" Stopped Working
« Reply #7 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
Logged

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: "Last Uploads" Stopped Working
« Reply #8 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.
Logged

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: "Last Uploads" Stopped Working
« Reply #9 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?
Logged

Enterfrize

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: "Last Uploads" Stopped Working
« Reply #10 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
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 20 queries.