1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Api Plesk, problems adding domain

Discussion in 'Plesk for Windows - 8.x and Older' started by rmartin, Dec 23, 2008.

  1. rmartin

    rmartin Guest

    0
     
    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
     
Loading...