dsm needs to be changed to drupal_set_message in wordstream.admin.inc

CommentFileSizeAuthor
wordstream-dsm-fix.patch1011 bytesaidanlinz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aidanlinz’s picture

I ended up having to comment out that whole section because I don't know how to fix it,

/*drupal_set_message($ret);
  if(!$account) {
        // remove error message from wordstream_include_api_class()
        if($_SESSION['messages']['error']) {
                unset($_SESSION['messages']['error']);
        }
    drupal_set_messaget(('You are unable to log in to WordStream. Please enter a valid WordStream API username and passwor$
  }
*/

Then download the library (wordstream_api.php), which I only found by looking at the code, and placing it in sites/all/libraries/wordstream/ but renamed class.wordstream.inc (the code actually says put it in another subdirectory, class.wordstream.inc)

b-reid’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing this issue because the module is currently in the process of being deprecated, and is no longer actively maintained. WordStream also no longer offers free API keys.