webui fatal error in TinderboxDS.php

Chris Whitehouse cwhiteh at onetel.com
Mon Sep 7 18:13:01 EDT 2009


Chris Whitehouse wrote:
> Beat Gätzi wrote:
>> 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
>>
> 
> 
> eco# ls -l /usr/local/share/pear/DB.php
> -r--r--r-- 1 root wheel 42793 Jul 4 18:40 /usr/local/share/pear/DB.php
> eco# pkg_info -Ix pear-DB
> pear-DB-1.7.13,1 PEAR Database Abstraction Layer
> eco#
> 
> Chris
> 
> _______________________________________________
> tinderbox-list at marcuscom.com mailing list
> http://marcuscom.com/mailman/listinfo/tinderbox-list
> To unsubscribe, send any mail to "tinderbox-list-unsubscribe at marcuscom.com"
> 
sorry, answering own post

doing chmod 755 on webui/core, webui/module, webui/templates and 
webui/templates/default changed the error message to
Fatal error: Class 'DB' not found in 
/usr/local/tinderbox/scripts/webui/core/TinderboxDS.php on line 71

They were originally 744.

I haven't looked at what line 71 says as I have to stop and sleep now.

thanks for your help so far, more tomorrow hopefully :)

btw does anyone use the webui?

Chris


More information about the tinderbox-list mailing list