PROBLEM, no value for BASnumimgchars, maybe did not load config.php