Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thinkup Insights Emails with incomplete Links generated as of application_options server_name missing in database #2082

Open
madmas opened this issue Aug 28, 2014 · 0 comments

Comments

@madmas
Copy link

madmas commented Aug 28, 2014

Hi,
I'm using a thinkup installation I've upgraded some times. For quite a while, I was irretated that the weekly digest generated by thinkup was not showing working links - the domain was missing.
Today in Basel Hackergarten (hackergarten.net) we investigated this and found that the fallback in class.Utils.php, line 307 when the script is not run within a webserver and needs to get the server_name from the DB was not working - my DB was missing that setting.
So we're wondering if that might be a missing piece in the DB migration, to make sure this entry is stored in the tu_options table?
If someone points us to the right place where those DB upgrade / migration is done, we would be happy to create a fix for that :)

A short for for everyone facing this isse is a SQL statement like:

INSERT INTO mynet_thinkup.tu_options ( option_id , namespace , option_name , option_value , last_updated , created )
VALUES ( NULL , 'application_options', 'server_name', 'www.ServerDomainName.de', '', ''
);

best
Jakub, Alfred and Markus on behalf of the Hackergarten's Gardeners ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant