[Solar-talk] stack error

Paul M Jones pmjones at ciaweb.net
Wed Mar 21 13:30:19 PDT 2007


On Mar 21, 2007, at 1:57 PM, Rodrigo Moraes wrote:

> On 3/21/07, Jeff Surgeson wrote:
>> Paul,
>>
>> Playing with new app branch and came across this error which I  
>> thought looked
>> wrong, the error is generated because the path stack  had a
>> Vendor_View_Helper instead of a Bulldog_View_Helper.
>
> Jeff, check Solar_Controller_Page::_addViewHelpers() -
> 'Vendor_View_Helper' is hardcoded there. I guess it's a temporary
> value while the branch is being built.

No, it's a stupid mistake on my part.  Change line 590 from this:

     $this->_view_object->addHelperClass('Vendor_View_Helper');

to this:

     $this->_view_object->addHelperClass("{$vendor}_View_Helper");

Good catch guys, sorry for the trouble.  Will commit that fix later,  
covered up at work lately.


--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.  <http://solarphp.com>

Join the Solar community wiki!  <http://solarphp.org>

Savant: The simple, elegant, and powerful solution for
templates in PHP.  <http://phpsavant.com>




More information about the solar-talk mailing list