Random Photo Problem

coliseum

Joined: 2002-12-22
Posts: 17
Posted: Tue, 2004-08-10 07:36

I keep getting this (although I tried following the instructions)

Warning: main(modules/gallery/block-Random_Photo.php): failed to open stream: No such file or directory in /home/virtual/site2/fst/var/www/html/modules/gallery/index.php on line 115

Warning: main(): Failed opening 'modules/gallery/block-Random_Photo.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site2/fst/var/www/html/modules/gallery/index.php on line 115

Line 115 is "

include(${GALLERY_BASEDIR} . $include);
} else {
include("albums.php");

"

I placed the block-random.php file in blocks...

I dont quite understand what you mean by CREATE A CORE PHP-BLOCK with the code that you placed for PHPNuke 7.0?

I did create a block called block-Random_Photo.php with this inside
"
<?php

include("http://www.*******.com/modules.php?op=modload&name=gallery&file=index&include=block-random.php");
?>
" ******* is my site name

And I added both Random_Photo block and random block to the safe array files...

Last but not least... although I use PHPNUke 7.0 I did add the Themesidebox as instructed for the PHPNUke 6.5 and I still get the error.

What have I done wrong?