[swoosh] swoosh snapshot, error report

Gianluca Bosco g.bosco at bitache.net
Fri Apr 21 15:57:17 PDT 2006


>>>> sms2email HTTP
>>>>
>>>> sending sms produces this error, in my log:
>>>>
>>>> [error] [client x.x.x.x] PHP Notice:  Undefined index:  +393334300670
>>>> in /somepath/horde/lib/Net/SMS.php on line 210, referer:
>>>> https://mysite.net/horde/swoosh/send.php?to=%2B393334300670
>>>> [error] [client x.x.x.x] PHP Notice:  Undefined index:  +393334300670
>>>> in /somepath/horde/lib/Net/SMS.php on line 217, referer:
>>>> https://mysite.net/horde/swoosh/send.php?to=%2B393334300670
>>>
>>> $response in these lines probably doesn't have the expected value.
>>> Which does it have?
>>
>> I have put a var_dump($response); in the preceding lines, but nothing
>> appears in my logs
>
> It shouldn't appear in your logs, but on the screen.

Uh, nothing comes up on the screen:

php.ini is configured to:

display_errors = On

AND

[starting from LINE 208, horde/lib/Net/SMS.PHP):

  $response = $this->_send($message, $recipients);
                 foreach ($recipients as $recipient) {
                 var_dump($response);
                     if ($response[$recipient][0] == 1) {
                         var_dump($response);
                         /* Message was sent, store remote id. */
                         $remote_id = $response[$recipient][1];
                         $error = null;
                     } else {
                         /* Message failed, store error code. */
                         $remote_id = null;
                         var_dump($response);
                         $error = $response[$recipient][1];
                     }


[...]

what I'm doing wrong?


/Gianluca Bosco


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the swoosh mailing list