引用:
原帖由 Hesperus 于 2005-10-29 00:13 发表
服务器配置:WIN2003 IIS + PHP4.3.2
PHP也不太熟不知道版本上有什么差异
在PHP5.05下没问题!
4.3.2下HPINDEX.PHP程序陷入死循环(猜测是)
我也遇到进入死循环的问题。
检查后发现好像和phpindex.php下的这一句有关:
复制内容到剪贴板
代码:
$scjs->WriteCache('if ('.time().'+'.$syschars['smartcacheupdate'].'<<?=time()?>) window.location="hpindex.php";');updatejs.php中$syschars['smartcacheupdate']的部分,那时间没有更新,但<?=time()?>却更新。
因此造成updatejs.php中 if (xxxxx+xxx < xxxxx)的条件永远生效而循环执行window.location="hpindex.php"。
问题有两种可能性:
第一,也许是浏览器或其他原因造成updatejs.php此文件没有刷新。
第二,因为某些原因而phpindex.php没有执行到这一行:
复制内容到剪贴板
代码:
$scjs->WriteCache('if ('.time().'+'.$syschars['smartcacheupdate'].'<<?=time()?>) window.location="hpindex.php";');感觉上是第一个可能性比较大。请问有什么办法可以强制刷新updatejs.php的吗?
这个问题一直存在,是到我完全不能使用DiY-Page。
有什么办法能够解决吗?
[
本帖最后由 LobangKing 于 2005-12-21 11:21 编辑 ]