|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
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 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
Include/Init.php $_CFG["SysRoot"] = str_replace("\\", "/", str_replace("Include", "", dirname(__FILE__))); 上面这一行改成你的PHPGEN所在目录的绝对地址,试一下。 给个示列吧 不知道怎么改 |
| 回帖 |
|
wwccss 访问次数 : 593 注册日期 : 05-05-01 10:08 上次访问 : 10-07-19 11:44 |
修改系统目录下面的php.ini文件: allow_call_time_pass_reference设成true 然后重新启动apache服务 |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:\AppServ\www\pcg\Include\Class\Smarty\Smarty.class.php on line 1080 这个怎么改 谢谢 我的目录在 C:\AppServ\www\pcg |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
谢谢大哥了 现在只有这个错误了 Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:\AppServ\www\pcg\Include\Class\Smarty\Smarty.class.php on line 1080 |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
谁能帮我一下啊 谢谢 具体该怎么改啊 $_CFG["SysRoot"] = str_replace("\\", "/", str_replace("Include", "", dirname(__FILE__))); 我的目录在 C:\AppServ\www\pcg |
| 回帖 |
|
wwccss 访问次数 : 593 注册日期 : 05-05-01 10:08 上次访问 : 10-07-19 11:44 |
你就把上面一行改成"C:\AppServ\www\pcg"就可以了。 |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
是这样那 $_CFG["SysRoot"] = "C:\AppServ\www\pcg" |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
$_CFG["SysRoot"] = "C:\AppServ\www\pcg"; 改成这样后 出现这个错误 Fatal error: require_once() [function.require]: Failed opening required 'Smarty/Smarty.class.php' (include_path='C:\AppServ\www\pcg;C:\AppServ\www\pcgInclude/;C:\AppServ\www\pcgInclude/Class;') in C:\AppServ\www\pcg\Include\Init.php on line 47 不知道该怎么办哦 |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
该成这样 $_CFG["SysRoot"] = "C:/AppServ/www/pcg/"; 还是提示说 Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:\AppServ\www\pcg\Include\Class\Smarty\Smarty.class.php on line 1080 |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
555555555555555555555555555555555 这么好的东西 用不上哦 真可怜啊我 |
| 回帖 |
|
wwccss 访问次数 : 593 注册日期 : 05-05-01 10:08 上次访问 : 10-07-19 11:44 |
C:\AppServ\www\pcg\ 或者C:\\AppServ\\www\\pcg\\试一下。 btw,以后不要用这种夸张的语气提问,建议阅读《提问的智慧》。 |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
都不行哦 |
| 回帖 |
|
wwccss 访问次数 : 593 注册日期 : 05-05-01 10:08 上次访问 : 10-07-19 11:44 |
程序有一个小问题。你可以先这样修改: init.php: $_TPL["TplFile"] = str_replace('pcg', '', str_replace(".php", ".htm", $_TPL["TplFile"])); 试一下。 |
| 回帖 |
|
top 访问次数 : 11 注册日期 : 06-09-01 12:33 上次访问 : 09-10-29 21:05 |
呵呵 还是不行 我没有写过程序 所以看不错 错误 为什么 只能提交一下使用反馈 |
| 回帖 |