My favorites | Sign in
Project Home Wiki
Search
for
TmphpBugList  

#bug列表,汇报bug

TMPHP 框架bug列表

本页面是反馈tmphp的bug页面,有bug可以直接留言在后面。

目前bug列表

  • 时间:2010/4/23 13:05
  • 来源:神仙 (isno.cn@xxx.com)
  • 版本:tmphp-1.0.1
  • 状态:New
  • 描述:
  • 1.  我看你公共文件有个urlHtml的配置,是配置重写的,如果有这个选项的话,那应该有个url相关的插件
    。http://code.google.com/p/tmphp/wiki/tmphp_urlrewrite 在这里我看到配置重写的,但我没找到处理url重写的函数。例如:<?php url::rewrite('home/isno/')?>,服务器重写把所有的请求重定向到index.php里面,框架应该有个处理请求的东西
    2.  希望这个框架不要功能太多,只提供框架的结构,和思路!其他人用它做应用的时候可以根据项目需求更好的扩展和修改
    3.  demo,model目录indexModel.php 39换,引用配置写错了
    
  • 时间:2010/04/13 17:43
  • 来源:清溪流泉 (phppan#xxx.com)
  • 版本:tmphp-1.0.1
  • 状态:New
  • 描述:
  • 发现三个问题(可能),如下:
    1.XMLParser类中的getResult方法的返回值拼写错误
    2、在php5.2.10中会出现PHP Catchable fatal error:  Object of class stdClass could not be converted to string 
    3、在TM_Http.class.php中,在调用工厂方法时传递的参数$url,第二次调用工厂方法时此参数无效(直接返回之前的实例,$this->uri没有被重置) ,另外uri属性看起来感觉怪怪的(手误?)
  • 时间:2010-02-27 17:26:15
  • 来源:jxncpbs (CSDN Blog)
  • 版本:tmphp-1.0.1
  • 状态:New
  • 描述:
  • tmphp目录里的tmphp.php第100行 $urlRewriteRule= $arrConfig['Common']['UrlReWrite']; 这句是不是有问题啊?配置文件里根本没有配置:
    Notice: Undefined index: UrlReWrite in E:\freehost\wangduozaixian\web\tmphp\tmphp\tmphp.php on line 100 
    Notice: Undefined index: c in E:\freehost\wangduozaixian\web\tmphp\tmphp\tmphp.php on line 108 
    Notice: Undefined index: a in E:\freehost\wangduozaixian\web\tmphp\tmphp\tmphp.php on line 109
  • 时间:2010-02-09 20:37:25
  • 来源:匿名用户(CSDN Blog)
  • 版本:tmphp-1.0.1
  • 状态:New
  • 描述:
  • 这个框架还是很轻巧,本人比较喜欢,不过有一个功能很简单页面跳转,像uchome里的那个showMessage()那样的功能。
    本人自己改造了一下,总体来说还是很不错的。以上两个BUG是刚找出来的,及时上报黑大了,呵呵。

Comment by project member heiyeluren@gmail.com, Apr 13, 2010

可以直接在留言回复里汇报bug。:-)

Comment by jxnc...@gmail.com, Jun 24, 2010

model层里绐的示例写错了一句。 $this->db->query("set names ". $this->config['DataBase?']['charset']); 应该是 $this->db->query("set names ". $this->controller->config['DataBase?']['charset']); core目录下的TM_View.class.php第526行是否改为 if (!empty($vars) && is_array($vars)) 更合适,因为如果字符串的话也不会去foreach

Comment by jxnc...@gmail.com, Jun 24, 2010

全局里是否加上这句更合适呢? error_reporting( E_ERROR | E_WARNING | E_PARSE );

Comment by project member heiyeluren@gmail.com, Jul 6, 2010

收到,谢谢 jxncpbs!

Comment by free.bir...@gmail.com, Aug 9, 2010

新下载的框架,用的discuz的ComsenzEXP,框架放在/wwwroot/tmphp目录下,通过web的方式访问地址:http://localhost:1108/tmphp/demo/view/index.php 页面提示:TMPHP Exception: controller file D:/ComsenzEXP/wwwroot/tmphp/demo/controller/tmphpController.class.php not exist or not readable

查看该目录确实没有tmphpController.class.php 这个文件。请问这是什么问题?

Comment by clcxxxx@gmail.com, Aug 19, 2010

Re: free.bird369

演示demo只能放在这样路径下,你加了路径controller和action的正则匹配有问题 http://localhost:1108/index.php


Sign in to add a comment
Powered by Google Project Hosting