• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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