PM-823 Error al momento de crear workspaces SOLVED
This commit is contained in:
@@ -697,8 +697,8 @@ class Installer
|
||||
}
|
||||
}
|
||||
$rt['ao']['ao_db_wf'] = $this->check_db($this->options['advanced']['ao_db_wf']);
|
||||
$rt['ao']['ao_db_rb'] = $this->check_db($this->options['advanced']['ao_db_rb']);
|
||||
$rt['ao']['ao_db_rp'] = $this->check_db($this->options['advanced']['ao_db_rp']);
|
||||
//$rt['ao']['ao_db_rb'] = $this->check_db($this->options['advanced']['ao_db_rb']);
|
||||
//$rt['ao']['ao_db_rp'] = $this->check_db($this->options['advanced']['ao_db_rp']);
|
||||
return $rt;
|
||||
}
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@ class newSiteProxy extends HttpProxyController
|
||||
//the site does not available
|
||||
$this->error = true;
|
||||
$this->message = $result['result']['database']['ao']['ao_db_wf']['message'];
|
||||
$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rb']['message'];
|
||||
$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rp']['message'];
|
||||
//$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rb']['message'];
|
||||
//$this->message .= ', ' . $result['result']['database']['ao']['ao_db_rp']['message'];
|
||||
}
|
||||
} else {
|
||||
$this->error = true;
|
||||
|
||||
@@ -172,7 +172,7 @@ Ext.onReady(function(){
|
||||
}
|
||||
if (a.failureType === Ext.form.Action.SERVER_INVALID){
|
||||
var text = JSON.parse(a.response.responseText);
|
||||
if (typeof text.message) {
|
||||
if (typeof(text.message) != 'undefined') {
|
||||
Ext.Msg.alert(_('ID_ERROR'), _('ID_MYSQL_ERROR', text.message));
|
||||
} else {
|
||||
Ext.Msg.alert(_('ID_WARNING'), _('NEW_SITE_NOT_AVAILABLE'));
|
||||
|
||||
Reference in New Issue
Block a user