Jump to content

I am trying to use the api modulesuspend but I keep on getting


loquan

Recommended Posts

$postfields["action"] = "modulesuspend";

$postfields["accountid"] = "1";

$postfields["suspendreason"] = "Breach of Terms of Use";

 

Is the accountid = tblhosting.id ?

Does it change the value in domainstatus?

 

I keep on getting this error.

 

error message: Function Not Supported by Module message: The following error occured: Function Not Supported by Module.

 

 

What I am trying to do is suspend all the service on a client to wait until they can verify that the credit cards is their.

Link to comment
Share on other sites

Yes, it's tblhosting.id and if i remember correctly it should also update domainstatus accordingly. Now talking of the error you have are you sure that you are passing all required $postfields values? I ask this because i can't see username and password.

 

$postfields["username"] = $username;
$postfields["password"] = md5($password);
$postfields["action"] = "modulesuspend";
$postfields["accountid"] = "1";
$postfields["suspendreason"] = "I suspend you because i hate you <3";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated