control层扩展
按继承扩展方法扩展了project-control的task方法,扩展文件module/project/ext/control/task.php
代码格式:
include '../../control.php';
class myProject extends project
{
public function task($projectID = 0, $status = 'unclosed', $param = 0, $orderBy = '', $recTotal = 0, $recPerPage = 100, $pageID = 1)
{
}
}
打开界面报错ERROR: the control project not found in framework\base\router.class.php on line 1650, last called by www\index.php on line 71 through function loadModule.
in framework\base\router.class.php on line 2224 when visiting /zentaopms/www/index.php?m=project&f=task&projectID=1
请问这种报错是什么方面的问题?
1. php文件头 <?php 加了吗?
2. zentao/config/my.php 中debug的值改成true 重新操作一下 看日志文件 zentao/tmp/log/php开头的今天的文件有什么报错。注:不要找sql开头的文件。