Expand my Community achievements bar.

Have ploblem with RTCHOOKS.php

Avatar

Level 1

Hi there, I've tried Moderated PHP chat sample from LCCS samples and I'm little bit confused cause It doesn't work for me (I know it is my bad but I need some help).

1. AMFPHP was installed for my server (I've checked it. It works fine)

2. These steps were completed too:

cp server/setupChatModerator.html to your php root directory (e.g. WebSite).

cp lccs.php from serverIntegrations/php to WebSite/flashservices directory

cp files under server/flashservices/services to WebSite/flashservices/services directory

used filter string php library downloaded from http://www.bitrepository.com/advanced-word-filter.html and name it Filter_String.php

3. ChatModerator was invoked with necessary params

4. Clients were modified for using my account settings

But when I ran sample I didn't saw any affect (also can't see log file that should be created during chat process. I mean myModeratedChat.log)

Should I register RTCHOOKS.php in client applications as RemoteObject (sample app doesn't use something similar)?

Or may be using Gateway.php it is not correct now?

8 Replies

Avatar

Employee

Is your server publicly accessible on the internet and did you "register" your service URL by calling AccountManager.registerHook ?

Or are you testing against the Local Messaging Server available as part of the LCCS SDK Navigator app ?

I would suggest you run your Flex application against the Local Messaging Server, and also register your PHP service against the local messaging server. That way you can be sure that the problem is not related to our servers being able to access your servers.

Avatar

Level 1

Can't login on my old account. Don't know why. Doesn't matter

Thank u for reply, I'll check my component with LMS.

Yes, I'm pretty sure I've register my hook as follows:

Also could u please explain how LCCS works with RTCHOOKS.php file? I refer to lccs.php file (for example it in my_site/flashservices directory), my_site/flashservices/service containt RTCHOOKS.php file. How lccs.php (or AMFPHP or LCCS server) can find this file? Because I don't have any link to this file in my client and server side...Sorry for silly question.

Avatar

Level 1

Hi. I've tested my application in my local machine. RTCHOOKS looks great! Thanks.

Do u know why I don't have any luck with my server?

(I've set 777 permissions to my server directory with lccs and RTCHOOKS).

Avatar

Employee

Are you sure your server is accessible from the internet ? No firewall rules that would block our posts ?

If you send me your account URL or the hook URL I can do a quick check (but you should be able to do the same from a machine outside your network).

Avatar

Level 1

Also (hope it will be helpful). "Return hook information" functionality works fine and returns correct URL.

Avatar

Level 1

Have a luck!

Just replaced https://collaboration.adobelivecycle.com to http://collaboration.adobelivecycle.com