RE: gallery2 error

"Alex Sharaz" <[email protected]> Tue, 23 May 2006 09:56:19 +0100
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
Thx,

Would be great to run gallery without resorting to fastCGI. Was almost
considering building an apache server  to do the php stuff and the resin
plugin for al my java /jsp stuff

Alex

 

 

________________________________

From: [email protected]
[mailto:[email protected]] On Behalf Of Scott Ferguson
Sent: Monday, May 22, 2006 5:29 PM
To: [email protected]
Subject: Re: gallery2 error

 

 

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

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