I had to changed this line:

define('XMPPFRAMEWORK_API', variable_get('xmppframework_api', ''));

to

define('XMPPFRAMEWORK_API', variable_get('xmppframework_api', 'xmpp_api'));

in xmppframework.module

I don't know why it didn't save the value when I used the admin pages.

Comments

fizk’s picture

fizk’s picture

Component: Code » XMPP-Framework
darren.ferguson’s picture

If you had to change that line it means that in the settings page nothing was saved for the api. Did you go to the admin / xmppframework / settings page since this is where you will set the relevant api that the module will utilize.

fizk’s picture

Yes, I went to admin / xmppframework / settings page.