Warning:Unknown in Postnuke block

jhudson

Joined: 2003-06-16
Posts: 4
Posted: Mon, 2003-06-16 16:13

I had to reinstall Linux and took the opportunity to install Apache and latest PHP, etc. Gallery works great in Postnuke but having problems with Random photo block as below:

Is this a PHP/Apache issue as worked very nicely before? http://www.gonad.org.uk/phptest.php

Warning: Unknown(http://linuxbox.gonad.org.uk/modules.php?op=modload&name=Gallery&file=index&include=block-random.php): failed to create stream: HTTP request failed! Œ»p|=Ì`< in /var/www/html/includes/blocks/php.php(51) : eval()'d code on line 1

Warning: Unknown(): Failed opening 'http://linuxbox.gonad.org.uk/modules.php?op=modload&name=Gallery&file=index&include=block-random.php' for inclusion (include_path='.:/usr/lib/php/:/usr/lib/php/pear/') in /var/www/html/includes/blocks/php.php(51) : eval()'d code on line 1

 
beckett
beckett's picture

Joined: 2002-08-16
Posts: 3474
Posted: Tue, 2003-06-17 07:24

You shouldn't include the file like that. Use the direct path rather than a URL.

-Beckett (

)