Web2Messenger Forum
September 08, 2010, 09:10:36 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Site Home   Forum Home   Help Search Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: Back again?  (Read 17920 times)
0 Members and 1 Guest are viewing this topic.
theblasp
Administrator
******
Posts: 58


View Profile
« on: April 26, 2008, 08:03:01 AM »

We haven't really been working on Web2Messenger for quite a while now, but it's been silently running in the background doing what it's supposed to do. The only real problem was that changing your passport or signing up wouldn't work, as the add-user routine in the bots were broken.
Initially I've just wanted to keep Web2Messenger running as both Andrew and I find it quite useful, but as people kept on bugging me about the aforementioned bug, I took some time yesterday to try and fix it.
For now it seems fixed, and in case it fails again I've added some event logging that should alert me to the exact place it's failing so I can pinpoint the problem easily.

Now, we aren't opening up Web2Messenger to the grand public yet, but I did drop off a few invites to a forum and a news site to generate some new buzz around it. Reason being both that I'd like to see my bugfix tested, and that I'd like to get some feedback on things.
Web2Messenger in it's current form has no real future. We're currently running into our maximum capacity, but making no real profit. We would like to add an extra server (think roughly 200$ per month), but we're simply unable to afford it.
We're hoping someone might have a good idea or opportunity to get some proper advertising income so we could put some more time into W2M.
So, if you have any ideas about how to generate some income, or have an idea for a sponsoring deal or something, please do not hesitate to reply to this forum thread or use the contact form.

Thanks,
TB
Logged
Daniel15
Newbie
*
Gender: Male
Posts: 28


View Profile WWW
« Reply #1 on: April 26, 2008, 08:12:13 AM »

Nice work! Smiley
Any idea how long it'd take to fix the bots so they handle Unicode correctly? Or is this a major task that'd take a long time?

Quote
We would like to add an extra server (think roughly 200$ per month), but we're simply unable to afford it.
What about a relatively low-end server like an AMD Sempron 2400+ or something? I have one of them for hosting several sites as well as a few personal servers and pay US$50 per month for it Tongue
Logged

FireStorm
Full Member
***
Gender: Male
Posts: 220


View Profile
« Reply #2 on: April 26, 2008, 08:17:13 AM »

Glad you're still there Smiley
Nice work Wink
Logged

theblasp
Administrator
******
Posts: 58


View Profile
« Reply #3 on: April 26, 2008, 08:19:07 AM »

Nice work! Smiley
Any idea how long it'd take to fix the bots so they handle Unicode correctly? Or is this a major task that'd take a long time?
Actually, the bots should be able to handle unicode fine, they pass everything on as UTF-8. I believe the problem with Unicode is somewhere in the website. I'll see if I can look into it later Smiley
Quote
We would like to add an extra server (think roughly 200$ per month), but we're simply unable to afford it.
What about a relatively low-end server like an AMD Sempron 2400+ or something? I have one of them for hosting several sites as well as a few personal servers and pay US$50 per month for it Tongue
We're not making *any* profit at this moment, so we couldn't even spare 50$...
Logged
Daniel15
Newbie
*
Gender: Male
Posts: 28


View Profile WWW
« Reply #4 on: April 26, 2008, 08:22:31 AM »

Quote
We're not making *any* profit at this moment, so we couldn't even spare 50$...
Ahh, alright.


Quote
Actually, the bots should be able to handle unicode fine, they pass everything on as UTF-8. I believe the problem with Unicode is somewhere in the website. I'll see if I can look into it later
Aha, I see Smiley
I have no clue about character encoding, I really know nothing about it. I wrote a MSN bot in Pascal and all the display names displayed fine, they "just worked". I never actually thought about it, it's something I just use without thinking of why it works or what I'm actually doing. Tongue
Logged

Aziraphale
Administrator
******
Gender: Male
Posts: 1,551


View Profile WWW
« Reply #5 on: April 26, 2008, 08:37:36 AM »

I have no clue about character encoding, I really know nothing about it. I wrote a MSN bot in Pascal and all the display names displayed fine, they "just worked".
Unfortunately PHP is a bitch with Unicode.  It just assumes that every string you give it is encoded in ISO-8859-1, and that each byte corresponds with a single character and vice versa.  PHP 6 will be fixing that and properly handling Unicode, but PHP 5 requires trickery.

Our main problem, I believe, is the database, which, despite being set to use UTF-8 in all the tables, still expects clients to be talking to it in ISO-8859-1 unless told otherwise.  The bots don't tell it otherwise, so it gets given UTF-8-encoded data by the bots, but because it believes it to be ISO-8859-1 data that it wants to store in a UTF-8 database table it duly re-encodes it unnecessarily.  The result is that anything except basic ASCII (which gives you A-Z, a-z, 0-9 and some various punctuation, and that's about it - see here for an image showing the full extent of the ASCII character set) is corrupted horribly.  It would probably be possible to fix that in PHP, but it would be slow as hell, require a lot of effort on our part and altogether the "wrong way" to fix the problem.
Logged

