Has something changed recently regarding the ocalized {siteUrl} setting? I'm setting up a new localized site on MAMP PRO and the old config code I used on several other projects is throwing an error "Array to string conversion".
This works fine:
return array(
'*' => array(
'omitScriptNameInUrls' => true,
),
'pazzo.dev' => array(
'devMode' => true,
'environmentVariables' => array(
'fileSystemPath' => '/Applications/MAMP/htdocs/pazzo/',
'siteUrl' => 'http://pazzo.dev:8888/'
)
),
'*.pazzo.be' => array(
'devMode' => false,
'cooldownDuration' => 0,
'environmentVariables' => array(
'fileSystemPath' => '/opt/www/pocopazzobvba/web/www.pazzo.be/',
'siteUrl' => 'http://www.pazzo.be/'
)
)
);
This (what I have used before) throws the error.
return array(
'*' => array(
'omitScriptNameInUrls' => true
),
'pazzo.dev:8888' => array(
'devMode' => true,
'environmentVariables' => array(
'siteUrl' => array(
'en' => 'http://pazzo.dev:8888/en/',
'fr' => 'http://pazzo.dev:8888/fr/',
'nl' => 'http://pazzo.dev:8888/'
),
'fileSystemPath' => '/Applications/MAMP/htdocs/pazzo/'
)
),
'www.pazzo.be' => array(
'cooldownDuration' => 0,
'devMode' => false,
'environmentVariables' => array(
'siteUrl' => array(
'en' => 'http://www.pazzo.be/en/',
'fr' => 'http://www.pazzo.be/fr/',
'nl' => 'http://www.pazzo.be/'
),
'fileSystemPath' => '/opt/www/pocopazzobvba/web/www.pazzo.be/'
)
)
);
Am I missing something obvious??