Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot display messages if senderNumber starts with plus sign #7

Closed
MarkoD opened this issue Jul 9, 2011 · 2 comments
Closed

Cannot display messages if senderNumber starts with plus sign #7

MarkoD opened this issue Jul 9, 2011 · 2 comments

Comments

@MarkoD
Copy link

MarkoD commented Jul 9, 2011

Hi,

I'm using Kalkun 0.3 running on IIS 7 (Windows 2008 R2) with PHP 5.3.6, MySQL 5.514 and Gammu 1.29.93. When I receive an SMS sent from a number beginning with a plus sign (e.g. +420111111), it gets saved correctly to the database (into table 'inbox'), but when I try to view the conversation, Kalkun tries to open this URL:

http://server/kalkun/index.php/messages/conversation/folder/inbox/+420111111/

But instead of the conversation, I get a 404 Not Found error. When I manually remove the plus sign from the 'senderNumber' column in the 'Inbox' table, the following URL works without problems:

http://server/kalkun/index.php/messages/conversation/folder/inbox/+421111111/

This bug happens in all folders (sent messages, trash, etc.).

@back2arie
Copy link
Collaborator

When you manually remove the plus sign, and you access the URL, are you using or not using the plus sign? i think you don't.

Try to print url segment to make sure the plus sign is retrieved correctly.
On application/controllers/messages.php, function conversation:

echo $this->uri->uri_string();

Other issue maybe you have space between the phone number, please check.

And also, please try from the latest code on git, it might already solved there.

@MarkoD
Copy link
Author

MarkoD commented Jul 10, 2011

Figured it out - it was caused by IIS, not Kalkun: http://support.microsoft.com/kb/942076. Thanks for your assistance.

@MarkoD MarkoD closed this as completed Jul 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants