I just updated to the latest drupalchat beta (2.0-beta10) and by default it loads from the Yahoo CDN. I need to load from my server because I'm running over https. After enabling the local load I started getting a HTTP 500 until I disabled drupalchat. It appears that the drupalchat_library_path() is loading the wrong include:

function drupalchat_library_path($variable, $match, $filename) {
  module_load_include('inc', 'dxmpp', 'includes/dxmpp.admin');
  $path = _drupalchat_autodiscover_path($match, $filename);
  variable_set($variable, $path);
  return $path;
}

The call should be:

module_load_include('inc', 'drupalchat', 'drupalchat.admin');

After making this change it worked as expected. Am I missing something? Is dxmpp a requirement now?

Thanks!

Comments

darklrd’s picture

Thanks a lot for bringing to this notice. Yes, it should be exactly as you have mentioned. I will make the necessary changes and update the code. Apart from this, is DrupalChat working properly on https? Thanks.

mrhanlon’s picture

Yes, it's working great after I made this change and am loading from my local server.

Thanks!

darklrd’s picture

Thanks a lot for providing this information. I will update the code soon.