It looks like you're new here. If you want to get involved, click one of these buttons!
Trying to setup Sendy on a subdomain and subdirectory [ http://newsletter.ageofascent.com/newsletter/ ] but recieve the error:
You need to install Sendy on the domain you purchased it for.
Should be licensed to ageofascent.com this should include the subdomain? Also after setup would want to move to a different subdomain (i.e. www) would this be a problem?
Your PHP version is 5.4.9-4ubuntu2.1
mysqli extension is installed
mod_rewrite is not enabled
display_errors is turned off
hash is enabled
curl is enabled
gettext is enabled
curl_exec is enabled
curl_multi_exec is enabled
If you have a firewall blocking connections, make sure to whitelist:
Thank you @ben for your prompt response :)
Is this outbound connections?
I don't think they are blocked, but am rigging up a test in the compatibility.php
You're welcome. Yes these are outgoing connections. I checked your subdomain directly on my license checker and it returns positive, so there's no issue on my side though.
If your compatibility looks good, it can only be firewall.
I have added the following to the end of _compatibility.php :
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$html = curl_exec ($ch);
echo htmlentities ( substr ($html,0,200) );
echo '<h2>Curl tests</h2>';
<!DOCTYPE html> <html lang="en"> <head> <title>Sendy - Send Newsletters 100x cheaper via Amazon SES</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="descriptio
Which is the same result as viewing the sites in the browser. So it doesn't look like a firewall issue.
Step 4. Install Sendy still shows the "Unlicensed domain You need to install Sendy on the domain you purchased it for".
includes/config.php is set with:
Any other places I should look?
Thanks for the details. Are you running Sendy on a LAMP stack? Linux/Apache/MySQL/PHP? Sendy is only tested and supported on Linux/Apache/MySQL/PHP.
On a LNMP stack Linux/Nginx/MySQL/PHP. Going to triple check my rewrites.
Currently newsletter/ correctly redirects to newsletter/_install.php however maybe that page is incorrectly rewritten to a different page?
i.e. would I be correct to think the _install page would ask you for your licence info, before, telling you your domain is not licenced? Therefore my rewrite rules are serving a different page as _install.php
Sendy is only tested and supported on Apache. But if you search for "nginx" you'll find some help with rewrite rules for nginx.
The installation page checks your licensed domain immediately when it's loaded. I have checked your sub domain directly on my license checker and it's saying "valid", so there is no issue on my side. In fact, if there is, this forum would be flooded with the same issue.
Resolved! I had server_name set to localhost in my nginx config file rather than my domain name
The rest of the setup process was very straight forward and well explained.
Good to hear you've solved it. :)