domain name search generating errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • timg
    Member
    • Feb 2005
    • 84

    #1

    domain name search generating errors

    I'm building up massive php error logs due to some sort of script problem. This morning is just deleted an 87 MB (yes, MB) error_log file. I wasn't about to open that. But now the new error log is on its way (still very small), and it turns out that the problem has to do with my domain search. I saved my error log as a txt file so that others can view it: http://www.pactumgroup.com/errors.txt

    If anyone has a bit of a clue about php, I'd appreciate thots on how to fix this.
    ~ Tim Gallant ~ http://www.pactumweb.com
  • timg
    Member
    • Feb 2005
    • 84

    #2
    oops...

    I guess it would help if I provided the page URL itself:



    Thx!
    ~ Tim Gallant ~ http://www.pactumweb.com

    Comment

    • Buddha
      Senior Member
      • Mar 2004
      • 825

      #3
      Looks like the script works ... so use an @ sign in front of the function you're having trouble: @fsockopen(), @fputs(), @feof() and @fgets(). The @ sign should surpress the warnings.
      "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

      Comment

      • timg
        Member
        • Feb 2005
        • 84

        #4
        I'll give it a go

        Thanks! As I said, I'm clueless with programming languages. But yes, the script definitely works.
        ~ Tim Gallant ~ http://www.pactumweb.com

        Comment

        • timg
          Member
          • Feb 2005
          • 84

          #5
          Yowsers!

          Wow, my error_log was already up to 240+ MB!

          I'll keep an eye on it and see what happens now. But at the moment, I don't see an error log showing up in my site folder.

          Thanks again for an easy fix!
          ~ Tim Gallant ~ http://www.pactumweb.com

          Comment

          • sdjl
            Senior Member
            • Mar 2004
            • 502

            #6
            Are you using custom error logging with PHP?
            If so, you may have it keeping a tab of the most basic errors such as variables not being defined and such.
            It's best to limit the error logging to the worst case scenarios instead of tracking every error.

            I can provide an example of how i track errors if that would help?

            David
            -----
            Do you fear the obsolescence of the metanarrative apparatus of legitimation?

            Comment

            Working...