Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Okay this is wut i did... i instlaled the "im"to my server then Changed the rename.htss or wutever to login.php i get the login AIM user n pass but after tat i get an error... i'm not good at sql or php... but yea.. hope that kinda helps... for the Beejive.. i ain't paying a CENT for a chat client for the iPhone no way... 20 buxx? it's for blackberry i dono how they gonna do it for iPhone but i ain't payin anythin .... alright paid 650 not a cent MORE!!!
 
has anyone actually got this working on their own server? I got it all uploaded all right, but having a bit of a time figuring out what i need in my mysql database as far as fields and such go... anyone out there get it yet?

as for the install to the server, you just need to upload the "im" folder... thats where the app is.

let's get this figured out so we can have +10 minute sessions...

thanks in advance.
 
has anyone actually got this working on their own server?

I have tried many, many times to get this working. I've tried on two different webhosts, as well as my MacBook. I created the database and gave it the proper privileges, I put the .htaccess file in the proper place and edited the config file as best as I could, but I just can't get it to run for the life of me.

I'll give it another shot this evening.

-Finrock
 
I have tried many, many times to get this working. I've tried on two different webhosts, as well as my MacBook. I created the database and gave it the proper privileges, I put the .htaccess file in the proper place and edited the config file as best as I could, but I just can't get it to run for the life of me.

I'll give it another shot this evening.

-Finrock

Same here. And I really would like to get this working so that it can either be improved or so that I can use it without a 10 min limit. Didn't someone try emailing the author?
 
Didn't someone try emailing the author?

I tried e-mailing the author, multiple times. No responses.

BTW, changing the 10 minute time limit was easy, that is just a variable in one of the scripts. Now, if there was only a way to get it to work!

-Finrock
 
I got it working. Make sure you have the mysql server set up correctly and you changed the correct settings in config.php i believe. Ill have to check again later when im on my computer (typing this on my iphone!)
 
Cheesy,
Can you please post how you got it working or send a pm? I have configured a database and user with all permissions and set that in the config.php but I still can't get it working and I never see any tables created in the DB. Are there other settings you tweaked? Did you have to manually create tables in the DB?

I consistently get one of two messages:

1)
* Connection error: Invalid FLAP SIGNON response from the server (202) * Connection error: Data not received from server after FLAPON packet (201)
Warning: Cannot modify header information - headers already sent by (output started at /home/myaccount/public_html/im/app/interfaces/chat/login.php:13) in /home/myaccount/public_html/im/app/interfaces/chat/login.php on line 17

or

2)
Fatal error: Cannot instantiate non-existent class: search in /home/myaccount/public_html/im/app/interfaces/chat/index.php on line 9

Also when I view the login.php on my iphone it's zoomed way out unlike the one David Cann is hosting. . .

Any direction would be most appreciated. .

Thanks!
Macbaj
 
I got it working. Make sure you have the mysql server set up correctly and you changed the correct settings in config.php i believe. Ill have to check again later when im on my computer (typing this on my iphone!)

Cheesy you can't tease us like that... can you give a breakdown on what was needed on the mysql side, and the php modifications. I think I got most the php tweaked correctly, but I know a lot of other people would be really gretful to have both.

Thanks in advance.
 
Cheesy you can't tease us like that... can you give a breakdown on what was needed on the mysql side, and the php modifications. I think I got most the php tweaked correctly, but I know a lot of other people would be really gretful to have both.

Thanks in advance.

I'm working on getting it running locally on my Mac, before it was running on my web host. It appears PHP5 is required. I'll let you know when I make more progress.
 
Wooo

Got it!

Here's what to do to get it running on a standard Mac OS X (Tiger) installation:

1) Install PHP5. I used this one. If you use another one you're on your own.
2) The above mentioned PHP5 installation has short tags ("<?" and "<?=") disabled by default. Edit "/usr/local/php5/lib/php.ini" to change "short_open_tag = Off" to "short_open_tag = On".
3) Restart apache ("sudo apachectl restart")
4) Unzip iPhoneChat.zip and put "im" and "iPhoneChat" in "/Library/WebServer/Documents/" (or possibly your user "Sites" directory, but I didn't try)
5) Rename "rename.htaccess" to ".htaccess" (I assume he did this because files beginning with "." are invisible in the Finder)
6) Start your MySQL server, add a database called "iPhoneChat" ("CREATE DATABASE iPhoneChat").
7) Edit config.php with your database username and password.

Done! Just go to http://localhost/iPhoneChat (for simulated iPhone) or http://localhost/im

On the iPhone, replace localhost with the appropriate IP address. If you're access it from the internet and your computer is behind a NAT router make sure you forward the correct ports, etc.
 
Meebo.com works on iPhone



Meebo.com is another popular Web IM client. While their site appears to work initially, iPhone users are stuck unable to actually send messages. There is no "submit" button for the IM text fields, and the iPhone won't generate one through the standard on screen keyboard.

My friend told me about meebo.com. I tried it on iPhone and it works. You don't need a submit button. Simply hit "Go" on the iPhone keyboard after typing your message. Color, emoticon and font menus appear but don't seem to work with the iPhone. You can however use bold, italic, underline and change the font size without a problem.

I couldn't create a new mebo account on the iPhone (but was able to login directly to aim from the meebo.com home page. To solve this, I created a mebo account on my computer and now am able to login from my iPhone directly into my meebo account.

You can have multiple chats open at once, but you cannot move the different windows around on the iPhone. (They open staggered by default).

