Hi there,

I'm using the latest dev release and trying to send SMS's to international users. I'm not sure if this is a problem only with international numbers, but i don't think it is.

When i configure the gateways i get no errors. i've noticed that if i put in the wrong password i do get an error, so i'm assuimg that the module check the connection during configuration - and so the problem isn't there (since i'm not getting any errors...)

When i try to send messages, or confirm cell phone numbers through user pages, nothing happens.

I get no error in watchdog and nothing in the log on the clickatell website.

I tried the SMS Gateway module, and get the following error from it:

Test Message sent to 00972522......8 using single send.

Gateway Connection String was http://api.clickatell.com/http/auth?api_id=3......7&user=P....8&password...

Initial Balance was 0

Response from gateway was Failed: SMS Gateway returned error: Code: Failed: Unable to open remote connection. Check that PHP version greater than 4.3.0 and OpenSSL support installed.

Could this be related...?

Any thought of what more i can check...?

Comments

Will White’s picture

Due to the current lack of validation, it's very likely that you're simply entering the number incorrectly. As of now, you should not enter the country code into the phone number field. We're working on getting better validation that will avoid these issues.

If it still does not work after removing the country code look at the following:

What version of PHP are you using?
Do you have the "Use SSL Encyption" option enabled? Try disabling that.

Thanks for the report!

asak’s picture

Nothing is working. I tried using the log - but i get nothing in the watchdog.

I'm using:
MySQL database 4.1.22
PHP 5.2.6

This is very strange....

Will White’s picture

Hi asak,
Very strange indeed. Are you using the latest development build? Have you tried sending using the stable 5-1.0 build?

asak’s picture

I'm using the latest dev.

Now uninstalling and trying with the 1.0 release - but i remember problems with international numbers in it so i'm not sure this will help.

I'll Report back shortly :)

asak’s picture

Ok...

Using v1.0 i'm getting the following error in the watchdog:

Clickatell session ID refreshed: 11c...............406594a

Nothing on the clickatell website about this error - have any idea what this means?

When i try to use the user sms module to confirm my phone, i'm getting the following errors:


warning: Attempt to assign property of non-object in /home/.../modules/cck/content.module on line 306.
warning: array_shift() [function.array-shift]: The argument should be an array in /home/.../cck_taxonomy_ssu/cck_taxonomy_ssu.module on line 1156.

How the #$% did this get there?!

Will White’s picture

The first message is completely normal. It's actually a good thing. It is simply saying that it the SMS Framework was able to authenticate with Clickatell. Clickatell's Session IDs expire after 15 mins so the SMS Framework will automatically handle getting a new one.

The second message is known issue in version 1.0 that has been patched. It can safely be ignored.

Still no message I assume? This one is particularly illusive.

asak’s picture

Status: Active » Postponed

Nothing... so bizzare...

The most bizzare part is that nothing is getting to the watchdog log. i have a feeling that once i can get that to work i'll be able to solve this.

Closing this issue for now, and continuing here: http://drupal.org/node/319927

asak’s picture

Status: Postponed » Active

Changed my mind. not sure this is related.

Using the 1.0 release, i'm getting this error after submiting a phone for a confirmation code of an existing user (me...) :

Fatal error: Only variables can be passed by reference in /home/.../content_taxonomy/content_taxonomy.module on line 281

Related to the other errors i'm assuming - but does it provide any more info?

Will White’s picture

Status: Active » Closed (duplicate)

Seems like this is one issue: http://drupal.org/node/319927

Let's continue the thread over there. Thanks!