Can you please provide an example of setting.php file to support this module? I am making some obvious mistake but can't define this properly. I keep getting following message

warning: array_keys() expects parameter 1 to be array, null given in .../modules/feeds_sql/plugins/FeedsSQLFetcher.inc on line 62.

Comments

alibama’s picture

here's what my settings.php has for the databases...

$databases = array (
'default' =>
array (
'default' =>
array (
'driver' => 'mysql',
'database' => 'main_db',
'username' => 'user',
'password' => 'password',
'host' => 'localhost',
'prefix' => '',
),
),
'second_database' =>
array(
'default'=>
array (
'driver'=>'mysql',
'database'=>'database',
'username'=>'user',
'password'=>'password',
'host'=>'some ip address here',
),
),
);

alibama’s picture

Status: Active » Closed (fixed)