500-发生错误–在Joomla中添加新文章时,数据库功能未报告任何错误 [英] 500 - An error has occurred – DB function reports no errors when adding new article in Joomla

查看:124
本文介绍了500-发生错误–在Joomla中添加新文章时,数据库功能未报告任何错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一篇文章要发表在我的Joomla上!地点.每次我单击应用"或保存".我收到错误500 - An error has occurred! DB function reports no errors.我不知道为什么会出现此错误,我可以认为这是服务器错误.

I have an article that I want to publish on my Joomla! site. Every time I click apply or save. I get error 500 - An error has occurred! DB function reports no errors. I have no idea why this error comes up, al I can think is that it's a server error.

我正在使用TinyMCE和Joomla一起输入文章! 1.5.11.

I'm using TinyMCE to type articles together with Joomla! 1.5.11.

已更新:我在Joomla中启用了最大错误报告"!在文章管理器中,我试图保存文章并得到了这两个错误.请检查屏幕截图

Updated: I turned on Maximum error reporting in Joomla! and in the article manager I tried to save the article and got these couple of errors. Please check screenshot

我尝试添加

<?php
ini_set('error_reporting', E_ALL);
error_reporting(E_ALL);
ini_set('log_errors',TRUE);
ini_set('html_errors',TRUE);
ini_set('display_errors',true);
?>

位于Joomla的index.php页面顶部!但它没有显示任何错误.我检查了服务器上的错误日志,也没有出现错误.

at the top of the index.php pages for Joomla! but it does not show any errors. I checked the error logs on the server and also no errors come up.

我设法通过phpMyAdmin发布了这篇文章,但随后发生了其他事情.我尝试通过单击文章的链接从前端访问文章,但是只会出现空白页面.

I managed to publish the article via phpMyAdmin but then something else happens. I try to access to article from the front end, by clicking on the link to the article, but only a blank page comes up.

这真的很奇怪,因为错误日志没有显示任何信息.因此,我认为错误应该来自Joomla!

This is really weird, since the error log does not show any information. So I assume the error needs to be coming from Joomla!

如果我在/administrator/components/com_content/controller.php上的if (!$row->check()) {之前添加print_r($ _ POST),则会发生这种情况(第693行)

This happens if I add a print_r($_POST) before if (!$row->check()) { on /administrator/components/com_content/controller.php (around line 693)

    Array
(
    [title] => Test.
    [state] => 0
    [alias] => test
    [frontpage] => 0
    [sectionid] => 10
    [catid] => 44
    [details] => Array
        (
            [created_by] => 62
            [created_by_alias] => 
            [access] => 0
            [created] => 2008-10-25 13:31:21
            [publish_up] => 2008-10-25 13:31:21
            [publish_down] => Never
        )

    [params] => Array
        (
            [show_title] => 
            [link_titles] => 
            [show_intro] => 
            [show_section] => 
            [link_section] => 
            [show_category] => 
            [link_category] => 
            [show_vote] => 
            [show_author] => 1
            [show_create_date] => 0
            [show_modify_date] => 0
            [show_pdf_icon] => 
            [show_print_icon] => 
            [show_email_icon] => 
            [language] => 
            [keyref] => 
            [readmore] => 
        )

    [meta] => Array
        (
            [description] => Test.
            [keywords] => Test
            [robots] => 
            [author] => Test
        )

    [id] => 58
    [cid] => Array
        (
            [0] => 58
        )

    [version] => 30
    [mask] => 0
    [option] => com_content
    [task] => apply
    [ac1e0853fb1b3f41730c0d52de89dab7] => 1
)

我在这个问题上得到了赏金,但是问题仍然没有解决? 链接文本

I had a bounty on this question, but the problem is still not resolved? link text

任何帮助将不胜感激!

这里是文章的链接(文本文件是我从TinyMCE那里获得的)文章

Here is a link to the article (text file with the source I got from TinyMCE) Article

推荐答案

只需执行以下任务

"您可以要求您的托管服务提供商禁用php.ini中的suhosin功能.启用此功能后,无法保存大帖子."".

"""you can ask to your hosting provider to disable the function suhosin in php.ini. When this function is enable, is not possible to save large posts."""".

Shailedner Ahuja

Shailedner Ahuja

我的Web开发人员 http://www.mywebdeveloper.in

My Web Developer http://www.mywebdeveloper.in

这篇关于500-发生错误–在Joomla中添加新文章时,数据库功能未报告任何错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