Hi,
i'm running an eNvolution-Site. eNvolution is a fork to PostNuke and therefor pretty much the same ... . I would like to integrate the 'Random Picture Block'.
Gallery 1.3.4 is installed, initiallized as module 'Gallery' only once and running perfect.
Making my first steps using the 'random picture block' I ran into the following errors:
Fatal error: Cannot redeclare fs_copy() (previously declared in /www/mydomain/com/modules/Gallery/platform/fs_unix.php:22) in /www/mydomain/com/modules/Gallery/platform/fs_unix.php on line 22
So I tried a hint I read here in the forum concerning a double installation of 'Gallery 1.3.4', even though I installed it only once:
require($GALLERY_BASEDIR . "init.php");
changed into
require_once($GALLERY_BASEDIR . "init.php");
After that the above mentioned errors were gone. The 'picture block' also seemed to work allright showing the desired picture/album.
BUT on top of the block I get the following error ever since
Warning: fopen("/block-random.cache", "w") - Permission denied in /www/mydomain/com/modules/Gallery/platform/fs_unix.php on line 53
as soon as I clicked on the picture/album link and the new page is fully loaded.
I suppose the solution is quite easy, but I'm really stuck. Can anybody help me out, please?
TIA
Norrin
Posts: 524
looks like maybe the fopen wrappers in the php.ini are disabled.
please provide us a link to your phpinfo.php file so we may see if everything is in order
Posts: 6
php.ini says:
'zlib:' fopen wrapper -> enabled
Norrin
Posts: 6
Solved the prob:
There is a newer version of the 'random picture block' that i use, which works perfectly fine.
http://www.hillen-spoerl.de/modules.php?op=modload&name=UpDownload&file=index&req=viewsdownload&sid=2
Norrin