第30行是一个函数的定义: function throw() { // gather some information print( "<br/><b>Exception message</b>: ".$this->_exceptionString."<br/><b>Error code</b>: ".$this->_exceptionCode."<br/>" ); $this->_printStackTrace(); } 不知是不是因为使用了throw?也许xuzuning说对了,它是PHP5的关键字之一?!screend也没错,装了php4果然正常运行,我现在再重装php5并修改该函数名称试试,如果OK问题就搞定了(到时在给各位散分了^_^)多谢两位大侠拔刀相助。一并提出:不知哪有PHP5的教程可供下载?
我试过改函数名称.但是没有用处.关注一下.我在他们的论坛上找到了这个.你试试看. There is an experimental patch that will make pLog 0.3.2 run in PHP5 but we need your help to test it. If you are interested in helping, please download the following package. Unzip it in your current pLog 0.3.2 installation and let it overwrite a few files of the original package. http://www.plogworld.org/blog.php/plog_development_journal/resource/patches_and_improvements/plog-0.3.2-patch-php5-compat.zip/download Please report whether it works or not! Oscar
看到中国人和外国人的对话了.觉得哈好玩Posted: Thu Sep 23, 2004 6:12 am Post subject: about new version support php5 --------------------------------------------------------------------------------
I'm a chinese user,We(plog user group in china) need the new version plog to support PHP5~ I saw the text in plogworld.org about new version plog,Hmmm...can u(plogworld.org) put a beta version which support php5 for all the user? Posted: Thu Sep 23, 2004 9:47 am Post subject: --------------------------------------------------------------------------------
PLEASE DON'T ASK ONE THING FOR TOO MANY TIMES. PLOG IS A FREE BLOGGING SYSTEM, AND NO ONE HAVE TO MAKE A PHP5 VERSION FOR YOU. IF YOU NEED SOME BLOGGING SYSTEM WHICH IS SUPPORT PHP5, YOU CAN USE WORDPRESS. BEST REGARDS. -- btw, I have seen many chinese users whom are use PHP4, so maybe only YOU want a PHP5 version? Posted: Thu Sep 23, 2004 11:15 am Post subject: --------------------------------------------------------------------------------
there's no need to get so angry, my friend Guest But you're right that we've said too many times that php5 is not supported yet and that it will take a while before we can provide support for php5... It is planned for 1.0 and that's all we can say at the moment. Any help is always welcome!
上面的对话真有意思哈哈~`````只是看来得向那个好心人report that it doesn't work了... 他们的论坛也提及throw是php5的关键字之一了,只是从http://www.plogworld.org/blog.php/plog_development_journal/resource/patches_and_improvements/plog-0.3.2-patch-php5-compat.zip/download上下载的patch包也没能解决问题,他们的论坛也提及throw是php5的关键字之一了,只是从http://www.plogworld.org/blog.php/plog_development_journal/resource/patches_and_improvements/plog-0.3.2-patch-php5-compat.zip是一个损坏了的文件....... 我也试过改了throw函数名称确实没有用,看来暂时还不能结帖了. 在此小生我再次多谢大家的热心帮助,先--呵呵,每人先5分吧~` 但愿问题解决时帮贴贴^_^
不知楼上滴 screend前辈能否花点时间解释一下,再次表示感谢.........
function throw()
{
// gather some information
print( "<br/><b>Exception message</b>: ".$this->_exceptionString."<br/><b>Error code</b>: ".$this->_exceptionCode."<br/>" );
$this->_printStackTrace();
}
不知是不是因为使用了throw?也许xuzuning说对了,它是PHP5的关键字之一?!screend也没错,装了php4果然正常运行,我现在再重装php5并修改该函数名称试试,如果OK问题就搞定了(到时在给各位散分了^_^)多谢两位大侠拔刀相助。一并提出:不知哪有PHP5的教程可供下载?
There is an experimental patch that will make pLog 0.3.2 run in PHP5 but we need your help to test it. If you are interested in helping, please download the following package. Unzip it in your current pLog 0.3.2 installation and let it overwrite a few files of the original package. http://www.plogworld.org/blog.php/plog_development_journal/resource/patches_and_improvements/plog-0.3.2-patch-php5-compat.zip/download Please report whether it works or not! Oscar
I'm a chinese user,We(plog user group in china) need the new version plog to support PHP5~ I saw the text in plogworld.org about new version plog,Hmmm...can u(plogworld.org) put a beta version which support php5 for all the user?
Posted: Thu Sep 23, 2004 9:47 am Post subject: --------------------------------------------------------------------------------
PLEASE DON'T ASK ONE THING FOR TOO MANY TIMES. PLOG IS A FREE BLOGGING SYSTEM, AND NO ONE HAVE TO MAKE A PHP5 VERSION FOR YOU. IF YOU NEED SOME BLOGGING SYSTEM WHICH IS SUPPORT PHP5, YOU CAN USE WORDPRESS. BEST REGARDS.
--
btw, I have seen many chinese users whom are use PHP4, so maybe only YOU want a PHP5 version? Posted: Thu Sep 23, 2004 11:15 am Post subject: --------------------------------------------------------------------------------
there's no need to get so angry, my friend Guest But you're right that we've said too many times that php5 is not supported yet and that it will take a while before we can provide support for php5... It is planned for 1.0 and that's all we can say at the moment. Any help is always welcome!
他们的论坛也提及throw是php5的关键字之一了,只是从http://www.plogworld.org/blog.php/plog_development_journal/resource/patches_and_improvements/plog-0.3.2-patch-php5-compat.zip/download上下载的patch包也没能解决问题,他们的论坛也提及throw是php5的关键字之一了,只是从http://www.plogworld.org/blog.php/plog_development_journal/resource/patches_and_improvements/plog-0.3.2-patch-php5-compat.zip是一个损坏了的文件.......
我也试过改了throw函数名称确实没有用,看来暂时还不能结帖了.
在此小生我再次多谢大家的热心帮助,先--呵呵,每人先5分吧~`
但愿问题解决时帮贴贴^_^
如果要修改可能要修改所有使用该函数的页面。