Parse Error in PostNuke

sebby

Joined: 2003-07-15
Posts: 2
Posted: Sat, 2003-07-26 17:44

Hi,

I'm running post Nuke 7.2.3 and ML Gallery v1.3.4 ML31. I've added gallery_random.php in my pnblocks/ dir in my gallery module dir (called Galerie).

I get this message when trying to add a new block:

Parse error: parse error, unexpected '=' in /home/virtual/site4/fst/var/www/html/modules/Galerie/pnblocks/gallery_random.php on line 146

Warning: Cannot add header information - headers already sent by (output started at /home/virtual/site4/fst/var/www/html/modules/Galerie/pnblocks/gallery_random.php:146) in /home/virtual/site4/fst/var/www/html/includes/pnHTML.php on line 334
 

I've modified the following parameters of gallery_random to fit my conf:

    $GALLERY_MODULENAME = "Galerie"; //Change this to your module Name
    $GALLERY_BASEDIR = "modules/$GALLERY_MODULENAME/";
    $GALLERY_EMBEDDED_INSIDE = "nuke";
    $GALLERY_NO_SESSIONS = true;

Never seen this prob before...

What am I missing ?

Thanks in advance

Seb