Bacula-users

Re: [Bacula-users] baculum-7.0.2 /wizard not found.

2014-04-13 09:13:27
Subject: Re: [Bacula-users] baculum-7.0.2 /wizard not found.
From: Josh Fisher <jfisher AT pvct DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 13 Apr 2014 09:10:13 -0400
On 4/13/2014 8:18 AM, Marcin Haba wrote:
> 2014-04-12 0:16 GMT+02:00 Marcin Haba <ganiuszka AT gmail DOT com>:
>> 2014-04-10 0:10 GMT+02:00 John Drescher <drescherjm AT gmail DOT com>:
>>> After installing baculum
>>>
>>> I got a php error @ line 75 of
>>> gui/baculum/framework/I18N/core/MessageSource_gettext.php
>>>
>>> TPhpErrorException
>>>
>>> Description
>>>
>>> [Runtime Notice] Non-static method TGettext::factory() should not be
>>> called statically, assuming $this from incompatible context (@line 75
>>> in file 
>>> /var/www/localhost/htdocs/baculum/framework/I18N/core/MessageSource_gettext.php).
>>
>> Hello John,
>>
>> Above error is caused by enabled E_STRICT error reporting flag in your
>> php.ini file.
>>
>> For Baculum working, you need to disable this flag. In other words, in
>> your php.ini file is need to switch option error_reporting:
>>
>> from:
>>
>> error_reporting = E_ALL | E_STRICT ... and other flags
>>
>> to:
>>
>> error_reporting = E_ALL
> Hello,
>
> In above replacing there should be:
>
> from:
>
> error_reporting = E_ALL | E_STRICT ... and other flags
>
> to:
>
> error_reporting = E_ALL & ~E_STRICT
>
> Sorry for the mistake.

Wouldn't it be better to prepend the '@' error control operator to the 
expression and eliminate the need to alter php.ini?

Also, why exactly is a non-static method being called statically? Surely 
that indeed is an error. I would think either the factory() method needs 
to be made static or else it needs to be called as $object->factory() ( 
or perhaps as $this->factory() if called from within TGettext methods or 
from within methods of classes derived from whatever base class defines 
factory(). )


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users