http500 error but only in a single post? Got me confused...

Started by landyvlad, January 30, 2018, 12:39:01 AM

Previous topic - Next topic

landyvlad

A user said his original post didn't work - and it doesn't.
He subsequently created a second new post which worked fine.

Nobody can actually access the post - most get a http500 error, while some just get a blank page.

If you go the section (General / Bike Chat),  http://gsx1400owners.org/forum/index.php?board=19.0

then click on the post Oil Pan re assembly by Red Biker
http://gsx1400owners.org/forum/index.php?topic=2269.0

it generates the error (as you can tell yourselves, and I've attached copy below)


Thoughts?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

vbgamer45

Check your forum's error log to see if anything is there if not. Then check your webservers error log
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

aegersz

if no forum error then these tend to be critical PHP errors; i write them out to a seperate log.

if you can't find either then review your php.ini error reporting settings, make the changes, restart your webserver and reproduce it.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

landyvlad

Quotethese tend to be critical PHP errors; i write them out to a seperate log.

how?

Quote
review your php.ini error reporting settings, make the changes, restart your webserver and reproduce it.

Not sure what you mean by restart my webserver? 

Sorry but this is not clear to me (my fault, not yours)
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

aegersz

your environment may be different from mine.

Your webserver will load PHP when it starts and it reads in a config file (php.ini) and you have to read it to understand it.

SMF uses this API to build the pages that are displayed in your browser.

don't worry about a seperate log file, just review your error capturing options and know how to access log data.

i run a VPS and don't know about other hosted environments so bear with me.

whenever i make changes to php.ini, after reSEARCHing the various options (there is no more abundant information than that of computer related data on the internet), i then restart Apache. You may use another form of webserving software.

As you know, SMF is written in PHP (the Hypertext PreProcessor) so it is quite important to know how PHP is handling certain types of errors.

I don't want to get caught up in the fundamentals but understanding the role of PHP is paramount when dealing with such errors.

Good luck, persistence always pays off.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Illori


landyvlad

Illori  - I already have that installed.

aegersz - ta, sounds daunting but I'll have a look.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Illori

in the users profile under show posts -> attachments does it list an attachment for that topic?

Aleksi "Lex" Kilpinen

A HTTP 500 error should always leave an entry in the server error log, and you should have access to it through your hosting control panel. Can you check to see what the entry in there says exactly?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Kindred

usually it creates a fille called error.log errorlog. or some variation of that...


Don't worry about what aegersz said... he tends to getoverly complicated when things are actually pretty simple. :P
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

aegersz

wait, isnt this www.overly-compilcated-and-overly-longwinded-machines.org ?

whoops, i got it wrong.

POINT TAKEN ! sorry for any discouragement - i'm only trying to help ::)
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Aleksi "Lex" Kilpinen

Help is good. :) What I think was Kindred's point, was that it's often best to start out with the simple and obvious things. Like errorlogs. ;)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

landyvlad

Sorry been offline - will def have a look in next day or so, thanks.
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

aegersz

try to scan the server logs for the 'fatal' (case insensitive is best) keyword if you are in doubt about where it might be exactly.
The configuration of my Linux VPS (SMF 2.0 with 160+ mods & some assorted manual tweaks) can be found here and notes on my mods can be found here (warning: those links will take you to a drug related forum). My (House) music DJ dedication page is here

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

landyvlad

"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

Aleksi "Lex" Kilpinen

Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: