喜悦国际村 » PHP高级编程 » 请教下你们zf下怎么连接css文件?

页: [1]
wind8406192006-12-3 03:20 PM
请教下你们zf下怎么连接css文件?

<br />
<b>Fatal error</b>:  Uncaught exception 'Zend_Controller_Action_Exception' with message 'MenuController::styleCssAction() does not exist and was not trapped in __call().' in /media/hda6/www/fqcms/Fqcms/Lib/Zend/Controller/Action.php:92
Stack trace:
#0 /media/hda6/www/fqcms/Fqcms/Lib/Zend/Controller/Action.php(114): Zend_Controller_Action-&gt;__call('styleCssAction', Array)
#1 /media/hda6/www/fqcms/Fqcms/Lib/Zend/Controller/Dispatcher.php(185): Zend_Controller_Action-&gt;run(Object(Zend_Controller_Dispatcher), Object(Zend_Controller_Dispatcher_Token))
#2 /media/hda6/www/fqcms/Fqcms/Lib/Zend/Controller/Dispatcher.php(136): Zend_Controller_Dispatcher-&gt;_dispatch(Object(Zend_Controller_Dispatcher_Token), true)
#3 /media/hda6/www/fqcms/Fqcms/Lib/Zend/Controller/Front.php(254): Zend_Controller_Dispatcher-&gt;dispatch(Object(Zend_Controller_Dispatcher_Token))
#4 /media/hda6/www/fqcms/Fqcms/index.php(27): Zend_Controller_Front-&gt;dispatch()
#5 {main}
  thrown in <b>/media/hda6/www/fqcms/Fqcms/Lib/Zend/Controller/Action.php</b> on line <b>92</b><br />


这是css文件过来的内容 晕 程序找styleCssAction() 去了

jianshuigen2006-12-4 01:18 AM
你要调用CSS文件啊。
<link href="filename.css" rel="stylesheet" type="text/css">
一定要记得CSS文件的路径一定要正确,注意绝对路径和相对路径。

wind8406192006-12-4 03:14 AM
就是这样写 他居然找控制器去了(请看出错信息) 晕


查看完整版本: 请教下你们zf下怎么连接css文件?


Powered by Discuz! Archiver 6.1.0  © 2001-2006 Comsenz Inc.
Processed in 0.006098 second(s), 2 queries