Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: dominioboys on September 07, 2019, 12:23:26 PM

Title: Internal Server Error
Post by: dominioboys on September 07, 2019, 12:23:26 PM
my forum show this:
Internal Server Error


how to fix? error log?
Title: Re: Internal Server Error
Post by: d3vcho(); on September 07, 2019, 12:53:04 PM
What version of SMF are you using? What version of PHP are you using? Are there any errors in the server's error log?
Title: Re: Internal Server Error
Post by: dominioboys on September 07, 2019, 01:29:47 PM
smf 2.0.15
php 7.2

error log not so where it is
Title: Re: Internal Server Error
Post by: Sir Osis of Liver on September 07, 2019, 04:58:27 PM
2.0.15 does not support php 7.2 (7.1 max), but that shouldn't be causing 500 error unless you've installed a mod that breaks in 7.2.  Server log should be in forum root (not always) look for file errorlog or something similar.  What was last thing you did before forum crashed?

Title: Re: Internal Server Error
Post by: dominioboys on September 07, 2019, 10:53:46 PM
nothing, before it worked then I had grub problem and it didn't work anymore

so the version I have cannot work with 7.2?
Title: Re: Internal Server Error
Post by: shawnb61 on September 07, 2019, 11:49:45 PM
Correct, 7.2 is not supported:
https://wiki.simplemachines.org/smf/SMF2.0:Requirements_and_recommendations
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 07:32:33 AM
ok but if i want read post in forum show this:

Call to undefined function mentions_post_scripts()
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 07:34:50 AM
Correct, 7.2 is not supported:
https://wiki.simplemachines.org/smf/SMF2.0:Requirements_and_recommendations
https://web-develop.ca/index.php?topic=240.0
Title: Re: Internal Server Error
Post by: Arantor on September 08, 2019, 07:36:32 AM
Firstly, that's not an official patch provided by the team; secondly it doesn't fix any mods that have 7.2 compatibility problems. Every single bbcode mod will still cause problems. As will a number of other mods.

Your error message is because you have a partial copy of the Mentions mod installed and not all of its files present.
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 07:42:02 AM

and what is missing in the mod to be used
Title: Re: Internal Server Error
Post by: Arantor on September 08, 2019, 07:49:44 AM
Who knows? I have no idea what state your installation is in, especially when you've previously told us you have no mods installed but had an error that could only come from a mod.

Best thing to do, go to the page that you download the Mentions mod from, and use the parser on the right hand side of the page to see what changes it makes to your setup, and verify each of those is followed.
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 08:05:44 AM
is there a way to remove all the mods?
Title: Re: Internal Server Error
Post by: Illori on September 08, 2019, 08:27:29 AM
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 08:57:49 AM
ok i try thanks
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 11:33:49 AM
show this in post:
syntax error, unexpected ','
Title: Re: Internal Server Error
Post by: d3vcho(); on September 08, 2019, 11:53:36 AM
Where is that displayed?
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 11:55:52 AM
when I try to open any post in the forum
Title: Re: Internal Server Error
Post by: Arantor on September 08, 2019, 01:54:58 PM
Does it say anything else? Like a line number maybe?
Title: Re: Internal Server Error
Post by: dominioboys on September 08, 2019, 11:21:02 PM
no only this
Title: Re: Internal Server Error
Post by: Arantor on September 09, 2019, 02:32:19 AM
Then your PHP installation is broken.
Title: Re: Internal Server Error
Post by: dominioboys on September 09, 2019, 06:04:11 AM
when i try to login show
Your session timed out while posting. Please go back and try again.
Title: Re: Internal Server Error
Post by: Sir Osis of Liver on September 09, 2019, 12:29:19 PM
Installed mods?
Title: Re: Internal Server Error
Post by: Kindred on September 09, 2019, 12:46:11 PM
https://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files
Title: Re: Internal Server Error
Post by: dominioboys on September 09, 2019, 01:36:09 PM
The errors logged were as follows.

Code: [Select]
[Mon Sep 09 06:34:36.821343 2019] [ssl:error] [pid 29893:tid 23352343357184] (70007)The timeout specified has expired: [client 79.44.199.37:61961] AH01985: error reading response from OCSP server
[Mon Sep 09 08:01:09.357050 2019] [ssl:error] [pid 29951:tid 23352244639488] (70007)The timeout specified has expired: [client 18.236.194.108:33648] AH01985: error reading response from OCSP server
[Mon Sep 09 11:06:23.120574 2019] [ssl:error] [pid 29894:tid 23352353863424] (70007)The timeout specified has expired: [client 185.234.218.52:44756] AH01985: error reading response from OCSP server
[Mon Sep 09 12:08:08.683924 2019] [ssl:error] [pid 29951:tid 23352265651968] (70007)The timeout specified has expired: [client 208.100.26.236:45532] AH01985: error reading response from OCSP server
Title: Re: Internal Server Error
Post by: Arantor on September 09, 2019, 01:38:11 PM
OK so that's a server problem. If you configured HTTPS with certificate stapling on your server, it looks like it was misconfigured or otherwise broken. If you didn't configure that, get your host to fix it.
Title: Re: Internal Server Error
Post by: dominioboys on September 09, 2019, 01:58:18 PM
ok but for the problem that I can't get any post?
Title: Re: Internal Server Error
Post by: Arantor on September 09, 2019, 02:21:09 PM
ok but for the problem that I can't get any post?

As I said, your PHP is clearly broken if it’s only giving you half an error message, or you didn’t give me the full message. Without that it’s literally impossible to know where to start looking.
Title: Re: Internal Server Error
Post by: dominioboys on September 09, 2019, 02:57:51 PM
Is it better to reinstall SMF from scratch? I have php 7.0
Title: Re: Internal Server Error
Post by: Arantor on September 09, 2019, 03:01:49 PM
Well, you claimed previously to have no mods which would imply you have not in any way modified SMF - in which case a reinstall won't help you.
Title: Re: Internal Server Error
Post by: dominioboys on September 10, 2019, 06:14:24 AM
re-install the forum from scratch ... because I noticed that I have version 2.0.11 files together with those of version 2.0.15
Title: Re: Internal Server Error
Post by: Arantor on September 10, 2019, 06:29:58 AM
Except that would be normal, the file versions only get bumped when they are changed.