[Solar-talk] stack error

Jeff Surgeson solar at 3hex.com
Wed Mar 21 11:39:29 PDT 2007


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. 

Do we need to now have a base directory with layout/view/helper structure for 
files used by all apps, my apps now no longer can find my helper/view/layout  
unless they are in the specific app directory, is this intended or do I need 
to re-look at my directory structure with the new app branch?

Fatal error: Uncaught exception 'Solar_Controller_Page_Exception_DuringFetch' 
class::code 'Bulldog_App_News::ERR_DURING_FETCH' with message 'Exception 
encountered in the fetch() method.' information array ( 'exception' => 
Solar_Exception::__set_state(array( '_info' => array ( 'name' 
=> 'TextCut', 'stack' => array ( 0 => 'Bulldog_App_News_Helper_', 1 
=> 'Bulldog_App_Helper_', 2 => 'Vendor_View_Helper_', 3 
=> 'Solar_View_Helper_', ), ), '_class' => 'Solar_Class_Stack', 'message' 
=> 'ERR_CLASS_NOT_FOUND', 'string' => '', 'code' 
=> 'ERR_CLASS_NOT_FOUND', 'file' 
=> '/var/www/localhost/htdocs/libapp/Solar.php', 'line' => 546, 'trace' => 
array ( 0 => array ( 'file' 
=> '/var/www/localhost/htdocs/libapp/Solar.php', 'line' => 846, 'function' 
=> 'factory', 'class' => 'Solar', 'type' => '::', 'args' => array ( 0 
=> 'Solar_Exception', in /var/www/localhost/htdocs/libapp/Solar.php on line 
546

-- 
...........::::::...........
Jeff Surgeson / South Africa


More information about the solar-talk mailing list