【发布时间】:2011-05-17 21:19:19
【问题描述】:
我已经完成了 fckeditor 与 zend 框架的集成。
使用自定义视图助手。
现在调用它的 fckeditor 类
我的问题是它(fckeditor 类)使用 iframe 来显示 fckeditor。这里 Zend 框架工作 url 不起作用。
由 eckeditor 类构建的 iframe 链接是:
/mysite/public/js/fckeditor/editor/fckeditor.html?InstanceName=page_text_details
由于 iframe 链接到 fckeditor.html,它给出以下错误
Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (js)' in /var/www/html/......
请帮助我如何删除它。
即使我已经使用 htacces 重写 URL
我的 htaccess 文件是:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule !\.(htm|html|txt|swf|js|ico|gif|jpg|png|css|php|xml|pdf|cab)$ index.php [NC,L]
【问题讨论】:
标签: php zend-framework url-rewriting