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

    Found database query error while purging server.

    Scheduled Pinned Locked Moved Development
    1 Posts 1 Posters 2.4k 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.
    • R Offline
      rosco
      last edited by

      Hi,

      These are the steps I took.

      1. Create a server template.
      2. Create 2 objects from template.
      3. Archived the templates
      4. Deleted the templates
      5. Final step, purge the templates gives me the following error:

      isys_exception_database : Query error: 'DELETE FROM isys_obj WHERE isys_obj__id = '775'': Cannot delete or update a parent row: a foreign key constraint fails (idoit_data/isys_catg_file_list, CONSTRAINT isys_catg_file_list_ibfk_2 FOREIGN KEY (isys_catg_file_list__isys_obj__id) REFERENCES isys_obj (isys_obj__id) ON DELETE NO ACTION ON UPDATE)

      This happens on the page:

      http://domain/index.php?viewMode=1100&objTypeID=5&objID=774&catgID=31&tvMode=1006&editMode=1#main_content=13

      My Idoit data:

      System
      Operating System UNIX/Linux, Linux OK
      PHP Version 5.2.6-1+lenny9 (>5.2.3 recommended) OK
      i-doit Code Version 0.9.9-3
      i-doit Database Version 0.9.9-3 Revision 6172

      1 Reply Last reply Reply Quote 0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post