-
Incident report
-
Resolution: Fixed
-
Major
-
None
-
1.6
-
None
-
Ubuntu with zabbix 1.6 installed from http://oss.travelping.com/apt/dists/hardy/main/
When trying to import a xml file, the following error occur.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/share/zabbix/include/import.inc.php on line 85
This like looks like this:
$sql = 'SELECT hostid '.
' FROM hosts'.
' WHERE host='.zbx_dbstr($data['name']).
' AND status IN ('.HOST_STATUS_MONITORED.','.HOST_STATUS_NOT_MONITORED.','.HOST_STATUS_TEMPLATE.')'
' AND '.DBin_node('hostid',get_current_nodeid(false));
So, it seems like the secound last line is missing a . ind the end. It works after inserting this sign.
Ps. There are missing a Component here in JIRA saying webinterface?