• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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