请选择 进入手机版 | 继续访问电脑版

SpeedPHP框架

 找回密码
 注册成为新用户

QQ登录

只需一步,快速开始

查看: 570|回复: 1

新框架 萌新落泪

[复制链接]
发表于 2019-7-24 11:41:57 | 显示全部楼层 |阅读模式
Err: "D:\qz\UPUPW_NP5.3\htdocs\protected\view\guestboook.html" is not exists!
  • D:\qz\UPUPW_NP5.3\htdocs\protected\lib\speed.php on line 405
400.          }
401.      }
402.
403.      public function compile($tempalte_name){
404.          $file = $this->template_dir.DS.$tempalte_name;
405.          if(!file_exists($file)) err('Err: "'.$file.'" is not exists!');

406.          if(!is_writable($this->compile_dir) || !is_readable($this->compile_dir)) err('Err: Directory "'.$this->compile_dir.'" is not writable or readable');
407.
408.          $complied_file = $this->compile_dir.DS.md5(realpath($file)).'.'.filemtime($file).'.'.basename($tempalte_name).'.php';
409.          if(file_exists($complied_file))return $complied_file;
410.

  • D:\qz\UPUPW_NP5.3\htdocs\protected\lib\speed.php on line 383
378.          $this->template_dir = $template_dir;      
379.          $this->compile_dir  = $compile_dir;
380.      }
381.       
382.      public function render($tempalte_name){
383.          $complied_file = $this->compile($tempalte_name);

384.          
385.          @ob_start();
386.          extract($this->template_vals, EXTR_SKIP);
387.          $_view_obj = & $this;
388.          include $complied_file;

  • D:\qz\UPUPW_NP5.3\htdocs\protected\lib\speed.php on line 201
196.          $this->_auto_display = false;
197.          
198.          if($return){
199.              return $this->_v->render($tpl_name);
200.          }else{
201.              echo $this->_v->render($tpl_name);

202.          }
203.      }
204. }
205.
206. class Model{

  • D:\qz\UPUPW_NP5.3\htdocs\protected\controller\MainController.php on line 4
1. <?php
2. class MainController extends BaseController {
3.      function actionIndex(){
4.          $this->display("guestboook.html");

5.      }
6. }

  • D:\qz\UPUPW_NP5.3\htdocs\protected\lib\speed.php on line 84
79. if(!is_available_classname($__controller))_err_router("Err: Controller '$controller_name' is not correct!");
80. if(!class_exists($controller_name, true))_err_router("Err: Controller '$controller_name' is not exists!");
81. if(!method_exists($controller_name, $action_name))_err_router("Err: Method '$action_name' of '$controller_name' is not exists!");
82.
83. $controller_obj = new $controller_name();
84. $controller_obj->$action_name();

85.
86. if($controller_obj->_auto_display){
87.      $auto_tpl_name = (empty($__module) ? '' : $__module.DS).$__controller.'_'.$__action.'.html';
88.      if(file_exists(APP_DIR.DS.'protected'.DS.'view'.DS.$auto_tpl_name))$controller_obj->display($auto_tpl_name);
89. }

  • D:\qz\UPUPW_NP5.3\htdocs\index.php on line 3
1. <?php
2. define('APP_DIR', realpath('./'));
3. require(APP_DIR.'/protected/lib/speed.php');


2.jpg






发表于 2019-7-25 09:28:43 | 显示全部楼层
"D:\qz\UPUPW_NP5.3\htdocs\protected\view\guestboook.html" is not exists!

落泪~~~
您需要登录后才可以回帖 登录 | 注册成为新用户

本版积分规则

手机浏览|简版|中文PHP框架|开源协议|SpeedPHP.com ( 粤ICP备08008671号

GMT+8, 2019-12-16 08:31

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表