PDA

View Full Version : Error what does is mean?



mitchelp
04-04-2008, 08:50 AM
Hallo,
I have try to use this command to edit a account:


/CMD_API_ACCOUNT_USER?action=modify&add=Submit&username=mitcheltest&email=mitchel@gethost.nl&passwd=MichY12&passwd2=MichY12&domain=mitchtest.summerhost.nl&package=pack3&ip=217.148.165.121&notify=yes

DA show's this error:
error=1&text=Not implemented&details=modify

What's wrong?

The package is on the reseller account.
I have do this like this:
1. login on reseller account.
2. create the API script en press enter.
3. He show's that error.

Help me please!!!

edwinschippers
04-04-2008, 05:47 PM
Hi,

Are you trying to add or modify a user? It looks like you mixed up a few commands..

If you want to add the user change your code to:


/CMD_API_ACCOUNT_USER?action=create&add=Submit&username=mitcheltest&email=mitchel@gethost.nl&passwd=MichY12&passwd2=MichY12&domain=mitchtest.summerhost.nl&package=pack3&ip=217.148.165.121&notify=yes

that should work.

If you want to modify a user, use CMD_API_MODIFY_USER

more on that at http://www.directadmin.com/features.php?id=390

Hope this helps.

Good Luck,

Edwin

mitchelp
04-05-2008, 01:59 AM
Thx man :)

But it doesn't work.
I have try this:


/CMD_API_MODIFY_USER?action=modify&user=mitchtest&action=ngle&lvalue=en&package=pack1


What he must do is change the package.
It must become pack1
At the moment is it pack2
DirectAdmin say's this:



error=0&text=User Modified&details=


What have i do wrong?

getUP
04-05-2008, 04:28 AM
It didn't return any errors. Hence the zero after "error=".
Did you have a look if the package was actually changed to pack2?

mitchelp
04-05-2008, 05:37 AM
Yes i have look but it isn't changed.

I fink that there is a other fing that i do wrong.. but i doens't no what that is...
Can any body say how to fix it?

mitchelp
04-07-2008, 11:22 AM
Nobody no's a answer?