Menu

Error 500 on new class utilisation.

2014-03-10
2014-03-11
  • Eric Delmotte

    Eric Delmotte - 2014-03-10

    Hello

    I created a set of class in iTop 2.0 to manage clusters of servers.

    So in a few word, I created a "Cluster" Class that inherits from
    "FunctionalCI". It is abstract and then I created three classes to
    manage Windows clusters, SQL clusters and SSAS clusters.

    Everything is fine on processing with toolkit and the required columns
    and tables are created. When I go into the dashboard I can see all about
    my new objects, I can enter to create one and I see my form ... but
    after creation : crash error 500. The creation is working because if I
    come back and I list, I can see it, but if I edit it ... same crash

    I attached my file, could someone help me ?

    Thank you

     
  • Denis

    Denis - 2014-03-11

    Error 500 is not very descriptive. it just says "ther server encountered an error..." which does not help a lot. could you check if you can find more informatino in the server's log file (or turn on the variable "display_errors" in the PHP configuration).

     
    • Eric Delmotte

      Eric Delmotte - 2014-03-11

      Hello

      I just found the issue.
      In fact, I defined a new relation with my new object and in the definition of the field I was pointing to a wrong field in the DB.

      The toolkit did not see the issue but it seems it was making crashing the "reload" function of the new class.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.