Announcement

Collapse
No announcement yet.

Error 500 Internal Server Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error 500 Internal Server Error

    Orders have been strangely quiet today on my main website, with no orders between 6.00 am and now 2.13 pm. By chance I placed a dummy order, but on clicking Checkout got the error message "Error 500 Internal Server Error". I hadn't changed anything in the settings, which have remained the same since 2004.

    I rang 1 and 1, the hosts of our websites, about 2 hours ago and they said that they would look into it. The time it is taking is making me very anxious, as you may understand. I did a Test of the settings in SD and got an error about not finding the cgi bin. I have been online and checked the files and directories - the cgi-bin is in the same usual place, nothing changed.

    I have re-upload the site numerous times, and it uploads OK.

    Any ideas as to the problem?

    Sarah

    #2
    In general, an Internet Server Error is often resolved by a refresh, the upload sets permissions for scripts and if it fails it can result in the error. Or you can manually log in to the FTP server and check permissions for the cgi-bin folder and files within it, permissions should be 755.
    Peblaco

    Comment


      #3
      Done that, Louise

      Thank you for replying, Louise. I have done Web: Refresh, and have checked that the permissions are 755. Looks like I'll just have to be patient and wait for 1and1 to sort it.

      Sarah

      Comment


        #4
        Now been almost 12 hours!

        I am getting incredibly stressed. One and one insist that they have prioritised my case.

        When I do Test in web settings I get error message about the directory specified as the path from the cgi-bin to the online store folder does not exist on the web server, but it does and is correct in the settings. It also comes up with a message, but not every time, that acatalog is locked or does not exist. It does and is not locked.

        Sarah

        Comment


          #5
          Hello Sarah,

          Can't really help I'm afraid, but this is what 1&1 say about 500 server error messages on their site - http://help.1and1.com/hosting-c37630...s-a595888.html
          Not sure if that helps at all

          Comment


            #6
            These are common 1&1 network settings:

            HTTPPROXYMODE 0
            HTTPPROXYADDRESS
            HTTPPROXYPORT 80
            HTTPPROXYUSER
            HTTPPROXYPASSWORD
            FTPPROXYMODE 0
            FTPPROXYADDRESS
            FTPPROXYPORT 21
            FTPPROXYUSER
            FTPPROXYPASSWORD
            SCRIPTID 3 (yours could be different)
            SCRIPTEXT .pl
            SMTPHOST mrvnet.kundenserver.de
            WEBSITEURL http://www.yourwebsite.co.uk/
            IGNOREPASSIVEERRORS false
            USERELATIVECGIURLS false
            PATHTOPERL /usr/bin/perl
            USEENHANCEFTP true
            FTPBUFFERSIZE 4
            FTPCLIENTTIMEOUT 15000
            FTPRETRYDELAY 3000
            FTPKEEPALIVEINTERVAL 30000
            FTPSILENT true
            FTPMAXRETRIES 3
            FTPCONNECTTIMEOUT 25000
            SMTPAUTHREQUIRED true
            SMTPUSERNAME yoursmtpusername
            SMTPPASSWORD yoursmtppassword
            COMPRESSIONPACKETSIZE 2048
            COMPRESSEDUPLOAD true
            SSLCATALOGURL https://www.yourwebsite.co.uk/acatalog/
            SSLCGIBINURL https://www.yourwebsite.co.uk/cgi-bin/
            SSLPATHFROMCGITOCATALOG ../acatalog/
            SSLFTPHOST
            SSLFTPUSERNAME yourftpusername
            SSLFTPPASSWORD yourftppassword
            SSLPATHTOCGIBIN /cgi-bin/
            SSLUSEPASSIVEFTP true
            CATALOGURL http://www.yourwebsite.co.uk/acatalog/
            ONLINESTOREFOLDERNAME acatalog
            CGIBINURL http://www.yourwebsite.co.uk/cgi-bin/
            PATHFROMCGITOCATALOG ../acatalog/
            FTPHOST snorestore.co.uk
            FTPUSERNAME yourftpusername
            FTPPASSWORD yourftppassword
            PATHTOCGIBIN /cgi-bin/
            USEPASSIVEFTP true
            FTPPATHFROMCGITOCATALOG /acatalog/
            Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

            Comment


              #7
              And here's a link to your error file.
              Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

              Comment


                #8
                You could also try:

                * incrementing the script ID by 1
                * doing a website purge and refresh
                Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

                Comment


                  #9
                  Thanks Jules

                  I had already deleted my .htaccess file, just in case, though it contained nothing dodgy and had been the same for several years. Your example settings look the same as mine. Mine are also the same as my other 6 SD websites that work fine.

                  I am currently trying incrementing the script ID by 1, and will then try purge and refresh, though customers who have been adding to their baskets all day will lose their contents.

                  Sarah

                  Comment


                    #10
                    Incrementing by 1 didn't work

                    Incrementing by 1 didn't work. Should I put 2 back to 1?

                    I am now doing purge and refresh, taking a while. If this doesn't work I am really stuck.

                    Sarha

                    Comment


                      #11
                      Completed Purge & Refresh, didn't delp

                      I thought that Purge and Refresh emptied people's baskets, but I had something in my basket and it was still there after P and R. Odd. Still cannot Checkout.

                      Stuck now.

                      Sarah

                      Comment


                        #12
                        Could you try switching off SSL?
                        Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

                        Comment


                          #13
                          Jules narrowly beat me to posting. It is the SSL. The checkout bounces to SSL / https when the script returns Internal Server Error. You can temporarily turn off SSL in the Settings menu. A third party payment page would be secured.
                          Peblaco

                          Comment


                            #14
                            Thanks Jules and Louise.

                            Switching off the ssl did the trick. Wish I had thought of that 14 hours ago! However, very odd. We have had ssl in the Checkout and Login for years with no problem. PayPalPro required it, even though we do not handle any payments on the website. The error messages made no reference to ssl.

                            Sarah

                            Comment


                              #15
                              It seems to be working, but clicking confirm order the "Saving your order" seems very slow.
                              Peblaco

                              Comment

                              Working...
                              X