• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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