webui fatal error in TinderboxDS.php
Beat Gätzi
beat at chruetertee.ch
Mon Sep 7 17:46:00 EDT 2009
Chris Whitehouse wrote:
> Beat Gätzi wrote:
>> Chris Whitehouse wrote:
>>> Beat Gätzi wrote:
>>>> Chris Whitehouse wrote:
>>>>> I'm trying to get the webui going. http://localhost/tb/ gives me
>>>>>
>>>>> Warning: require_once(core/TinderboxDS.php) [function.require-once]:
>>>>> failed to open stream: Permission denied in
>>>>> /usr/local/tinderbox/scripts/webui/index.php on line 32
>>>>>
>>>>> Fatal error: require_once() [function.require]: Failed opening
>>>>> required
>>>>> 'core/TinderboxDS.php' (include_path='.:/usr/local/share/pear') in
>>>>> /usr/local/tinderbox/scripts/webui/index.php on line 32
>>>>>
>>>>> I done a bit of digging around but I can't see what is wrong, so would
>>>>> appreciate some pointers. I'm a newbie so could be something pretty
>>>>> simple.
>>>> - Which version of Tinderbox do you use?
>>>> - How do you have installed Tinderbox. Via ports of from CVS?
>>>> - What is the output of "ls -l
>>>> /usr/local/tinderbox/scripts/webui/core/TinderboxDS.php" and under
>>>> which
>>>> user your webserver runs?
>>> Version is 3.2 installed from ports
>>>
>>> -rw-r--r-- 1 root wheel 28284 Jul 4 22:16
>>> /usr/local/tinderbox/scripts/webui/core/TinderboxDS.php
>>>
>>> though I did try with everything under group www
>>>
>>> webserver is lighttpd and runs with user www.
>>
>> This looks good. Do you have any custom PHP options like safe_mode set?
>> If yes, could you please check if the problem still occur if you run PHP
>> with php.ini-dist.
>>
>> Thanks,
>> Beat
>>
> Running with php.ini-dist copied to php.ini gives the same result. I
> also tried copying the contents of scripts/webui to
> /usr/local/www/data/tinderbox and loading http://localhost/tinderbox/
> but again same result.
>
>
> What is the significance of the
> (include_path='.:/usr/local/share/pear')? TinderboxDS.php requires
> DB.php which does exist in /usr/local/share/pear.
DB.php should be in that directory:
# ls -l /usr/local/share/pear/DB.php
-r--r--r-- 1 root wheel 42793 26 Apr 20:57 /usr/local/share/pear/DB.php
Could you please check if pear-DB is installed?
# pkg_info -Ix pear-DB
Beat
More information about the tinderbox-list
mailing list