当前位置:PHPGEN > 论坛 > 安装使用 > 安装不上
2006-09-01 12:34:00 安装不上
#1
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in C:AppServwwwpcgIncludeClassGeneratorGenerator.class.php on line 305



Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:AppServwwwpcgIncludeClassSmartySmarty.class.php on line 1080
top 最后编辑, 2006-09-05 15:41:15 回复
2006-09-01 12:35:16
#2
Include/Init.php
$_CFG["SysRoot"] = str_replace("", "/", str_replace("Include", "", dirname(__FILE__)));
上面这一行改成你的PHPGEN所在目录的绝对地址,试一下。


给个示列吧

不知道怎么改
回复
2006-09-01 12:38:07
#3
修改系统目录下面的php.ini文件:
allow_call_time_pass_reference设成true
然后重新启动apache服务
回复
2006-09-01 12:40:09
#4
Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:AppServwwwpcgIncludeClassSmartySmarty.class.php on line 1080

这个怎么改 谢谢

我的目录在
C:AppServwwwpcg
回复
2006-09-01 12:42:26
#5
谢谢大哥了
现在只有这个错误了


Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:AppServwwwpcgIncludeClassSmartySmarty.class.php on line 1080
回复
2006-09-01 13:21:29
#6
谁能帮我一下啊
谢谢
具体该怎么改啊
$_CFG["SysRoot"] = str_replace("", "/", str_replace("Include", "", dirname(__FILE__)));

我的目录在
C:AppServwwwpcg
回复
2006-09-01 20:53:06
#7
你就把上面一行改成"C:AppServwwwpcg"就可以了。
回复
2006-09-01 23:22:36
#8
是这样那
$_CFG["SysRoot"] = "C:AppServwwwpcg"
回复
2006-09-01 23:42:02
#9
$_CFG["SysRoot"] = "C:AppServwwwpcg";


改成这样后 出现这个错误
Fatal error: require_once() [function.require]: Failed opening required 'Smarty/Smarty.class.php' (include_path='C:AppServwwwpcg;C:AppServwwwpcgInclude/;C:AppServwwwpcgInclude/Class;') in C:AppServwwwpcgIncludeInit.php on line 47

不知道该怎么办哦
回复
2006-09-01 23:54:44
#10
该成这样
$_CFG["SysRoot"] = "C:/AppServ/www/pcg/";
还是提示说

Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:AppServwwwpcgIncludeClassSmartySmarty.class.php on line 1080
回复
2006-09-01 23:55:47
#11
555555555555555555555555555555555
这么好的东西 用不上哦
真可怜啊我
回复
2006-09-02 10:53:47
#12
C:AppServwwwpcg
或者C:AppServwwwpcg试一下。

btw,以后不要用这种夸张的语气提问,建议阅读《提问的智慧》。
回复
2006-09-03 20:50:53
#13
都不行哦
回复
2006-09-05 09:35:58
#14
程序有一个小问题。你可以先这样修改:
init.php:
$_TPL["TplFile"] = str_replace('pcg', '', str_replace(".php", ".htm", $_TPL["TplFile"]));

试一下。
回复
2006-09-05 15:41:15
#15
呵呵 还是不行
我没有写过程序 所以看不错 错误 为什么
只能提交一下使用反馈
回复
时间: 9.8 毫秒, 内存: 880.9 KB, 查询: 8.