Joe Jenkins | 1 Jun 2004 04:14

Juno portal block broken in CVS code

After updating via CVS today, when loading the portal I get:

Notice: Use of undefined constant JUNO_BASE - assumed 'JUNO_BASE' in 
/horde/juno/lib/Block/portfolio.php on line 21

Warning: _content(JUNO_BASE/lib/Stocks.php): failed to open stream: No 
such file or directory in /horde/juno/lib/Block/portfolio.php on line 21

Fatal error: _content(): Failed opening required 
'JUNO_BASE/lib/Stocks.php' (include_path='.:/usr/local/lib/php') in 
/horde/juno/lib/Block/portfolio.php on line 21

I am using latest CVS of Horde / Juno and framework.

Browser Safari 1.2.2 Mac OS X

Thanks =D
J. Jenkins

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Chuck Hagenbuch | 1 Jun 2004 04:32
Favicon
Gravatar

Re: Inconsistent package name "Horde_Mime_Viewer"

Quoting Malte Wedel <ich <at> malte.de>:

> while looking around in your API-Docs, I found the following
> incosistency in the package name defined for html.php and rfc822.php in
> framework/MIME/MIME/Viewer:

Fixed.

> Please tell me, whether you want "bugs" like this in your
> bugtracking, or if this is ok here?

This is fine, thanks.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Chuck Hagenbuch | 1 Jun 2004 04:34
Favicon
Gravatar

Re: [cvs] commit: framework/Image/Image gd.php

Quoting Jan Schneider <jan <at> horde.org>:

>   Modified files:
>     Image/Image          gd.php
>   Log:
>   Add _create() to create an empty image of a certain size.
>   Add _call() that wraps all ext/gd function calls to allow proper 
> error handling
>   by returning PEAR_Errors.

Have you done any testing to see what kind of effect this has on performance?

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Chuck Hagenbuch | 1 Jun 2004 05:18
Favicon
Gravatar

Re: Juno portal block broken in CVS code

Quoting Joe Jenkins <joe <at> nerdnet.com>:

> Notice: Use of undefined constant JUNO_BASE - assumed 'JUNO_BASE' in
> /horde/juno/lib/Block/portfolio.php on line 21

Fixed.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Chuck Hagenbuch | 1 Jun 2004 05:30
Favicon
Gravatar

Re: [patch] mimp folder view

Quoting Ben Chavet <ben <at> chavet.net>:

> Attached patch fixes mimp folder view.
>
> Modified files:
>   mimp/lib/IMAP/Tree.php

Committed, thanks.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Jan Schneider | 1 Jun 2004 10:10
Favicon
Gravatar

Re: Re: [cvs] commit: framework/Image/Image gd.php

Zitat von Chuck Hagenbuch <chuck <at> horde.org>:

> Quoting Jan Schneider <jan <at> horde.org>:
>
>>   Modified files:
>>     Image/Image          gd.php
>>   Log:
>>   Add _create() to create an empty image of a certain size.
>>   Add _call() that wraps all ext/gd function calls to allow proper 
>> error handling
>>   by returning PEAR_Errors.
>
> Have you done any testing to see what kind of effect this has on performance?

No, but I didn't notice any subjective lag. And debugging this driver with
all these silenced function calls if it didn't work for some reason (and it
never worked out of the box, where ever I used it) was a PITA.

Jan.

--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting.php

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

(Continue reading)

Edwin Culp | 1 Jun 2004 13:38

Error After update, I'm seeing: Error Horde_Block__ not found.

I just updated after seeing some commits that I thought would fix
the portal and for a user with no defined portal blocks, I am
now receiving the Warnings shown below.  I mention that because
for a user that has defined portal blocks, it seems to work.

Warning:
getblock(/usr/local/www/data/horde/config/../lib/Block/.php):
failed to open stream: No such file or directory in
/usr/local/share/pear/Horde/Block/Collection.php on line 94

Warning: getblock(): Failed opening
'/usr/local/www/data/horde/config/../lib/Block/.php' for
inclusion (include_path='.:/usr/local/share/pear') in
/usr/local/share/pear/Horde/Block/Collection.php on line 94
Error
Horde_Block__ not found.

The following is the code refered to in the warning that seems to
justify the warning.  Maybe there should be a check for $name
not being empty?

       $class = 'Horde_Block_' . $app . '_' . $name;
        include_once $registry->getParam('fileroot', $app) .
'/lib/Block/' . $name
 . '.php';

Thanks,

ed

(Continue reading)

Guillaume Rousse | 1 Jun 2004 14:42
Picon

configuration patch: please include

Hello.

I'm the horde maintainer for Mandrakelinux. The following patch, 
actually stolen from Debian package, is really useful for packagers, as 
it avoid modifying a file during installation. Could it please get 
included upstream ?

An even more usefule modification would be to remove all modules 
references in main horde registry file, and transfer them to individual 
modules source trees.
--
The most dangerous thing in the world is a Second Lieutenant with a map 
and a compass
		-- Murphy's Military Laws n°85

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org
Chuck Hagenbuch | 1 Jun 2004 16:02
Favicon
Gravatar

Re: configuration patch: please include

Quoting Guillaume Rousse <rousse <at> ccr.jussieu.fr>:

> I'm the horde maintainer for Mandrakelinux. The following patch,
> actually stolen from Debian package, is really useful for packagers, as
> it avoid modifying a file during installation. Could it please get
> included upstream ?

No; the performance penalty of this hack is really pretty bad.

-chuck

--
"Regard my poor demoralized mule!" - Juan Valdez

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org

Guillaume Rousse | 1 Jun 2004 16:26
Picon

Re: configuration patch: please include

Chuck Hagenbuch wrote:
> Quoting Guillaume Rousse <rousse <at> ccr.jussieu.fr>:
> 
>> I'm the horde maintainer for Mandrakelinux. The following patch,
>> actually stolen from Debian package, is really useful for packagers, as
>> it avoid modifying a file during installation. Could it please get
>> included upstream ?
> 
> 
> No; the performance penalty of this hack is really pretty bad.
In that case, is it possible to find a correct way to achieve the same 
without the performance penalty ?

--
An expert is the person who avoids the small errors while sweeping on to 
the grand fallacy
		-- Thoreau's Theories of Adaption n°1

--

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe <at> lists.horde.org


Gmane