blank page

pdreissen

Joined: 2004-12-16
Posts: 3
Posted: Thu, 2004-12-16 14:50

Hi,

I installed several gallery's on several sites. But now i ran into a very strange problem.
Gallery is working perfect, but block-random.php does not work at all.
It produces a blank page (actualy it produces NOTHING!).
There is no block-random.cache or whatever generated. On this server there are running several other block-random or gallery installations all without any problem.
Gallery is about 60 albums and 1500 + pictures... i also tried raising the memory_limit in php.ini to 64mb but this also does not work.
I cannot see any error message at all..

Please advice!

Thanks in advance,

Pascal!

 
kmaisch

Joined: 2004-04-26
Posts: 79
Posted: Sun, 2005-01-16 05:39

did you find a solution to this? I am having the same problem.

CHeers,
Kim

 
copyman1

Joined: 2004-02-27
Posts: 9
Posted: Wed, 2005-02-16 08:33

Hello, I am having the same problem !!!!!

Regards
Milen

 
kmaisch

Joined: 2004-04-26
Posts: 79
Posted: Sat, 2005-02-19 00:10

I could not get this fixed. I believe its because PHP is running out of memory, however my web hosting provider cannot increase the amount of memory available to PHP...

I ended up using a custom PHP code on my main page... where I manually enter to URL and IMG src of serveral images in my album (as many as you want). I ended up choosing 20 of my favorite images and adding those to the random snippet.

Heres an example:

  <?php
  srand((float) microtime() * 10000000); 

  $rand[1]['pic']='http://www.fastmagna.com/gallery/albums/Ultimate-TR/h4.highlight.jpg'; 
  $rand[1]['link']='http://www.fastmagna.com/gallery/Ultimate-TR'; 

  $rand[2]['pic']='http://www.fastmagna.com/gallery/albums/RPW-Magna/bumper.highlight.jpg'; 
  $rand[2]['link']='http://www.fastmagna.com/gallery/RPW-Magna'; 

  $rand[3]['pic']='http://www.fastmagna.com/gallery/albums/Kims-TS/kims_ts3.highlight.jpg'; 
  $rand[3]['link']='http://www.fastmagna.com/gallery/Kims-TS'; 

  $rand[4]['pic']='http://www.fastmagna.com/gallery/albums/Daniels-TS/dan_side.highlight.jpg'; 
  $rand[4]['link']='http://www.fastmagna.com/gallery/Daniels-TS';

  $rn = array_rand($rand); 

echo '<a href="'.$rand[$rn]['link'].'" target="_self">'; 
echo '<img src="'.$rand[$rn]['pic'].'" border="1">';  
echo '</a>'?>

You can see it working at http://www.fastmagna.com/

Cheers,
Kim