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
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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).
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.