>
> invalid controller specified (js)
>
> I have the following code in the view:
>
> <? $this->dojo()->enable()->setDjConfigOption('parseOnLoad',
> true)->requireModule('dijit.form.DateTextBox')
>
>
> ->setLocalPath('/js/dojo/dojo/dojo.js')->addStyleSheetModule('dijit.themes.tundra');
> ?>
>

This is sometimes to do with incorrect paths, where you have
'/js/dojo/dojo/dojo.js' above,  zend will look for this file in:
http://yourserver/js/dojo/dojo/dojo.js,


Thank You
Daniel Latter



2009/1/31 Steve Uplift <[email protected]>:
>
> Hi,
>
> I am Zend_Dojo_Form to create some forms in a site I am working on. I have
> everything working fine, and there are no erros being displayed. I have
set
> up my error controller to send me an email whenever an error occurs.
> Whenever I access the page with the Dojo form, I get the following error
> sent to me:
>
> Invalid controller specified (js)
>
> I have the following code in the view:
>
> <? $this->dojo()->enable()->setDjConfigOption('parseOnLoad',
> true)->requireModule('dijit.form.DateTextBox')
>
>
->setLocalPath('/js/dojo/dojo/dojo.js')->addStyleSheetModule('dijit.themes.tundra');
> ?>
>
> I have tried the following rewrite rules in my htaccess file:
>
> RewriteEngine On
> RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
>
> And I have also tried:
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} -s [OR]
> RewriteCond %{REQUEST_FILENAME} -l [OR]
> RewriteCond %{REQUEST_FILENAME} -d
> RewriteRule ^.*$ - [NC,L]
> RewriteRule ^.*$ /index.php [NC,L]
>
> I still get the error whenever I access the page. I have been tearing what
> little hair I have left out for days now and cannot find a solution.
>
> Can anybody help?
>
> Much appreciated in advance.
>
> Steve
> --
> View this message in context:
http://www.nabble.com/Invalid-controller-specified-%28js%29-tp21768897p21768897.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to