[Vtigercrm-developers] SMSNotifier Bug(s)?

Alan Lord alanslists at gmail.com
Mon Jun 22 07:21:13 GMT 2015


On 22/06/15 07:15, Manu urs wrote:
>
> It depends on provider file implementation. Provider file is responsible
> for all error or success message. If provider file is not sending
> response properly that it will not be stored in database. All provider
> file need to send response in particular format.

We are testing using the standard Clickatel provider file.
>
>     Secondly, if I do get an error message back from the Provider I am
>     seeing the following error:
>
>         Fatal error: Class 'ISMSProvider' not found in
>         /var/www/livefit/modules/SMSNotifier/SMSNotifier.php on line 168
>
>
>     Which is in the lines:
>
>         if($response['error']) {
>              $responseStatus = ISMSProvider::MSG_STATUS_FAILED;
>

If I replace the constant ISMSProvider::MSG_STATUS_FAILED with the 
string 'Failed' - which is what it actually is, then the code works just 
fine.

Alan




More information about the vtigercrm-developers mailing list