Warning: Invalid argument supplied for foreach() in /home/paloczp/naturateam.hu/html/modules/Gallery/block-random.php on line 165
No photo chosen.
This line:
foreach ($cache as $name => $count) {
.
.
.
Step1:
block-random.php from:
http://gallery.menalto.com/local/downloads/randomblock/block-random.php.gz
OK!
Step2:
I include block-random line index.php in:
$safe_to_include =
array(
"block-random.php",
"add_comment.php",
OK!
Step3:
random pictures block (php):
include("http://naturateam.webpeca.hu/html/modules.php?op=modload&name=Gallery&file=index&include=block-random.php");
OK!
What is the problem?
Site URL:
http://naturateam.webpeca.hu/html/index.php
System:
Debian Linux 3.0
PHP Version 4.2.1
Postnuke-0.7.2.1-Phoenix
Mysql-3.23.50
Gallery-1.3.1
Apache-1.3.24
Tnx, Paul
Ps.: sorry my bad english... :sad:
Posts: 14
I went to your web site and see that you got the random image block to work.
Will you tell me how you got it working?
I have this same problem!
Thank you!
Brew
Posts: 3
well.. I have the same problem...
someone have the answer????
thank you
Alex