我已经完成了fckeditor与zend框架的集成。
使用自定义视图帮助器。
现在它正在调用fckeditor类
我的问题是它(fckeditor类)使用iframe来显示fckeditor。这里Zend frame work的url不起作用。
由eckeditor类构建的Iframe链接是:
/mysite/public/js/fckeditor/editor/fckeditor.html?InstanceName=page_text_details由于指向fckeditor.html的iframe链接,它会显示以下错误
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]发布于 2010-11-30 21:34:15
我认为您需要在您的htaccess中添加一个重写库规则:
RewriteBase /mysite/public您可能需要验证'js‘文件夹是否存在(以及它的fckeditor依赖项)是否位于public文件夹下
https://stackoverflow.com/questions/4314265
复制相似问题