Need Urgent Help With Internal Server Error

39 replies
None of my php files are running on any of my domains with this one hosting
company I am with, so obviously there is something wrong with a configuration
on their server someplace. I'm getting a 500 Internal Server Error.

Is this something I can fix from my end by resetting something or is this
something my host has to take care of?
#error #internal #server #urgent
  • Profile picture of the author Lloyd Lopes
    If you can get access to your apache error log - check that out. It will usually tell you the reason for the internal server error. In cpanel - there is a icon called "error log" which you can access.

    Usually , an internal 500 is caused by file permissions that conflict with a combination of the actions of a php file and your hosts set apache/php policies. In your case - since ALL the files have a problem , they may all be assigned the wrong permissions or the folder that carries them may be assigned the wrong permissions. Otherwise - if the problem isn't permissions - the error log will give you clues as to what it may be...
    {{ DiscussionBoard.errors[271204].message }}
    • Profile picture of the author Steven Wagenheim
      Originally Posted by Lloyd Lopes View Post

      If you can get access to your apache error log - check that out. It will usually tell you the reason for the internal server error. In cpanel - there is a icon called "error log" which you can access.

      Usually , an internal 500 is caused by file permissions that conflict with a combination of the actions of a php file and your hosts set apache/php policies. In your case - since ALL the files have a problem , they may all be assigned the wrong permissions or the folder that carries them may be assigned the wrong permissions. Otherwise - if the problem isn't permissions - the error log will give you clues as to what it may be...
      Thanks Lloyd. I checked the permissions and they should work. I haven't
      changed anything on any of the folders and suddenly I am having this
      problem, so there must be another explanation.
      {{ DiscussionBoard.errors[271245].message }}
  • Profile picture of the author GeorgR.
    check your .htaccess file on your server, PM to me or post. Did any recent changes on your site(s)?

    it might be something simple like commenting out one line in .htaccess...i see this all the time, depending on which server/host i am running with.

    Most likely it could be

    +Option Symlinks
    or something in the .htaccess file
    Signature
    *** Affiliate Site Quick --> The Fastest & Easiest Way to Make Affiliate Sites!<--
    -> VISIT www.1UP-SEO.com *** <- Internet Marketing, SEO Tips, Reviews & More!! ***
    *** HIGH QUALITY CONTENT CREATION +++ Manual Article Spinning (Thread Here) ***
    Content Creation, Blogging, Articles, Converting Sales Copy, Reviews, Ebooks, Rewrites
    {{ DiscussionBoard.errors[271222].message }}
  • Profile picture of the author TheRichJerksNet
    Steven,
    That is usually caused due to a permissions error .... Need to check permissions and ifyou have whm access you can run permissions fix..

    To answer your question, if you did not change anything then you host should fix it for you ..

    James
    {{ DiscussionBoard.errors[271233].message }}
  • Profile picture of the author charlesburke
    Steven,

    If your php scripts were working before, then they all stopped working, this is almost certainly because your hosting service upgraded something in their php installation. A quick call to your service rep or tech support guy will probably clear it up. The same thing happened to me recently, and DL Guard stopped working. The tech guy inserted something basic (that they had overlooked) into my root directory, and it was all suddenly working again.

    Try that first - it's cheapest and easiest.

    Cheers from warm and smiling Thailand,
    Charles
    Signature
    MisterEbook.com
    Special offer for all Warrior authors... MisterEbook.com/warriorsonly.html
    {{ DiscussionBoard.errors[271243].message }}
  • Profile picture of the author Tim Dixon
    As this is with all your PHP scripts across different domains on the same host, I would think it's something the hosting company has done.

    Were they working before, or is this a new upload to a new host?

    Tim
    {{ DiscussionBoard.errors[271246].message }}
    • Profile picture of the author tiger325
      Steven I would check with your host since you havent made a change
      {{ DiscussionBoard.errors[271251].message }}
  • Profile picture of the author getsmartt
    depending on your hosting company they may have SuPHP turned on, if so most actions in an .htaccess file will cause 500 errors, try removing the .htaccess file and see if the errors go away. If so you will have to move some of the .htaccess directives to a php.ini file, your host should be able to assist you with this.
    Signature

    Was mich nicht umbringt, macht mich stärker

    {{ DiscussionBoard.errors[271260].message }}
  • Profile picture of the author TheRichJerksNet
    You host may also finally upgraded and restarted apache compiled with SuExec installed.. Which is a great deal more security for your scripts as permission 777 is not required with Php SuExec..

    Conatct your host Steven

    James
    {{ DiscussionBoard.errors[271271].message }}
    • Profile picture of the author pjs
      Originally Posted by TheRichJerksNet View Post

      You host may also finally upgraded and restarted apache compiled with SuExec installed.. Which is a great deal more security for your scripts as permission 777 is not required with Php SuExec..

      Conatct your host Steven

      James
      Permissions 777 (world read/write/exec) should *never* be used on a script, SuExec or not. I've never seen the setup that required that to run a PHP script.

      In any case, obviously Steve your host changed something you borked something in your .htaccess. File permissions generally don't cause 500 errors (unless your script is trying to write to a file with bad permissions). You just get a Forbidden error, not a 500.

      It's been said before, but contact your host. Probably gonna be something on their end anyways it sounds like. Good luck buddy!

      Peter
      Signature
      Mom and Pop Money WSO *** - How ONE Lead Capture Page Made $9K in 2 Weeks in the "Offline" niche!

      PeterSanchez.com >>> FollowPeter.com (Twitter)
      {{ DiscussionBoard.errors[271282].message }}
      • Profile picture of the author TheRichJerksNet
        Originally Posted by pjs View Post

        Permissions 777 (world read/write/exec) should *never* be used on a script, SuExec or not. I've never seen the setup that required that to run a PHP script.

        In any case, obviously Steve your host changed something you borked something in your .htaccess. File permissions generally don't cause 500 errors (unless your script is trying to write to a file with bad permissions). You just get a Forbidden error, not a 500.

        It's been said before, but contact your host. Probably gonna be something on their end anyways it sounds like. Good luck buddy!

        Peter
        Peter,
        Your right.. that was my point..

        But hmm.. 90% of the cheap scripts built a few years ago required 777 in order to function... Especially when it came to uploads and etc.

        James
        {{ DiscussionBoard.errors[271290].message }}
        • Profile picture of the author pjs
          Originally Posted by TheRichJerksNet View Post

          Peter,
          Your right.. that was my point..

          But hmm.. 90% of the cheap scripts built a few years ago required 777 in order to function... Especially when it came to uploads and etc.

          James
          Hey James..

          We're sort of hi-jacking the thread but for file uploads, the destination directory (where the upload will be stored) will need to allow the web server (apache, IIS, etc.) to write to it. Normally this means 777. That's on the *directory* though, not the script.

          The script should generally just use 644 (user read/write, world read) and be fine, since PHP is read by the web server and interpreted there and not executed in the userland level (ie, from a shell)

          You're right though. It is "normal" for people to set permissions to 777. That isn't required (normally) but most people don't understand the unix level permission scheme, so it isn't surprising.

          OK, enough nerd speak from the two of us
          Signature
          Mom and Pop Money WSO *** - How ONE Lead Capture Page Made $9K in 2 Weeks in the "Offline" niche!

          PeterSanchez.com >>> FollowPeter.com (Twitter)
          {{ DiscussionBoard.errors[271305].message }}
          • Profile picture of the author Steven Wagenheim
            Originally Posted by pjs View Post

            Hey James..

            We're sort of hi-jacking the thread but for file uploads, the destination directory (where the upload will be stored) will need to allow the web server (apache, IIS, etc.) to write to it. Normally this means 777. That's on the *directory* though, not the script.

            The script should generally just use 644 (user read/write, world read) and be fine, since PHP is read by the web server and interpreted there and not executed in the userland level (ie, from a shell)

            You're right though. It is "normal" for people to set permissions to 777. That isn't required (normally) but most people don't understand the unix level permission scheme, so it isn't surprising.

            OK, enough nerd speak from the two of us

            One thing I noticed that my www folder permissions were set to 750, I
            could have sworn this should have been 755. I set it to 755 but still
            had the problem.

            Should the www folder be 750 or 755 or doesn't it matter?
            {{ DiscussionBoard.errors[271309].message }}
            • Profile picture of the author Eric Lorence
              Contact your host and have them handle it, that's is part of what your paying them for.

              Have them run a scan as well to be sure you haven't been hacked.

              Good luck
              {{ DiscussionBoard.errors[271328].message }}
            • Profile picture of the author pjs
              Originally Posted by Steven Wagenheim View Post

              One thing I noticed that my www folder permissions were set to 750, I
              could have sworn this should have been 755. I set it to 755 but still
              had the problem.

              Should the www folder be 750 or 755 or doesn't it matter?
              Hi Steve, it probably DOES matter. Of course, I am only speaking from the "general" practice standpoint and your hosting company may do things differently.

              You should set the permissions to 755. Also make sure the permissions on your home directory (/home/steve or whatever) are 755 as well.
              Signature
              Mom and Pop Money WSO *** - How ONE Lead Capture Page Made $9K in 2 Weeks in the "Offline" niche!

              PeterSanchez.com >>> FollowPeter.com (Twitter)
              {{ DiscussionBoard.errors[271337].message }}
            • Profile picture of the author TheRichJerksNet
              Originally Posted by Steven Wagenheim View Post

              One thing I noticed that my www folder permissions were set to 750, I
              could have sworn this should have been 755. I set it to 755 but still
              had the problem.

              Should the www folder be 750 or 755 or doesn't it matter?
              Speaking Standard Here (because some script may require specific permissions)

              All Folders should be 755
              All php Files should be 644

              James
              {{ DiscussionBoard.errors[271358].message }}
              • Profile picture of the author Steven Wagenheim
                Here is what I just found out from my hosting guy.

                He says I have 30 processes running at once and he wasn't expecting that
                many to run and he has to reconfigure some files.

                Questions.

                1. What would cause so many processes to run?

                2. What is a standard configuration for processes?

                You can speak tech speak to me on this one because I did take networking
                in school so I'll understand what you're talking about.
                {{ DiscussionBoard.errors[271493].message }}
                • Profile picture of the author Eric Lorence
                  Every time a php or other website script executes, that is one process.

                  Most only last a second or two.

                  How many active sites and scripts do you have installed on that account?
                  {{ DiscussionBoard.errors[271500].message }}
                  • Profile picture of the author Steven Wagenheim
                    Originally Posted by Eric Lorence View Post

                    Every time a php or other website script executes, that is one process.

                    Most only last a second or two.

                    How many active sites and scripts do you have installed on that account?
                    Honestly, I don't know. I have DLGuard, Wordpress and a few custom php
                    scripts that I made but they are nothing more than simple php redirects to
                    web pages.
                    {{ DiscussionBoard.errors[271530].message }}
                    • Profile picture of the author Eric Lorence
                      Originally Posted by Steven Wagenheim View Post

                      Honestly, I don't know. I have DLGuard, Wordpress and a few custom php
                      scripts that I made but they are nothing more than simple php redirects to
                      web pages.
                      You may just be outgrowing your hosting, and it may just be a matter of 20 or more people logged in to download your products thru DL Guard.

                      Together with WP visitors and any active plugins, that could be putting you over the top.

                      Maybe time to consider a bigger package like a managed dedicated server.
                      {{ DiscussionBoard.errors[271535].message }}
                      • Profile picture of the author Steven Wagenheim
                        Originally Posted by Eric Lorence View Post

                        You may just be outgrowing your hosting, and it may just be a matter of 20 or more people logged in to download your products thru DL Guard.

                        Together with WP visitors and any active plugins, that could be putting you over the top.

                        Maybe time to consider a bigger package like a managed dedicated server.
                        Here is what my host is telling me:

                        Some of your scripts continue to process after they. Should be
                        complete...trying to figure out which ones

                        What would cause this?
                        {{ DiscussionBoard.errors[271547].message }}
                        • Profile picture of the author Eric Lorence
                          Originally Posted by Steven Wagenheim View Post

                          Here is what my host is telling me:

                          Some of your scripts continue to process after they. Should be
                          complete...trying to figure out which ones

                          What would cause this?
                          Many poorly written WP plugin's are notorious for this, try deactivating any sitemap generators or other unneeded plugins.

                          See if that helps.

                          Also make sure you haven't been hacked or exploited, have your host support check on this.
                          {{ DiscussionBoard.errors[271564].message }}
                          • Profile picture of the author Steven Wagenheim
                            Originally Posted by Eric Lorence View Post

                            Many poorly written WP plugin's are notorious for this, try deactivating any sitemap generators or other unneeded plugins.

                            See if that helps.

                            Also make sure you haven't been hacked or exploited, have your host support check on this.
                            The only plugin I have for Wordpress is my Adsense one, and it's one of
                            the most popular ones, so I doubt that's it.

                            My host found the php file that won't stop processing and it's the
                            download.php of DLGuard.

                            This does not give me a warm and fuzzy feeling inside.
                            {{ DiscussionBoard.errors[271583].message }}
                            • Profile picture of the author Kurt
                              Originally Posted by Steven Wagenheim View Post

                              The only plugin I have for Wordpress is my Adsense one, and it's one of
                              the most popular ones, so I doubt that's it.

                              My host found the php file that won't stop processing and it's the
                              download.php of DLGuard.

                              This does not give me a warm and fuzzy feeling inside.
                              Make sure your site hasn't been hacked. download.php is a popular file name and it's possible this file has been changed or even replaced by a hacker.
                              Signature
                              Discover the fastest and easiest ways to create your own valuable products.
                              Tons of FREE Public Domain content you can use to make your own content, PLR, digital and POD products.
                              {{ DiscussionBoard.errors[271586].message }}
                              • Profile picture of the author Steven Wagenheim
                                Originally Posted by Kurt View Post

                                Make sure your site hasn't been hacked. download.php is a popular file name and it's possible this file has been changed or even replaced by a hacker.
                                Thanks Kurt

                                Here is what I found in my DLGuard customer lookup

                                - Hot Trends WSO: 2
                                - Hot Trends - Video 1: 171
                                - Hot Trends - Video 2: 192
                                - Hot Trends - Video 3: 173
                                - Hot Trends - Video 4: 201
                                - Hot Trends - Video 5: 168
                                - Hot Trends - Video 6: 4
                                - Hot Trends - Video 7: 170
                                - Hot Trends - Video 8: 177
                                - Hot Trends - Video 9: 195
                                - Hot Trends - Video 10: 4

                                Somebody has been trying to download this stuff that many times.

                                Now I don't know whether this has been done intentionally to cause
                                problems or whether the script just hiccuped and went into a loop.

                                This is some scary stuff.
                                {{ DiscussionBoard.errors[271593].message }}
                                • Profile picture of the author Eric Lorence
                                  While I'm not familiar with the DL Guard script, it sounds like an exploit attempt to me as well.
                                  {{ DiscussionBoard.errors[271600].message }}
    • Profile picture of the author Steven Wagenheim
      Here are the only 2 lines in my .htaccess file.


      # BEGIN WordPress

      # END WordPress

      Are they important? If I delete this file will that screw up my Wordpress?
      {{ DiscussionBoard.errors[271283].message }}
      • Profile picture of the author pjs
        Originally Posted by Steven Wagenheim View Post

        Here are the only 2 lines in my .htaccess file.


        # BEGIN WordPress

        # END WordPress

        Are they important? If I delete this file will that screw up my Wordpress?
        No, those are comments and not processed by apache. If that's all that is really in your .htaccess file, you're fine. Just curious, but make sure the .htaccess permissions are readable by apache (usually means world readable).

        It was suggested that you remove (or rename) your .htaccess. Try that, I don't think it will solve the problem, but it's worth a shot.

        You need to hop on the phone with your host and have them figure this out for you, as it's probably something on their end and they are probably aware of the issue.
        Signature
        Mom and Pop Money WSO *** - How ONE Lead Capture Page Made $9K in 2 Weeks in the "Offline" niche!

        PeterSanchez.com >>> FollowPeter.com (Twitter)
        {{ DiscussionBoard.errors[271288].message }}
        • Profile picture of the author Steven Wagenheim
          I just got a return email from my host. He's a great guy and a member of
          this forum. I was just trying to see if it was something I could fix without
          bugging him because I really don't like to. I have a great deal of respect
          for people's time...which is why most of you hardly ever hear from me with
          personal emails with requests and stuff. I know what it's like.

          Anyway, thanks for the suggestions. I'll find out what it is from him and
          report back. Maybe it's something that can help somebody else.
          {{ DiscussionBoard.errors[271295].message }}
  • Profile picture of the author GeorgR.
    did you check your error log in Cpanel? This is a STANDARD WP install??? Then this should not happen, really...

    so....htaccess we can check off...now i am lost...maybe some entry in php.ini? When does this error appear, exactly?
    Signature
    *** Affiliate Site Quick --> The Fastest & Easiest Way to Make Affiliate Sites!<--
    -> VISIT www.1UP-SEO.com *** <- Internet Marketing, SEO Tips, Reviews & More!! ***
    *** HIGH QUALITY CONTENT CREATION +++ Manual Article Spinning (Thread Here) ***
    Content Creation, Blogging, Articles, Converting Sales Copy, Reviews, Ebooks, Rewrites
    {{ DiscussionBoard.errors[271511].message }}
  • {{ DiscussionBoard.errors[271566].message }}
    • Profile picture of the author Steven Wagenheim
      Originally Posted by ecoverartist View Post

      It may be somebody trying to game DLGuard and score free products.

      Okay, here is what my host found.

      He says that it's my DLGuard download.php file. After it processes it should
      stop, but it's not.

      What would cause this because this is serious if it's a problem with DLGuard.
      {{ DiscussionBoard.errors[271581].message }}
  • Profile picture of the author Jared Alberghini
    Welcome to the Internet... yes it's scary stuff... a land where your entire business can be shut down at any point in time... by merely one person exploiting a single flaw in any script...

    In all seriousness tho, you have found the problem, it's obviously got something to do with your download.php file... the next steps are to figure out the solution, the quick way is do rename your download.php file, as to stop any more dl attempts, then contact the creators of the download app you are using. I'm sure they have other customers that are or have experienced this, and they may have a patch for their software.

    - Jared
    Signature

    P.S.

    Join The Future: Telekinetic Marketing

    {{ DiscussionBoard.errors[271594].message }}
    • Profile picture of the author Steven Wagenheim
      Originally Posted by webdesignhq View Post

      Welcome to the Internet... yes it's scary stuff... a land where your entire business can be shut down at any point in time...

      In all seriousness tho, you have found the problem, it's obviously got something to do with your download.php file... the next steps are to figure out the solution, the quick way is do rename your download file, as to stop any more dl attempts, then contact the creators of the download app you are using. I'm sure they have other customers that are or have experienced this, and they could have a patch for their software.

      - Jared
      Jared, you're talking about DLGuard. I'm sure Sam must have run into
      this before and has taken every step to make sure this doesn't happen.

      I mean, with the whole DLGuard system revolving around that file, how
      can you just change a file name? I know enough about programming that
      the call to that file could be in many places.

      This may not be a simple fix.
      {{ DiscussionBoard.errors[271601].message }}
      • Profile picture of the author Steven Wagenheim
        Here is what I think happened. I am using deductive reasoning on this
        based on certain factors of the sale that I'd prefer not to reveal.

        The person bought the product and then passed the URL around to it.

        I'll leave it at that.
        {{ DiscussionBoard.errors[271604].message }}
        • Profile picture of the author Eric Lorence
          Originally Posted by Steven Wagenheim View Post

          Here is what I think happened. I am using deductive reasoning on this
          based on certain factors of the sale that I'd prefer not to reveal.

          The person bought the product and then passed the URL around to it.

          I'll leave it at that.
          Ouch! Good luck with that scammer!
          {{ DiscussionBoard.errors[271606].message }}
  • Profile picture of the author Jared Alberghini
    I have to admit I have no experience using DLGuard, but if people are sharing your download link, and the download.php file is giving you troubles, well, I would definately think that DLGuard is your problem and they have most likely run into this issue before...

    - Jared
    Signature

    P.S.

    Join The Future: Telekinetic Marketing

    {{ DiscussionBoard.errors[271619].message }}
    • Profile picture of the author Steven Wagenheim
      Originally Posted by webdesignhq View Post

      I have to admit I have no experience using DLGuard, but if people are sharing your download link, and the download.php file is giving you troubles, well, I would definately think that DLGuard is your problem and they have most likely run into this issue before...

      - Jared
      I hope so. I've posted a thread at the DLGuard forum now that I know
      what the problem is.
      {{ DiscussionBoard.errors[271632].message }}
      • Profile picture of the author Jeffery
        Originally Posted by Steven Wagenheim View Post

        I hope so. I've posted a thread at the DLGuard forum now that I know
        what the problem is.
        Hi Steve,

        Why not setup dlguard to allow X downloads from the same I.P. within X hours. You could do that yourself while waiting for an answer from Sam and probably stop the cycle.

        Jeffery 100% :-)
        Signature
        In the minute it took me to write this post.. someone died of Covid 19. RIP.
        {{ DiscussionBoard.errors[271638].message }}
        • Profile picture of the author Steven Wagenheim
          Originally Posted by Jeffery View Post

          Hi Steve,

          Why not setup dlguard to allow X downloads from the same I.P. within X hours. You could do that yourself while waiting for an answer from Sam and probably stop the cycle.

          Jeffery 100% :-)
          Thanks but I have no idea how to do that.
          {{ DiscussionBoard.errors[271640].message }}
  • Profile picture of the author UncleHQ
    Hi Steven,

    Another thing to consider is to always keep your scripts (DLGuard included) up to date with the latest production versions (not Beta).

    As time passes - most good hosting services will upgrade their servers to a more secure environment and not necessarily tell you about it.

    This is a constant process and is one of many possible reasons for things to stop working.

    Some golden rules.

    * Monitor your websites using something like watchman pro (PM me for a free copy).

    * Keep all your scripts up to date (especially the ones that run your business).

    * Keep a log of anything you have changed or installed - 99% of problems are due to the last action you, your webhost or outsourced help have done.

    * Always make sure backups are done prior to adding or upgrading.

    Brian
    Signature

    Free WP Plugins Get Free Articles Delivered Directly To Your Blog...
    Warriors For Hire Professional Webmasters For Hire - Get Your Own Highly Skilled Technical Team On Demand! - From $10

    ContePass, JVManager, Fantasos and Delavo are trademarks of The Internet Company LLC. All rights reserved.

    {{ DiscussionBoard.errors[271664].message }}
  • Profile picture of the author TheRichJerksNet
    Php Scripts Processes and Monitoring Your Website

    Php scripts run dynamic websites such as the very forum you are on. Every time a certain function is done to execute a file a process is sent to the MySQL database. The execution can be:

    * Registration
    * Submitting a form
    * purchasing a product
    * along with many other things

    These processes last anywhere from 2 seconds to several minutes depending upon what is being done. They are queries to the database and most servers by default are set to time-out after 30 minutes so it does not overload the server.

    It is very normal for any website running a script that uses a database to have 20 or 30 processes running at one time. Some host limit the amount of connections, most by default are normally 30 connections at one time.

    It should be apart of your business to monitor your stats on your website. A great way to do this is by using AWSTATS which comes by default with cpanel. This is the best stats system ever produced in my opinion. You have full details of everything that goes on.

    You should monitor these stats just by making a simple reload of the page several times during the day. Open your stats in another tab and leave it open, there is a link that says "update now" at the top of these stats. Click on this link several times during the day and pay close attention to things such as zip files. If you know you only made 2 sales and you see 20 zip files loaded then you know to further investigate why.

    Keeping an eye on these stats will help improve your business a great deal. Many thing it is a waste of time but it only takes 5 seconds to load a stats page. I personally monitor mine every single day on each of my servers and websites.

    If you do not have a dedicated server and you are non-techie and you do notice some strange stats then your first concern should be to contact your host and ask them to help you figure out why. Once you know what the issue is then take the steps needed to correct the problems.

    Now I am no Steven or Allen (they are article marketing gods) but this is a short article non the less to hopefully help out someone. Since I am no writer please forgive any spelling or grammar mistakes you may find ...

    I will consider this my 1,000th post of help and giving back to the community even if it helps just one person...

    James
    {{ DiscussionBoard.errors[271698].message }}
    • Profile picture of the author Steven Wagenheim
      Originally Posted by TheRichJerksNet View Post

      Php Scripts Processes and Monitoring Your Website

      Php scripts run dynamic websites such as the very forum you are on. Every time a certain function is done to execute a file a process is sent to the MySQL database. The execution can be:

      * Registration
      * Submitting a form
      * purchasing a product
      * along with many other things

      These processes last anywhere from 2 seconds to several minutes depending upon what is being done. They are queries to the database and most servers by default are set to time-out after 30 minutes so it does not overload the server.

      It is very normal for any website running a script that uses a database to have 20 or 30 processes running at one time. Some host limit the amount of connections, most by default are normally 30 connections at one time.

      It should be apart of your business to monitor your stats on your website. A great way to do this is by using AWSTATS which comes by default with cpanel. This is the best stats system ever produced in my opinion. You have full details of everything that goes on.

      You should monitor these stats just by making a simple reload of the page several times during the day. Open your stats in another tab and leave it open, there is a link that says "update now" at the top of these stats. Click on this link several times during the day and pay close attention to things such as zip files. If you know you only made 2 sales and you see 20 zip files loaded then you know to further investigate why.

      Keeping an eye on these stats will help improve your business a great deal. Many thing it is a waste of time but it only takes 5 seconds to load a stats page. I personally monitor mine every single day on each of my servers and websites.

      If you do not have a dedicated server and you are non-techie and you do notice some strange stats then your first concern should be to contact your host and ask them to help you figure out why. Once you know what the issue is then take the steps needed to correct the problems.

      Now I am no Steven or Allen (they are article marketing gods) but this is a short article non the less to hopefully help out someone. Since I am no writer please forgive any spelling or grammar mistakes you may find ...

      I will consider this my 1,000th post of help and giving back to the community even if it helps just one person...

      James

      James, thanks for the advice. I'll add this to my daily routine.
      {{ DiscussionBoard.errors[272299].message }}
      • Profile picture of the author TheRichJerksNet
        Originally Posted by Steven Wagenheim View Post

        James, thanks for the advice. I'll add this to my daily routine.
        Your welcome Steven, glad to be of some help...

        James
        {{ DiscussionBoard.errors[272599].message }}
  • Profile picture of the author gareth
    I'm having a similar 500 error with my wordpress - fiddled around a bit and now just the blog "next page" link isnt working.
    Signature

    Gareth M Thomas
    Serial Entrepreneur
    Auckland, New Zealand

    {{ DiscussionBoard.errors[271749].message }}
  • Profile picture of the author Gail Sober
    Check your referrers log, you should be able to see where the traffic is coming from block the referrer site with htaccess.

    Unless they're sharing by mailing but more than likely is some sharing site somewhere.
    {{ DiscussionBoard.errors[271800].message }}
  • Profile picture of the author hughbanks
    Hi Steve,

    Are you still recieving Internal Error Messages when viewing your php sites?

    Since you are Reflecting on DLGuard (a php script) I have to assume the host fixes the issue but it reverts back to the Error do to what is occuring while a script is processed. Externally any php script would simply no longer function if your server has processed an Error Message.

    Have you ran the phpinfo file yet to see what it says about this issue.

    Bruce Hughbanks
    Signature
    TEAGINC.COM Serving Independent Business Representatives World Wide
    {{ DiscussionBoard.errors[271818].message }}
  • Profile picture of the author jitendraag
    Did you try a 'simple' hello world program. Is it running? if not you have a problem with your hosting.

    I have seen such errors on godaddy when my .htaccess had errors.
    {{ DiscussionBoard.errors[272608].message }}
    • Profile picture of the author Floyd Fisher
      If it's DL Guard, get ahold of Sam asap.

      He'll know what to do.
      {{ DiscussionBoard.errors[274176].message }}
  • Profile picture of the author samstephens
    Hi all,

    To set people's minds at ease, this is what is probably happening:

    Someone is using a download manager/accellerator to download their files.

    These work by making multiple connections to the file on your website.

    I've specifically allowed this in DLGuard, because a LOT of people use download managers/accellerators, and stopping them would cause the seller a tonne of headaches.

    This is common. I've seen download counts go VERY high, simply because someone has cranked their download accellerator software up as far as it'll go.

    Just a quick note to download manager/accellerator users - more connections doesn't nessessarily mean faster downloads, and sometimes it can actually slow it down.

    Try setting it to a maximum of three connections at once.



    Now, processes and DLGuard:

    When someone downloads your file, DLGuard protects the file's real location basically by "picking it up" from the real location on your server, and then sending it to your customer via their browser.

    This basically initiates a download.

    Since DLGuard is picking the file up and passing it on, this creates a PHP process on your server (ie. DLGuard is running).

    These processes will continue until your customer finished downloading the file.

    If you force the process to stop before the download is finished, it'll break the connection for your customer.



    What Steven is seeing is normal, everday operations behind the scenes of download security.

    If you have a really high sales volume, or your files are very large (and so download take longer, and therefore processes stay alive longer), and your hosting provider is limiting the number of processes you can run, then you may have outgrown your server.

    I hope this helps put everyone's mind at ease!

    cheers
    Sam
    Signature
    DLGuard v5 - The Warrior Edition
    Full integration with JVZoo, DigiResults, and WSO Pro for secure WSO's and WSO memberships.

    www.dlguard.com
    Serving the Warrior Forum since 2004
    {{ DiscussionBoard.errors[273734].message }}
    • Profile picture of the author Steven Wagenheim
      Originally Posted by samstephens View Post

      Hi all,

      To set people's minds at ease, this is what is probably happening:

      Someone is using a download manager/accellerator to download their files.

      These work by making multiple connections to the file on your website.

      I've specifically allowed this in DLGuard, because a LOT of people use download managers/accellerators, and stopping them would cause the seller a tonne of headaches.

      This is common. I've seen download counts go VERY high, simply because someone has cranked their download accellerator software up as far as it'll go.

      Just a quick note to download manager/accellerator users - more connections doesn't nessessarily mean faster downloads, and sometimes it can actually slow it down.

      Try setting it to a maximum of three connections at once.



      Now, processes and DLGuard:

      When someone downloads your file, DLGuard protects the file's real location basically by "picking it up" from the real location on your server, and then sending it to your customer via their browser.

      This basically initiates a download.

      Since DLGuard is picking the file up and passing it on, this creates a PHP process on your server (ie. DLGuard is running).

      These processes will continue until your customer finished downloading the file.

      If you force the process to stop before the download is finished, it'll break the connection for your customer.



      What Steven is seeing is normal, everday operations behind the scenes of download security.

      If you have a really high sales volume, or your files are very large (and so download take longer, and therefore processes stay alive longer), and your hosting provider is limiting the number of processes you can run, then you may have outgrown your server.

      I hope this helps put everyone's mind at ease!

      cheers
      Sam

      Thanks Sam, that's exactly what it was. If I can just get warned of
      this, I'd cut off the connections, if there is indeed a way to do that.

      If I limit the number of downloads (instead of putting 0 for that field)
      will that solve the problem?
      {{ DiscussionBoard.errors[273868].message }}
  • Profile picture of the author samstephens
    Hi Steven,

    No worries - that'll help, limiting download attempts, but this won't stop the multiple connections from download accellerators.

    I'll research this a little more for you and see if there's a way we can keep download accellerator software support, but throttle it's use.

    cheers
    Sam
    Signature
    DLGuard v5 - The Warrior Edition
    Full integration with JVZoo, DigiResults, and WSO Pro for secure WSO's and WSO memberships.

    www.dlguard.com
    Serving the Warrior Forum since 2004
    {{ DiscussionBoard.errors[274060].message }}
  • Profile picture of the author Gail Sober
    See if your host will support Apache module mod_limitipconn

    Connections can be limited in the httpd.conf file
    {{ DiscussionBoard.errors[274194].message }}
    • Profile picture of the author samstephens
      Originally Posted by Gail Sober View Post

      See if your host will support Apache module mod_limitipconn

      Connections can be limited in the httpd.conf file
      That's a brilliant idea, Gail!

      That'll certainly solve the issue.

      cheers
      Sam
      Signature
      DLGuard v5 - The Warrior Edition
      Full integration with JVZoo, DigiResults, and WSO Pro for secure WSO's and WSO memberships.

      www.dlguard.com
      Serving the Warrior Forum since 2004
      {{ DiscussionBoard.errors[275805].message }}
  • Profile picture of the author ecoverartist
    This will be a very helpful addition to the new release of DLG! Thanks for uncovering it Steven and thanks Sam for jumping on the ball to get it "fixed"!
    {{ DiscussionBoard.errors[276011].message }}

Trending Topics