Re: Error with default Language
Hello John,
From the look of it, the $module variable was empty. Usually it would be inserted as part of that path, i.e. ./modules/$MODULE/language/en_us.lang.php.
In order to diagnose where this is coming from, try inserting the following code into ./include/utils.php:
PHP Code:
if ($module == "") {
echo "<pre>"; print_r(debug_backtrace()); echo "</pre>";
}
require("modules/$module/language/$default_language.lang.php"); //line 694
This belongs directly above line 694.
Revisit the page which generates the error and you should see some debug output on the screen. If you can, copy/paste that debug output here.
Last edited by julian; 2006-05-31 at 05:22 PM.
Julian Ostrow
Systems and Applications Engineer
SugarCRM Inc.
Bookmarks