#silverstripe IRC Log

IRC log for 15 July 2016

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:00:17] * ss-helper has joined #silverstripe
3: [00:02:58] * shellbackpacific quit (Ping timeout: 250 seconds)
4: [00:04:01] * shellbackpacific has joined #silverstripe
5: [00:09:12] * shellbackpacific quit (Ping timeout: 276 seconds)
6: [00:27:54] * micmania1 quit (Quit: micmania1)
7: [00:45:04] <ss-helper> Re: [silverstripe-dev] Re: Responsive CMS interactive mockup - https://groups.google.com/d/msg/silverstripe-dev/R56n9BJuKc8/ur2NaiF0CAAJ
8: [00:59:13] * shellbackpacific has joined #silverstripe
9: [01:08:10] * shellbackpacific quit (Ping timeout: 272 seconds)
10: [01:15:48] * Tron has joined #silverstripe
11: [01:22:48] * micmania1 has joined #silverstripe
12: [01:30:04] <ss-helper> Re: [silverstripe-dev] Re: Responsive CMS interactive mockup - https://groups.google.com/d/msg/silverstripe-dev/R56n9BJuKc8/vkeLq6Z2CAAJ
13: [01:36:03] * Nightjar quit (Quit: Leaving)
14: [01:59:07] * Stomach quit (Quit: zzz)
15: [02:00:04] <ss-helper> SilverStripe Tab Customization - http://stackoverflow.com/questions/22212088/silverstripe-tab-customization
16: [02:02:20] * Stomach has joined #silverstripe
17: [02:15:05] <ss-helper> Re: [silverstripe-dev] Re: Responsive CMS interactive mockup - https://groups.google.com/d/msg/silverstripe-dev/R56n9BJuKc8/HxGwCp54CAAJ
18: [02:18:11] * Stomach quit (Quit: zzz)
19: [02:32:33] * Stomach has joined #silverstripe
20: [02:51:10] * Tron quit (Ping timeout: 250 seconds)
21: [02:55:39] * shellbackpacific has joined #silverstripe
22: [02:59:51] * shellbackpacific quit (Ping timeout: 246 seconds)
23: [03:01:01] * shellbackpacific has joined #silverstripe
24: [03:04:32] * Stomach quit (Quit: zzz)
25: [03:05:27] * shellbackpacific quit (Ping timeout: 260 seconds)
26: [03:47:38] <ss23> sorry about googleguy btw spronk
27: [03:47:39] <ss23> :(
28: [03:47:54] <xyphoid> haha yeah
29: [03:47:57] <xyphoid> he left for a while
30: [03:48:00] <xyphoid> it was great
31: [03:48:15] <ss23> I got two differnet people PM me after what I just said in there, both being like "omg yes"
32: [03:48:59] <xyphoid> he is just completely incapable of understanding the concept of 'being condescending' and he never ever clicks that every time he ends up picking a fight
33: [03:49:14] <xyphoid> there is a reason they made socrates drink poison
34: [03:49:21] <ss23> haha
35: [03:51:39] <spronk> lul
36: [03:52:20] * Stomach has joined #silverstripe
37: [03:54:46] <spronk> some people are just cunts
38: [03:54:58] <spronk> I believe bronn said it best
39: [03:54:59] <spronk> there's no cure for being a cunt
40: [03:56:30] <xyphoid> i had a conversation with him a few years back where he argued that there's no such thing as a condescending attitude and that it's entirely the fault of the target
41: [03:56:46] <xyphoid> just bonkers
42: [03:56:58] <spronk> lul
43: [03:57:32] <ss23> Even TML said something to him a while back, which is saying something
44: [03:57:38] <spronk> lolmm
45: [03:58:32] <xyphoid> haha I saw that
46: [03:58:51] <spronk> ughhhh
47: [03:58:58] <spronk> fuck working with multiple languages is a PITA
48: [03:59:31] <spronk> what I really want is a metalanguage that compiles down into the various languages I want to use
49: [03:59:43] <spronk> something like haxe
50: [03:59:45] <spronk> except not haxe
51: [04:14:47] * Hailwood quit (Remote host closed the connection)
52: [04:34:54] * shellbackpacific has joined #silverstripe
53: [04:39:22] * shellbackpacific quit (Ping timeout: 260 seconds)
54: [04:41:14] * pippy quit (Ping timeout: 250 seconds)
55: [04:55:01] * Stomach quit (Ping timeout: 258 seconds)
56: [05:15:45] * micmania1 quit (Quit: micmania1)
57: [05:31:42] * EasyCo has joined #silverstripe
58: [06:00:22] * shellbackpacific has joined #silverstripe
59: [06:03:56] * micmania1 has joined #silverstripe
60: [06:06:03] * shellbackpacific quit (Ping timeout: 276 seconds)
61: [06:11:44] * spekulatius quit (Ping timeout: 250 seconds)
62: [06:12:07] * spekulatius has joined #silverstripe
63: [06:14:18] * wmk has joined #silverstripe
64: [06:19:34] * micmania1 quit (Quit: micmania1)
65: [06:25:21] * shellbackpacific has joined #silverstripe
66: [06:29:34] * shellbackpacific quit (Ping timeout: 240 seconds)
67: [06:43:04] * wmk quit (Ping timeout: 240 seconds)
68: [06:55:41] * arnhoe has joined #silverstripe
69: [07:23:58] * lerni has joined #silverstripe
70: [07:24:38] * shellbackpacific has joined #silverstripe
71: [07:28:52] * shellbackpacific quit (Ping timeout: 252 seconds)
72: [07:43:03] * swaiba has joined #silverstripe
73: [07:52:55] * elgabbu has joined #silverstripe
74: [07:56:25] * kinglozzer has joined #silverstripe
75: [07:57:46] * ryanpotternz has joined #silverstripe
76: [07:57:51] * ryanpotternz quit (Client Quit)
77: [08:03:36] * elgabbu quit (Ping timeout: 250 seconds)
78: [08:16:07] * elgabbu has joined #silverstripe
79: [08:18:26] * shellbackpacific has joined #silverstripe
80: [08:22:47] * shellbackpacific quit (Ping timeout: 258 seconds)
81: [08:39:16] * darianno has joined #silverstripe
82: [08:42:21] * Sj0hn has joined #silverstripe
83: [08:43:47] <Sj0hn> Hi, I'm using Folder::findOrMake() function on the onBeforeWrite. It's giving back 'undefined method'..
84: [08:44:20] <swaiba> Sj0hn stack trace?
85: [08:48:24] <Sj0hn> http://pastie.org/10907954
86: [08:50:36] * agent44 has joined #silverstripe
87: [08:50:50] * agent44 quit (Client Quit)
88: [08:51:19] * agent44 has joined #silverstripe
89: [08:57:49] <Sj0hn> swaiba, You find out whats wrong here, or do you need more info?
90: [08:59:00] <cloph_away> https://github.com/silverstripe/sapphire/commit/a46838c
91: [09:00:06] <Sj0hn> Thanks!
92: [09:00:23] <Sj0hn> Makes sense now ..
93: [09:06:15] * micmania1 has joined #silverstripe
94: [09:06:17] * micmania1 quit (Client Quit)
95: [09:16:52] * shellbackpacific has joined #silverstripe
96: [09:21:37] * shellbackpacific quit (Ping timeout: 252 seconds)
97: [09:24:18] * slievr has joined #silverstripe
98: [10:11:04] * shellbackpacific has joined #silverstripe
99: [10:15:21] * shellbackpacific quit (Ping timeout: 244 seconds)
100: [10:16:18] * shellbackpacific has joined #silverstripe
101: [10:21:30] * shellbackpacific quit (Ping timeout: 276 seconds)
102: [10:26:21] * lerni quit ()
103: [10:30:17] * jack has joined #silverstripe
104: [10:30:41] * jack is now known as Guest2644
105: [10:31:39] <Guest2644> Hi, I have this code I just need the records in nested loop of parent loop
106: [10:31:43] <Guest2644> here is the code
107: [10:31:51] <Guest2644> http://www.sspaste.com/paste/show/5788bb70e919a
108: [10:32:57] <Guest2644> on line 15 I can't access fields of record function
109: [10:35:10] <swaiba> looks like you are way out of context the "Record" context closed with <% end_loop %> on line 7
110: [10:36:11] <elgabbu> maybe a silly question ... a template receives an empty ArrayList (return new ArrayList ) ... when looped over <% loop $list %> ... the loop still makes one iteration ...
111: [10:36:15] <elgabbu> why is that?
112: [10:37:10] <swaiba> elgabbu I might suggest backwards compatability with the old "control"
113: [10:37:27] <Guest2644> sorry my mistake loop will be closed after nested loop tag, but then no record is showing
114: [10:39:46] <elgabbu> swaiba not sure i understand what you mean
115: [10:40:25] <elgabbu> meh forget it works fine .. was not returning the arraylist
116: [10:40:25] <swaiba> Guest2644 so you've got an updated version
117: [10:40:56] <Guest2644> of silverstripe?
118: [10:41:12] <Guest2644> ss 3.3.1
119: [10:41:13] <swaiba> elgabbu for the record "loop" replaced "control" from 2.4 (and "with" was added")
120: [10:41:31] <elgabbu> gotcha
121: [10:41:35] <swaiba> so I'm saying loop wtill acts like control which always looped once
122: [10:41:40] <swaiba> anyway all good
123: [10:42:20] <Guest2644> how can I get the records then
124: [10:43:24] <swaiba> Guest2644 edit the above file... and move the bit with $Up within the other loop
125: [10:43:47] <swaiba> $Up is saying move up one context... but that isn't the context of a "Record"
126: [10:44:41] <Guest2644> sorry I didn't understand
127: [10:50:47] <swaiba> https://docs.silverstripe.org/en/3.4/developer_guides/templates/syntax/#scope
128: [10:50:50] <swaiba> ^^^^^^^^Guest2644
129: [10:53:28] * Guest2644 quit (Ping timeout: 250 seconds)
130: [11:21:06] * jack_ has joined #silverstripe
131: [11:22:14] <jack_> Hi, here is the code http://www.sspaste.com/paste/show/5788c74a72d13
132: [11:22:35] <jack_> I want on line 15, to use year and modelname of parent loop how can I do so
133: [11:40:48] <jack_> help plz
134: [11:55:46] <swaiba> jack_ you were not previously Guest2644 were you?
135: [11:55:52] <swaiba> that code looks very familiar...
136: [12:02:22] * Sj0hn quit (Ping timeout: 250 seconds)
137: [12:03:08] * shellbackpacific has joined #silverstripe
138: [12:13:18] * muskie9 quit (Ping timeout: 276 seconds)
139: [12:13:24] <jack_> plz help if you can
140: [12:13:59] <jack_> yes, I just want to tables joined and fetch that under one record
141: [12:15:19] <swaiba> jack_ I was helping you
142: [12:15:23] <swaiba> did you read https://docs.silverstripe.org/en/3.4/developer_guides/templates/syntax/#scope ?
143: [12:15:45] <jack_> yes, but that's not I want
144: [12:16:19] <swaiba> sorry, how is that "not what you want"
145: [12:16:28] <swaiba> you asked a question - I explained it
146: [12:16:46] <swaiba> and you didn't understand the explanation, so I sent you the docs (which should be the final answer)
147: [12:17:09] <jack_> ok here is my code http://www.sspaste.com/paste/show/5788d42976201
148: [12:17:24] <jack_> I am trying to fetch the records in that way
149: [12:17:27] * UndefinedOffset has joined #silverstripe
150: [12:18:54] <swaiba> jack_ you are better off, for now, just using the result of CompareVehicles::get
151: [12:19:20] <swaiba> I don't see why you are putting it in the structure you are, it's got issues, so just send the list directly
152: [12:19:49] <jack_> can I get a demo code for that
153: [12:20:04] <jack_> would be very helpful as I am a new ss user
154: [12:20:23] <swaiba> what "demo" code, I'm suggesting changes to *your* code
155: [12:21:10] <swaiba> Sorry I find this frustrating, I'll let someone else pick this up, or maybe if you can ask your question clearly enough on stack overflow
156: [12:39:30] * swaiba quit (Remote host closed the connection)
157: [12:46:39] * muskie9 has joined #silverstripe
158: [12:47:48] * jack_ quit (Quit: Page closed)
159: [13:01:09] * NETim has joined #silverstripe
160: [14:12:25] * darianno quit (Quit: Textual IRC Client: www.textualapp.com)
161: [14:49:55] * arnhoe quit ()
162: [15:20:12] * UndefinedOffset quit (Read error: Connection reset by peer)
163: [15:22:59] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
164: [15:25:02] * muskie9 has joined #silverstripe
165: [15:30:20] <ss-helper> Re: [silverstripe-dev] Abridged summary of silverst...@googlegroups.com - 8 updates in 1 topic - https://groups.google.com/d/msg/silverstripe-dev/L6SJzpyzJyM/bZRtUiOkCAAJ
166: [15:45:20] <ss-helper> Re: [silverstripe-dev] Abridged summary of silverst...@googlegroups.com - 8 updates in 1 topic - https://groups.google.com/d/msg/silverstripe-dev/L6SJzpyzJyM/ilP1m1ulCAAJ
167: [15:45:20] <ss-helper> Re: [silverstripe-dev] Abridged summary of silverst...@googlegroups.com - 8 updates in 1 topic - https://groups.google.com/d/msg/silverstripe-dev/L6SJzpyzJyM/WRdDA1KlCAAJ
168: [16:05:56] * kinglozzer quit ()
169: [16:25:40] * shellbackpacific quit (Ping timeout: 264 seconds)
170: [16:48:37] * TheVoid- has joined #silverstripe
171: [16:48:37] <ss-helper> TheVoid-: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
172: [16:48:59] * NETim quit (Quit: Leaving)
173: [16:51:12] * TheVoid quit (Ping timeout: 272 seconds)
174: [16:56:08] * slievr quit (Quit: Leaving.)
175: [16:56:41] * agent44 has left #silverstripe
176: [17:34:04] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
177: [17:52:31] * shellbackpacific has joined #silverstripe
178: [17:56:54] * shellbackpacific quit (Ping timeout: 246 seconds)
179: [17:57:48] * shellbackpacific has joined #silverstripe
180: [18:02:23] * shellbackpacific quit (Ping timeout: 250 seconds)
181: [18:04:45] * gelignite has joined #silverstripe
182: [18:51:49] * shellbackpacific has joined #silverstripe
183: [18:57:08] * shellbac1pacific has joined #silverstripe
184: [18:57:11] * shellbackpacific quit (Read error: Connection reset by peer)
185: [18:57:29] * muskie9 has joined #silverstripe
186: [19:02:09] * shellbac1pacific quit (Ping timeout: 276 seconds)
187: [19:43:43] * pinkp has joined #silverstripe
188: [19:44:36] <pinkp> I've just installed silverstripe 3.4 and when accessing the admin get this error, any ideas what's going on??
189: [19:44:39] <pinkp> RVER['HTTP_ACCEPT_ENCODING'])) ? strtolower($_SERVER['HTTP_ACCEPT_ENCODING']) : ""; $encoding = preg_match( '/\b(x-gzip|gzip)\b/', $encodings, $match) ? $match[1] : ""; // Is northon antivirus header if (isset($_SERVER['---------------'])) $encoding = "x-gzip"; $supportsGzip = $this->settings['compress'] && !empty($encoding) && !$zlibOn && function_exists('gzencode'); // Set cache file name $cacheFile = $this->settings["cache_dir"]
190: [19:55:46] * shellbackpacific has joined #silverstripe
191: [19:59:08] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
192: [20:00:04] * shellbackpacific quit (Ping timeout: 240 seconds)
193: [20:00:16] * muskie9 has joined #silverstripe
194: [20:38:39] <AlphaCactus> pinkp that looks like source code not an error?
195: [20:45:01] * Stomach has joined #silverstripe
196: [20:50:17] * shellbackpacific has joined #silverstripe
197: [20:54:30] * shellbackpacific quit (Ping timeout: 258 seconds)
198: [20:55:52] * Stomach quit (Quit: zzz)
199: [21:16:41] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
200: [21:20:55] * muskie9 has joined #silverstripe
201: [21:41:52] * Stomach has joined #silverstripe
202: [21:45:51] <pinkp> Yeah true, not sure why its showing instead of the admin area... AlphaCactus
203: [21:48:45] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
204: [21:48:54] <AlphaCactus> is it styled?
205: [22:03:36] <pinkp> no
206: [22:03:55] <pinkp> just comes as plain text when attempting to get to the admin area..
207: [22:05:17] <pinkp> thanks for your help, got to go
208: [22:09:28] * pinkp quit (Ping timeout: 250 seconds)
209: [22:37:05] * shellbackpacific has joined #silverstripe
210: [22:41:27] * shellbackpacific quit (Ping timeout: 246 seconds)
211: [22:42:24] * shellbackpacific has joined #silverstripe
212: [22:46:31] * shellbackpacific quit (Ping timeout: 240 seconds)
213: [23:15:03] * Stomach quit (Quit: zzz)
214: [23:34:52] * Stomach has joined #silverstripe
215: [23:35:39] * Stomach quit (Read error: Connection reset by peer)
216: [23:36:14] * Stomach has joined #silverstripe
217: [23:36:43] * shellbackpacific has joined #silverstripe
218: [23:41:32] * shellbackpacific quit (Ping timeout: 260 seconds)
219: [23:44:19] * Stomach quit (Quit: zzz)

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