#silverstripe IRC Log

IRC log for 26 June 2016

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:00:14] * ss-helper has joined #silverstripe
3: [00:03:56] * Stomach quit (Read error: Connection reset by peer)
4: [00:07:10] * Stomach has joined #silverstripe
5: [00:10:04] * ccburns has joined #silverstripe
6: [00:10:56] <ccburns> hey guys - I’ve included a package via composer https://packagist.org/packages/tplaner/when but I am having trouble accessing it in my code
7: [00:16:13] * Stomach quit (Read error: Connection reset by peer)
8: [00:19:15] * Stomach has joined #silverstripe
9: [00:26:05] * Stomach quit (Read error: Connection reset by peer)
10: [00:29:31] * Stomach has joined #silverstripe
11: [00:37:21] <ccburns> Given that it is composer I thought it might autoload so I could just use $r = new When(); but I get an error PHP Fatal error: require(): Failed opening required '/var/www/vendor/tplaner/autoload.php
12: [00:39:54] <irogue> strange, it has the custom autoload config in composer.json
13: [00:40:01] <irogue> so I'd think it should work
14: [00:42:39] <ccburns> I’m calling the method in a onAfterWrite() on a DO so do I need to do anything like namespace \tplaner\when etc or just $r = new When()
15: [00:45:48] <irogue> its namespaced, so I think you'll need to do either "new When\When()" or "use When\When;" at the top of your file
16: [00:47:04] * Stomach quit (Ping timeout: 252 seconds)
17: [00:47:07] <irogue> but that doesn't explain the autoloader error - what version of composer are you running?
18: [00:48:53] * phorloop quit (Quit: Byeee...)
19: [00:49:45] * Stomach has joined #silverstripe
20: [00:54:37] * Stomach quit (Client Quit)
21: [00:58:53] <ccburns> let me check
22: [01:00:00] <ccburns> Composer version 1.1.0 2016-05-10 15:21:19
23: [01:02:29] <ccburns> When I add use When\When; to the top of my file it at least uses the code. I get another error - Error at line 65 of /var/www/vendor/tplaner/when/src/When.php
24: [01:02:51] <ccburns> but that looks more like an error with how I am calling the method so I think we’re good now
25: [01:03:01] <ccburns> thanks irogue
26: [01:03:16] <irogue> sweet :)
27: [01:50:23] * Stomach has joined #silverstripe
28: [01:55:49] * Stomach quit (Ping timeout: 252 seconds)
29: [02:25:00] * Stomach has joined #silverstripe
30: [02:56:01] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
31: [03:28:29] * Azure has joined #silverstripe
32: [03:28:39] * ccburns has left #silverstripe
33: [03:31:04] * Azure|dc quit (Ping timeout: 264 seconds)
34: [03:43:36] * Azure quit (Remote host closed the connection)
35: [03:48:31] * helenclarko quit (Quit: It ain't no lie, baby bye bye bye!)
36: [04:49:47] * willr has joined #silverstripe
37: [05:14:04] * willr quit (Ping timeout: 250 seconds)
38: [05:25:40] * Stomach quit (Quit: zzz)
39: [06:21:02] * slievr has joined #silverstripe
40: [06:43:22] * Stomach has joined #silverstripe
41: [06:45:51] * Stomach quit (Read error: Connection reset by peer)
42: [06:51:30] * Stomach has joined #silverstripe
43: [06:55:48] * slievr quit (Quit: Leaving.)
44: [06:58:25] * Stomach quit (Quit: zzz)
45: [07:34:13] * Stomach has joined #silverstripe
46: [08:55:25] * XorPush has joined #silverstripe
47: [09:05:30] <XorPush> hi! while using memberprofiles module there is an option, user should be able to choose some grouops they belong to, but when I enable this field I get Please select a value within the list provided. 'Group and Group' is not a valid option
48: [09:06:36] * Stomach quit (Quit: zzz)
49: [09:07:05] <XorPush> I saw that there has been similar problem here https://github.com/silverstripe/silverstripe-userforms/issues/411
50: [10:03:24] * XorPush quit (Ping timeout: 250 seconds)
51: [10:51:30] * gelignite has joined #silverstripe
52: [10:55:01] * kerozene quit (Quit: WeeChat 1.4-dev)
53: [11:05:52] * deschebbs has joined #silverstripe
54: [11:37:31] * kerozene has joined #silverstripe
55: [12:33:35] * irogue quit (Quit: My Mac has gone to sleep. ZZZzzz…)
56: [12:33:54] * kerozene quit (Remote host closed the connection)
57: [12:35:23] * kerozene has joined #silverstripe
58: [13:22:10] * slievr has joined #silverstripe
59: [13:56:57] * slievr quit (Quit: Leaving.)
60: [14:20:41] * deschebbs quit (Ping timeout: 244 seconds)
61: [19:17:20] * Dedra has joined #silverstripe
62: [19:21:27] * Stomach has joined #silverstripe
63: [19:30:13] * Stomach quit (Quit: zzz)
64: [19:56:47] * deschebbs has joined #silverstripe
65: [19:56:47] * deschebbs quit (Client Quit)
66: [20:11:35] * Dedra quit (Quit: Bye guys, have to go!)
67: [20:13:12] * Stomach has joined #silverstripe
68: [20:51:59] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
69: [21:06:57] * pippy has joined #silverstripe
70: [21:09:29] * vitaly_ has joined #silverstripe
71: [21:10:04] * Stomach_ has joined #silverstripe
72: [21:10:11] * Stomach quit (Ping timeout: 258 seconds)
73: [21:12:30] * Stomach_ quit (Read error: Connection reset by peer)
74: [21:18:04] * Stomach has joined #silverstripe
75: [21:27:18] * micmania1 has joined #silverstripe
76: [21:35:48] * Azure has joined #silverstripe
77: [22:00:28] * irogue has joined #silverstripe
78: [22:00:28] * irogue quit (Changing host)
79: [22:00:28] * irogue has joined #silverstripe
80: [22:12:41] * Stomach quit (Quit: zzz)
81: [22:18:07] * DanaeNZ has joined #silverstripe
82: [22:30:15] * Stomach has joined #silverstripe
83: [22:47:48] * grg has joined #silverstripe
84: [22:47:48] <ss-helper> grg: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
85: [22:49:43] * spronk has joined #silverstripe
86: [22:50:23] * glenn-bautista has joined #silverstripe
87: [23:45:33] <ss-helper> Re: Supported versions and SS 3.0 end-of-life - https://groups.google.com/d/msg/silverstripe-dev/I5-AMUUZZSc/-NaWX9bpAgAJ

These logs were automatically created by ss-log on irc.freenode.net.