Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    MySQL-Error

    Scheduled Pinned Locked Moved Betrieb
    4 Posts 2 Posters 1.1k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      jürgen
      last edited by

      Ich habe die Version 0.9.4 i-doit auf meinem Rechener installiert und jetzt habe ich das Problem wenn ich ein neues Objekt anlegen will bekomme ich immer den

      MySQL-Error: Unknown column 'isys_catg_distributor__isys_catg_virtual_machine__id' in 'field list'

      Mir ist aufgefallen egal welches Objekt ich neu anlegen will (zB.: software / Liezenzen , infrastruktur / Server …....... ich bekomme immer die gleiche Fehlermeldung.

      Ich habe Xampp-win32-1.6.8-installer.exe installiert und wenn ich mit phpmyAdmin Nachschaue finde ich die Spalte  isys_catg_distributor__isys_catg_virtual_id aber keine isys_catg_distributor__isys_catg_virtual_machine__id wieso ist das so und wie kann ich diese Problem beheben.

      besten Dank im Voraus
      Jürgen

      1 Reply Last reply Reply Quote 0
      • dsD Offline
        ds
        last edited by

        Welches Paket hast du dir heruntergeladen? Im Installationspaket wird die Tabelle beim Setup erstellt. Mit folgendem Statement in der Mandanten-DB kannst du sie dir neu erstellen:

        
        set foreign_key_checks=0;
        drop table isys_catg_distributor;
        CREATE TABLE `isys_catg_distributor` (
          `isys_catg_distributor__id` int(10) unsigned NOT NULL auto_increment,
          `isys_catg_distributor__isys_catg_idic__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_lic__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_controller__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_manual__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_location__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_image__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_odep__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_application__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_model__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_logb__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_maintenance__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_emergency_plan__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_contact__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_backup__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_global__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_cpu__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_file__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_stor__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_formfactor__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_ui__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_access__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_power_consumer__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_netv__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_netp__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_memory__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_overview__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_virtual__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_graphic__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_workflow__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_catg_virtual_machine__id` int(10) unsigned default NULL,
          `isys_catg_distributor__isys_obj__id` int(10) unsigned NOT NULL default '0',
          `isys_catg_distributor__isys_catg_sound__id` int(10) unsigned default NULL,
          PRIMARY KEY  (`isys_catg_distributor__id`),
          UNIQUE KEY `isys_catg_distributor__isys_ob_2` (`isys_catg_distributor__isys_obj__id`),
          KEY `isys_catg_distributor_FKIndex1` (`isys_catg_distributor__isys_obj__id`),
          KEY `isys_catg_distributor_FKIndex2` (`isys_catg_distributor__isys_catg_netp__id`),
          KEY `isys_catg_distributor_FKIndex3` (`isys_catg_distributor__isys_catg_power_consumer__id`),
          KEY `isys_catg_distributor_FKIndex4` (`isys_catg_distributor__isys_catg_access__id`),
          KEY `isys_catg_distributor_FKIndex5` (`isys_catg_distributor__isys_catg_memory__id`),
          KEY `isys_catg_distributor_FKIndex6` (`isys_catg_distributor__isys_catg_ui__id`),
          KEY `isys_catg_distributor_FKIndex7` (`isys_catg_distributor__isys_catg_formfactor__id`),
          KEY `isys_catg_distributor_FKIndex8` (`isys_catg_distributor__isys_catg_netv__id`),
          KEY `isys_catg_distributor_FKIndex10` (`isys_catg_distributor__isys_catg_stor__id`),
          KEY `isys_catg_distributor_FKIndex11` (`isys_catg_distributor__isys_catg_file__id`),
          KEY `isys_catg_distributor_FKIndex12` (`isys_catg_distributor__isys_catg_model__id`),
          KEY `isys_catg_distributor_FKIndex13` (`isys_catg_distributor__isys_catg_cpu__id`),
          KEY `isys_catg_distributor_FKIndex14` (`isys_catg_distributor__isys_catg_global__id`),
          KEY `isys_catg_distributor_FKIndex15` (`isys_catg_distributor__isys_catg_backup__id`),
          KEY `isys_catg_distributor_FKIndex16` (`isys_catg_distributor__isys_catg_maintenance__id`),
          KEY `isys_catg_distributor_FKIndex17` (`isys_catg_distributor__isys_catg_contact__id`),
          KEY `isys_catg_distributor_FKIndex18` (`isys_catg_distributor__isys_catg_emergency_plan__id`),
          KEY `isys_catg_distributor_FKIndex19` (`isys_catg_distributor__isys_catg_application__id`),
          KEY `isys_catg_distributor_FKIndex21` (`isys_catg_distributor__isys_catg_logb__id`),
          KEY `isys_catg_distributor_FKIndex22` (`isys_catg_distributor__isys_catg_odep__id`),
          KEY `isys_catg_distributor_FKIndex23` (`isys_catg_distributor__isys_catg_image__id`),
          KEY `isys_catg_distributor_FKIndex24` (`isys_catg_distributor__isys_catg_location__id`),
          KEY `isys_catg_distributor_FKIndex25` (`isys_catg_distributor__isys_catg_manual__id`),
          KEY `isys_catg_distributor_FKIndex26` (`isys_catg_distributor__isys_catg_controller__id`),
          KEY `isys_catg_distributor_FKIndex27` (`isys_catg_distributor__isys_catg_lic__id`),
          KEY `isys_catg_distributor_FKIndex28` (`isys_catg_distributor__isys_catg_idic__id`),
          KEY `isys_catg_distributor_FKIndex29` (`isys_catg_distributor__isys_catg_overview__id`),
          KEY `isys_catg_distributor_FKIndex30` (`isys_catg_distributor__isys_catg_graphic__id`),
          KEY `isys_catg_distributor_FKIndex32` (`isys_catg_distributor__isys_catg_virtual__id`),
          KEY `isys_catg_distributor_FKIndex33` (`isys_catg_distributor__isys_catg_workflow__id`),
          KEY `isys_catg_distributor_FKIndex34` (`isys_catg_distributor__isys_catg_virtual_machine__id`),
          KEY `isys_catg_distributor__isys_catg_sound__id` (`isys_catg_distributor__isys_catg_sound__id`)
        ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;
        
        -- 
        -- Daten für Tabelle `isys_catg_distributor`
        -- 
        
        INSERT INTO `isys_catg_distributor` (`isys_catg_distributor__id`, `isys_catg_distributor__isys_catg_idic__id`, `isys_catg_distributor__isys_catg_lic__id`, `isys_catg_distributor__isys_catg_controller__id`, `isys_catg_distributor__isys_catg_manual__id`, `isys_catg_distributor__isys_catg_location__id`, `isys_catg_distributor__isys_catg_image__id`, `isys_catg_distributor__isys_catg_odep__id`, `isys_catg_distributor__isys_catg_application__id`, `isys_catg_distributor__isys_catg_model__id`, `isys_catg_distributor__isys_catg_logb__id`, `isys_catg_distributor__isys_catg_maintenance__id`, `isys_catg_distributor__isys_catg_emergency_plan__id`, `isys_catg_distributor__isys_catg_contact__id`, `isys_catg_distributor__isys_catg_backup__id`, `isys_catg_distributor__isys_catg_global__id`, `isys_catg_distributor__isys_catg_cpu__id`, `isys_catg_distributor__isys_catg_file__id`, `isys_catg_distributor__isys_catg_stor__id`, `isys_catg_distributor__isys_catg_formfactor__id`, `isys_catg_distributor__isys_catg_ui__id`, `isys_catg_distributor__isys_catg_access__id`, `isys_catg_distributor__isys_catg_power_consumer__id`, `isys_catg_distributor__isys_catg_netv__id`, `isys_catg_distributor__isys_catg_netp__id`, `isys_catg_distributor__isys_catg_memory__id`, `isys_catg_distributor__isys_catg_overview__id`, `isys_catg_distributor__isys_catg_virtual__id`, `isys_catg_distributor__isys_catg_graphic__id`, `isys_catg_distributor__isys_catg_workflow__id`, `isys_catg_distributor__isys_obj__id`, `isys_catg_distributor__isys_catg_sound__id`) VALUES 
        (1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, NULL);
        
        ALTER TABLE `isys_catg_distributor`
          ADD CONSTRAINT `isys_catg_distributor_ibfk_1` FOREIGN KEY (`isys_catg_distributor__isys_obj__id`) REFERENCES `isys_obj` (`isys_obj__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_10` FOREIGN KEY (`isys_catg_distributor__isys_catg_stor__id`) REFERENCES `isys_catg_stor` (`isys_catg_stor__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_11` FOREIGN KEY (`isys_catg_distributor__isys_catg_file__id`) REFERENCES `isys_catg_file` (`isys_catg_file__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_12` FOREIGN KEY (`isys_catg_distributor__isys_catg_model__id`) REFERENCES `isys_catg_model` (`isys_catg_model__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_13` FOREIGN KEY (`isys_catg_distributor__isys_catg_cpu__id`) REFERENCES `isys_catg_cpu` (`isys_catg_cpu__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_14` FOREIGN KEY (`isys_catg_distributor__isys_catg_global__id`) REFERENCES `isys_catg_global` (`isys_catg_global__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_15` FOREIGN KEY (`isys_catg_distributor__isys_catg_backup__id`) REFERENCES `isys_catg_backup` (`isys_catg_backup__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_16` FOREIGN KEY (`isys_catg_distributor__isys_catg_maintenance__id`) REFERENCES `isys_catg_maintenance` (`isys_catg_maintenance__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_17` FOREIGN KEY (`isys_catg_distributor__isys_catg_contact__id`) REFERENCES `isys_catg_contact` (`isys_catg_contact__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_18` FOREIGN KEY (`isys_catg_distributor__isys_catg_emergency_plan__id`) REFERENCES `isys_catg_emergency_plan` (`isys_catg_emergency_plan__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_19` FOREIGN KEY (`isys_catg_distributor__isys_catg_application__id`) REFERENCES `isys_catg_application` (`isys_catg_application__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_2` FOREIGN KEY (`isys_catg_distributor__isys_catg_netp__id`) REFERENCES `isys_catg_netp` (`isys_catg_netp__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_21` FOREIGN KEY (`isys_catg_distributor__isys_catg_logb__id`) REFERENCES `isys_catg_logb` (`isys_catg_logb__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_22` FOREIGN KEY (`isys_catg_distributor__isys_catg_odep__id`) REFERENCES `isys_catg_odep` (`isys_catg_odep__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_23` FOREIGN KEY (`isys_catg_distributor__isys_catg_image__id`) REFERENCES `isys_catg_image` (`isys_catg_image__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_24` FOREIGN KEY (`isys_catg_distributor__isys_catg_location__id`) REFERENCES `isys_catg_location` (`isys_catg_location__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_25` FOREIGN KEY (`isys_catg_distributor__isys_catg_manual__id`) REFERENCES `isys_catg_manual` (`isys_catg_manual__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_26` FOREIGN KEY (`isys_catg_distributor__isys_catg_controller__id`) REFERENCES `isys_catg_controller` (`isys_catg_controller__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_27` FOREIGN KEY (`isys_catg_distributor__isys_catg_lic__id`) REFERENCES `isys_catg_lic` (`isys_catg_lic__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_28` FOREIGN KEY (`isys_catg_distributor__isys_catg_idic__id`) REFERENCES `isys_catg_idic` (`isys_catg_idic__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_29` FOREIGN KEY (`isys_catg_distributor__isys_catg_overview__id`) REFERENCES `isys_catg_overview` (`isys_catg_overview__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_3` FOREIGN KEY (`isys_catg_distributor__isys_catg_power_consumer__id`) REFERENCES `isys_catg_power_consumer` (`isys_catg_power_consumer__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_30` FOREIGN KEY (`isys_catg_distributor__isys_catg_workflow__id`) REFERENCES `isys_catg_workflow` (`isys_catg_workflow__id`),
          ADD CONSTRAINT `isys_catg_distributor_ibfk_31` FOREIGN KEY (`isys_catg_distributor__isys_catg_virtual__id`) REFERENCES `isys_catg_virtual` (`isys_catg_virtual__id`),
          ADD CONSTRAINT `isys_catg_distributor_ibfk_32` FOREIGN KEY (`isys_catg_distributor__isys_catg_graphic__id`) REFERENCES `isys_catg_graphic` (`isys_catg_graphic__id`),
          ADD CONSTRAINT `isys_catg_distributor_ibfk_33` FOREIGN KEY (`isys_catg_distributor__isys_catg_sound__id`) REFERENCES `isys_catg_sound` (`isys_catg_sound__id`),
          ADD CONSTRAINT `isys_catg_distributor_ibfk_4` FOREIGN KEY (`isys_catg_distributor__isys_catg_access__id`) REFERENCES `isys_catg_access` (`isys_catg_access__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_5` FOREIGN KEY (`isys_catg_distributor__isys_catg_memory__id`) REFERENCES `isys_catg_memory` (`isys_catg_memory__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_6` FOREIGN KEY (`isys_catg_distributor__isys_catg_ui__id`) REFERENCES `isys_catg_ui` (`isys_catg_ui__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_7` FOREIGN KEY (`isys_catg_distributor__isys_catg_formfactor__id`) REFERENCES `isys_catg_formfactor` (`isys_catg_formfactor__id`) ON DELETE NO ACTION ON UPDATE NO ACTION,
          ADD CONSTRAINT `isys_catg_distributor_ibfk_8` FOREIGN KEY (`isys_catg_distributor__isys_catg_netv__id`) REFERENCES `isys_catg_netv` (`isys_catg_netv__id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
        
        
        1 Reply Last reply Reply Quote 0
        • J Offline
          jürgen
          last edited by

          Ich habe das Packet
          Installation Source v0.9.4 (idoit-0.9.4.zip)
          Eingestellt am: 23. Oktober 2008
          heruntergeladen und auf 2 verschiedenen Computer mit WinXP installiert.
          Jedesmal war der selbe Error.

          Nach deinem  SQL Statement in der Mandanten- DB  ist nun die Spalte `isys_catg_distributor__isys_catg_virtual_machine__id' vorhanden und das Objektanlegen funktioniert.

          Besten Dank für die schnelle Hilfe

          Jürgen

          1 Reply Last reply Reply Quote 0
          • dsD Offline
            ds
            last edited by

            Versuch mal das Paket neu zu laden und die Installation neu durchzuführen.
            Ansonsten könntest du das 0.9.4 update auch einfach drüber installieren, sollte dann auch funktionieren

            1 Reply Last reply Reply Quote 0
            • First post
              Last post