I just finished the install of Zabbix 1.8.12 on a CentOS 6.2 server. The problem is that I cannot properly see the web page for the front end. All I get when I go to http://localhost/zabbix is this:
array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, 'isset({enter})', S_LOGIN_NAME), 'password'=> array(T_ZBX_STR, O_OPT, NULL, NULL, 'isset({enter})'), 'sessionid'=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL), 'message'=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL), 'reconnect'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535),NULL), 'enter'=> array(T_ZBX_STR, O_OPT, P_SYS, NULL, NULL), 'form'=> array(T_ZBX_STR, O_OPT, P_SYS, NULL, NULL), 'form_refresh'=> array(T_ZBX_INT, O_OPT, NULL, NULL, NULL), 'request'=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL), ); check_fields($fields); ?> $name, 'password'=>$passwd, 'auth_type'=>$authentication_type)); if($login){ $url = is_null($request) ? $USER_DETAILS['url'] : $request; add_audit_ext(AUDIT_ACTION_LOGIN, AUDIT_RESOURCE_USER, $USER_DETAILS['userid'], '', null,null,null); redirect($url); exit(); } } include_once('include/page_header.php'); if(isset($_REQUEST['message'])) show_error_message($_REQUEST['message']); if(!isset($sessionid) || ($USER_DETAILS['alias'] == ZBX_GUEST_USER)){ switch($authentication_type){ case ZBX_AUTH_HTTP: break; case ZBX_AUTH_LDAP: case ZBX_AUTH_INTERNAL: default: // konqueror bug #138024; adding useless param(login=1) to the form's action path to avoid bug!! $frmLogin = new CFormTable(S_LOGIN,'index.php?login=1','post','mul tipart/form-data'); $frmLogin->setHelp('web.index.login'); $frmLogin->addVar('request', $request); $lt = new CTextBox('name'); $lt->addStyle('width: 150px'); $frmLogin->addRow(S_LOGIN_NAME, $lt); $pt = new CPassBox('password'); $pt->addStyle('width: 150px'); $frmLogin->addRow(S_PASSWORD, $pt); $frmLogin->addItemToBottomRow(new CButton('enter','Enter')); $frmLogin->show(false); setFocus($frmLogin->getName(),'name'); $frmLogin->destroy(); } } else{ echo '
'.S_WELCOME.' '.$USER_DETAILS['alias'].'.
'; } ?>
I have checked the installation manual and I do not see any missing components. Any idea what may be missing?
At first I installed from source but I decided to install from the EPEL rpm just in case I missed something important. I am having exactly the same problem after installing the rpm.
array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, 'isset({enter})', S_LOGIN_NAME), 'password'=> array(T_ZBX_STR, O_OPT, NULL, NULL, 'isset({enter})'), 'sessionid'=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL), 'message'=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL), 'reconnect'=> array(T_ZBX_INT, O_OPT, P_SYS, BETWEEN(0,65535),NULL), 'enter'=> array(T_ZBX_STR, O_OPT, P_SYS, NULL, NULL), 'form'=> array(T_ZBX_STR, O_OPT, P_SYS, NULL, NULL), 'form_refresh'=> array(T_ZBX_INT, O_OPT, NULL, NULL, NULL), 'request'=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL), ); check_fields($fields); ?> $name, 'password'=>$passwd, 'auth_type'=>$authentication_type)); if($login){ $url = is_null($request) ? $USER_DETAILS['url'] : $request; add_audit_ext(AUDIT_ACTION_LOGIN, AUDIT_RESOURCE_USER, $USER_DETAILS['userid'], '', null,null,null); redirect($url); exit(); } } include_once('include/page_header.php'); if(isset($_REQUEST['message'])) show_error_message($_REQUEST['message']); if(!isset($sessionid) || ($USER_DETAILS['alias'] == ZBX_GUEST_USER)){ switch($authentication_type){ case ZBX_AUTH_HTTP: break; case ZBX_AUTH_LDAP: case ZBX_AUTH_INTERNAL: default: // konqueror bug #138024; adding useless param(login=1) to the form's action path to avoid bug!! $frmLogin = new CFormTable(S_LOGIN,'index.php?login=1','post','mul tipart/form-data'); $frmLogin->setHelp('web.index.login'); $frmLogin->addVar('request', $request); $lt = new CTextBox('name'); $lt->addStyle('width: 150px'); $frmLogin->addRow(S_LOGIN_NAME, $lt); $pt = new CPassBox('password'); $pt->addStyle('width: 150px'); $frmLogin->addRow(S_PASSWORD, $pt); $frmLogin->addItemToBottomRow(new CButton('enter','Enter')); $frmLogin->show(false); setFocus($frmLogin->getName(),'name'); $frmLogin->destroy(); } } else{ echo '
'.S_WELCOME.' '.$USER_DETAILS['alias'].'.
'; } ?>
I have checked the installation manual and I do not see any missing components. Any idea what may be missing?
At first I installed from source but I decided to install from the EPEL rpm just in case I missed something important. I am having exactly the same problem after installing the rpm.
Comment