ithunter 访问次数 : 35 注册日期 : 05-09-15 14:05 上次访问 : 10-06-29 17:49 |
noticebug.php文件中我的配置为: apache的 conf文件配置为: NameVirtualHost *:8888 ServerName lintw DocumentRoot "D:/GreenAMP/www/BugFree" 我可以通过http://localhost:8888/index.php访问bugfree 但是通过 http://localhost:8888/shell/noticebug.php?BugUserName=Admin&BugUserPWD=Admin却提示出错 出错内容如下: Fatal error: Maximum execution time of 30 seconds exceeded in D:GreenAMPwwwBugFreeShellNoticeBug.php on line 30 后将 noticebug.php文件中的配置改为: 仍然出错, 出错提示为: Warning: file(http://localhost:8888/Shell/NoticeBug.php?BugUserName=admin&BugUserPWD=admin) [function.file]: failed to create stream: HTTP request failed! in D:GreenAMPwwwBugFreeShellNoticeBug.php on line 29 Fatal error: Maximum execution time of 30 seconds exceeded in D:GreenAMPwwwBugFreeShellNoticeBug.php on line 30 我想问一下:为什么原先默认的配置中: 其中的 file($ServerName . "/BugFree/NoticeBug.php?BugUserName=" . $BugUserName . "&BugUserPWD=" . $BugUserPWD); NoticeBug.php不是在Shell目录下吗?为什么会出现在BugFree目录下 |
回帖 |
wwccss 访问次数 : 593 注册日期 : 05-05-01 10:08 上次访问 : 10-07-19 11:44 |
BugFree的根目录下面有一个NoticeBug.php的文件,这个文件是负责完成邮件通知的具体工作。 而Shell/NoticeBug.php仅仅是访问一下BugFree/NoticeBug.php这个文件而已。 |
回帖 |
ithunter 访问次数 : 35 注册日期 : 05-09-15 14:05 上次访问 : 10-06-29 17:49 |
哦,是这样呀。已经解决了。谢谢!! |
回帖 |