Error codes (ISPmanager)

From ISPWiki

Jump to: navigation, search

The article below lists 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. 

Contents

Internal error (code 1)

ISPmanager internal errors.

It can contain any text that will be shown to users.

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.

The obj attribute specifies the 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 "Database name already exists". Otherwise, the user will get the error "Name already exists". The same procedure is applied to 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.

The obj attribute specifies the type of the non-existent object.

Invalid value (code 4)

One of form fields that is transferred to the control panel has invalid value. The name of a 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.

The val attribute specifies 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 specifies the object to which access is denied for the user.

License problem (code 7)

An issue 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 only.

ISPmanager must never return this error.

Insufficient funds (code 11)

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

Was this helpful? Yes | No
Personal tools