Does anyone know why this cannot be accessed? I am sure that the portuguese.php is in that location...
this is the code:
function loadLanguage() {
global $config;
global $lang;
$debug = $config['debug'];
$langInclude = $config['installBase'] . $config['fileSeparator'] . 'libs' . $config['fileSeparator'] . 'language' . $config['fileSeparator']. $config['language'] . '.php';
if ($debug)
printf('->Debug: loadLanguage() - Checking language pack \'%s\' stored in \'%s\'. ', $config['language'], $langInclude);
/* Verify we can read the language pack. */
//$langInclude="language/portuguese.php";
if (is_readable($langInclude)) {
if ($debug)
printf(" <B>[Readable]</B><BR>\n");
include($langInclude);
} else {
if ($debug)
printf(" <B>[Not Readable]</B><BR>\n");
return array(sprintf("Unable to access language '%s' (%s).<BR>\n", $config['language'], $langInclude));
}
return false;
}
this is the error I get:
Error: Configuration error(s) in config.php. Details below:
Unable to access language 'portuguese' (/www/htdocs/pesquisa/libs/language/portuguese.php).
It works with Linux Apache but not with Windows IIS...