Index: trunk/core/kernel/utility/unit_config_reader.php =================================================================== diff -u -N -r8002 -r8015 --- trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 8002) +++ trunk/core/kernel/utility/unit_config_reader.php (.../unit_config_reader.php) (revision 8015) @@ -385,7 +385,9 @@ 'type_missing' => 'Type definition for field %s missing in config', ); - $config_errors = Array (); + $config_errors = Array (); + $tablename = preg_replace('/^'.preg_quote(TABLE_PREFIX, '/').'(.*)/', '\\1', $tablename); // remove table prefix + foreach ($res as $field) { $f_name = $field['Field']; @@ -437,7 +439,7 @@ } if ($config_errors) { - $error_prefix = 'Config Error'.(count($config_errors) > 1 ? 's' : '').': for prefix '.$config_link.' in unit config:
'; + $error_prefix = 'Config Error'.(count($config_errors) > 1 ? 's' : '').': for prefix '.$config_link.' ('.$tablename.') in unit config:
'; $config_errors = $error_prefix.'   '.implode('
   ', $config_errors); $debugger->appendHTML($config_errors); @@ -447,7 +449,7 @@ function varDump($value) { - return var_export($value, true).' of '.gettype($value).''; + return ''.var_export($value, true).' of '.gettype($value); } function ProcessDependencies($prefix)