• Resolved [email protected]

    (@annurigvedgmailcom)


    The website encountered an error while retrieving https://mandir.co/. It may be down for maintenance or configured incorrectly.

    Here are some suggestions:
    Reload this webpage later.

    HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

    this problem is coming in my website, and can’t figure out why ?
    Please help.
    Thank you

Viewing 10 replies - 1 through 10 (of 10 total)
  • xlancealotx

    (@xlancealotx)

    500 has a bunch of reasons, do you have access to the weblogs?

    If so, post the last few entries in the server’s/websites -error.log and that will be a huge help.

    Thread Starter [email protected]

    (@annurigvedgmailcom)

    My website is hosted on Amazon cloud service. Where can I find weblogs ?

    xlancealotx

    (@xlancealotx)

    in linux you can ssh into the server using any ssh client and the pem security file. From there, you can do the following;

    sudo su
    cd /var/log/apache2
    ls -l |grep error

    (that will show you all your error files). Not sure if there broken by host name, etc. Once you know what file you want, you can do;

    tail -n 20 filename and it will spit out a bunch of stuff.

    Now on Windows, simply RDP into the box, goto windows explorer, navigate to the IIS logs and take the latest one. Haven’t used windows in a while, but normally there under c:\inetpub\logs\logfiles. From there you may have a few folders based on how many vhosts you have, but look around in there, you will find them.

    That should be enough to get you started …

    Thread Starter [email protected]

    (@annurigvedgmailcom)

    Yeah I have SSH access. Let me try this out.

    Thread Starter [email protected]

    (@annurigvedgmailcom)

    Yeah, I got all the error log files on SSH client, now what should be my next step, Please ? Shall I remove these files or what ?

    xlancealotx

    (@xlancealotx)

    since you have access to the box, I would simply do this. Goto the apache2 log folder.

    Type tail -f *error*. That will show a few things, hit enter a few times to clear the screen a bit.

    Then in a browser, hit that URL. Something should be written to that error log immediately with your IP, the time and the error. You could also look at the other error logs you have there, but might as well start with the current one.

    Post back the error and we can probably get it fixed once we know what’s wrong.

    Thread Starter [email protected]

    (@annurigvedgmailcom)

    Yeah, I got the error. There was something “<” in my function.php file in line 236, it showed me this. let me fix this first.
    If it doesn’t work, will get back to you.

    Thank you so much buddy.. ??

    xlancealotx

    (@xlancealotx)

    Cool. .. Glad things worked out.

    Thread Starter [email protected]

    (@annurigvedgmailcom)

    It works..
    Thank you.. ??

    xlancealotx

    (@xlancealotx)

    Great … have a good one ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Server error’ is closed to new replies.