I've written a bunch of custom components and only one of them has the following problem. When I click on an individual row in the admin list to edit it, I get the infamous:

我写了一堆自定义组件,其中只有一个有以下问题。当我点击管理列表中的一行来编辑它时,我得到了臭名昭着的:

"Error Check-out failed with the following error:"

“错误检出失败,出现以下错误:”

Now, sure, we've all had this error in Joomla, however, there's usually more information with it, such as, I don't know, AN ERROR??? I've turned up the error level to the max, searched the PHP logs, set the Debug System on and still there's nothing to be found. It's worth noting that the "error" doesn't really stop me from accomplishing the edit, except for the fact that when I click Save & Close the data is saved though the page flow doesn't return to the admin list. I have to click the Cancel/Close button to go back.

现在,当然,我们在Joomla中都有这个错误,但是,通常会有更多的信息,例如,我不知道,一个错误???我已经将错误级别调高到最大值,搜索了PHP日志,设置了调试系统,仍然没有找到任何东西。值得注意的是,“错误”并没有真正阻止我完成编辑,除了当我单击“保存并关闭”时,虽然页面流不会返回到管理列表,但保存了数据。我必须单击取消/关闭按钮才能返回。

I created this and other working components using Component Creator I override none of the table methods and only the save method in the model.

我使用Component Creator创建了这个和其他工作组件,我不覆盖任何表方法,只覆盖模型中的save方法。

Also worth noting is that I did a Global Check-In as well as scoured the database for any related checked out values and found none. I think the "Check-out" is a red herring.

另外值得注意的是,我进行了全局检查,并在数据库中搜索任何相关的检出值,但没有找到。我认为“结账”是一个红鲱鱼。

Any ideas on how to debug this issue further are welcome.

有关如何进一步调试此问题的任何想法都是受欢迎的。

Regards, Rob

1 个解决方案

#1


You can turn debugging on by setting in joomla system in following way:

您可以通过以下方式在joomla系统中设置来打开调试:

1.go top menu "system"
2.Select global configuration
3.go to gebug setting
4.turn on system debug

I hope by doing this you can see proper error message!!

我希望通过这样做你可以看到正确的错误信息!

更多相关文章

  1. 如何捕获PHP类型暗示的“可捕获的致命错误”?
  2. 尽管“SQL语法错误”消息仍然成功执行
  3. 使用curl加载xsl页面会返回实际的基数错误
  4. Yourphp系统发生错误
  5. 在PHP中,为什么没有显示解析错误?
  6. phpnow1.5.6如何设置404错误页面?
  7. php异常和错误处理
  8. APMServ 在 Win7 下出现“APMServ-Apache 服务因 函数不正确。
  9. 从。net调用Magento API,并得到“位于XYZ的HTTP服务太忙”的错误

随机推荐

  1. XML开发环境的建立详解
  2. xml模版,自定义按钮背景
  3. 详解lxml处理xml时的字符编码问题
  4. XML概述以及Pull解析的示例代码
  5. 详细介绍Linq读取XML的示例代码
  6. XML的简介与开发详解(图文)
  7. XML文件解析汇总SAX/DOM/PULL的详细介绍
  8. XmlDocument操作xml文档的示例代码
  9. XML解析中的namespace初步了解
  10. XML解析器-在js中解析xml文件