Functions.php Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SloppyGoat
    Senior Member
    • Feb 2002
    • 674

    Functions.php Error

    I get occasional server errors when I'm sending mail.

    Warning: Server Error in X:\Forum\admin\functions.php on line 54

    This is line 54. Anyone see anything wrong with it?

    mail($toemail, $subject, $message, trim($headers));
    The Grey Area - Tweaking Obsession
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    This is a problem with the server. You'll need to view the server logs to know exactly what is going on.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • SloppyGoat
      Senior Member
      • Feb 2002
      • 674

      #3
      Which logs? I'll see what I can find.
      The Grey Area - Tweaking Obsession

      Comment

      • Steve Machol
        Former Customer Support Manager
        • Jul 2000
        • 154488

        #4
        The server's error log. I don't know what they are named on your server or their location.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        • SloppyGoat
          Senior Member
          • Feb 2002
          • 674

          #5
          I mean, what kind of error would I be looking for? Which log file depends on what I'm looking for. There are SMTP logs, W3SVC logs, DNS logs, etc. As far as I know, this is dealing only with PHP, which means there will be no logs created by my server, as far as I know. Looking through all the logs I've found, there's nothing pertaining to this error. Would there be a PHP error log somewhere? I don't guess I have PHP configured to log errors.
          Last edited by SloppyGoat; Wed 5 Jan '05, 10:15am.
          The Grey Area - Tweaking Obsession

          Comment

          • Steve Machol
            Former Customer Support Manager
            • Jul 2000
            • 154488

            #6
            Sorry, I don't know the specific error you should be looking ofr or where. All I know is thhat it's a server error, most likely related to emails:

            Warning: Server Error in X:\Forum\admin\functions.php on line 54
            Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
            Change CKEditor Colors to Match Style (for 4.1.4 and above)

            Steve Machol Photography


            Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


            Comment

            • SloppyGoat
              Senior Member
              • Feb 2002
              • 674

              #7
              Well, I enabled php logging. Hopefully that'll turn up something, next time it happens.
              The Grey Area - Tweaking Obsession

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...