added error handling if J configuration.php secret value is blank