Advertisement:

Author Topic: http500 error but only in a single post? Got me confused...  (Read 994 times)

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
http500 error but only in a single post? Got me confused...
« on: January 30, 2018, 12:39:01 AM »
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?
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.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,859
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: http500 error but only in a single post? Got me confused...
« Reply #1 on: January 30, 2018, 12:41:46 AM »
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

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,543
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk
Re: http500 error but only in a single post? Got me confused...
« Reply #2 on: January 30, 2018, 01:15:27 AM »
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 145 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

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: http500 error but only in a single post? Got me confused...
« Reply #3 on: January 30, 2018, 01:38:51 AM »
Quote
these 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)
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.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,543
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk
Re: http500 error but only in a single post? Got me confused...
« Reply #4 on: January 30, 2018, 04:47:22 AM »
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 145 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

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,967
Re: http500 error but only in a single post? Got me confused...
« Reply #5 on: January 30, 2018, 05:14:19 AM »
install https://custom.simplemachines.org/mods/index.php?mod=4111 and you should be able to view that topic/post again.

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: http500 error but only in a single post? Got me confused...
« Reply #6 on: January 30, 2018, 07:07:51 AM »
Illori  - I already have that installed.

aegersz - ta, sounds daunting but I'll have a look.
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.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,967
Re: http500 error but only in a single post? Got me confused...
« Reply #7 on: January 30, 2018, 07:19:21 AM »
in the users profile under show posts -> attachments does it list an attachment for that topic?

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,758
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: http500 error but only in a single post? Got me confused...
« Reply #8 on: January 30, 2018, 09:40:18 AM »
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?
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"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

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,752
  • Gender: Male
    • Kindred-999 on GitHub
Re: http500 error but only in a single post? Got me confused...
« Reply #9 on: January 30, 2018, 12:02:11 PM »
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
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,543
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk
Re: http500 error but only in a single post? Got me confused...
« Reply #10 on: February 01, 2018, 03:26:32 AM »
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 145 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

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,758
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: http500 error but only in a single post? Got me confused...
« Reply #11 on: February 01, 2018, 05:15:11 AM »
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. ;)
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"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

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: http500 error but only in a single post? Got me confused...
« Reply #12 on: February 05, 2018, 08:11:51 PM »
Sorry been offline - will def have a look in next day or so, thanks.
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.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline aegersz

  • SMF Hero
  • ******
  • Posts: 1,543
  • Gender: Male
  • the "mods and tweaks" junkie
    • dopetalk
Re: http500 error but only in a single post? Got me confused...
« Reply #13 on: February 05, 2018, 11:18:07 PM »
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 145 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

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,758
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: http500 error but only in a single post? Got me confused...
« Reply #14 on: February 10, 2018, 09:06:02 AM »
Did you find the logs? :)
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"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

Offline landyvlad

  • Sr. Member
  • ****
  • Posts: 881
  • Gender: Male
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: http500 error but only in a single post? Got me confused...
« Reply #15 on: February 12, 2018, 08:30:28 AM »
not yet...
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.

To paraphrase Kindred: "There are no technical solutions to social problems."

No hack nor blackhats, just persistent asshats.

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,758
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: http500 error but only in a single post? Got me confused...
« Reply #16 on: February 14, 2018, 06:04:59 AM »
Well, when you do - Let us know :) We'll be waiting.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"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