Please do not PM me for help/support - that is why we have the Support and Bug Reports boards. Also do not ask me for invites. I may well ignore such PMs. Thanks.
Aziraphale
Administrator
******
Gender: Male
Posts: 1,551


View Profile WWW
« Reply #6 on: April 26, 2008, 10:22:51 AM »

Right, Unicode seems to be finally fixed!  I put some random Japanese kanji in my PSM (yay charmap) and my status .txt file displayed it quite happily.  The Facebook app seems to have broken now, though, so I'll get to work fixing that...
Logged

Please do not PM me for help/support - that is why we have the Support and Bug Reports boards. Also do not ask me for invites. I may well ignore such PMs. Thanks.
B4tm4n
Newbie
*
Posts: 8


To the Batmobile.


View Profile
« Reply #7 on: April 26, 2008, 11:08:23 AM »

Great job on trying to get this back going! Since you mentioned about Facebook I'm having a problem with it. My name on MSN is a blank space. However on the Facebook app it shows a weird letter "A", but only when I'm online. When I'm offline it shows nothing which is correct. Another thing I notice is when I'm online it shows the weird letter "A", but it doesn't say what my status is on MSN. (Online, Busy, Away, etc. etc.). I know because I'm using a "blank space" might create more problems/work for you to do. If it isn't a quick fix forget about it Grin
Logged
Aziraphale
Administrator
******
Gender: Male
Posts: 1,551


View Profile WWW
« Reply #8 on: April 26, 2008, 11:34:27 AM »

The MsgPlus formatting code in the Facebook app is very broken currently.  I'm trying to fix it, but it's not easy all the time PHP doesn't natively support UTF-8.

When I've finished fixing this issue I'll check out what's broken with your profile.

Note that you will have to change your status/PSM/name before the Facebook app will update your profile, so make sure you change something before you expect the Unicode issues to go away Smiley
Logged

Please do not PM me for help/support - that is why we have the Support and Bug Reports boards. Also do not ask me for invites. I may well ignore such PMs. Thanks.
Aziraphale
Administrator
******
Gender: Male
Posts: 1,551


View Profile WWW
« Reply #9 on: April 26, 2008, 11:54:50 AM »

Fixed the Facebook app now.  Does your name still not display correctly, B4tm4n?  It appears to be a non-breaking space, which should display correctly - it does from phpMyAdmin, at least.  Let me know if it's still broken and I'll take a look at it.
Logged

Please do not PM me for help/support - that is why we have the Support and Bug Reports boards. Also do not ask me for invites. I may well ignore such PMs. Thanks.
elopez93
Newbie
*
Posts: 12


View Profile
« Reply #10 on: April 26, 2008, 11:55:56 AM »

Woops  Shocked The XML is broken...

http://www.web2messenger.com/status/elopez93.xml

PHP Errors inside? Hope it's an easy fix Wink

Thanks for all!
Logged
Aziraphale
Administrator
******
Gender: Male
Posts: 1,551


View Profile WWW
« Reply #11 on: April 26, 2008, 12:10:56 PM »

Fixed Smiley

Any other errors anyone's spotted?
Logged

Please do not PM me for help/support - that is why we have the Support and Bug Reports boards. Also do not ask me for invites. I may well ignore such PMs. Thanks.
B4tm4n
Newbie
*
Posts: 8


To the Batmobile.


View Profile
« Reply #12 on: April 26, 2008, 12:48:17 PM »

Fixed the Facebook app now.  Does your name still not display correctly, B4tm4n?  It appears to be a non-breaking space, which should display correctly - it does from phpMyAdmin, at least.  Let me know if it's still broken and I'll take a look at it.

Works great Aziraphale! Thanks.
Logged
elopez93
Newbie
*
Posts: 12


View Profile
« Reply #13 on: April 26, 2008, 03:45:02 PM »

TXT format is also broken Tongue It may need the same fix as in XML.

See here for example: http://www.web2messenger.com/status/turl.txt

Other than that, working great Grin I could change my passport address finally Wink
Logged
Aziraphale
Administrator
******
Gender: Male
Posts: 1,551


View Profile WWW
« Reply #14 on: April 26, 2008, 03:47:25 PM »

TXT format is also broken Tongue It may need the same fix as in XML.
Fixed Tongue Thanks Smiley
Logged

Please do not PM me for help/support - that is why we have the Support and Bug Reports boards. Also do not ask me for invites. I may well ignore such PMs. Thanks.
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.122 seconds with 20 queries.