SVN Broken, database sql dump is broken?

Discussion in 'Developers' Forum' started by danf.1979, Feb 16, 2007.

  1. danf.1979

    danf.1979 ISPConfig Developer

    At least some parts (new web, new reseller) of the web interface are broken. I'm getting this messages:
    Code:
    Unknown column 'some_name_here' in 'field list'.
    
    If falko's revision for the sql dump is used, no errors happen. Last revision of the sql dump is broken for me.
     
  2. jnsc

    jnsc rotaredoM

    Yes, I know, it's my fault. I forgot two filds in this dump, but I will correct it in 5 minutes.
     
  3. jnsc

    jnsc rotaredoM

    Ok, I just comitted the changes. I am curently rebuilding to see I everything is ok.

    Sorry again, as I had some bad expirience with this file the last Week, I didn't want to upload something I didn't test.
     
  4. danf.1979

    danf.1979 ISPConfig Developer

    Ok no problem :)
    Please update your code to use getElementByName() for accessing deck elements. For example:
    Code:
    $doc->deck[6]->getElementByName("optionen_mysql_user")->visible = 0;
    
    So you dont have problems if your element gets moved up or down in the form afterwards. :cool:
    Cheers...
     
  5. jnsc

    jnsc rotaredoM

    Yes I will do this, it's a good idea. The function who updates the "new web" form by getting the values out of the hosting plan was already broken.
     

Share This Page