Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Internal Server Error

H00jH00j
edited May 2012 in Vanilla 2.0 - 2.8

When i try edit a user from the dashboard.

This is the error log

[Tue May 08 13:41:25 2012] [error] [client ip] *** stack smashing detected ***: /usr/bin/php-cgi terminated, referer: http://mywebsite.org/index.php?p=%2Fuser%2Fbrowse&Form%2FKeywords=user&Form%2FGo=Go
[Tue May 08 13:41:25 2012] [error] [client ip] Premature end of script headers: index.php, referer: http://mysite.org/index.php?p=%2Fuser%2Fbrowse&Form%2FKeywords=user&Form%2FGo=Go
Tagged:

Best Answer

  • AoleeAolee Hobbyist & Coder ✭✭
    Answer ✓

    Are you on a VPS or shared hosting? had the same problem with my VPS before but after a few apache conf tweak it went away. honestly i dont know what i did to fix it. but I'm sure 95% its not related to vanilla script.



    Check out my other Plugins here

Answers

  • Oh boy... I've googled a bit and here is a piece of text I found:

    http://bytes.com/topic/c/answers/693972-stack-smashing-detected-how-identify-corresponding-line-code

    This sort of error is usually the result of writing to the location pointed to by an uninitialised pointer or writting off the end of an array (buffer overrun).

    It is also one of the hardest types of bug to find.

    I have the distinct feeling you either found a memory problem on the server (buffer overrun) or a php bug...

    Maybe Real C programmers can help you more with this.

    There was an error rendering this rich post.

  • hbfhbf wiki guy? MVP

    I cant provide any help here (not a real programmer)

    But i can suggest a couple things to aid in debugging...

    First what version of software are you running?
    Is this a clean vanilla install or have you installed anything on top? (Plugins, themes, Applications, etc.)
    was it working before?
    what is your server environment?

    Anything else you can think of thats pertinent?

  • Thanks for your help guys,
    I am running the default theme with css edits.

    Plugins

    • All viewed
    • Flagging
    • Quotes
    • Split / merge
    • Tagging
    • Vanilla Statistics
    • WYSIWYG

    The odd thing is that it only occurs on a few profiles. The rest i can view fine

  • hbfhbf wiki guy? MVP

    What version of vanilla?

    What steps do you follow to recreate the error?

    Was this a clean install or did you import data / users from another install / software...

  • AoleeAolee Hobbyist & Coder ✭✭
    Answer ✓

    Are you on a VPS or shared hosting? had the same problem with my VPS before but after a few apache conf tweak it went away. honestly i dont know what i did to fix it. but I'm sure 95% its not related to vanilla script.



    Check out my other Plugins here

Sign In or Register to comment.