用户
 找回密码
 入住 CI 中国社区
搜索
查看: 3852|回复: 3
收起左侧

[HELP] 请教关于加载视图时候,莫名奇妙重复多次加载的问题

[复制链接]
发表于 2010-8-17 20:49:52 | 显示全部楼层 |阅读模式
PHP复制代码
 
function modmenu()
{
          log_message('error', "开始开始");    
          $data['menu'] = $this->db_model->select_row($this->config->item('my_dbtable_menu'), array('id' => $this->uri->segment(3)));
          log_message('error', "结束结束");    
          $this->load->view('restaurant/modmenu_view', $data); 
 
}
 
复制代码

调用时候参数为28
http://localhost/CodeIgniterOrder/restaurant/modmenu/28.html
但是日志里面莫名奇妙的加载了多次?而且后面几次加载参数没有了, modmenu_view'视图显示结果正常,数据时第一次
SELECT *
FROM (`menu`)
WHERE `id` = '28'
LIMIT 1读出来的。 奇怪的是为什么加载了多次? 请高手帮忙看看
DEBUG - 2010-08-17 20:45:43 --> Config Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Hooks Class Initialized
DEBUG - 2010-08-17 20:45:43 --> URI Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Router Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Output Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Input Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Global POST and COOKIE data sanitized
DEBUG - 2010-08-17 20:45:43 --> Language Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Loader Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Config file loaded: config/myconfig.php
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: url_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: form_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: my_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: mybmap_helper
DEBUG - 2010-08-17 20:45:43 --> Database Driver Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Session Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Table Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Pagination Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Upload Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Form Validation Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Session class already loaded. Second attempt ignored.
DEBUG - 2010-08-17 20:45:43 --> Cart Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Model Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Controller Class Initialized
ERROR - 2010-08-17 20:45:43 --> 开始开始
DEBUG - 2010-08-17 20:45:43 --> sql query: SELECT *
FROM (`menu`)
WHERE `id` = '28'
LIMIT 1
ERROR - 2010-08-17 20:45:43 --> 结束结束
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/menunavigator_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/header_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/left_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/widget/myupload_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/footer_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/modmenu_view.php
DEBUG - 2010-08-17 20:45:43 --> Final output sent to browser
DEBUG - 2010-08-17 20:45:43 --> Total execution time: 0.0731
DEBUG - 2010-08-17 20:45:43 --> Config Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Hooks Class Initialized
DEBUG - 2010-08-17 20:45:43 --> URI Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Router Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Output Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Input Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Global POST and COOKIE data sanitized
DEBUG - 2010-08-17 20:45:43 --> Language Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Loader Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Config file loaded: config/myconfig.php
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: url_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: form_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: my_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: mybmap_helper
DEBUG - 2010-08-17 20:45:43 --> Database Driver Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Session Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Table Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Pagination Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Upload Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Form Validation Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Session class already loaded. Second attempt ignored.
DEBUG - 2010-08-17 20:45:43 --> Cart Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Model Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Controller Class Initialized
ERROR - 2010-08-17 20:45:43 --> 开始开始
DEBUG - 2010-08-17 20:45:43 --> sql query: SELECT *
FROM (`menu`)
WHERE `id` = 0
LIMIT 1
ERROR - 2010-08-17 20:45:43 --> 结束结束
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/menunavigator_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/header_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/left_view.php
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: photo E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 14
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: photo E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 15
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/widget/myupload_view.php
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: name E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 25
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: info E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 32
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: price E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 39
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: daysupply E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 59
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: beginsendnum E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 65
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: state E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 72
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: state E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 74
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: remark E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 81
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/footer_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/modmenu_view.php
DEBUG - 2010-08-17 20:45:43 --> Final output sent to browser
DEBUG - 2010-08-17 20:45:43 --> Total execution time: 0.1564
DEBUG - 2010-08-17 20:45:43 --> Config Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Hooks Class Initialized
DEBUG - 2010-08-17 20:45:43 --> URI Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Router Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Config Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Hooks Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Config Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Hooks Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Output Class Initialized
DEBUG - 2010-08-17 20:45:43 --> URI Class Initialized
DEBUG - 2010-08-17 20:45:43 --> URI Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Router Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Output Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Router Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Input Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Global POST and COOKIE data sanitized
DEBUG - 2010-08-17 20:45:43 --> Output Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Input Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Global POST and COOKIE data sanitized
DEBUG - 2010-08-17 20:45:43 --> Language Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Input Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Global POST and COOKIE data sanitized
DEBUG - 2010-08-17 20:45:43 --> Language Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Loader Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Loader Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Config file loaded: config/myconfig.php
DEBUG - 2010-08-17 20:45:43 --> Config file loaded: config/myconfig.php
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: url_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: url_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: form_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: form_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: my_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: my_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: mybmap_helper
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: mybmap_helper
DEBUG - 2010-08-17 20:45:43 --> Language Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Database Driver Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Database Driver Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Session Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Session Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Table Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Pagination Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Upload Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Loader Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Table Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Pagination Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Form Validation Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Upload Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Session class already loaded. Second attempt ignored.
DEBUG - 2010-08-17 20:45:43 --> Cart Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Form Validation Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Model Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Controller Class Initialized
ERROR - 2010-08-17 20:45:43 --> 开始开始
DEBUG - 2010-08-17 20:45:43 --> Config file loaded: config/myconfig.php
DEBUG - 2010-08-17 20:45:43 --> sql query: SELECT *
FROM (`menu`)
WHERE `id` = 0
LIMIT 1
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: url_helper
DEBUG - 2010-08-17 20:45:43 --> Session class already loaded. Second attempt ignored.
DEBUG - 2010-08-17 20:45:43 --> Cart Class Initialized
ERROR - 2010-08-17 20:45:43 --> 结束结束
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/menunavigator_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/header_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/left_view.php
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: photo E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 14
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: photo E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 15
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/widget/myupload_view.php
DEBUG - 2010-08-17 20:45:43 --> Model Class Initialized
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: name E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 25
DEBUG - 2010-08-17 20:45:43 --> Controller Class Initialized
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: form_helper
ERROR - 2010-08-17 20:45:43 --> 开始开始
DEBUG - 2010-08-17 20:45:43 --> sql query: SELECT *
FROM (`menu`)
WHERE `id` = 0
LIMIT 1
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: info E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 32
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: my_helper
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: price E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 39
DEBUG - 2010-08-17 20:45:43 --> Helper loaded: mybmap_helper
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> 结束结束
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/menunavigator_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/header_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/left_view.php
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: photo E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 14
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: daysupply E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 59
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: photo E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 15
DEBUG - 2010-08-17 20:45:43 --> Database Driver Class Initialized
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: beginsendnum E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 65
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/widget/myupload_view.php
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: state E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 72
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: name E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 25
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: info E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 32
DEBUG - 2010-08-17 20:45:43 --> Session Class Initialized
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: price E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 39
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: state E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 74
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: remark E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 81
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/footer_view.php
DEBUG - 2010-08-17 20:45:43 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/modmenu_view.php
ERROR - 2010-08-17 20:45:43 --> Severity: Notice  --> Undefined index: sign E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 50
DEBUG - 2010-08-17 20:45:44 --> Final output sent to browser
DEBUG - 2010-08-17 20:45:44 --> Total execution time: 0.1908
ERROR - 2010-08-17 20:45:44 --> Severity: Notice  --> Undefined index: daysupply E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 59
ERROR - 2010-08-17 20:45:44 --> Severity: Notice  --> Undefined index: beginsendnum E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 65
ERROR - 2010-08-17 20:45:44 --> Severity: Notice  --> Undefined index: state E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 72
ERROR - 2010-08-17 20:45:44 --> Severity: Notice  --> Undefined index: state E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 74
ERROR - 2010-08-17 20:45:44 --> Severity: Notice  --> Undefined index: remark E:\lamp\www\CodeIgniterOrder\system\libraries\Loader.php(673) : eval()'d code 81
DEBUG - 2010-08-17 20:45:44 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/footer_view.php
DEBUG - 2010-08-17 20:45:44 --> File loaded: E:\lamp\www\CodeIgniterOrder/system/application/views/restaurant/modmenu_view.php
DEBUG - 2010-08-17 20:45:44 --> Final output sent to browser
DEBUG - 2010-08-17 20:45:44 --> Total execution time: 0.2036
DEBUG - 2010-08-17 20:45:44 --> Table Class Initialized
DEBUG - 2010-08-17 20:45:44 --> Pagination Class Initialized
DEBUG - 2010-08-17 20:45:44 --> Upload Class Initialized
DEBUG - 2010-08-17 20:45:44 --> Form Validation Class Initialized
DEBUG - 2010-08-17 20:45:44 --> Session class already loaded. Second attempt ignored.
DEBUG - 2010-08-17 20:45:44 --> Cart Class Initialized
DEBUG - 2010-08-17 20:45:44 --> Model Class Initialized
DEBUG - 2010-08-17 20:45:44 --> Controller Class Initialized
DEBUG - 2010-08-17 20:45:44 --> Final output sent to browser
DEBUG - 2010-08-17 20:45:44 --> Total execution time: 0.2542
发表于 2010-8-17 22:48:52 | 显示全部楼层
问题原因不在function modmenu(),请检查此控制器,加载的model,加载的view代码
 楼主| 发表于 2010-8-17 23:24:14 | 显示全部楼层
回复 3# visvoy


    model肯定没有问题,是公用的。view也比较正常呀,搞了一个下午没有发现原因,但是页面显示正常
发表于 2010-8-18 05:57:29 | 显示全部楼层
本帖最后由 visvoy 于 2010-8-18 06:03 编辑

给你个参考,上个月新手区有人也是一个请求执行了2次,
原因是view里面多了一个<scirpit src=''></script>
p.s 错误出现在肯定不出错的代码里面也是常有的事,你懂的

本版积分规则