Perl 6 - the future is here, just unevenly distributed

IRC log for #thinkup, 2014-01-15

| Channels | #thinkup index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
23:11 juser joined #thinkup
00:47 PaulB0 joined #thinkup
01:29 PaulB0 joined #thinkup
02:28 PaulB0 joined #thinkup
06:32 ilbot3 joined #thinkup
06:32 Topic for #thinkup is now New to the ThinkUp IRC channel? http://bit.ly/thinkup_irc | ThinkUp http://thinkup.com | Channel logs: http://bit.ly/thinkup_irc_logs
13:10 aquatix hidgw: some missing hostname?
14:13 hidgw aquatix: I tried out the PHP $_SERVER values I noticed in the code (don't remember which file) in the same server in the ThinkUp webapp directory and they printed the correct hostname, but that could be a red herring.
14:30 aquatix hm
14:30 aquatix i don't have it running on machines i can access right now, so can't check :(
16:34 hub_ joined #thinkup
17:27 hub_ joined #thinkup
17:41 CDMoyer HTML or text emails?
17:42 CDMoyer There was a bug with the HTML emails that's recently fixed.
17:42 CDMoyer and the text emails, if you installed before a change to the installer, you won't have a server_name in your config.
17:42 hidgw ^ I bet that last one is it
17:42 hidgw It's sending text emails
17:42 hidgw and I've had this ThinkUp instance for years
17:43 CDMoyer https://github.com/ginatrapani/ThinkUp/issues/1787
17:43 CDMoyer If you export SERVER_NAME in the cron job where you export THINKUP_PASSWORD, it'll use that.
17:43 CDMoyer see the 2nd comment.
17:45 hidgw Hmm. $_SERVER['SERVER_NAME'] reports the correct output if I test it in a standalone PHP script in the ThinkUp webapp dir
17:45 hidgw I don't understand this subsystem…
17:45 hidgw Oh right, that's for HTTP requests only
17:46 hidgw Can I set the server_name option myself somehow
17:46 hidgw ?
17:46 hidgw It's probably not set because I upgrade by pulling the git repo and checking out the latest tag
17:47 CDMoyer Hmm.  I think so.  The installer does:
17:47 CDMoyer $option_dao->insertOption(OptionDAO::APP_OPTIONS, 'server_name', $server_name);
17:48 CDMoyer That's what my row looks like:
17:48 CDMoyer http://pastie.org/pastes/8636305/text
17:50 * hidgw fires up PMA
17:52 hidgw Oh look, that option isn't defined at all
17:53 CDMoyer Yeah, I think Gina said it was added to the installer in the past year.
17:54 hidgw It's also set up to store that value anew on each upgrade, supposedly
17:54 hidgw but I'm not using the built-in updater because of issues with my shared host, so I guess the database updater doesn't trigger it
17:54 CDMoyer Ah.  that makes sense.
17:55 CDMoyer Since it needs to be running via http to get the hostname
17:56 hidgw I'll have to poke at this more later. Got some reading to do in the next couple hours. Can't it still be winter break?
17:56 hidgw Thanks for the insights, though, CDMoyer
17:58 CDMoyer No problem.
17:58 CDMoyer Glad I could help.  Most of the time people pop in with questions, they are gone before I can respond.
17:59 hidgw It's the IRC impatience problem. I'm less liable to suffer from it, because I have a bouncer. :)
17:59 CDMoyer Yeah, I just run IRC in screen 24/7 on my server.
17:59 hidgw But yes, it's frustrating to come back to see a question in the buffer followed by a part/quit
17:59 hidgw sometimes within 5 minutes
18:01 hidgw Ugh… really, DreamHost? Error: password contains a string of consecutive numbers
18:02 * hidgw forgot the password to the user ThinkUp runs as and is trying to reset it
18:04 Acidnerd1 joined #thinkup
18:14 hidgw Heh. Should be fixed. Once I got back into the server it was just a few minutes' work to make a PHP file I could load from a browser to make the server_name get set (shortcut: hack a copy of index.php). I love that Installer::storeServerName() is static.
18:14 hidgw cheers again, CDMoyer
18:38 JackDandy joined #thinkup
19:13 hub_ joined #thinkup
20:56 hub_ joined #thinkup
20:59 juser joined #thinkup
21:21 juser joined #thinkup
21:45 hub_ joined #thinkup
22:40 Acidnerd1 joined #thinkup

| Channels | #thinkup index | Today | | Search | Google Search | Plain-Text | summary