|
php教程,php代码生成器 |
| 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 回复 |
| Include/Init.php $_CFG["SysRoot"] = str_replace("", "/", str_replace("Include", "", dirname(__FILE__))); 上面这一行改成你的PHPGEN所在目录的绝对地址,试一下。 给个示列吧 不知道怎么改 |
|
| 回复 |
| 修改系统目录下面的php.ini文件: allow_call_time_pass_reference设成true 然后重新启动apache服务 |
|
| 回复 |
| Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:AppServwwwpcgIncludeClassSmartySmarty.class.php on line 1080 这个怎么改 谢谢 我的目录在 C:AppServwwwpcg |
|
| 回复 |
| 谢谢大哥了 现在只有这个错误了 Warning: Smarty error: unable to read resource: "pcg/Member/Login.htm" in C:AppServwwwpcgIncludeClassSmartySmarty.class.php on line 1080 |
|
| 回复 |
| 谁能帮我一下啊 谢谢 具体该怎么改啊 $_CFG["SysRoot"] = str_replace("", "/", str_replace("Include", "", dirname(__FILE__))); 我的目录在 C:AppServwwwpcg |
|
| 回复 |
| 你就把上面一行改成"C:AppServwwwpcg"就可以了。 | |
| 回复 |
| 是这样那 $_CFG["SysRoot"] = "C:AppServwwwpcg" |
|
| 回复 |
| $_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 不知道该怎么办哦 |
|
| 回复 |
| 该成这样 $_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 |
|
| 回复 |
| 555555555555555555555555555555555 这么好的东西 用不上哦 真可怜啊我 |
|
| 回复 |
| C:AppServwwwpcg 或者C:AppServwwwpcg试一下。 btw,以后不要用这种夸张的语气提问,建议阅读《提问的智慧》。 |
|
| 回复 |
| 都不行哦 | |
| 回复 |
| 程序有一个小问题。你可以先这样修改: init.php: $_TPL["TplFile"] = str_replace('pcg', '', str_replace(".php", ".htm", $_TPL["TplFile"])); 试一下。 |
|
| 回复 |
| 呵呵 还是不行 我没有写过程序 所以看不错 错误 为什么 只能提交一下使用反馈 |
|
| 回复 |