Auto refresh problem, just upgraded 1.6.04 to 1.6.06 Auto refresh problem, just upgraded 1.6.04 to 1.6.06
 

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

Auto refresh problem, just upgraded 1.6.04 to 1.6.06

Started by sharpo, September 16, 2019, 12:45:28 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

sharpo

Haven't touched Coppermine for 6 months or so, but noticed there was an upgrade available - so "performed the selected update" before adding a few photos.

Then I noticed any alterations I made, such as adding photos, did not show, unless I refreshed the page. If there were 6 photos in an album, I could add 2 more but when the album was viewed afterwards it would still only show 6. A refresh would then show 8.

Same with last uploads, the first image displayed would not be one of the latest two - but one from the previous upload many months ago.

Is it a Coppermine problem or something else? Any ideas please?
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

ron4mac

Quote from: sharpo on September 16, 2019, 12:45:28 AM
Is it a Coppermine problem or something else? Any ideas please?

It's something else. Your server or browser (or both) are caching.

sharpo

Thanks. I was using Firefox, will try Chrome and see how that goes, Will let you know later.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

Just added some photos to a 1.6.04 gallery using firefox without any noticeable problem, didn't have to refresh any pages during the process.

In the next day or so I will try the 1.6.06 gallery again with firefox and see how it goes.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

Same problem again with 1.6.06 gallery using Firefox.

Trying to batch add 2 new images, they didn't show on "list of new files" page until refreshed.
Once added I tried the "edit files" page, but the 2 didn't show until page refreshed.
Then tried to edit a heading in Categories "don't have permission", it said, so had to refresh that page as well.
Finally I tried "last uploads" when viewing the gallery, had to refresh that before the 2 images appeared.

To summarise, Firefox works as expected with 1.6.04 gallery, but not refreshing pages in the 1.6.06 gallery.

All that's left to try is adding a couple of images using Chrome, might get time later today. In the meantime, anything obvious causing the refresh problem?
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

One other thing, when I log out - it doesn't show me as logged out until I refresh the page. Before refreshing the page it still showed options such as "edit" for files etc.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

Just tried adding an image with Chrome, not quite so bad. Think it showed in "list of new files" without a refresh, but other pages needed a refresh.

Firefox and Chrome both have refresh problems with 1.6.06 but not with other gallery using 1.6.04.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

ron4mac

As long as you are using the same theme, CPG does nothing to cause caching to be any different from one CPG version to the next.

Your 1.6.06 (and 1.6.05) site keeps switching, inappropriately, to the mobile-light theme. The 1.6.04 site is not doing that. Perhaps there's a clue somewhere there.


sharpo

Oh, both are set to "water_drop", and "mobile_light" for mobiles. Might something have changed during upgrade?
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

You gave me a clue about the one site switching to the mobile_light theme, but I still haven't worked out what the cause is. Looks like I need another clue, please.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

Still no idea what is causing this problem.

I won't upgrade my other sites until I know how to resolve it.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

phill104

It is a mistake to think you can solve any major problems just with potatoes.

sharpo

I have no idea, never heard of server side cache before or even know what it does.

It only seems to be the 1.6.06 gallery that has the problem. http://www.sharpos-world.co.uk/BB3cpg/

If you can give me some idea of what I should be looking for to solve the problem.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

phill104

As far as I can see your gallery is working as expected. Obviously I am unable to login or upload images so that part I cannot check.
It is a mistake to think you can solve any major problems just with potatoes.

sharpo

The problem is you see it as it is now. If I do various amendments or uploads, they don't take effect until I do something like a page refresh before I "apply" the alteration.

What do you suggest? I could create a log in for you so that you can have a go at trying a few things to see what actually happens when you add something in "description" for example, then see what happens when you "apply changes" ????
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

Just had an idea, can make a video of what happens - just have to balance camera on the bed and try to aim it at pc screen and hopefully show what happens. Give me a few minutes.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

sharpo

I have uploaded an unlisted YouTube video, hopefully it shows the problems I am having with pages not refreshing themselves automatically.

https://youtu.be/dR7MP0Tbw3I
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

ron4mac


sharpo

I'm trying, keep getting:-

Error
A valid form token could not be found.

when in user settings.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

ron4mac

I can see the situation that you are talking about. My conclusion is that it is a result of aggressive caching being done by your host. The same thing is actually happening on your other sites as well. You have some random images on your gallery home pages. Each time the Home button is clicked, those 'random' images should change to others. But they don't unless the page is refreshed.

Check with your host