gallery2 error

"Alex Sharaz" <[email protected]> Sat, 20 May 2006 08:03:39 +0100
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
Chaps,

 

I get the following error when attempting to run gallery2 using quercus

 

 

/usr/web/sharaz/gallery2/index.php:33: Warning: function 'dirname' has 0
required arguments, but 1 were provided [dirname] Fatal Error:
'/bootstrap.inc' is not a valid path

 

Looking in index.php  I can see

 

 

/*

 * This script will just redirect to main.php. But the Location header
requires

 * an absolute url to conform with HTTP/1.1

 * (Include bootstrap.inc in case config.php overrides GALLERY_MAIN_PHP)

 */

require_once(dirname(__FILE__) . '/bootstrap.inc');

require_once(dirname(__FILE__) .
'/modules/core/classes/GalleryUrlGenerator.clas

s');

*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************