[ZBX-8388] Error in the update or creation hosts Created: 2014 Jun 25 Updated: 2017 May 30 Resolved: 2015 Sep 18 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 2.2.4 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Ana Elisa Ferreira Bertoldo | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Amazon Linux |
Attachments: |
![]() |
Description |
When I try to create a new host the following error occurs: And when I try to do update: No permissions to referred object or it does not exist! [hosts.php:482 ? CAPIObject->update() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CHost->update() ? CHost->checkInput() ? CZBXAPI::exception() in /usr/share/zabbix/api/classes/CHost.php:688] Changed from version 2.0.8 to 2.2.4 |
Comments |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Jun 25 ] |
I can't seem to reproduce this issue. Could you please provide a detailed step-by-step description of what you are doing? Which browser and database are you using? |
Comment by richlv [ 2014 Jun 25 ] |
has the frontend been modified in any way ? you specified the component "api" - how exactly are you trying to create the host ? |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Jun 27 ] |
Database postgresql, browser google chrome. |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Jun 27 ] |
Step by step: configuration -> hosts -> create host No modification in the frontend. |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Jun 27 ] |
Tried it on a postgres database, still works for me. Could you enable debug mode, try again and attach the log here. Feel free to remove any sensitive information it may contain. |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Jun 30 ] |
Enable debug mode where? Debug mode in Users is already enabled. |
Comment by richlv [ 2014 Jun 30 ] |
administration -> users, make sure your user has debug enabled. then get the error and click on "debug" in the upper right corner |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Jun 30 ] |
This was the message already sent. The error that was already sent to the debug mode enabled |
Comment by richlv [ 2014 Jun 30 ] |
did you click on that "debug" link ? |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Jun 30 ] |
Yes, as I said, had already enabled debug mode and when I click on the link debug, does not change the message. |
Comment by richlv [ 2014 Jun 30 ] |
any errors in the webserver logs ? |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Jun 30 ] |
The only error in /var/log/httpd/ssl_error_log is: [Mon Jun 30 15:40:24 2014] [error] [client x.x.x.x] PHP Fatal error: Cannot unset string offsets in /usr/share/zabbix/hosts.php on line 570, referer: https://y.y.y.y/zabbix/hosts.php |
Comment by richlv [ 2014 Jun 30 ] |
which php version is that ? |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Jun 30 ] |
PHP 5.3.28. |
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Aug 25 ] |
Any answer? |
Comment by Pavels Jelisejevs (Inactive) [ 2014 Aug 26 ] |
We're having some trouble figuring out, what can cause this issue. Could you please provide some more details:
|
Comment by Ana Elisa Ferreira Bertoldo [ 2014 Sep 29 ] |
Yes, other forms works well and I don´t reproduce this issue on other databases, I can´t this. |
Comment by Oleksii Zagorskyi [ 2015 Sep 18 ] |
Looks like this issue is not reproducible, so closing it. Feel free to reopen and describe if it's still possible on recent zabbix versions. |