License Key tied to Site URL issue

Home Forums Calendar Products Events Calendar PRO License Key tied to Site URL issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1192005
    Dana McDonald
    Participant

    We host our site on pantheon.io . Their servers are containers and the server name / endpoint can change over time.

    Our license is tied to their endpoint instead of to our domain name. So over time we will run out of licenses and I have to go in and Disconnect now, but I have no idea which server is the Dev, Test, or Live.

    How can I tie our license to our domain / sub-domain name instead of the server name.

    Thanks
    Dana

    #1192052
    Brian
    Keymaster

    Hi,

    Thanks for using our plugins. I can help out here.

    Does the information in this thread help resolve it for you:

    https://theeventscalendar.com/support/forums/topic/licensing-for-sites-hosted-on-pantheon/#dl_post-1020100

    Let us know how that works out.

    Thanks

    #1192063
    Dana McDonald
    Participant

    Yes, adding

    if ( isset( $_ENV[‘PANTHEON_ENVIRONMENT’] ) ) {
    $_SERVER[‘SERVER_NAME’] = $_SERVER[‘HTTP_HOST’];
    }

    to my wp-config worked.

    https://pantheon.io/docs/server_name-and-server_port/

    Thanks
    Dana

    #1192192
    Brian
    Keymaster

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘License Key tied to Site URL issue’ is closed to new replies.