Warning: rand() expects parameter 2 to be long, string give

Carl_in_Florida
Carl_in_Florida's picture

Joined: 2003-01-07
Posts: 110
Posted: Thu, 2003-09-11 04:37
Warning: rand() expects parameter 2 to be long, string given in /home/carlandt/public_html/pix/block-random.php on line 138
ERROR: requested index [] out of bounds [69]
Fatal error: Call to a member function on a non-object in /home/carlandt/public_html/pix/classes/Album.php on line 642

Can someone point me to the right direction?
I loaded the code in index.php, I uploaded the files, I went directly to the page http://www.carlandtracey.com/pix/block-random.php and I saw a thumb. I clicked the thumb and it has not worked since.

Thanks
Carl

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Thu, 2003-09-11 05:41

See my directions at the bottom of this thread:
http://gallery.sf.net/forums.php?topic=8622

-Beckett (

)

 
Carl_in_Florida
Carl_in_Florida's picture

Joined: 2003-01-07
Posts: 110
Posted: Thu, 2003-09-11 14:13

Wow! That's Service!

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Fri, 2003-09-12 11:27

:)

We really should fix the error in the code, but we've been too busy with other things... we'll get to it sometime!

-Beckett (

)