Re: gallery2 error

Scott Ferguson <[email protected]> Mon, 22 May 2006 09:29:00 -0700
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
On May 20, 2006, at 12:03 AM, Alex Sharaz wrote:

> get the following error when attempting to run gallery2 using quercus
>
Thanks.

I just added a bug report.  We just barely got gallery2 to work at  
all before the 3.0.19 release, so it's very possible there are bugs  
with it.

-- Scott
>
>
> /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');
>
>