Topic on Manual talk:How to debug

Unknown Internal Error

4
Thepainking (talkcontribs)

Hello. Hope all are well.

My wiki sometimes gets an internal error I am not aware of why or what it is. Can someone please explain to me what this means and why this is happening? The following message comes up:

[YoO_Wl0PMPGEqgm7K-uljwAAABk] 2022-05-17 15:29:30: Fatal exception of type MWException

Any assistance would be greatly appreciated to resolve this issue.

TIA

BDavis (WMF) (talkcontribs)

You will need to setup logging (or find existing log files from your current configuration) in order to find out more about that error.

Thepainking (talkcontribs)

These are the details i received:

Parse error: syntax error, unexpected end of file in /nfs/c10/h05/mnt/229444/domains/encyclopediaoftouchbodysenseandpain.com/html/LocalSettings.php on line 196

initially it said line 206 which was blank so deleted all the blank lines upto 196 and now it says this. Can someone please explain this to me and how i can fix it?

TIA

BDavis (WMF) (talkcontribs)

This error message indicates that there is a syntax error in your LocalSettings.php file. Web searches can help you find advice on how to figure out exactly what is wrong with the syntax. An example of this kind of advice that I found by searching for "php syntax error" is https://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them. Most commonly I would start by looking for mismatched quotes, missing quotes, and missing semicolons introduced by various bits of configuration you may have copied into your LocalSettings.php file.

Reply to "Unknown Internal Error"