Error codes

From ISPWiki

(Redirected from Error codes (ISPmanager))
Jump to: navigation, search

The article below describes the error codes the ISPmanager control panel returns. If an error occurs, the control panel will return an XML-document with a corresponding error node. For example:

<error code="3" obj="site">. The error code is specified in the code attribute. 


Internal error (code 1)

ISPmanager internal errors.

It may contain any text that will be transferred to user.

For example:

<error code="1">Failed to allocate memory</error>

Element already exists (code 2)

The object that you are trying to create already exists.

In this case the additional obj attribute is used. It contains a type of the object you are trying to create.

For example:

<error code="2" obj="name"/>

If the form contains the name filed (e.g., name of the base in the Database form), the user will get the error message "Database name already exists". If there is no such a field, the user will get the error message "Name already exists". The same with error codes 3, 4, 5 and 6 (in error codes 4 and 5 the val attribute is used instead of obj).

Element does not exist (Element not exists) ((code 3)

The object you are trying to use doesn't exist. In this case the additional obj attribute is used, it specifies a type of the non-existent object.

Invalid value (code 4)

One of form fields that is transferred to the control panel has invalid value. Name of the field with invalid value is specified in the val attribute.

Limit exceed (code5)

One of the limits has been exceeded, for example the limit on the number of FTP-account, databases or domain names that a user can create.

In this case the additional val attribute is used. It contains the name of the field with invalid value.

Access denied (code 6)

The user who is trying to access an object has insufficient privileges.

The obj attribute will be used providing the object to which access is denied for the user.

License problem (code 7)

A problem with the ISPmanager license.

Message error (code 8)

The error, which description can be be taken from the message file and can be localized.

For example:

<error code="8" obj="notclient">John Doe</error>

the form contains:

<msg name="msg_error_notclient">User__param__ not registered in the system</msg>

The user will get the following message: "User John Doe is not registered in the system".

Direct error (code 9)

Error 9 is processed the same way as Error 1.

Add-on error (code 10)

This error code is used for technical purposes, and the scripts should not generate them.

ISPmanager must never return this error.

Not enought money (code 11)

Insufficient money to complete the operation. This error code is used in BILLmanager.

Was this helpful? Yes | No
Personal tools