Last viewed return other result... Last viewed return other result...
 

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 viewed return other result...

Started by chzuqi, April 28, 2009, 04:44:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chzuqi

The last viewed link always showed other result when too more user online.

How can I fix it?



http://www.puzzz.com<-my website here..

Joachim Müller

Fix what? Please re-phrase your question, using more words. You might want to use the actual words used in the docs and language file - not sure what you mean by "last viewed link"...
You need to upgrade immediately as well.

chzuqi

Sorry for my bad Engilsh.

i mean the link:displayimage.php?album=lasthits&cat=0&pos=0

The result changed if the other clicked it before you.

I changed my CPG too more,I thought upgrade was a hard work.  >.<

Joe Carver

You need to update today! After you make a backup you can make the update in less than
30 minutes. You will get hacked if you don't update - now.

Quote<!--Coppermine Photo Gallery 1.4.20 (stable)-->

You have a very interesting site . I am sure that you do not want it to be hacked.

For your question: The action that you see is by design. "Last Viewed" means the same as "Last Clicked".
So if you have a busy site, then someone can make a click before you. That image then becomes "Last Viewed"
in the database query.

Update - now

chzuqi

ok..I had replaced '/docs/showdoc.php' to newer virsion.The other file will upgrade soon.
Thanks very much.

phill104

Patching showdoc.php will only fix one problem. There is another serious one that you will also need to fix so please upgrade fully now.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

#6
Quote from: chzuqi on May 02, 2009, 04:11:33 AM
ok..I had replaced '/docs/showdoc.php' to newer virsion.
This will only take care of the vulnerability that caused cpg1.4.22 to be released, but it will not cover the vulnerability that lead to the release of cpg1.4.21. There's a reason why we release new packages instead of just offering patching instructions. Upgrade as we suggest in the docs. Do not assume that you can get away with just patching the one vulnerability. Upgrading as we suggest doesn't hurt.

chzuqi

I built a jigsaw puzzle website based on CPG.
I had checked every file before replaced it.It was a hard work.
20% of files had checked today.    >.<
function.inc.php
init.inc.php
index.php
an more...I wished it was useful before I checked every files.

Joachim Müller

Not sure what you mean - please re-phrase, using more words.