Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Only variables should be assigned by reference</em> in <em>/home/mwkoh/twit88.com/home/modules/links/links_related.module</em> on line <em>204</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Only variables should be assigned by reference</em> in <em>/home/mwkoh/twit88.com/home/modules/links/links_related.module</em> on line <em>426</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Only variables should be assigned by reference</em> in <em>/home/mwkoh/twit88.com/home/modules/links/links.inc</em> on line <em>1121</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Only variables should be assigned by reference</em> in <em>/home/mwkoh/twit88.com/home/modules/links/links.inc</em> on line <em>1121</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

Warning: Duplicate entry '0' for key 'PRIMARY' query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Function ereg() is deprecated</em> in <em>/home/mwkoh/twit88.com/home/includes/file.inc</em> on line <em>647</em>.', 2, '', 'https://twit88.com/home/node/8615', 'https://twit88.com/home/support/forum', '207.241.237.225', 1461296281) in /home/mwkoh/twit88.com/home/includes/database.mysql.inc on line 172

I can't Send SMS with Atsms

Someone can help me ?
i try to send sms and retrieve phone setting using atsms.
someone can give me some code ?
my mine doesn't work :

1. I connect with the phone


try
{
if (oPhone.IsConnected)
oPhone.Disconnect();
SetPhoneParameter();
oPhone.Connect();
}
catch (GeneralException ex)
{
oldStatus = string.Format("Erreur de connexion : {0}", ex.Message);
}

2. I send SMS

foreach(DestinataireInfo item in bsDestinataire)
{
try
{
oDestinataire = item;
FrmPrincipal.oPhone.SendSMS(item.Telephone, oMsg);
oStatus = string.Format("Message {0} envoyé avec succès vers {1}.", (++nbrMsgEnv).ToString(), item.Telephone);

}
catch (GeneralException ex)
{
oStatus = string.Format("Erreur d'envoi : {0}", ex.Message);
bgwSendMsg.ReportProgress(-1);
}
finally
{
bgwSendMsg.ReportProgress(nbrMsgEnv);
System.Threading.Thread.Sleep(100);
}
}