500 - An error has occurred – DB function reports no errors when adding new article in Joomla

前端 未结 5 714
南方客
南方客 2021-01-15 21:48

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

相关标签:
5条回答
  • 2021-01-15 22:00

    This error could occur when you use Firefox.

    Try to reproduce using IE.

    Regards

    0 讨论(0)
  • 2021-01-15 22:02

    Looking at your POST array, it looks like the body text of your post isn't being sent. This would suggest it's a problem on the front end. Can you check the name of the HTML element where you are typing the body text? If you could edit and show us the relevant parts of the HTML form that would help too.


    edit: ok, that article you linked to is almost 150,000 bytes, so it might be that it's choking on it. If this is a once-off article that you probably won't have to edit too much, I'd recommend putting in some dummy text and then going into your database using phpMyAdmin or something and editing the text in the jos_content table. The introtext and fulltext columns are defined as MEDIUMTEXT so they should be able to hold up to about 16MB without hassle.

    If writing and/or editing articles of this size is something you'll be doing often (and hence, don't want to go into the DB each time), then perhaps you'll have to look at the maximum post size allowed.

    0 讨论(0)
  • 2021-01-15 22:11

    I read this other question and saw that you can't post the article since it's confidential. Is it in "plain english", does it have html? Could you provide some more information? Joomla has some plugins that "filter" a lot of content. If you try to write "iframe" or "script" tags in Joomla TinyMCE it's going to be filtered, this is Joomla's way of providing security.

    Did you try to disable TinyMCE filters? Go to "Plugin Manager", "Editor - TinyMCE 2.0" and change "Code cleanup" options to test.

    0 讨论(0)
  • 2021-01-15 22:25

    Simply do the following task

    """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

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

    0 讨论(0)
  • 2021-01-15 22:25

    Your article text is too big . The table might not be finding space to save this big . I would like suggest you to use the LONGTEXT

    datatype. Check if it works for you .

    0 讨论(0)
提交回复
热议问题