• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Api Plesk, problems adding domain

R

rmartin

Guest
Hello!

I'm starting with api plesk development and i'm having errors.

When i try to add a new domain, i get this error:
---------------------
Object moved to here.
---------------------

And no more information is shown.

I only have this error when certain properties are declared. For example:

//$manage_dns=$xmldoc->createElement('manage_dns');
//$manage_dns->appendChild($xmldoc->createTextNode("true"));
//$permissions->appendChild($manage_dns);

On the other hand, if coment this lines, the domain is added correctly.

I'm only reviewing the documentation examples, not adding my own code, so i am surprised.

My Plesk version is 8.1 (Windows) and my scripts PHP.

I will agree any idea.

Thanks a lot
 
Back
Top