|
|
@@ -129,15 +129,20 @@ $pageWizard = '
|
|
|
if(html.data == true){
|
|
|
location.reload();
|
|
|
}else if(html.data == \'token\'){
|
|
|
- location.reload();
|
|
|
+ message("",window.lang.translate(\'Could not create Token\'),"bottom-right","#FFF","error","3500");
|
|
|
+ console.error(\'Organizr Function: Could not create Token\');
|
|
|
}else if(html.data == \'db\'){
|
|
|
+ message("",window.lang.translate(\'Could not create DB - check permissions\'),"bottom-right","#FFF","error","3500");
|
|
|
console.error(\'Organizr Function: Could not create DB - check permissions\');
|
|
|
}else if(html.data == \'admin\'){
|
|
|
+ message("",window.lang.translate(\'Could not create admin acct\'),"bottom-right","#FFF","error","3500");
|
|
|
console.error(\'Organizr Function: Could not create admin acct\');
|
|
|
}else if(html.data == \'config\'){
|
|
|
+ message("",window.lang.translate(\'Could not create config files - check permissions\'),"bottom-right","#FFF","error","3500");
|
|
|
console.error(\'Organizr Function: Could not create config files - check permissions\');
|
|
|
}else{
|
|
|
- console.error(\'Organizr Function: Signup Error Occured\');
|
|
|
+ message("",window.lang.translate(\'Sign-up Error Occurred\'),"bottom-right","#FFF","error","3500");
|
|
|
+ console.error(\'Organizr Function: Sign-up Error Occurred\');
|
|
|
}
|
|
|
}).fail(function(xhr) {
|
|
|
console.error("Organizr Function: Connection Failed");
|