Hi,

I am getting debug warnings when using ZendX_JQuery as well as custom 
decorators and filters..... it appears that this has something to do with the 
Autoloader.  It looks like, when I am calling $this->view->someHelper() from my 
controller, it looks for and attempts to open the helper in in ZendX_JQuery 
helper folder as well as my custom decorators and filters folder. It is very 
possible that I have messed up my autoloader so I present it below:

Thanks for any help

Regards

Guy


// Setup autoloaders
        
       $autoloader = Zend_Loader_Autoloader::getInstance();
                                      
        $defaultAutoloader = new Zend_Application_Module_Autoloader(
                                                array(
                                                'namespace' => 'Default_',
                                                'basePath'  => 
dirname(__FILE__).'/default'
                                                        )
                                                );
        
$defaultAutoloader->addResourceType('validate','/validators','Validate_');
        $defaultAutoloader->addResourceType('filter', '/filters', 'Filter_');
        $defaultAutoloader->addResourceType('acl', '/acl', 'Acl_');
         
                                                
        $helpAutoloader = new Zend_Application_Module_Autoloader(
                                                array(
                                                'namespace' => 'Help_',
                                                'basePath'  => 
dirname(__FILE__).'/help'
                                                        )
                                                );
                                                                                
        
                                                 
       
        
        $accountAutoloader = new Zend_Application_Module_Autoloader(
                                        array(
                                                        'namespace' => 
'Account_',
                                                        'basePath' => 
dirname(__FILE__).'/account'));
                                        
        
        $autoloader->setAutoloaders(array($defaultAutoloader, $helpAutoloader, 
$accountAutoloader));
        
        return $autoloader;


-----------------------  

I init ZendX_JQuery as follows:

        $view = new Zend_View();
                $view->addHelperPath('ZendX/JQuery/View/Helper/', 
'ZendX_JQuery_View_Helper');

                $viewRenderer = new 
Zend_Controller_Action_Helper_ViewRenderer();
                $viewRenderer->setView($view);
                Zend_Controller_Action_HelperBroker::addHelper($viewRenderer);
                return $view;


---------------

And the filters and decorators (in my Form.php class that extends Zend_Form):

 $this->addElementPrefixPath('Default_Form_Decorator', APPLICATION_PATH 
.'/default/forms/decorators', 'decorator');
        $this->addElementPrefixPath('Default_Filter', APPLICATION_PATH . 
'/default/filters', 'filter');
                


------------------ 

This is the error:


Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/Doctype.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/HeadTitle.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/HeadMeta.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/HeadScript.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/HeadScript.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/ViewHelper.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/Description.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/HtmlTag.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/Label.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/FormText.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/FormText.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/FormLabel.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/FormLabel.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/FormTextarea.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/FormTextarea.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/Captcha.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/Captcha/Word.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/FormHidden.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/FormHidden.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/Tooltip.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/DtDdWrapper.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/FormSubmit.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/FormSubmit.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/Form.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/Form.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/forms/decorators/Errors.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/HeadLink.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/HeadLink.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/HeadStyle.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/HeadStyle.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - fopen(ZendX/JQuery/View/Helper/Layout.php) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: No such file 
or directory
Debug Warning: /usr/local/zend/share/ZendFramework/library/Zend/Loader.php line 
165 - 
fopen(/Users/Guy/Zend/workspaces/DefaultWorkspace7/Default/application/default/views/helpers/Layout.php)
 [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such 
file or directory

Reply via email to