Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Right Of Registration EPP Script (Free)

There was an update this morning to fix the bug, I had posted on here about it
 
I'm not sure what I did wrong. Did anyone else find this?

Have you updated the live URLs in the following files?

/app/Nominet/Dac.php
/app/Nominet/Epp.php
 
However you also look like you have some other errors there, did you add the ip to the live connections, and change all the config data including passwords to the live setup?
 
Yes, I grabbed the latest version this morning. I'm running it on the same server as our normal registrations so there is no problem with the IP and the EPP connection is coming back as successful.
 
Next Run: 2019-06-01 14:00:00.000
PHP Notice: Undefined offset: 1 in

This is the old version. I'd recommend doing some more testing before tomorrow
 
OK, thanks, maybe I muddled them up. Will look again.
 
Next Run: 2019-06-01 14:00:00.000
PHP Notice: Undefined offset: 1 in

This is the old version. I'd recommend doing some more testing before tomorrow

OK, I've double checked I'm running the latest version but I still get the same error but this has only occurred on the live server :(

php index.php

MESSAGE: EPP Connected
Next Run: 2019-07-01 14:50:00.000
PHP Notice: Undefined offset: 1 in app/Nominet/Dac.php on line 41
PHP Notice: Undefined offset: 1 in app/Nominet/Dac.php on line 41
PHP Notice: fputs(): send of 8 bytes failed with errno=104 Connection reset by peer in app/Nominet/Dac.php on line 36
 
This is something to do with your config, or you're running scripts elsewhere which are disconnecting the connections.
 
OK, I've double checked I'm running the latest version but I still get the same error but this has only occurred on the live server :(

php index.php

MESSAGE: EPP Connected
Next Run: 2019-07-01 14:50:00.000
PHP Notice: Undefined offset: 1 in app/Nominet/Dac.php on line 41
PHP Notice: Undefined offset: 1 in app/Nominet/Dac.php on line 41
PHP Notice: fputs(): send of 8 bytes failed with errno=104 Connection reset by peer in app/Nominet/Dac.php on line 36
Looking at the files, you have entered dac.nic.uk in both the config.php and /app/Nominet/dac.php file right?
 
You dont need to do them in both, the one in the dac file is specifying to use it if no config is passed through
 
Just as an aside - although my chaser shuts down at 13:30 to 14:30 (thus supposedly freeing up any dac threads in use) it is probably safer not to chase anything until after 14:30 to make sure no resources are being used.
 
Yeah, I stopped my scripts during the whole thing. I'd recommend that also
 
Just as an aside - although my chaser shuts down at 13:30 to 14:30 (thus supposedly freeing up any dac threads in use) it is probably safer not to chase anything until after 14:30 to make sure no resources are being used.
Yup, I noticed my script kept falling over yesterday. Realised my cron was running tests at 2pm and eating away at my dac quota.
 
Hi Aaron,

I used your script to register on the testbed, but I'm hoping to catch a few domains tomorrow with on the live connection. Has this been updated to the live version now? If not, what steps do I need to take to ensure this is running and how can I put this on a cron to run every minute?

If I catch any of the domains on the list I have, I'll be sure to throw a few quid your way for the usage of this code.

You need to update the config\Config.php file. Specifically: the first few lines change to this:

'dac' =>
array('host' => 'dac.nominet.org.uk', 'port' => '3043'),

'epp' =>
array(
'host' => 'ssl://ror-epp.nominet.org.uk',

Then your password needs changing to the live one, and the create_requests changing to your actual quota. It's probably worth testing it by adding an available domain to today's list and running it - you can always delete it to avoid being charged if you don't want it.
 

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members online

Premium Members

New Threads

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom