[Solar-talk] Helpers and paths
Andreas Ravnestad
andreas.ravnestad at gmail.com
Sat Nov 11 20:44:17 PST 2006
This has been discussed previously:
http://lists.solarphp.com/pipermail/solar-talk/2006-May/000883.html
I'm having trouble getting Solar to discover my helpers in my vendor
folder. I've got this in my conf file:
$config['Portal_App_Default']['helper_class'] = 'Indigo_View_Helper';
And this also shows up correctly if I override _setup() in a controller
and check the $_config variable. Here's the Solar exception:
Fatal error: Uncaught exception 'Solar_Exception' class::code
'Solar_Class_Stack::ERR_CLASS_NOT_FOUND' with message
'ERR_CLASS_NOT_FOUND' information array ( 'name' => 'Component', 'stack'
=> array ( 0 => 'Portal_App_Default_Helper_', 1 => 'Portal_App_Helper_',
2 => 'Portal_View_Helper_', 3 => 'Solar_View_Helper_', ), ) Stack trace:
#0 C:\PHP\PEAR\Solar.php(890): Solar::factory('Solar_Exception', Array)
#1 C:\PHP\PEAR\Solar\Base.php(184):
Solar::exception('Solar_Class_Sta...', 'ERR_CLASS_NOT_F...',
'ERR_CLASS_NOT_F...', Array) #2 C:\PHP\PEAR\Solar\Class\Stack.php(195):
Solar_Base->_exception('ERR_CLASS_NOT_F...', Array) #3
C:\PHP\PEAR\Solar\View.php(380): Solar_Class_Stack->load('component') #4
C:\PHP\PEAR\Solar\View.php(359): Solar_View->newHelper('component') #5
C:\PHP\PEAR\Solar\View.php(291): Solar_View->getHelper('component') #6
[internal function]: Solar_View->__call('component', Array) #7
C:\htdocs\idbsys\Portal\App\Layout\portal.php(4):
Solar_View->component('/article') in C:\PHP\PEAR\Solar.php on line 589
Any ideas?
-Andreas
More information about the solar-talk
mailing list