Also, there is no time limit for sessions. All in all, works well. Maybe the guys at meebo can create an iPhone interface that would make it even more user friendly?
 
My friend told me about meebo.com. I tried it on iPhone and it works. You don't need a submit button. Simply hit "Go" on the iPhone keyboard after typing your message. Color, emoticon and font menus appear but don't seem to work with the iPhone. You can however use bold, italic, underline and change the font size without a problem.

I couldn't create a new mebo account on the iPhone (but was able to login directly to aim from the meebo.com home page. To solve this, I created a mebo account on my computer and now am able to login from my iPhone directly into my meebo account.

You can have multiple chats open at once, but you cannot move the different windows around on the iPhone. (They open staggered by default).

Also, there is no time limit for sessions. All in all, works well. Maybe the guys at meebo can create an iPhone interface that would make it even more user friendly?

Meebo seems to run realllly slowly on my iPhone, and i can't double click on buddies to start new conversations. I'm sure Meebo is working on this though, since they made a blog posting about it a few days ago.
 
Meebo seems to run realllly slowly on my iPhone, and i can't double click on buddies to start new conversations. I'm sure Meebo is working on this though, since they made a blog posting about it a few days ago.

Glad to hear they are working on it. Single clicking seems to start the conversation just fine for me. Speed has been hit and miss.
 
Some tips

Hey everybody.

I was digging through the code for the IM app and I think I know why there are some problems.

The app creates a table in the database you provided in the config. If you version of MySQL isn't high enough this create method will fail, which means you can't log in.

Also, and this is really the most important thing, if you are running this on a server that is accessible from the internet remove the "documentation" directory. That directory is world accessible and contains a file that will show the world the contents of your config.php file... DB username/password and all.

Hope this helps some people.

Chris
 
Hey everybody.

I was digging through the code for the IM app and I think I know why there are some problems.

The app creates a table in the database you provided in the config. If you version of MySQL isn't high enough this create method will fail, which means you can't log in.

Also, and this is really the most important thing, if you are running this on a server that is accessible from the internet remove the "documentation" directory. That directory is world accessible and contains a file that will show the world the contents of your config.php file... DB username/password and all.

Hope this helps some people.

Chris

I think this may be the issue I am having, I am on MySQL 4.1.2. Is there any way to insert these tables by hand with the appropriate fields and what not. I know php, but am not crazy with it.

The error I get when I try to login is...
* Connection error: Invalid FLAP SIGNON response from the server (202) * Connection error: Data not received from server after FLAPON packet (201)
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/(mydomain)/httpdocs/im/app/interfaces/chat/login.php:13) in /var/www/vhosts/(mydomain)/httpdocs/im/app/interfaces/chat/login.php on line 17

...anyone care to help? Email me if you need more info, I will try to repay the debt anyway I can.
 
I think this may be the issue I am having, I am on MySQL 4.1.2. Is there any way to insert these tables by hand with the appropriate fields and what not. I know php, but am not crazy with it.

The error I get when I try to login is...
* Connection error: Invalid FLAP SIGNON response from the server (202) * Connection error: Data not received from server after FLAPON packet (201)
Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/(mydomain)/httpdocs/im/app/interfaces/chat/login.php:13) in /var/www/vhosts/(mydomain)/httpdocs/im/app/interfaces/chat/login.php on line 17

...anyone care to help? Email me if you need more info, I will try to repay the debt anyway I can.

Are you using PHP5? Did you follow the instructions I posted above?

Has anyone successfully installed this using the instructions above?
 
all of the iPhone apps out their right now that I have found only work for AIM, is anyone working on getting an app for MSN up, or is there one that I missed?
 
I got this to work using Cheesy's instructions above no problem using MySQL 5 and PHP5.

I think this app requires MySQL 5.x. I tried manually creating the tables that were created in my 5.0 instance in an 4.x instance and it still spewed the FLAPON errors.

So I think you have to have PHP5 and MySQL 5.

Only problems I had were that the MacOS X apache instance didn't follow the redirect in the .htaccess file properly. . . and for some reason it kept trying to redirect to mymachinename.local. I worked around this by doing a index.html redirect in the IM directory to the fully qualified path of the login.php file.

The second issue I had once it was working was that the screen was really small and I had to constantly zoom in and out. . .

I found out that David Cann inserted meta tags in the live site that aren't in the source code he released.

<meta name="viewport" content="width=320;initial-scale=1;user-scalable=false">

In his production code, these are inserted in the login.php, index.php, and logout.php for sure. Usually right before or after the <title></title> tags.

There are only two outstanding issues I see with this app atm. .

One is can't scroll your buddy list once it is larger than the page.
Two is that when in chat the keyboard popping up zooms in to the text box, but when you hit done it doesn't zoom back out resulting in having to manually zoom out again to read your conversation.
 
Are you using PHP5? Did you follow the instructions I posted above?

Has anyone successfully installed this using the instructions above?

It looks like Im stuck using PHP 4.3.9 and MySQL 4.1, I may try to upgrade these, but not sure if it's really worth it. Any PHP guru know a tweak to make this work for PHP and MySQL 4.xx's?

Thanks for all the input guys... keep any suggestions coming.
 
Theres no need to manually create the tables, it does that automatically.

it seemingly doesn't for anything under PHP 5 and MySQL 5. Any workaround ideas?

I believe the error on line 17 is having to do with those tables not existing... anyone think that makes sense?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.