Notice: Undefined variable: distver............

Discussion in 'General' started by tch647, Apr 17, 2009.

  1. tch647

    tch647 New Member

    Running Debian Lenny 5.0, after install MyDNS-NG & MyDNSConfig 3 when I go to :/tmp/mydnsconfig/install# php -q install.php. The following error appears:

    Notice: Undefined variable: distver in /tmp/mydnsconfig/install/lib/install.lib.php on line 135

    Notice: Undefined variable: distid in /tmp/mydnsconfig/install/lib/install.lib.php on line 135

    Notice: Undefined variable: distbaseid in /tmp/mydnsconfig/install/lib/install.lib.php on line 135

    Please help with any idea's.
    Thanks in advance.
     
  2. bernieberg

    bernieberg New Member

    Howdy,

    I had this same problem. It was due to my lenny version being 5.0.1 and the install file expecting just 5.0.

    On line 73 of /tmp/mydnsconfig/install/lib/install.lib.php I changed 5.0 to 5.0.1 and the install continued just fine.

    hope that helps.
    Thanks,
    --
    bernie
     
  3. HooGLaNDeR

    HooGLaNDeR Member

    That helped me too :)
     
  4. torusturtle

    torusturtle ISPConfig Developer ISPConfig Developer

    or you could change
    Code:
    /etc/debian_version
    to 5.0
     

Share This Page