Ad Widget

Collapse

Need help. Can not edit map in 1.8.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abenedicth
    Junior Member
    • Apr 2010
    • 8

    #1

    Need help. Can not edit map in 1.8.2

    Hi,

    I recently upgraded zabbix from 1.6 to 1.8.2.
    Everything seems to be working fine except map editing.
    No issue with map editing in 1.6.

    Everytime map editing page is displayed, a message box with message "failed" always displayed.
    I have tried with IE 6,7,8 as well as Firefox 2.0 and 3.6. Also tried with low security level. But all are same.

    Checking through the codes, I think the error is produced by the following code in class.cmap.js (line 821):
    new Ajax.Request('map.php'+'?sid='+url.getArgument('si d'),
    {
    'method': 'post',
    'parameters'arams,
    // 'onSuccess': function(resp){SDI(resp.responseText);},
    'onSuccess': this.set_mapimg.bind(this),
    'onFailure': function(resp){ alert('failed'); }
    }

    FYI, OS is FreeBSD 8.0. PHP version is 5.2.12.

    Anyone out there has the same problem?

    Thank you,
    Adi
    Attached Files
  • abenedicth
    Junior Member
    • Apr 2010
    • 8

    #2
    I also found in apache log file, HTTP status is 500.

    192.168.1.200 - - [12/Apr/2010:13:15:02 +0700] "POST /map.php?sid=edc0e075b8514364 HTTP/1.1" 500 - "http://192.168.1.10:8000/sysmap.php?sysmapid=181&sid=edc0e075b8514364" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3"

    Database already converted to UTF-8.

    Comment

    • mma
      Member
      • Apr 2010
      • 39

      #3
      I had a problem with maps, if just tried with Chrome, it works.
      And I uninstall many plugins in FF (3.6.3) and it works on FF now... (chatzilla can be provoke problems)

      I'm not sure that resolve your issue but it's a suggestion...

      Comment

      • abenedicth
        Junior Member
        • Apr 2010
        • 8

        #4
        Hi mma, thanks for your feedback.
        However I just tried with Chrome but still got the same message.
        Seems like this is more related to server issue.

        Comment

        • abenedicth
          Junior Member
          • Apr 2010
          • 8

          #5
          Hi,

          I found the following error in php error log:
          [13-Apr-2010 15:21:39] PHP Fatal error: Call to undefined function session_start() in /usr/local/www/zabbix/include/config.inc.php on line 951

          I'm totally clueless. Any idea of this error?

          Your help is really appreciated.

          Comment

          • mma
            Member
            • Apr 2010
            • 39

            #6
            You can open your session on your zabbix ?
            It's just your only error ?
            Somes clues : version of php, packages not installed...

            Comment

            • Aly
              ZABBIX developer
              • May 2007
              • 1126

              #7
              You need to recompile php and add -enable-session..
              Sessions are supported by default it's very strange that you have such problem
              Zabbix | ex GUI developer

              Comment

              • abenedicth
                Junior Member
                • Apr 2010
                • 8

                #8
                It works now.

                I just installed php5-session from freesbd ports. Previously this port was not installed.

                Thanks mma & Aly for your great help.

                Comment

                Working...