metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
214 stars 160 forks source link

signdomain.php call to unknown function #8

Closed klaver closed 9 years ago

klaver commented 9 years ago

signdomain.php at line 9 has a call to 'eppDnssecUpdateRequest', but that function does not seem to exist in this repository?

metaregistrar commented 9 years ago

Hi Michiel,

That call was renamed to eppDnssecUpdateDomainRequest. I have updated the signdomain.php accordingly. Please pull the repository to get the latest version.

Thanks for your comment.

klaver commented 9 years ago

Now it says: Fatal error: Call to a member function getDomainName() on a non-object in /Users/michiel/Scripts/php-epp-client/Protocols/EPP/eppRequests/eppDnssecUpdateDomainRequest.php on line 34

metaregistrar commented 9 years ago

I have checed this file and found it to be very 'raw'. It is more an example of how it works than a working command file.

That being the case, i have modified the code so now at least it works properly. Please note that the dnssec key in the file is just an example - you will have to generate your own DNSSEC key information when you actually sign a domain name. I will review the file later this day and make it a proper command file that takes parameters and actually works.

klaver commented 9 years ago

Thanks! For now, this version gives: "ERROR: Error 2308: Validation of the transaction failed. Validation of the transaction failed.The message must contain at least one 'rem', 'add' or 'chg' component."

metaregistrar commented 9 years ago

Please pull the repo and try again. I have verified the EPP command sent, and it should work now.

klaver commented 9 years ago

Yes, this one works! Thanks for the support.