ATK 未开箱即用
我对这一切都很陌生,所以请对我温柔一点。我一直在自学 PHP,并决定检查一些应用程序框架,并认为 Agile Toolkit 似乎提供了一些最好的功能。但是,将安装文件解压到我的网络根目录后,我无法让它工作。当我尝试访问 Agile Dashboard 时收到“HTTP 错误 500(内部服务器错误)”。
我正在 RHEL5(64 位)上使用 PHP 5.2.17 运行 Apache 2。我拥有的所有其他软件都运行良好,所以我有点不明白为什么 ATK4 不能。我检查了 config.php,从 httpd 日志来看,它在尝试加载时似乎使用了正确的路径。我确实通过注释掉现有代码并取消注释替代代码来编辑 loader.php,看看这是否有任何区别,并且我确实得到了“低级错误:类未定义且无法加载:前端”。
我已经尝试过示例并加载 html 页面,但示例也失败了。当 MySQL 设置错误时,错误会报告此错误,但是当 MySQL 设置正确时,我会收到 500 错误或低级错误,具体取决于配置文件中的设置。
谁能给我一些关于为什么这不起作用的指示?或者我可以在哪里获取更多我应该查看的信息或日志?是否存在我不知道的设置?
预先感谢您的任何帮助。
I'm very new to all this so please be gentle with me. I've been teaching myself PHP and decided to check out some application frameworks and decided Agile Toolkit seemed to offer some of the best features. However, having unzipped the install file into my web root I can't get it working. I get 'HTTP Error 500 (Internal Server Error)' when I try to access the Agile Dashboard.
I am running Apache 2 on RHEL5 (64-bit) with PHP 5.2.17. All other software I have is running fine so I am at a bit of a loss as to why ATK4 isn't. I've checked the config.php and from the httpd logs it appears to be using the correct path when trying to load. I did edit loader.php by commenting out the existing code and uncommenting the alternative code to see if that made any difference and I did get 'Low level error: Class is not defined and couldn't be loaded: Frontend'.
I've tried the examples and the html page loads, but the examples fail too. When the MySQL settings are wrong the error reports this, but when the MySQL settings are correct I get the 500 error or the low level error, depending on what is set in the config file.
Can anyone give me some pointers as to why this isn't working? Or where I can look to get more information or logs that I should be looking at? Are there settings I am unaware of?
Thanks in advance for any assistance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
感谢 Roman,我现在已经可以使用敏捷工具包了。我觉得有点傻,但我每天都在学习。
问题是我使用的 PHP 版本禁用了 json。一旦我意识到我从找到的 json.ini 文件中取消了它的注释并启用了它。
现在我可以继续认真学习这些东西了:)。
再次感谢!
Thanks to Roman I have now got Agile Toolkit working. I feel slightly foolish, but I'm learning every day.
The problem was that the version of PHP I am using has json disabled. Once I realised that I uncommented it from the json.ini file I found and that enabled it.
Now I can get on with the serious business of learning this stuff :).
Thanks again!