lib_类定义不存在,请检查。
- /home/codes/webcode/xmgbuy.com/SpeedPHP/spFunctions.php on line 152
147.
$argString = '';$comma = '';
148.
if(null != $args)for ($i = 0; $i < count($args); $i ++) { $argString .= $comma . "\$args[$i]"; $comma = ', '; }
149.
eval("\$GLOBALS['G_SP']['inst_class'][\$class_name]= new \$class_name($argString);");
150.
return $GLOBALS['G_SP']["inst_class"][$class_name];
151.
}
152.
153.
spError($class_name."类定义不存在,请检查。");
}
154.
155.
/**
156.
* spError 框架定义的系统级错误提示
157.
*
- /home/codes/webcode/xmgbuy.com/controller/sharevideo.php on line 17
12.
13.
$type = $this->spArgs("type");
14.
$this->type = $type;
15.
16.
$this->id = $id;
17.
18.
$libObj = spClass("lib_".$type); // 分类
$newsObj = spClass("lib_sharevideo"); // 分类
19.
$userObj = spClass("lib_user"); // 用户
20.
21.
22.
$parameter = is_numeric($id); // 检测参数类型
- /home/codes/webcode/xmgbuy.com/SpeedPHP/spFunctions.php on line 21
16.
if(!is_object($handle_controller) || !method_exists($handle_controller, $__action)){
17.
eval($GLOBALS['G_SP']["dispatcher_error"]);
18.
exit;
19.
}
20.
// 路由并执行用户代码
21.
22.
$handle_controller->$__action();
// 控制器程序运行完毕,进行模板的自动输出
23.
if(FALSE != $GLOBALS['G_SP']['view']['auto_display']){
24.
$__tplname = $__controller.$GLOBALS['G_SP']['view']['auto_display_sep'].
25.
$__action.$GLOBALS['G_SP']['view']['auto_display_suffix']; // 拼装模板路径
26.
$handle_controller->auto_display($__tplname);
- /home/codes/webcode/xmgbuy.com/index.php on line 58
53.
),
54.
)
55.
);
56.
require(SP_PATH."/SpeedPHP.php");
57.
import(APP_PATH.'/controller/tplbasis.php'); // 需要先载入top控制器父类
58.
spRun();