Ad Widget

Collapse

'failed' popup on map editing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vandalzzz
    Junior Member
    • Apr 2012
    • 1

    #1

    'failed' popup on map editing

    Hello.
    I have Freebsd 8.2 x64 and zabbix 1.8.10 on it. Mysql is 5.5.21, php 5.3.10, nginx 1.0.14.
    Zabbix was ok for a long time, but after port updates on last weekend it fails to show maps which were created before, and fails to add new items to newly created maps. Under anon account it generates 502 error (acccording to logs) in nginx, and 304 in apache. Web logs, php logs and mysql logs shows nothing weird on all debug levels.
    Popup window is simple window generated by that part of code:
    Code:
            new Ajax.Request('map.php'+'?sid='+url.getArgument('sid')+urlGrid,
                                            {
                                                    'method': 'post',
                                                    'parameters':params,
    //                                              'onSuccess': function(resp){SDI(resp.responseText);},
                                                    'onSuccess': this.set_mapimg.bind(this),
                                                    'onFailure': function(){ alert('failed'); }
                                            }
            );
    it's js/class.cmap.js file
    I've tried to rollback php5-gd, png, jpeg ports, also thied this with mysql - no luck. Reinstallation of the zabbix frontend - same thing. I'm pretty sure that trouble somewhere in frontend, because server itself gauges data well, also graphs are ok, so i can think that gd is fine.
Working...