Login   Register  
PHP Classes
elePHPant
Icontem

ERRORS

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      SMPP Class  >  All threads  >  ERRORS  >  (Un) Subscribe thread alerts  
Subject:ERRORS
Summary:Errors in run!
Messages:2
Author:sici
Date:2011-07-13 22:28:52
Update:2011-08-06 06:23:47
 

  1. ERRORS   Reply  
Picture of sici
sici
2011-07-13 22:28:52
Hello, I implemented this class, but when you run it I get these errors

Bind Transmitter PDU: 109 111 109 97 114 101 115 0 109 111 109 97 114 101 115 54 55 56 56 0 51 51 49 56 56 55 54 0 51 0 0 0 Sending PDU, len == 48 Sending PDU, header-len == 16 Sending PDU, command_id == 2 Trying to read PDU. Reading PDU : 17 bytes. Stream len : 13 Command id : 2. Command status : 13. sequence_number : 1. Got CM_BIND_TRANSMITTER_RESP. system id : . Received PDU: €(0)(0)(2)(0)(0)(0)(13)(0)(0)(0)(1)(0) Error binding to SMPP server. Invalid credentials? Sending PDU, len == 16 Sending PDU, header-len == 16 Sending PDU, command_id == 21 Trying to read PDU. Connection lost. In split_message. One message: 24 PDU spec: a1cca6cca13ccca1a1ccccca24. Sending PDU, len == 74 Sending PDU, header-len == 16 Sending PDU, command_id == 4 Trying to read PDU. Socket was closed.!! Connection lost. Sending PDU, len == 16 Sending PDU, header-len == 16 Sending PDU, command_id == 6 Trying to read PDU. Socket was closed.!! Connection lost.


The parameters are ok, but they can be?


  2. Re: ERRORS   Reply  
Picture of jothirajan p
jothirajan p
2011-08-06 06:23:47 - In reply to message 1 from sici
Sir,
I am getting the following message while using smppclass and smppexample.
can you give me your suggestion

——————-
Bind Transmitter PDU: 83 90 66 73 76 76 84 82 0 115 122 98 105 108 108 116 114 0 83 90 66 73 76 76 84 82 0 51 0 0 0
PHP Notice: Use of undefined constant CM_BIND_TRANSMITTER – assumed ‘CM_BIND_TRANSMITTER’ in /root/Downloads/smppexample.php on line 431
Sending PDU, len == 47
Sending PDU, header-len == 16
Sending PDU, command_id == CM_BIND_TRANSMITTER
Trying to read PDU.
Reading PDU : 16 bytes.
Stream len : 12
Command id : 0.
Command status : 3.
sequence_number : 0.
PHP Notice: Use of undefined constant CM_BIND_TRANSMITTER – assumed ‘CM_BIND_TRANSMITTER’ in /root/Downloads/smppexample.php on line 364
Got CM_BIND_TRANSMITTER_RESP.
PHP Warning: unpack(): Type a: not enough input, need 1, have 0 in /root/Downloads/smppexample.php on line 620
system id : .

Received PDU: �(0)(0)(0)(0)(0)(0)(3)(0)(0)(0)(0)
Trying to read PDU.
Connection lost.
PHP Notice: Use of undefined constant CM_ENQUIRELINK – assumed ‘CM_ENQUIRELINK’ in /root/Downloads/smppexample.php on line 263
Sending PDU, len == 16
Sending PDU, header-len == 16
Sending PDU, command_id == CM_ENQUIRELINK
PHP Notice: fwrite(): send of 16 bytes failed with errno=32 Broken pipe in /root/Downloads/smppexample.php on line 411
Trying to read PDU.
Socket was closed.!!
Connection lost.
In split_message.
One message: 22
PDU spec: a4cca12cca10ccca1a1ccccca22.
PHP Notice: Use of undefined constant CM_SUBMIT_SM – assumed ‘CM_SUBMIT_SM’ in /root/Downloads/smppexample.php on line 478
Sending PDU, len == 78
Sending PDU, header-len == 16
Sending PDU, command_id == CM_SUBMIT_SM
PHP Notice: fwrite(): send of 78 bytes failed with errno=32 Broken pipe in /root/Downloads/smppexample.php on line 411
Trying to read PDU.
Socket was closed.!!
Connection lost.
PHP Fatal error: Call to undefined function mb_convert_encoding() in /root/Downloads/smppexample.php on line 204