It looks like you're new here. If you want to get involved, click one of these buttons!
I've been trying to troubleshoot a problem where my segments are not automatically updating via cron job. My segments work correctly when I manually update then one-by-one in the UI, but running "update-segments.php" doesn't seem to work at all, either with the cron job or when I run the script via command line. Running "php ./update-segments.php" from my Sendy installation directory shows no output and doesn't seem to have any effect.
Any ideas what might be going on here?
Let me know if there's any other information I can provide that would help diagnose the issue. Thank you!
Can you please check your server's ‘error_log' to find any possible errors related to this.
Hello! I didn't see any error logs, but digging into the PHP and adding some logs of my own helped me realize that the URL being requested in "file_get_contents_curl" was not found. The server didn't know its own domain name and I needed to add it to /etc/hosts (in my case, "127.0.1.1 https://sendy.mydomain.com"). It seems to be working now. Sorry to bother you!