PDA

View Full Version : 500 internal server error if i open thread


taavipost
01-07-2016, 11:53 AM
I don t know what is the probleem, why i cant open this thread.
The topic opens opening error. http://www.gameritele.eu/foorum/showthread.php?19-?-Impeerium-Survival-SkyBlock-?lesanded-Minigames-Seiklused-algavad-siit!

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@gameritele.eu and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


.htacces
RewriteEngine on
RewriteCond %{HTTP_HOST} ^gameritele\.eu$ [OR]
RewriteCond %{HTTP_HOST} ^www\.gameritele\.eu$
RewriteRule ^/?$ "http\:\/\/www\.gameritele\.eu\/foorum" [R=301,L]

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Last errors
[04-Jan-2016 06:58:04 America/New_York] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /home/gamerite/public_html/foorum/includes/functions_misc.php on line 759
[07-Jan-2016 04:14:09 America/New_York] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /home/gamerite/public_html/foorum/includes/functions_misc.php on line 759


Can someone help me?

Dave
01-07-2016, 01:12 PM
PHP warnings shouldn't cause 500 errors, anything else useful in the error logs?

Dragonsys
01-07-2016, 02:25 PM
just the one thread, or any thread on your site?
If just the one, someone may have posted bad code, check it from the database side.

TheLastSuperman
01-08-2016, 02:29 AM
I bet it's something to do with your charset (UTF-8/etc) and/or the use of specific characters i.e. non-English being used and perhaps one of the characters in the title is not agreeing with the site. OP's other threads load fine, it's that one specific thread not wanting to cooperate.

Edit: You can try editing the title via the database, one of these could be the culprit:
? Impeerium | Survival - SkyBlock - ?lesanded - Minigames | Seiklused algavad siit!

Dragonsys
01-08-2016, 02:32 AM
I bet it's something to do with your charset (UTF-8/etc) and/or the use of specific characters i.e. non-English being used and perhaps one of the characters in the title is not agreeing with the site. OP's other threads load fine, it's that one specific thread not wanting to cooperate.

Edit: You can try editing the title via the database, one of these could be the culprit:
? Impeerium | Survival - SkyBlock - ?lesanded - Minigames | Seiklused algavad siit!

That's what I meant, not code lol

TheLastSuperman
01-08-2016, 02:36 AM
That's what I meant, not code lol

Ahh gotcha! Also your mention of code also had me think that perhaps this forum owner has HTML allowed in posts? By allowing code ot be posted it can cause issues. If so taavipost that is a security risk and should only be enabled in forums where only Admins or trusted staff can post such as a forum setup for Announcements or similar where Admins can only post but all others can view etc.