- This topic has 5 replies, 2 voices, and was last updated 9 years, 5 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › General Stuff › License Manager error and setup
Tagged: SLM, Software License Manager
There doesn’t seem to be much on the License Manager
I’m learning to develop wp plugins and really need to make this work.
This is what error is generated when trying to activate the sample plugin from the License Manager package
object(WP_Error)[132]
public ‘errors’ =>
array (size=1)
‘http_request_failed’ =>
array (size=1)
0 => string ‘A valid URL was not provided.’ (length=29)
public ‘error_data’ =>
array (size=0)
empty
The website is thewebscriptstore.com
I followed the instructions several times but maybe I’m missing something
My WP version is up to date and I just downloaded the License Manager today
I’ve tried it making the suggested changes and then only changing the site url and key
Have you read this SLM tutorial article?
https://www.tipsandtricks-hq.com/license-manager-product-communication-7985
It helps for you to understand the end result, before working with any code.
Thanks, never saw this one!
Well it seems that didn’t work. I’m trying to activate the sample that came with the plugin to see how it works but it seems to be not working.
I tried the php sample and it works fine but using the plugin sample as is didn’t.
In the sample code, look for 2 lines that now read:
$query = esc_url(add_query_arg($api_params, YOUR_LICENSE_SERVER_URL), array('timeout' => 20, 'sslverify' => false));
Change them to:
$query = esc_url(add_query_arg($api_params, YOUR_LICENSE_SERVER_URL));
As emphasized; this is a “developers only” plugin, and you should have at least 2+ years of Internet and (PHP) programming experience.
Gotcha – I’m willing to learn