Random block with Postnuke

flasher

Joined: 2002-11-13
Posts: 33
Posted: Wed, 2002-11-20 09:26

Who can tell me why in postnuke, I can't use both the Random block (gallery_random.php,v 0.54b) and my gallery because when the random block is running and I click on my gallery this error msg is displayed :

Quote:
Fatal error: Cannot redeclare fs_copy() (previously declared in ***modulesGalleryplatformfs_win32.php:22) in ******modulesgalleryplatformfs_win32.php on line 22

I'm using EasyPHP.

Thanks to try answer.

 
joerg
joerg's picture

Joined: 2002-10-12
Posts: 77
Posted: Thu, 2002-11-21 15:35

Hi flasher,

seems that you have installed two galleries, am I right?

The problem is that the function which is causing the error is defined in both galleries with the same name. I can't tell you how to fix it permanently. The only chance is not to display parts of both galleries on one page or to rename the function in the whole source of one gallery.

Joerg