【发布时间】:2014-05-13 02:43:36
【问题描述】:
我已经为我的一个新项目安装了最新的 Buggenie Bug Tracker - 3.2.7.1。但是每次我想向里程碑添加错误或单击创建的问题以查看详细信息时,我都会收到错误。我想消除的主要错误是:
[13-May-2014 01:58:29 UTC] PHP Fatal error: Call to a member function getID() on a non-object in /home/me/public_html/bugtrack.domain.com/modules/mailing/classes/TBGMailing.class.php on line 552
就是这个功能
public function listen_viewissue(TBGEvent $event)
{
$uid= TBGContext::getUser()->getID();
if ($this->getSetting(self::NOTIFY_ISSUE_ONCE,$uid))
{
$this->deleteSetting(self::NOTIFY_ISSUE_ONCE . '_' . $event->getSubject()->getID$
}
}
调试模式已开启protected static $_debug_mode = true;
但日志文件thebuggenie.log 中没有数据,即使我将其更改为 777
我做了open an issue with buggenie,但我认为他们很忙。
我尝试了来自 this forum 的 hack,它指出:
添加一行作为函数的第一行:
if (!$event->getSubject() instanceof TBGIssue) return;
错误确实消失了,但随后我得到:
您指定了一个无法显示的问题 这可能是因为 你的问题不存在,已被删除或你没有 允许看到它 对于所有问题。
【问题讨论】:
-
将尝试在他们的论坛forum.thebuggenie.com/viewtopic.php?f=4&t=1759 上提到的黑客攻击。
-
确实删除了错误,但我得到了
You have specified an issue that can't be shown. This could be because you the issue doesn't exist, has been deleted or you don't have permission to see it -
这对于 Programmers.SE 来说非常离题。 What questions can I ask here?
-
您建议@AdamZuckerman 使用哪个 stackexchange 网站?之前在这里提出了另一个 Buggenie 问题。例如,如果有人认为 stackoverslow 比迁移它更好。我自己做不到。
标签: php debugging issue-tracking