coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: chzuqi on April 28, 2009, 04:44:06 PM

Title: Last viewed return other result...
Post by: chzuqi on April 28, 2009, 04:44:06 PM
The last viewed link always showed other result when too more user online.

How can I fix it?



http://www.puzzz.com (http://www.puzzz.com)<-my website here..
Title: Re: Last viewed return other result...
Post by: Joachim Müller on April 28, 2009, 05:53:07 PM
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.
Title: Re: Last viewed return other result...
Post by: chzuqi on May 01, 2009, 01:08:05 PM
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.  >.<
Title: Re: Last viewed return other result...
Post by: Joe Carver on May 01, 2009, 01:58:24 PM
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
Title: Re: Last viewed return other result...
Post by: chzuqi on May 02, 2009, 04:11:33 AM
ok..I had replaced '/docs/showdoc.php' to newer virsion.The other file will upgrade soon.
Thanks very much.
Title: Re: Last viewed return other result...
Post by: phill104 on May 02, 2009, 09:44:44 AM
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.
Title: Re: Last viewed return other result...
Post by: Joachim Müller on May 02, 2009, 01:51:23 PM
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.
Title: Re: Last viewed return other result...
Post by: chzuqi on May 03, 2009, 12:34:28 PM
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.
Title: Re: Last viewed return other result...
Post by: Joachim Müller on May 03, 2009, 04:37:40 PM
Not sure what you mean - please re-phrase, using more words.