* warning: Invalid argument supplied for foreach() in /home/quadrupa/public_html/com/drupal/sites/all/modules/alchemy/modules/alchemy_contentanalysis/alchemy_contentanalysis.module on line 147.
* warning: Invalid argument supplied for foreach() in /home/quadrupa/public_html/com/drupal/sites/all/modules/alchemy/modules/alchemy_contentanalysis/alchemy_contentanalysis.module on line 174.
* warning: Invalid argument supplied for foreach() in /home/quadrupa/public_html/com/drupal/sites/all/modules/alchemy/modules/alchemy_contentanalysis/alchemy_contentanalysis.module on line 203.

Also it gives
* Error making API call.
* Error making API call.
* Error making API call.

Comments

ashiwebi’s picture

Subcribe

ashiwebi’s picture

I am able to resolve the issue by changing inside alchemy_include_alchemy_class()

$files[] = './' . drupal_get_path('module', 'alchemy') . '/AlchemyAPI/module/AlchemyAPI.php';
if (module_exists('libraries') && ($p = libraries_get_path('AlchemyAPI'))) {
$files[] = './' . $p . '/module/AlchemyAPI.php';
}

to

alchemy_include_alchemy_class

$files[] = './' . drupal_get_path('module', 'alchemy') . '/AlchemyAPI/module/AlchemyAPI_CURL.php';
if (module_exists('libraries') && ($p = libraries_get_path('AlchemyAPI'))) {
$files[] = './' . $p . '/module/AlchemyAPI_CURL.php';
}

Donot forget to call require_once("AlchemyAPIParams.php"); inside AlchemyAPI_CURL.php

TomDude48’s picture

Status: Active » Needs review

This is going to have something to do with the way your server is configured. I added a checkbox to switch to the CURL class on the admin config page for Alchemy.

Please, try that and verify it works for you.

technologywon’s picture

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

Drupal 6 is no longer supported