|
I've got a script in PHP that's been running fine for months. It recently stopped working.
This script connects to gmail to send out an email to my customers.
Recently, I started getting this error when I run the script:
The SMTP connection failed to ...
Started by GeoffreyF67 on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
The fix is to try restarting....
PHP is having trouble accessing either /etc/hosts or /etc/resolv.conf: there's a long standing issue in PHP related to this specific error .
Add debugging code before that line to make sure that the script can resolve it correctly .
|
|
How to handle the Network failure error message,and how to simulate it?
Answer Snippets (Read the full thread at stackoverflow):
The way to simulate a network failure (or any sub-system failure) is to replace the real network ever you require for your testing purposes, be it a successful connection or a failure at any point.
|
|
Hi friends,
Is it possible to capture the failure mail. I have created a application for sending mail, i have a log file to store the sent mails. If the sent mail is failure, i just want to find out the failure mail and update the log file.
Is it possible...
Started by praveenjayapal on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The basic approach would.
If you mean by failure, a bounced email, you can add an email address to 'return-path' header, is it Postfix, sendmail, etc? And what do you mean by "failure".
|
Ask your Facebook Friends
|
That's what I am :'(:'(:'(
Can't seem to get back on 100% at all, I start off ok then evening come n I b y blow it big time!
It's 3rd weigh in Saturday and I know I have not lost any weight this week!!!
Why am I doing this to myself Why? Why? Why??
I ...
Started by v12345 on
, 8 posts
by 7 people.
Answer Snippets (Read the full thread at minimins):
It is very hard! I'm struggling to stay motivated since restarting after to be 100% and lose the weight quick but I feel such a huge failure
:'(:'(:'(:'(.
You are not a failure.
|
|
I'm using SQLite with PHP and I want to know if my query failed or not.
Does query return FALSE in a case of a failure?
Started by john terry on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
For queries that return rows, the result handle can then be used with functions a result handle or FALSE on failure....
If you expect the failure - returning null is what's on failure.
If it's a true failure - throw an exception.
|
|
An ActiveX Script in a DTS package can return DTSTaskExecResult_Success or DTSTaskExecResult_Failure. Is there a way to indicate that it is not a success without failing the entire package? We'd like it to keep going, but in a different direction. The...
Started by thursdaysgeek on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
As far as I know, when using the ActiveX DTS Component, your options are limited to Success/Failure.
|
|
I'm using fstream is there any way to get the failure message/ excpetion. for example if unable to open the file I want to get the reason for it.
Started by sofr on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Long answer: you can call ios::exceptions(ios_base::iostate....
Bad() , fail() ) after various doesn't necessarily set a failure bit until you try to read, write, or close it.
Even checking errno after you detect failure (using e.g.
Answer: no.
|
|
I'm currently returning 401 Unauthorized whenever I encounter a validation failure in my Django / Piston based REST API application. Having had a look at the HTTP Status Code Registry I'm not convinced that this is an appropriate code for a validation...
Started by michaeljoseph on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I would say technically it might not be an http failure, since failure (however even the spec....
401 is good too.
What exactly do you mean by "validation failure"? What are you that makes sense.
Opinion without any factual support.
|
|
I'm looking at implementing xenserver and would like to know how to get xenserver to gracefully shutdown all vms after a power failure.
Started by russellkt on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
Via their network management cards, and runs a script when power failure is imminent to put dom0.
|
|
I am upgrading an old compaq presario 2800 harddrive to a bigger one. When I phisically install the new drive and try to boot the following error appears:
1720 - SMART Hard Drive detects imminent failure. Your hard disk drive is detecting an imminent ...
Started by Igor Zelaya on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If it's a new drive then I'd say it's probably hardware failure and probably get it RMA'd
In many are followed by a drive failure (in my experience)..
|