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: Random doesn't work --> Pictures are not shuffled!  (Read 2458 times)

0 Members and 1 Guest are viewing this topic.

Thoifl

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Random doesn't work --> Pictures are not shuffled!
« on: January 12, 2004, 11:44:29 pm »

Hi,

I have a problem with the random-pics.
Please take a look at:
http://www.trottelige-gesellschaft.net/php/bilder/index.php
The random-pictures are at the bottom. Hit the reload button a few time and you will see.
Especially the first 2 Pictures switch hardly, it seem the random-function is broken.
Any ideas?
Tanks for help
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Random doesn't work --> Pictures are not shuffled!
« Reply #1 on: January 13, 2004, 05:43:45 am »

get some more pics in your database and have only 1 row of random pics, this will help. You have to understand that there's no such thing like a computer-generated random number...

GauGau
Logged

Thoifl

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Random doesn't work --> Pictures are not shuffled!
« Reply #2 on: January 13, 2004, 07:17:16 am »

Ok, there are now 47 pics and just one row, but still, the last uploaded pictures are prefered. What's going on??
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Random doesn't work --> Pictures are not shuffled!
« Reply #3 on: January 13, 2004, 08:25:23 am »

I've noticed this behaviour on other small sites already, it will go away if you have more pics in more albums, promise!
Like I said: there's no such thing like a computer generated random number... :wink:

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.