Problems with random pic on standalone

win2000b

Joined: 2003-04-11
Posts: 7
Posted: Thu, 2003-12-25 00:00

I basically want a random pic shown on my homepage.

www.blackforce.co.uk

But I am trying to get it working

www.blackforce.co.uk/gallery/test.php <---- Thats my test

Keep getting the error msg

Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/win2000b/public_html/gallery/test.php:13) in /home/win2000b/public_html/gallery/session.php on line 60

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/win2000b/public_html/gallery/test.php:13) in /home/win2000b/public_html/gallery/session.php on line 60

Warning: rand() expects parameter 2 to be long, string given in /home/win2000b/public_html/gallery/block-random.php on line 138
ERROR: requested index [] out of bounds [70]
Fatal error: Call to a member function on a non-object in /home/win2000b/public_html/gallery/classes/Album.php on line 962

Anyone any ideas?