1
Daethian
500 internal server errors when updating articles
  • 2009/11/4 2:37

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


So I haven't made any changes to my install in months and now on certain articles I am not able to edit certain articles. When I try I get a 500 internal server error. I then tried to recreate the article and copied the content into notepad to remove any hidden code that might have been causing errors. I could not put in all the content at once. I broke it down and was able to get a few paragraphs before it started doing this again.

it wouldn't take any of the subsequent paragraphs when I tried to add each of them one at a time to see if there was a particular one causing the issue. Maybe its a character limit but this document is not that long and I'm sure we have longer articles.

This is not affecting all articles, just a few at this time that I know of but I can't find the what the common link would be.

Here is an existing article that I am unable to edit, all I wanted to do was move the link to the top and it won't take.
http://crabstreetjournal.com/xoops/modules/news/article.php?storyid=145

2
ghia
Re: 500 internal server errors when updating articles
  • 2009/11/4 8:48

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


What is your XOOPS version, News module version?
What editor is used?
Did you change from editor?
Are the weird characters in the title intentional?
With copying, when using the right click javascript copy, the length may be limited. Try with ctrl-a, ctrl-c and subsequent ctrl-v.

3
Daethian
Re: 500 internal server errors when updating articles
  • 2009/11/11 15:42

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


2.3 XOOPS
1.62 News
I tried changing editor AFTER the errors began, didn't seem to make a difference so I went back.

Yes the weird title characters are intentional, several articles have those (its a simple way to track for now what articles we have reviewed and updated) and its not an issue with others.

The new document I created did not have the weird characters in the title.

I always do the CTL A, CTL C, CTL V. I even pasted to notepad first to make sure no code was being carried over.

4
Daethian
Re: 500 internal server errors when updating articles
  • 2010/2/3 19:21

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


Follow up... yes way late I'm sorry.

The issue ended up being some security mod on my server back end. My web host had to go through the text and get the back end team to fix whatever was triggering the problem.

I can try to get more specific details if anyone feels its of interest.

5
ghia
Re: 500 internal server errors when updating articles
  • 2010/2/3 19:30

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Please do!

We are always interested in weird behaviour!
And how to cure it!

6
Daethian
Re: 500 internal server errors when updating articles
  • 2010/2/5 16:01

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


Ok here's the info:

"It's basically triggering mod_sec rules, meaning that we have to
manually whitelist some files and URL's because XOOPS and other
softwares use so many different ones. XOOPS is the only software which has needed it thus far."

I had issues with my articles module and my faq module kicking back these 500 errors on certain instances. I had to send the full text to my host so they could look it over and find the problem.

7
ghia
Re: 500 internal server errors when updating articles
  • 2010/2/6 2:19

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Seems your hoster did implement some rules that were too harsh for XOOPS.
What were these conflicting rules?
How can one know if one of these rules is giving problems ad causing the 500 error?

8
Daethian
Re: 500 internal server errors when updating articles
  • 2010/2/20 1:12

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


As far as knowing when it's giving the problems, from my end it wasn't affecting all existing articles. Some I could edit and others threw an error. When I tried to recreate the article by copy and pasting the text to a new article it would throw errors but I could create new articles with other content.

Host says:

Send them to http://www.modsecurity.org/, it's pointless me re-writing the whole thing.

We just use a default install.

9
ghia
Re: 500 internal server errors when updating articles
  • 2010/2/20 2:29

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I'm afraid the conclusion is time to shift hoster.

10
Daethian
Re: 500 internal server errors when updating articles
  • 2010/2/20 2:38

  • Daethian

  • Quite a regular

  • Posts: 305

  • Since: 2005/3/4 1


nah he's actually become a friend and I've hosted with him for many many years. I get excellent support from him. In this instance I don't know that he cares to go into all the detail since he corrected the issue and has no obligation to be of assistance to other XOOPS users.

Login

Who's Online

372 user(s) are online (268 user(s) are browsing Support Forums)


Members: 0


Guests: 372


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits