URGENT!! 2-Way error

URGENT!! 2-Way error SearchSearch
Author Message
Jim Williams
Unregistered guest
Posted on Wednesday, May 12, 2004 - 11:34 am:   

Hi,

When I use the 2way.php script at:


http://support.nowsms.com/discus/messages/1/3991.html

I get the following error??

[SMS-IN]
ModemName=COM3:
Sender=+353863111135
Data=Command not completed. Request returned invalid content type: text/html
Binary=0

Any Idea on how to fix this?

I changed the smsgw file and put in the debug = yes and I got the following debug file:

text/plainDebug
Debug.txt (4.1 k)


Any Idea what I am doing wrong??

Thanks,
jim.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2577
Registered: 10-2002
Posted on Wednesday, May 12, 2004 - 07:54 pm:   

Hi Jim,

Apologies for the delay getting back to you.

It was a cut & paste error when I put those scripts into that message. I've updated the scripts at the original link.

Basically, the following line needed to be the first line of the script, and it was missing:

header ("Content-Type: text/plain");

You can see the change if you go back and revisit that link.

Sorry for the inconvenience.

-bn