#silverstripe IRC Log

IRC log for 9 November 2015

All timestamps are in UTC.

1: [00:02:54] * micmania1 has joined #silverstripe
2: [00:04:38] * willr quit (Quit: willr)
3: [00:06:28] <zippy> Stomach: jesus I turn on the cricket and see we lost one already
4: [00:06:35] <Stomach> yeah :\
5: [00:06:35] * spronk has joined #silverstripe
6: [00:06:44] <Stomach> bloody taylor
7: [00:11:44] * glenn-bautista has joined #silverstripe
8: [00:12:08] <zippy> I would be semi tempted to get a sky fan pass thing for the cricket, if they could do something like $25 for just the cricket for the month or something
9: [00:12:19] <zippy> instead have to watch a stream and they get no monies
10: [00:18:26] <helenclarko> zippy: lol, saw an immage online of the cricket. Something about 1% chance NZ will win, 19% chance of a draw and 80% chance of AUS winning. I think the caption said "so we still have a chance then".
11: [00:18:51] <Colin[pi]> helenclarko: take your rugby win and gtfo
12: [00:18:53] <Colin[pi]> ;D
13: [00:19:14] <zippy> Colin[pi]: the one of many?
14: [00:19:27] <helenclarko> Colin[pi]: pretty much.
15: [00:19:32] <Colin[pi]> lol
16: [00:21:57] <spronk> hm
17: [00:22:02] <spronk> anyonek now if sublime text can reopen a closed window
18: [00:22:03] * pandaux quit (Ping timeout: 246 seconds)
19: [00:23:23] <zippy> spronk: Shift-Command-T
20: [00:23:41] <spronk> mm, that only seems to work witht abs in current window ;(
21: [00:28:30] <zippy> christ
22: [00:28:35] <zippy> bmac needs to calm the f down
23: [00:28:42] <spronk> >
24: [00:28:42] <spronk> ?
25: [00:28:51] <zippy> cricket..
26: [00:28:57] <spronk> whats he done
27: [00:29:09] <zippy> went a bit hard at a ball
28: [00:29:42] <zippy> http://cricfree.sx/watch/live/australia-vs-new-zealand-live-streaming -- make sure you have an ad block isntalled. Then right click on the pink text and remove the notice (remove the node). fyi.
29: [00:29:54] <spronk> :D
30: [00:31:54] * hailwood facepalms
31: [00:32:20] <hailwood> Just realized that silverstripe/blog automatically switches out to addnewmulticlass if BlogPost is subclassed :/
32: [00:34:43] * Stomach quit (Quit: zzz)
33: [00:36:07] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
34: [00:36:53] * DanaeNZ quit (Remote host closed the connection)
35: [00:37:27] * DanaeNZ has joined #silverstripe
36: [00:37:37] * r_hector has joined #silverstripe
37: [00:41:46] * DanaeNZ quit (Ping timeout: 244 seconds)
38: [00:44:19] <helenclarko> any ACC for the cricket?
39: [00:49:45] * willr has joined #silverstripe
40: [00:51:44] * UncleCheese has joined #silverstripe
41: [00:55:16] * zippy has joined #silverstripe
42: [00:56:19] <zippy> New Zealand require another 274 runs with 5 wickets remaining...
43: [00:56:29] <zippy> could happen..... :-)
44: [01:00:13] * antmas yawns
45: [01:00:16] <antmas> :|
46: [01:00:17] <antmas> :o
47: [01:00:18] <antmas> :O
48: [01:00:20] <antmas> :()
49: [01:00:21] <antmas> :O
50: [01:00:23] <antmas> :o
51: [01:00:24] <antmas> :|
52: [01:00:59] <zippy> ass to work, tax payer funded!
53: [01:01:18] * DanaeNZ has joined #silverstripe
54: [01:01:38] <antmas> correction...
55: [01:01:42] <antmas> rate payer funded :P
56: [01:03:52] <zippy> rates are a tax :)
57: [01:05:02] <antmas> you're a tax
58: [01:05:20] <antmas> and no
59: [01:05:31] <antmas> I didn't have to google 'rates' thank you very much
60: [01:05:34] <antmas> <.<
61: [01:05:36] <antmas> >.>
62: [01:06:11] * Tanger has joined #silverstripe
63: [01:07:14] <DanaeNZ> <<
64: [01:07:27] <DanaeNZ> ew this day is just shitty in general
65: [01:07:40] <DanaeNZ> Gonna watch a horror movie at the cinema tonight
66: [01:07:42] <DanaeNZ> wish me luck
67: [01:07:45] <antmas> ooooh
68: [01:07:47] <antmas> which one?
69: [01:09:34] <antmas> I don't think I've ever seen a horror movie at a cinema before
70: [01:09:52] <helenclarko> Paranormal activity?
71: [01:13:47] <antmas> VHS 1/2 would have been cool to see on the big screen
72: [01:13:58] <spronk> cmon bmac
73: [01:13:58] <spronk> smash em
74: [01:14:05] * spronk saw the ring at the cinema
75: [01:14:07] <spronk> that was fucking
76: [01:14:07] <spronk> fucking
77: [01:14:08] <spronk> fucking
78: [01:14:14] <spronk> fuckety fucking
79: [01:14:15] <spronk> creept
80: [01:15:41] <antmas> spronk: lol yeah I imagine
81: [01:15:54] <antmas> I love going to the movies
82: [01:16:41] <spronk> i used to
83: [01:16:47] <spronk> now i just feel depressed at how much money it costs
84: [01:17:00] <spronk> though hoyts are doing the $10 movie thing when you buy books of five tickets which amkes it semi ok
85: [01:17:30] <zippy> bugger
86: [01:17:46] <antmas> mm
87: [01:18:15] <helenclarko> Mondays!!!!!!!! F!@#
88: [01:18:35] <zippy> heh. A fallout 4 ad in the cricket wicket..
89: [01:18:46] <zippy> *break between the cricket wicket*
90: [01:19:35] * Stomach has joined #silverstripe
91: [01:20:09] <antmas> zippy: more entertaining than the cricket :P
92: [01:20:21] <zippy> Stomach: mm.. needed watling eh
93: [01:23:01] <Stomach> its so shit, we only need 260 more
94: [01:23:04] <Stomach> just hit the fucking thing
95: [01:24:55] <zippy> fff
96: [01:25:04] <zippy> reviews all gone!!..
97: [01:27:35] <spronk> ?
98: [01:28:31] <zippy> on the deplay he didn't knick it but he couldn't review it since they used them all up
99: [01:28:33] <zippy> so bmac has to go
100: [01:28:35] <spronk> well
101: [01:28:37] <spronk> we're fucked then
102: [01:28:38] <zippy> *relay
103: [01:28:40] <zippy> yeap
104: [01:29:08] <spronk> >200 run loss
105: [01:29:14] <spronk> ouuch
106: [01:31:42] <Colin[pi]> Fucking hell, my mobile internet has been slow all morning. Just got an alert about my data cap, Steam has been downloading updates all morning, didn't realise
107: [01:31:50] <Colin[pi]> 6GB today \o/
108: [01:32:00] <spronk> fucking updates
109: [01:32:01] <antmas> GHAHAHAAHAHAH
110: [01:32:04] <antmas> oh man
111: [01:32:07] <zippy> ouch, on the mobile internet?
112: [01:32:13] <zippy> hopefully that didn't roll over yesterday!
113: [01:32:13] <Colin[pi]> that'll cost $36 extra
114: [01:32:15] <Colin[pi]> gg steam
115: [01:32:19] <antmas> LOL
116: [01:32:31] <antmas> I shouldn't laugh, but that is kinda funny
117: [01:32:44] <Colin[pi]> antmas: I facepalmed
118: [01:32:53] <DanaeNZ> only $36 for 6GB of data? nice
119: [01:33:01] <Colin[pi]> im like "ytf is my internet so slow this morning?.... oh"
120: [01:33:36] <helenclarko> Colin[pi]: Had the same thing but with Windows updates a few years back.
121: [01:33:48] <Colin[pi]> DanaeNZ: yeah could be worse I guess
122: [01:34:46] * Jakx has joined #silverstripe
123: [01:34:54] <Jakx> Good afternoon
124: [01:35:24] <helenclarko> Colin[pi]: Wasnt until the windows would like to restart to install updates that I was like "AHHHH FUCK!!"
125: [01:35:30] <helenclarko> MONDAYS!!!!
126: [01:36:09] <Colin[pi]> helenclarko: would be nice if steam popped up a toast or something and said "ima start downloading a shit ton of updates K?"
127: [01:37:04] <helenclarko> like clippy? "I see you are on mobile broadband, Can I has updaes?"
128: [01:37:25] <Colin[pi]> helenclarko: yeah but Windows sees it as just another network connection
129: [01:37:33] <antmas> I'm suprised you can't define 'this is a mobile bb connection' when selecting an SSID on PC's
130: [01:37:42] <helenclarko> Colin[pi]: Exactly.
131: [01:38:18] <antmas> I can't stop playing with the magnet on my name tag
132: [01:38:22] <antmas> halp
133: [01:38:23] <helenclarko> antmas: Like a "DONT DOWNLOAD ANYTHING UNLESS I TELL YOU" button.
134: [01:38:42] <antmas> mm
135: [01:38:49] <antmas> that'd be greeaaaat
136: [01:39:00] <Colin[pi]> lol 11:43 email "you've used 50% of your data", 12:12 "you've used 100% *sad trombone*"
137: [01:39:07] <Colin[pi]> dammit steam
138: [01:39:19] <antmas> hahaha
139: [01:39:45] <helenclarko> Colin[pi]: Send abusive email to steam?
140: [01:40:06] <Colin[pi]> helenclarko: nah, wont solve anything
141: [01:40:23] <antmas> 'you use all my data you asshole, now give me a F04 key or I'll get angry on facebook'
142: [01:40:34] <Colin[pi]> I could try and whinge to vodafone
143: [01:40:41] <Colin[pi]> they'll prolly tell me to fuck off
144: [01:44:44] <spronk> hmm
145: [01:44:47] <spronk> who does cheap puncture repair
146: [01:46:20] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
147: [01:47:32] * glenn-bautista quit (Quit: Leaving.)
148: [01:49:15] <antmas> spronk: for car tires?
149: [01:49:21] <spronk> mm
150: [01:50:25] <antmas> what's 'cheap'?
151: [01:50:28] <spronk> i dno
152: [01:50:32] <spronk> noone puts their prices online
153: [01:50:49] <antmas> last one I got (on the west coast) was like $15 I think
154: [01:52:14] <Colin[pi]> yay Vodafone are sorting it out for me
155: [01:52:24] <antmas> :O
156: [01:52:29] <antmas> that's pretty good of them
157: [01:52:35] <Colin[pi]> yeah quite surprised
158: [01:52:44] <antmas> did you offer them BJs or somethin?
159: [01:52:55] <DanaeNZ> over the phone?
160: [01:52:55] <Colin[pi]> antmas: ;)
161: [01:53:00] <spronk> hmm
162: [01:53:01] <DanaeNZ> no he would put the sexy voice on
163: [01:53:02] <spronk> over the phone bj
164: [01:53:03] <spronk> how does that work
165: [01:53:21] <antmas> fuck you is how it works
166: [01:53:24] <DanaeNZ> don't question it spronk just let it happen
167: [01:53:27] <antmas> ^.^
168: [01:53:28] <spronk> ;D
169: [01:55:40] <Colin[pi]> bbiab
170: [01:55:54] <antmas> k
171: [01:56:11] * antmas waits patiently for Colin[pi] to return
172: [01:56:28] <DanaeNZ> it took me a little while to decipher that
173: [01:56:36] <DanaeNZ> i thought he was speaking gibberish
174: [01:57:01] <DanaeNZ> dammit why did I get a V and not Nippy's
175: [01:57:09] <DanaeNZ> I need to put a new photo up
176: [01:57:45] <spronk> a new photo?
177: [01:57:56] <antmas> spronk: on the #nippys
178: [01:58:57] <DanaeNZ> !notes nippys
179: [01:58:58] <ss-helper> https://github.com/ss-irc/notes/wiki/nippys
180: [01:59:19] <antmas> that office room is very white
181: [02:00:26] <DanaeNZ> whose?
182: [02:00:33] * Colin[pi] quit (Ping timeout: 265 seconds)
183: [02:00:39] <antmas> DanaeNZ: yours
184: [02:00:43] <DanaeNZ> oh my god antmas you can't just point out a room is white
185: [02:00:58] <antmas> DanaeNZ: you need to hire more brown couches
186: [02:01:01] <antmas> so racist
187: [02:01:08] <antmas> #boycottToast
188: [02:02:04] <DanaeNZ> -1 for not getting the Mean Girls reference
189: [02:02:08] <DanaeNZ> tut tut I am disappointed
190: [02:02:58] <antmas> :<
191: [02:03:56] * Jakx quit (Ping timeout: 265 seconds)
192: [02:04:00] <DanaeNZ> hahahha
193: [02:04:20] <DanaeNZ> WHY DOES THIS DEADLINE NEED TO MATCH UP WITH THE FO4 RELEASE
194: [02:04:33] * DanaeNZ thrashes about angrily
195: [02:04:50] <spronk> boult and craig
196: [02:04:54] <spronk> awesome
197: [02:04:57] * micmania1 quit (Quit: micmania1)
198: [02:05:00] <spronk> we might not lose by 200 runs!
199: [02:05:02] <spronk> maybe
200: [02:05:03] <antmas> Boult & Craig
201: [02:05:05] <spronk> tough ask
202: [02:05:09] <antmas> sounds like an accounting firm
203: [02:05:14] <spronk> Craig & Boult Inc
204: [02:05:15] * micmania1 has joined #silverstripe
205: [02:05:37] <spronk> mark craig is actually pretty handy
206: [02:06:11] <antmas> DanaeNZ: did you watch motogp last night?
207: [02:06:30] <DanaeNZ> antmas: nah no TV
208: [02:06:37] <antmas> :<
209: [02:07:17] <spronk> ughh
210: [02:07:18] <spronk> MM
211: [02:07:20] <spronk> what a cunt
212: [02:10:54] <antmas> http://i.imgur.com/h4Ub9fZ.gifv
213: [02:10:58] <antmas> OMG NO
214: [02:11:25] * Stomach quit (Quit: zzz)
215: [02:11:34] <spronk> blehh
216: [02:11:45] <helenclarko> antmas: I had to stop... Does he die>
217: [02:11:46] <helenclarko> ?
218: [02:11:49] <DanaeNZ> noped out of that one
219: [02:11:52] <spronk> nah
220: [02:11:53] <spronk> watch it
221: [02:11:53] <antmas> helenclarko: no, but holy shit
222: [02:11:54] <spronk> its good
223: [02:11:55] <spronk> no die
224: [02:11:56] <spronk> promise
225: [02:12:25] <helenclarko> spronk: I've seen chickenbutt before... I TRUST NOBODY!
226: [02:12:33] * spronk is super trustworthy
227: [02:12:37] <spronk> have i ever lead #silverstripe astray!?
228: [02:13:13] <antmas> lol
229: [02:13:56] <helenclarko> I dont know who to trust anymore. Obviously not the NZ cricket team... Damn shame!
230: [02:13:58] <spronk> NOO
231: [02:14:01] <spronk> DAMN YOU BOULT
232: [02:14:18] <spronk> as expected we lose by alot.
233: [02:14:28] * spronk pictures alot eating the nz cricket team
234: [02:15:20] * MichalKleiner quit (Ping timeout: 272 seconds)
235: [02:16:16] * Colin[pi] has joined #silverstripe
236: [02:16:28] * Jakx has joined #silverstripe
237: [02:17:17] <Jakx> I'm using ->setFieldHolderTemplate('EstimateFormField'), and my template is Includes/EstimateFormField_holder.ss, should this be working?
238: [02:17:36] * Stomach has joined #silverstripe
239: [02:20:57] * helenclarko quit (Ping timeout: 255 seconds)
240: [02:22:47] * helenclarko has joined #silverstripe
241: [02:23:04] <Jakx> How can I debug what template is being rendered by each form element?
242: [02:23:09] <helenclarko> Stupid internet!
243: [02:23:25] <micmania1> Jakx: ?showtemplate=1
244: [02:24:06] <Jakx> micmania1, hmmm doesn't seem to do anything
245: [02:25:12] <micmania1> Logged in as admin?
246: [02:29:08] <Jakx> micmania1, ah, ty. ok. Yeah I can see my template isn't being used, it's defaulting to FormField_holder.ss
247: [02:29:20] * MichalKleiner has joined #silverstripe
248: [02:29:27] * jules0x quit (Quit: Leaving)
249: [02:32:11] <Jakx> ->setFieldHolderTemplate('EstimateFormField') and template name is EstimateFormField.ss.ss
250: [02:33:03] <helenclarko> .ss.ss?
251: [02:33:41] <Jakx> helenclarko, sorry, typo. "EstimateFormField.ss" <- direct from clipboard.
252: [02:38:12] <helenclarko> Jakx: This? http://stackoverflow.com/questions/23142265/cant-get-my-custom-template-to-work-with-my-custom-subclass
253: [02:39:50] <Jakx> helenclarko, I'm not subclassing here. I'm just using the ->setFieldHolderTemplate() method.
254: [02:44:04] <micmania1> Jakx: Have you flushed? If so, try moving your template into the root of your templates directory. You can also put in some debugging and call SSViewer::hasTemplate('MyTemplate');
255: [02:45:15] * glenn-bautista has joined #silverstripe
256: [02:47:08] <Jakx> helenclarko, micmania1, thanks guys. The final issue was that I hadn't moved the template to templates/, I had is in templates/Includes/
257: [02:48:12] <Jakx> helenclarko, micmania1, thanks for helping be isolate it. There were quite a vew varibles in play, and I just had to my ducks lined up.
258: [02:50:13] <Colin[pi]> just had a blonde moment... plugged my ipod into my PC speakers, then wanted to listen on headphones, plugged headphones into PC speakers.... complained was too far... realised I could just plug into ipod :(
259: [02:53:30] <micmania1> Colin[pi]: woooooooooooooowww :/
260: [02:53:53] <micmania1> That’s a whole new level
261: [02:54:18] <Colin[pi]> micmania1: I spent all weekend doing house stuff, I'm tired OKAY
262: [02:56:53] <Colin[pi]> micmania1: I did get to attack a bush with an electric hedge trimmer though, that was fun
263: [03:16:52] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
264: [03:18:04] * glenn-bautista quit (Quit: Leaving.)
265: [03:18:43] <Colin[pi]> I haz all the tireds
266: [03:18:44] <Colin[pi]> :(
267: [03:20:12] <DanaeNZ> i feels ya brah
268: [03:20:18] <DanaeNZ> 420 blaze it
269: [03:20:24] <Colin[pi]> DanaeNZ: XD
270: [03:20:29] <Colin[pi]> coffee aint doin shite
271: [03:20:31] <Colin[pi]> :(
272: [03:21:41] <Colin[pi]> carn internets... connect damnit
273: [03:21:59] * vitaly has joined #silverstripe
274: [03:22:14] * helenclarko quit (Ping timeout: 265 seconds)
275: [03:23:00] <vitaly> Hi all! Can anyone recommend gulp build tool for SS which I can use for bootstrap3 + jQuery?
276: [03:23:32] <vitaly> I mean not tool, template building thingy :)
277: [03:23:47] * helenclarko has joined #silverstripe
278: [03:24:03] <Tanger> Morning guys. Is there an environment variable set when Silverstripe is in staging mode
279: [03:24:50] <micmania1> Tanger: Director::get_environment_type()
280: [03:25:33] <Tanger> micmania1: Thanks. And can this be checked in config.yml to set alternate config for when the site is in staging mode?
281: [03:26:25] <micmania1> Tanger: https://docs.silverstripe.org/en/3.1/developer_guides/configuration/configuration/#exclusionary-rules
282: [03:26:42] * helenclark0 has joined #silverstripe
283: [03:28:27] * helenclarko quit (Ping timeout: 255 seconds)
284: [03:33:29] * helenclark0 is now known as helenclarko
285: [03:34:20] <Tanger> micmania1: Cheers mate!
286: [03:43:57] * UncleCheese has joined #silverstripe
287: [03:44:34] <Colin[pi]> UncleCheese: o/
288: [03:44:51] * glenn-bautista has joined #silverstripe
289: [03:44:52] <UncleCheese> hi
290: [03:45:17] <Colin[pi]> UncleCheese: been busy mate?
291: [03:45:24] <UncleCheese> just got back from japan
292: [03:45:37] <Colin[pi]> ohh sweet! how was it?
293: [03:49:14] <DanaeNZ> jealous
294: [04:00:33] * hailwood quit (Remote host closed the connection)
295: [04:02:02] * helenclarko quit (Quit: Ain't no lie, baby bye bye bye.)
296: [04:07:19] * spronk quit (Quit: I may need a longer sleep timer...)
297: [04:30:51] * spronk has joined #silverstripe
298: [04:31:42] * Stomach quit (Quit: bye)
299: [04:32:00] * spronk quit (Max SendQ exceeded)
300: [04:34:25] * Stomach has joined #silverstripe
301: [04:38:59] * glenn-bautista quit (Quit: Leaving.)
302: [04:43:00] * willr quit (Quit: willr)
303: [04:45:20] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
304: [04:45:46] * adrexia has joined #silverstripe
305: [04:49:17] * adrexia quit (Client Quit)
306: [04:50:09] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
307: [04:51:30] * r_hector quit (Remote host closed the connection)
308: [04:59:42] * DanaeNZ quit (Remote host closed the connection)
309: [05:00:17] * DanaeNZ has joined #silverstripe
310: [05:04:45] * DanaeNZ quit (Ping timeout: 244 seconds)
311: [05:14:31] * Jakx quit (Quit: Leaving)
312: [05:16:54] * MichalKleiner quit (Ping timeout: 255 seconds)
313: [05:21:38] * Stomach quit (Quit: zzz)
314: [05:22:01] * Stomach has joined #silverstripe
315: [05:33:27] * novaweb quit ()
316: [05:42:46] * Stomach quit (Ping timeout: 240 seconds)
317: [05:45:48] * Stomach has joined #silverstripe
318: [05:50:13] * Stomach quit (Ping timeout: 244 seconds)
319: [06:13:45] * UncleCheese has joined #silverstripe
320: [06:14:09] * mahfuz quit (Ping timeout: 246 seconds)
321: [06:15:26] * UncleCheese quit (Client Quit)
322: [06:45:32] * leomeloxp_ quit (Quit: WeeChat 1.3)
323: [06:54:43] * leomeloxp has joined #silverstripe
324: [07:05:26] * MichalKleiner has joined #silverstripe
325: [07:06:06] * leomeloxp quit (Quit: WeeChat 1.3)
326: [07:06:29] * leomeloxp has joined #silverstripe
327: [07:09:18] * leomeloxp quit (Client Quit)
328: [07:12:04] * leomeloxp has joined #silverstripe
329: [07:18:12] * mobiusnz has joined #silverstripe
330: [07:21:19] * Stomach has joined #silverstripe
331: [07:23:10] * sealan has joined #silverstripe
332: [07:30:19] <mobiusnz> any ideas why my login page is blank if an incorrect password is entered?
333: [07:34:50] * sealan quit ()
334: [07:39:47] <Tanger> mobiusnz: Does it return a 200 code or a 500 code?
335: [07:42:09] * wmk has joined #silverstripe
336: [07:42:25] <wmk> gmorning
337: [07:54:39] * willr has joined #silverstripe
338: [07:54:39] * willr quit (Client Quit)
339: [07:57:32] <mobiusnz> Tanger: 200
340: [07:58:09] <mobiusnz> the page isn't fully blank, but it is missing the login form
341: [07:58:18] <Tanger> mobiusnz: Is something possibly overriding the template?
342: [07:58:56] <mobiusnz> it's quite possible. But wouldn't it also override the initial login template?
343: [08:01:23] <micmania1> mobiusnz: check that $Form is in your Layout/Page.ss template
344: [08:02:44] <mobiusnz> ah, think I've found it
345: [08:03:11] <mobiusnz> I've got a check for <% if $Content %>. It seems the "This page is secured" text counts as content, but "Incorrect password" doesn't
346: [08:03:26] <mobiusnz> changing to <% if $Content || $Form %> does the trick
347: [08:06:11] * micmania1 quit (Quit: micmania1)
348: [08:11:50] * arnhoe has joined #silverstripe
349: [08:12:02] * r_hector has joined #silverstripe
350: [08:23:51] * Sentro has joined #silverstripe
351: [08:23:51] <ss-helper> Sentro: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
352: [08:32:18] * lerni_ has joined #silverstripe
353: [08:37:41] * DanaeNZ has joined #silverstripe
354: [08:42:06] * DanaeNZ quit (Ping timeout: 255 seconds)
355: [08:57:19] <Sentro> good day!, how to sort record by number of duplicate columns in SS DataModel ?
356: [08:58:23] <Sentro> i.e 1.banana, 2.banana, 3.banana, 4.apple, 5.apple, 6.apple, 7.apple ?
357: [08:58:38] <Sentro> apple must go on next is banana
358: [08:59:02] <Sentro> and trigger the remove duplicates function
359: [08:59:57] * leomeloxp quit (Read error: Connection reset by peer)
360: [09:01:35] * leomeloxp has joined #silverstripe
361: [09:04:16] <wmk> Sentro, that are three questions at once! (pun intended)
362: [09:04:35] <wmk> Sentro, you need to group by column
363: [09:04:47] <wmk> then sort by count
364: [09:06:17] * kinglozzer has joined #silverstripe
365: [09:07:35] <wmk> Sentro, removeDuplicates - do you want to remove the duplicates from DB?
366: [09:07:39] <wmk> or just from the result?
367: [09:16:53] <Sentro> just the resule @wmk . but what is the SS syntax to sort by count ?
368: [09:17:27] <mobiusnz> anyone here doing CI testing? I've just started getting errors doing `sake dev/tests/cleanupdb` - error is "No database selected"
369: [09:20:37] <wmk> Sentro, try ->sort('Count(*) DESC')
370: [09:20:53] <wmk> or Count(ColumName)
371: [09:24:02] <wmk> cool.. IntelliJ lets you export SQL from a connected DB. No need for phpmyadmin on dev machine anymore?
372: [09:25:52] <Sentro> thanks @wmk, sorry how about the groupBy ? Datalist no longer do groupBy
373: [09:26:21] <wmk> see docs for GroupedList
374: [09:26:48] <wmk> https://docs.silverstripe.org/en/3.2/developer_guides/model/how_tos/grouping_dataobject_sets/
375: [09:26:55] <Sentro> alright. thanks @wmk
376: [09:27:32] <wmk> Sentro, if you get stucked paste some code and we try to help
377: [09:27:43] * Tanger quit (Quit: sleep())
378: [09:28:13] <Sentro> ok @wmk - I really appreciated
379: [09:38:08] * Sentro quit (Quit: Sentro)
380: [09:47:48] * Mike123 has joined #silverstripe
381: [09:50:23] <kinglozzer> Hrm, looking for some input on something...
382: [09:51:10] <kinglozzer> I have to build a "preview" option for members when they edit their "forum" profiles (using forum module)
383: [09:51:31] <kinglozzer> Any ideas on how best to do it? Obviously I don't want to use versioned on member records (that sounds like hell)
384: [09:51:49] <kinglozzer> Something with sessions is my thinking... just not sure how it'll work...
385: [09:52:56] * cloph_away quit (Remote host closed the connection)
386: [09:53:10] * cloph_away has joined #silverstripe
387: [09:58:39] * Stomach quit (Quit: zzz)
388: [10:01:15] <mobiusnz> any idea why subsites might cause silverstripe to try to use a database before connecting?
389: [10:01:17] <mobiusnz> http://pastie.org/10540371
390: [10:05:57] <wmk> mobiusnz, to get the current domain?
391: [10:06:19] <wmk> though it shouldn't query before you have a connection
392: [10:06:42] <mobiusnz> wmk, yeah that's what I thought
393: [10:07:10] <mobiusnz> it's stopping me from running sake dev/tests/cleanupdb
394: [10:07:12] <wmk> dunno where the query is called, maybe in the test?
395: [10:07:26] * wmk has left #silverstripe
396: [10:07:33] * wmk has joined #silverstripe
397: [10:12:49] * r_hector quit (Remote host closed the connection)
398: [10:22:23] * MichalKleiner quit (Remote host closed the connection)
399: [10:29:46] * lerni_ quit ()
400: [10:40:48] * MarkGuinn has joined #silverstripe
401: [11:04:57] * SH__ has joined #silverstripe
402: [11:21:59] * MichalKleiner has joined #silverstripe
403: [11:44:29] * Mike123_ has joined #silverstripe
404: [11:45:15] * Mike123 quit (Ping timeout: 246 seconds)
405: [11:53:18] * SH__ quit (Ping timeout: 246 seconds)
406: [12:00:22] * Colin[pi] quit (Ping timeout: 265 seconds)
407: [12:02:50] * MichalKleiner quit (Remote host closed the connection)
408: [12:15:09] * DanaeNZ has joined #silverstripe
409: [12:19:41] * DanaeNZ quit (Ping timeout: 252 seconds)
410: [12:35:21] * Sentro has joined #silverstripe
411: [13:19:41] * cmcramer has joined #silverstripe
412: [13:21:33] * Sentro quit (Quit: Sentro)
413: [13:28:22] * UndefinedOffset has joined #silverstripe
414: [13:39:09] * gordon has joined #silverstripe
415: [13:39:15] * gordon is now known as nontgor
416: [13:46:54] <wmk> ouch... WP powers 25% of the web...
417: [13:47:16] <wmk> py... where are you when we need you?
418: [13:47:40] <MarkGuinn> only 25%? I thought it was much higher than that
419: [14:05:48] * Otterpocket has joined #silverstripe
420: [14:08:30] <leomeloxp> wmk: Just read the same thing on Reddit. So sad...
421: [14:09:39] <leomeloxp> MarkGuinn: If you're interested http://w3techs.com/technologies/history_overview/content_management/all/y
422: [14:10:59] <MarkGuinn> well, we made it from <0.1% to a solid 0.1% - something to celebrate?
423: [14:12:01] <leomeloxp> I'll be having a beer in our honor tonight XD
424: [14:18:12] * cloph_away is now known as cloph
425: [14:31:51] * Mike123_ quit (Ping timeout: 246 seconds)
426: [14:33:19] * kbtjuh has joined #silverstripe
427: [14:33:51] <kbtjuh> how do i know if a module can be installed by composer?
428: [14:33:58] <kbtjuh> like this one: https://github.com/axllent/silverstripe-cms-tweaks
429: [14:34:14] <wmk> kbtjuh, it has a composer.json, it's listed on packagist
430: [14:34:47] * Mike123 has joined #silverstripe
431: [14:35:14] <wmk> kbtjuh, this module has a composer.json but is not (yet) listed on packagist.
432: [14:35:31] <wmk> so you'll have to tell composer to user github directly in your projects composer.json file
433: [14:35:32] <wmk> then it works
434: [14:36:07] <wmk> see https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository
435: [14:37:33] * cmcramer quit (Ping timeout: 252 seconds)
436: [14:40:47] <wmk> can i do a default sort on a has_one relation?
437: [14:41:07] <kbtjuh> got it, thanks!
438: [14:41:18] <wmk> kbtjuh, you're welcome
439: [14:41:50] <wmk> MarkGuinn, kinglozzer any idea? $default_sort = 'HasOnerRelation.SortOrder ASC' doesn't seem to work
440: [14:42:05] <kinglozzer> wmk: I'd guess you can't do that :/
441: [14:42:14] <wmk> :(
442: [14:42:33] <MarkGuinn> does it not use the default sorting of the target object?
443: [14:43:12] <kinglozzer> wmk: DataList::sort() currently adds the joins, not DataQuery::sort() - DataQuery::sort() is what pulls in default_sort :(
444: [14:43:12] <wmk> well, i have a bunch of hotels and want to sort them by the classification (4 stars, 3 stars, ...)
445: [14:43:30] <kinglozzer> Well, DataQuery::initialiseQuery
446: [14:43:38] <wmk> bug or feature?
447: [14:43:53] <MarkGuinn> i usually override the relation accessor method in that case
448: [14:44:23] <MarkGuinn> or, more often, just create a "SortedHotels" (or whatever) method
449: [14:46:16] <wmk> So instead of Foo::get() you make Foo::getSorted() ?
450: [14:46:24] <wmk> as a helper method?
451: [14:46:58] <kinglozzer> wmk: You could override Foo::get()
452: [14:47:18] <kinglozzer> $list = parent::get(); $list->sort('Foo.Bar ASC'); return $list ?
453: [14:47:18] <wmk> return parent::get()->leftjoin(...)
454: [14:47:46] <kinglozzer> wmk: You should just be able to use sort() on the DataList instance
455: [14:47:55] <wmk> of course.
456: [15:13:49] <wmk> kinglozzer, but that won't affect when i call ->Children() ?
457: [15:18:46] <kinglozzer> wmk: I'm not sure
458: [15:19:03] <wmk> somehow i get weird results... hmm
459: [15:30:35] <wmk> seems grouped list chokes on relations?
460: [15:38:21] <kinglozzer> wmk: Sounds like you need a super grouped list...
461: [15:38:29] <wmk> ?
462: [15:38:31] <kinglozzer> https://github.com/bigfork/supergroupedlist
463: [15:38:32] <kinglozzer> ;D
464: [15:38:45] * AlphaCactus_ has joined #silverstripe
465: [15:39:19] * AlphaCactus quit (Ping timeout: 265 seconds)
466: [15:39:25] * AlphaCactus_ is now known as AlphaCactus
467: [15:40:08] * darjusIT has joined #silverstripe
468: [15:44:53] <wmk> kinglozzer, so in a supergroupedlist i can sort each group by relation?
469: [15:48:32] <kinglozzer> wmk: Take a look at the example https://github.com/bigfork/supergroupedlist#usage
470: [15:49:12] * Mike123 quit (Ping timeout: 246 seconds)
471: [15:51:01] <wmk> kinglozzer, that's for grouping by?
472: [15:51:12] <wmk> $Children is still an ArrayList..?
473: [15:51:20] <kinglozzer> wmk: Yes
474: [15:52:51] * DanaeNZ has joined #silverstripe
475: [15:53:34] <kinglozzer> wmk: It will only work with DataLists though - you can't pass in an ArrayList to SuperGroupedList::create() as it can't get relations from an ArrayList
476: [15:53:47] <kinglozzer> But it will return an ArrayList for $Children, yes
477: [15:57:06] * DanaeNZ quit (Ping timeout: 240 seconds)
478: [15:59:37] * darjusIT quit (Read error: Connection reset by peer)
479: [16:14:45] <wmk> kinglozzer, i ended up creating an arraylist i sort with a helper method, then put it in grouped list
480: [16:16:21] * Copperis has joined #silverstripe
481: [16:28:06] * Otterpocket quit (Quit: Leaving)
482: [16:32:54] * arnhoe quit ()
483: [16:58:50] * Embraden quit (Read error: Connection reset by peer)
484: [16:58:57] * Embraden has joined #silverstripe
485: [17:11:09] * wmk quit (Ping timeout: 265 seconds)
486: [17:15:48] * arnhoe has joined #silverstripe
487: [17:18:52] * kinglozzer quit ()
488: [17:28:53] * stnvh quit (Quit: quit)
489: [18:10:02] * Stomach has joined #silverstripe
490: [18:16:22] * antmas quit (Quit: Page closed)
491: [18:34:47] * glenn-bautista has joined #silverstripe
492: [18:36:16] * Stomach quit (Quit: zzz)
493: [19:03:58] * antmas has joined #silverstripe
494: [19:06:30] * glenn-bautista quit (Quit: Leaving.)
495: [19:09:12] * Stomach has joined #silverstripe
496: [19:09:29] <antmas> guis
497: [19:09:38] * antmas played Fallout 4 for 30mins
498: [19:09:52] <antmas> now I want to go home again :D
499: [19:16:40] * gelignite has joined #silverstripe
500: [19:23:00] * glenn-bautista has joined #silverstripe
501: [19:27:55] * MichalKleiner has joined #silverstripe
502: [19:35:19] * helenclarko has joined #silverstripe
503: [19:35:57] * nuxil has joined #silverstripe
504: [19:36:00] <nuxil> hi
505: [19:36:44] <helenclarko> hi
506: [19:36:46] <nuxil> can someone tell me how i delete a page/draft in the cms?? I want it gone forever.
507: [19:36:52] * jules0x has joined #silverstripe
508: [19:37:39] <helenclarko> nuxil: SS 3.2?
509: [19:38:24] <nuxil> yeah
510: [19:39:30] <helenclarko> yeah, its a bit different in 3.2, you have to Archive it.
511: [19:40:22] <helenclarko> It only stays Archived until you reload the CMS, but it gives you a chance to recover it.
512: [19:40:50] <helenclarko> by reload, I mean refresh the CMS
513: [19:41:16] <nuxil> ah. yeah. ok thank,.
514: [19:42:20] <helenclarko> nuxil: Kinda confused me when I upgraded to 3.2. It was simply a delete button before 3.2.
515: [19:44:36] <nuxil> i havent used silverstripe since like 2.14 i think i was. verry rusty now ;p
516: [19:46:45] <nuxil> where do i learn about how to create a teme=
517: [19:46:46] <nuxil> ?
518: [19:47:43] <nuxil> god dam.. mever mind
519: [19:47:49] <antmas> nuxil after some tutorials?
520: [19:47:58] <nuxil> its one of the |1st links :p
521: [19:48:03] <helenclarko> https://www.silverstripe.org/learn/lessons/
522: [19:48:15] <antmas> do those lessons ^^^ they're very good
523: [19:48:35] <nuxil> any cool temes that are gpl and i can play with?
524: [19:50:08] <helenclarko> nuxil: The silverstripe simple theme is great. Its the default theme and its built around responsive design.
525: [19:50:41] <antmas> nuxil: the one UncleCheese uses in the tutorials is pretty good actually
526: [19:50:59] <nuxil> ok. thanks :)
527: [19:51:53] <helenclarko> antmas: Ah, one-ring
528: [19:56:35] * Stomach quit (Quit: zzz)
529: [19:56:45] * adrexia has joined #silverstripe
530: [19:59:16] * Stomach has joined #silverstripe
531: [20:01:33] <antmas> helenclarko: that's it
532: [20:02:25] * DanaeNZ has joined #silverstripe
533: [20:03:49] <DanaeNZ> PLEASE STAND BY
534: [20:04:23] <antmas> DanaeNZ: I played 1 hour of it this morning :D
535: [20:04:27] <DanaeNZ> SAME
536: [20:04:36] <DanaeNZ> I'm so mad my computer sucks tho
537: [20:04:36] <antmas> it only crashed once! lol
538: [20:04:45] <DanaeNZ> it recommended medium quality and I cried
539: [20:04:51] <DanaeNZ> mine didn't crash
540: [20:05:04] <DanaeNZ> I got a lot of sweet stuff with my lunchbox tho
541: [20:05:06] <antmas> mine runs it fine on ultra, but it has fucking vsync forced on
542: [20:05:09] <DanaeNZ> bobble head vault boy
543: [20:05:16] <DanaeNZ> oh for real?
544: [20:05:19] <antmas> yeah
545: [20:05:22] <DanaeNZ> also a poster from midnight release
546: [20:05:30] <antmas> I think you can turn it off somehow though
547: [20:05:37] <DanaeNZ> aluminium case for the game, and a long poster
548: [20:05:40] <helenclarko> Fallout 4 I guess.
549: [20:05:47] <DanaeNZ> yeah buddy
550: [20:05:54] <antmas> yeah I got all that for Fallout 3
551: [20:06:04] <DanaeNZ> I'm gonna try turn the graphics up just a little bit
552: [20:06:14] <helenclarko> BOOM!
553: [20:06:17] <DanaeNZ> saw so many people getting pip boys ;___;
554: [20:06:20] <antmas> DanaeNZ: turn the god rays down, that will help a lot
555: [20:06:27] <DanaeNZ> god rays?
556: [20:06:35] <antmas> yeah, graphics setting
557: [20:06:38] <DanaeNZ> lol
558: [20:06:48] <antmas> it's literally called that :P
559: [20:06:52] <DanaeNZ> I'll try that out when this day finally ends
560: [20:07:02] <DanaeNZ> sounds like a weird word for Bloom or something haha
561: [20:07:28] <antmas> it's kinda like bloom, but it's just for those rays of sun coming down around buildings etc
562: [20:07:44] <DanaeNZ> ain't nobody got time fo dat
563: [20:07:48] <antmas> I'm seriously considering heading home at lunch :P
564: [20:08:03] <DanaeNZ> I have too much work to do to get away with that ;___;
565: [20:08:09] <antmas> did you test the pipboy app thing with it?
566: [20:08:14] <DanaeNZ> i cried
567: [20:08:16] <DanaeNZ> it needs wifi
568: [20:08:23] <DanaeNZ> i don't even have internet
569: [20:08:31] <DanaeNZ> and your phone can't connect to itself
570: [20:08:35] <DanaeNZ> via hotspot
571: [20:08:55] <antmas> you could still setup the router with wifi/lan
572: [20:09:02] <antmas> don't need internet for that afaik
573: [20:09:08] <DanaeNZ> router?
574: [20:09:12] <DanaeNZ> i don't have a router
575: [20:09:20] <antmas> you... don't have a router?
576: [20:09:32] <DanaeNZ> nope
577: [20:09:36] <antmas> :|
578: [20:09:39] <antmas> DanaeNZ:
579: [20:09:40] * micmania1 has joined #silverstripe
580: [20:09:45] <antmas> waht are u doin?
581: [20:09:47] <DanaeNZ> i have nothing
582: [20:09:47] <antmas> DanaeNZ:
583: [20:09:51] <antmas> stahhhhhp
584: [20:09:56] <DanaeNZ> i wish i could
585: [20:15:14] <antmas> DanaeNZ: this cracked me up :D https://i.imgur.com/7gcVw9D.jpg
586: [20:15:20] <antmas> SHIELD NOTEPAD
587: [20:15:44] <helenclarko> DanaeNZ: Why have you not dropped your isp yet? are they charging you for no internet?
588: [20:19:44] * leomeloxp_ has joined #silverstripe
589: [20:21:15] * leomeloxp quit (Ping timeout: 260 seconds)
590: [20:25:55] * DanaeNZ quit (Remote host closed the connection)
591: [20:26:23] * DanaeNZ has joined #silverstripe
592: [20:26:31] <DanaeNZ> oops coffee
593: [20:26:44] <DanaeNZ> no i'm not being charged for no internet but I'm spending heaps on data
594: [20:26:54] <DanaeNZ> i cry evertim
595: [20:26:58] <antmas> :<
596: [20:27:08] <antmas> did you buy Fallout 4 physical?
597: [20:27:11] <DanaeNZ> yep
598: [20:27:17] <DanaeNZ> still had to download 24GB
599: [20:27:23] <antmas> wat
600: [20:27:24] <antmas> really?
601: [20:27:25] <DanaeNZ> or close to that
602: [20:27:35] <DanaeNZ> yeah I was so mad
603: [20:27:44] <antmas> that's really dumb
604: [20:27:57] <DanaeNZ> yeah and I couldn't play the game til it downloaded
605: [20:27:58] <antmas> the whole download on steam was 24gb
606: [20:28:08] <antmas> so why do they even have a disc???
607: [20:28:10] <DanaeNZ> i ran it off the install disc
608: [20:29:32] <antmas> wait
609: [20:29:36] <antmas> so it had an install disc
610: [20:29:47] <antmas> and all that did was force you to download the whole game anyway?
611: [20:30:02] <DanaeNZ> i have no idea
612: [20:30:09] <DanaeNZ> i blame steam
613: [20:30:11] <antmas> oh wait
614: [20:30:29] <antmas> maybe it said 'downloading' in steam, but was actually just pulling data off the disc
615: [20:30:29] <DanaeNZ> normally it just installs it but shows on the "downloads" as downloading
616: [20:30:34] <DanaeNZ> yeah
617: [20:30:37] <antmas> ah ok
618: [20:30:40] <antmas> was gonna say
619: [20:30:40] <DanaeNZ> except my data got demolished
620: [20:30:45] <antmas> :<
621: [20:31:08] <DanaeNZ> so fucking worth it for that sweet hour of gameplay though
622: [20:31:14] <DanaeNZ> the customisation? omg
623: [20:31:16] <antmas> lol yeah
624: [20:31:21] <DanaeNZ> they did it so well without overdoing it
625: [20:31:31] <DanaeNZ> scars and blemishes and bruises
626: [20:31:31] <antmas> I chose a random character face
627: [20:31:37] <DanaeNZ> you monster
628: [20:31:43] <antmas> :D
629: [20:31:46] <DanaeNZ> I made this chick with resting bitch face
630: [20:31:48] <antmas> I will start over tonight
631: [20:31:52] <DanaeNZ> she looks like she'll cut you
632: [20:32:05] <DanaeNZ> I learned I can't aim for shit
633: [20:32:13] <DanaeNZ> too long since playing an FPS or anything
634: [20:32:19] <antmas> omg mfw when Codsworth said 'Patrick' out loud :O
635: [20:32:49] <antmas> I was like 'THAT'S MY REAL NAME, THIS IS THE FUTURE'
636: [20:32:52] <DanaeNZ> oh that's right, they recorded heaps of names
637: [20:32:53] <antmas> lol
638: [20:33:09] <DanaeNZ> I called my character Clara but apparently that's not a common enough name
639: [20:33:11] <antmas> I'm guessing you'd have to set yours as Danny?
640: [20:33:15] <antmas> oh right
641: [20:33:26] <DanaeNZ> I don't like putting my own name on the characters haha
642: [20:33:37] <antmas> there is supposedly 1000 names
643: [20:35:03] <DanaeNZ> i might look up a list, haha
644: [20:35:53] * UncleCheese has joined #silverstripe
645: [20:36:25] <antmas> I was this close to calling my name 'Fuck' to see if that turned up as legit :D
646: [20:36:57] <DanaeNZ> hahaha i feel like there might be an easter egg in there
647: [20:40:38] <antmas> dat feeling when you hit 'Not attending' to a meeting
648: [20:40:44] <DanaeNZ> hahaha
649: [20:40:48] <DanaeNZ> "no u"
650: [20:41:54] <antmas> 'Would you like to attend our overview meeting on growth model projects for the region?'
651: [20:42:05] <antmas> U FKN WOT M8
652: [20:43:19] <DanaeNZ> tfw 4 hours sleep
653: [20:44:25] <antmas> ikr
654: [20:44:26] <jules0x> ntfb
655: [20:44:40] <antmas> up till 1am download, sleep, up at 5am to play lol
656: [20:45:03] <jules0x> ktfb not ntfb. fml
657: [20:45:49] <antmas> keep the fires burning?
658: [20:46:07] <antmas> keep thanking fat bitches :D
659: [20:46:14] <jules0x> yes
660: [20:46:14] <jules0x> !
661: [20:47:34] <DanaeNZ> hahaha
662: [20:47:45] <DanaeNZ> i want to go home already aaahhh
663: [20:48:21] <antmas> I almost left my PC going so I could remote in and start a new character face LOL
664: [20:48:40] <DanaeNZ> HAH
665: [20:53:36] <DanaeNZ> ooh watched Crimson Peak yesterday
666: [20:55:00] * Error404NotFound has joined #silverstripe
667: [20:55:52] <xyphoid> man that was great
668: [20:56:50] <DanaeNZ> I normally don't go for horror but it was amazing
669: [20:57:00] <DanaeNZ> they did the ghosts so well
670: [20:57:05] * Error404NotFound quit (Remote host closed the connection)
671: [20:57:05] <DanaeNZ> and the gore was fantastic
672: [20:57:57] <xyphoid> i went in completely blind
673: [21:00:14] <DanaeNZ> i saw most of the trailer, it looked too pretty to not watch
674: [21:05:30] <antmas> ah nice, I was hoping it'd be good
675: [21:05:37] <antmas> love me some del Toro
676: [21:06:43] * UndefinedOffset quit (Quit: Leaving.)
677: [21:18:09] * Azure quit (Ping timeout: 244 seconds)
678: [21:44:38] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
679: [21:48:10] <antmas> DanaeNZ: :O http://imgur.com/a/E3xDq
680: [21:49:20] <DanaeNZ> omg i want
681: [21:58:48] * muskie9 has joined #silverstripe
682: [21:59:58] * mahfuz has joined #silverstripe
683: [22:03:34] <DanaeNZ> oops bought a big V
684: [22:03:40] <DanaeNZ> I'm gonna be bouncing off the walls
685: [22:03:45] <DanaeNZ> but I finally feel awake
686: [22:05:26] * kiwinewt has joined #silverstripe
687: [22:05:27] <ss-helper> kiwinewt: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
688: [22:05:38] * critchie has joined #silverstripe
689: [22:05:57] <kiwinewt> Good morning, is anyone able to help me work out what could be causing an issue on my silverstripe setup please?
690: [22:06:39] <DanaeNZ> kiwinewt: sure, describe the issue and what you're trying to get done. It also helps to paste your code into gist or something similar
691: [22:06:42] <DanaeNZ> !paste kiwinewt
692: [22:06:42] <ss-helper> kiwinewt: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
693: [22:07:55] <kiwinewt> I have just copied the setup to my webserver, which is running MariaDB. It has worked perfectly on my Vagrant setup but when on the server it gives this error in the log file: http://kopy.io/zynU4
694: [22:09:03] <critchie> hey guys, Charles from wellington here. Just wondering if anyone has had issues editing has_one relationships on DataObjects via DropDown, TreeDropdown Field etc. I have explicitly set the field in getCMSFields but it results in a readonly text input every time.
695: [22:09:07] <critchie> here is code: http://www.sspaste.com/paste/show/56411946bc8d3
696: [22:09:55] * frustrated has joined #silverstripe
697: [22:10:03] <critchie> hey kiwinewt
698: [22:10:26] <frustrated> evening all. wondered if anyone could spare me 5 mins to sort my .htaccess / config file for running ss in a subfolder? it's driving me mental
699: [22:10:34] <critchie> this is probably your problem "NOT IN ()))" that shouldn't be empty.
700: [22:10:42] <kiwinewt> hi chrichie
701: [22:11:13] <critchie> how did you install setup on server?
702: [22:11:19] <jules0x> @critchie that looks very similar to mine, but mines working :B
703: [22:11:22] <kiwinewt> Agreed, but I don't know where that is generating from to give the error further up the tree :/
704: [22:11:22] <critchie> kiwnewt that is
705: [22:11:46] <jules0x> The only difference in my case is that the has_one is Page not sitetree...
706: [22:12:23] <critchie> @jules0x yeah so weird, tryed with page. will work on anything except an ID. bloody driving me crazy.
707: [22:12:30] <kiwinewt> I copied the files from my local setup on to the server, nothing really more
708: [22:12:32] <jules0x> the treedropdownfield (line30) is the same
709: [22:12:48] <critchie> @kiwinewt did you run /dev/build?
710: [22:12:53] <jules0x> stupid question but dev/build etc
711: [22:13:00] <jules0x> hahah
712: [22:13:09] <critchie> @jules0x yeah for sure
713: [22:13:18] <kiwinewt> Yep :)
714: [22:13:27] <jules0x> tried not $fields->removeByName('InternalLinkID');
715: [22:13:27] <jules0x> ?
716: [22:13:32] <critchie> @jules0x The problem only happens on DO's, pages are fine
717: [22:13:44] <critchie> @jules0x Yes indeed I have
718: [22:13:51] <jules0x> Mines on a DO.
719: [22:13:55] <critchie> @jules0x Also tryed replace method
720: [22:13:56] <jules0x> ok well gl
721: [22:14:02] * Copperis quit (Quit: Leaving)
722: [22:14:14] <critchie> @jules0x Cheers man, might try a fresh install and see what happens.
723: [22:14:46] <critchie> @kiwinewt what version of php?
724: [22:15:30] <kiwinewt> 5.4.16
725: [22:16:18] * arnhoe quit ()
726: [22:16:19] <critchie> @kiwinewt try a fresh install using composer and only copy over mysite
727: [22:17:04] <critchie> this way you can ensure all requirements are met by going through installer
728: [22:17:18] <kiwinewt> OK, I'll give it a go
729: [22:17:56] * nuxil quit (Read error: Connection reset by peer)
730: [22:21:28] <critchie> @kiwinewt cool, tell me how you go. I'll be lurking here for awhile
731: [22:22:51] <frustrated> For anyone that can help - i've changed rewrite base to '/subfolder/' in .htaccess and added base_tag in config to read thefullurl.whatevs/subfolder but it hangs on inputting admin credentials
732: [22:25:24] * kbtjuh quit (Ping timeout: 246 seconds)
733: [22:25:29] <antmas> frustrated: what errors are you seeing in the logs?
734: [22:28:03] <frustrated> hi antmas, not sure where to find the logs, i've not been using ss long - what's the directory?
735: [22:28:44] <frustrated> antmas - found it!.. in main dir
736: [22:28:59] <antmas> frustrated: there are php logs and apache logs to look over
737: [22:29:11] <antmas> both in respective dir's
738: [22:29:33] <frustrated> PHP Warning: posix_getpwuid() has been disabled for security reasons in /home/
739: [22:30:37] <frustrated> ah crap. think you just helped me answer my own question antmas - looks like a hosting issue
740: [22:30:47] <antmas> frustrated: :D
741: [22:31:04] <frustrated> thanks for being the rubber duck :)
742: [22:32:09] <frustrated> don't suppose you know of a workaround for this at all? it's crappy shared hosting antmas
743: [22:32:37] <antmas> frustrated: hmmm, probably not :(
744: [22:32:45] <antmas> I hate dealing with hosting :P
745: [22:33:00] <antmas> I've always just used my own linode setups
746: [22:33:27] * mahfuz quit (Ping timeout: 246 seconds)
747: [22:33:39] <frustrated> luxury
748: [22:34:33] <antmas> a good workaround would be to move hosts :D
749: [22:35:05] <antmas> when I say I use my own linode setups, I just follow the tutorials lol
750: [22:35:24] <frustrated> nothing wrong with that.
751: [22:35:52] <frustrated> cheers for the help - been using ss long?
752: [22:36:06] <antmas> about 4 years-ish?
753: [22:37:37] * mahfuz has joined #silverstripe
754: [22:40:47] <frustrated> how does it compare to other frameworks? it's the first one i've used (1yr)
755: [22:41:50] <antmas> it's the best I've used with regards to PHP, however I'm primarily a .net dev so my php framework usage is limited :P
756: [22:45:13] <frustrated> good - tis taking me a while to master!
757: [22:45:28] <frustrated> right, gonna shoot. best of luck with your current project
758: [22:46:27] <antmas> frustrated: before you go
759: [22:46:36] <antmas> frustrated: have you gone throught the Lessons?
760: [22:46:39] <antmas> through*
761: [22:46:45] * kiwinewt quit (Ping timeout: 246 seconds)
762: [22:48:00] <frustrated> antmas, not as such! - i was thrown in the deep end with developing and started off troubleshooting sites and learning how all the relationships work
763: [22:48:31] <frustrated> and googling, stackexhange and various forums to find fixes
764: [22:48:40] * antmas_ has joined #silverstripe
765: [22:49:04] <frustrated> but i'm at now a point where i'm starting to write from the bottom up, so to speak
766: [22:49:25] <antmas_> frustrated: honestly, go through these https://www.silverstripe.org/learn/lessons/
767: [22:49:27] <antmas_> they're amazing
768: [22:49:37] <antmas_> and UncleCheese is often in here :D
769: [22:49:52] <frustrated> ah the infamous UncleCheese
770: [22:50:14] <UncleCheese> hi
771: [22:50:39] <antmas_> o/
772: [22:50:41] <frustrated> thanks, i'll check them out.
773: [22:50:57] * antmas quit (Ping timeout: 246 seconds)
774: [22:51:16] <frustrated> i've installed some of your extensions unclecheese
775: [22:51:17] * kiwinewt has joined #silverstripe
776: [22:51:22] <UncleCheese> nice
777: [22:51:22] <frustrated> veh good
778: [22:51:31] <frustrated> are you the top dog then?
779: [22:51:32] <UncleCheese> big one coming out on thursday
780: [22:51:44] <antmas_> ss23: is top dog
781: [22:51:51] <antmas_> ss23: notice me, senpai?
782: [22:51:51] <kiwinewt> @critchie - still getting the same issue
783: [22:51:51] <frustrated> is it a css styling dashboard unclecheese?
784: [22:52:18] <UncleCheese> i couldn't even guess what that would be
785: [22:52:21] <frustrated> cos setting up css styling from the cms for end user is a b*****
786: [22:52:53] <frustrated> eg. allow user to customise their site with color pickers etc and update the css files
787: [22:53:04] <antmas_> giving end user the ability to alter css is a b*****
788: [22:53:19] * antmas_ is now known as antmas
789: [22:53:28] <UncleCheese> from within the cms?
790: [22:53:31] <UncleCheese> are you sniffing markers?
791: [22:53:39] <frustrated> nah, let them mess the sites up. then charge for a rollback
792: [22:53:44] <frustrated> yep
793: [22:53:45] <UncleCheese> yikes
794: [22:53:47] <antmas> hahaha
795: [22:53:50] <UncleCheese> source control much?
796: [22:53:54] <helenclarko> frustrated: You can get around this by editing install.php and making the function that calls posix_getpwuid() just return true.
797: [22:54:44] <antmas> I've had multiple clients ask me for css control
798: [22:54:47] <frustrated> helenclarko - isn't the install.php file redundant once the site's live? or you suggesting a re-install?
799: [22:54:53] <antmas> I charge them extra time for consulting
800: [22:55:01] <UncleCheese> frustrated i think you'll find that all cms's are opinionated in some way, and this type of ideology is just something that silverstripe doesn't agree with
801: [22:55:02] <antmas> the consulting is purely to talk them out of doing so :P
802: [22:55:12] <UncleCheese> and by "silverstripe" i mean the community around it and the vision of the product
803: [22:55:41] <UncleCheese> there are heaps of other turnkey solutions that will give you those features, but ss is more about empowering developers to make awesome things and keeping end users focused on creating content
804: [22:55:42] <helenclarko> frustrated: Sorry, Guess I jumped in too late. Wasn't aware you had a site live, thought you had trouble with install. Nevermind.
805: [22:55:53] <UncleCheese> it is after all a *Content Management System
806: [22:56:37] <antmas> at best I allow some clients the ability to alter a colour on a specific element
807: [22:58:17] <UncleCheese> yeah, pick from a list of colours in the pallete or something
808: [22:58:23] <frustrated> i have no comeback unclecheese
809: [22:58:41] <antmas> :D
810: [22:58:52] <UncleCheese> but even then, i would try to use semantics rather than explicit colours
811: [22:59:02] <UncleCheese> bootstrap is quite good at that.. primary, danger, success, etc.
812: [22:59:18] <frustrated> was just something i saw one of our other developers create and thought.. F* that. There must be an extension?!
813: [22:59:33] <UncleCheese> well sure.. you can do anything you want
814: [22:59:50] <frustrated> i'll perhaps just 'borrow' his
815: [22:59:53] <antmas> making an extension to do that wouldn't be that huge
816: [22:59:55] * Azure has joined #silverstripe
817: [22:59:56] <UncleCheese> it's not that you can't do it.. it would be a very easy thing to build.. but it's just not something a lot of people want
818: [23:00:00] <frustrated> that's the beauty of ss
819: [23:00:12] <frustrated> unclecheese can we take a vote?
820: [23:00:23] <antmas> <@UncleCheese> but even then, i would try to use semantics rather than explicit colours
821: [23:00:25] <UncleCheese> if end-user controlled css is the answer, you're probably asking the wrong question
822: [23:00:47] <antmas> yeah I find the template design should be enough to not warrant asking for css changes once signed off
823: [23:00:59] <UncleCheese> frustrated i think the vote is self-evident.. there aren't many modules offering it
824: [23:01:13] <UncleCheese> that's all i'm saying.. it's not an us-versus-them thing
825: [23:01:13] <frustrated> what's your big release anyhow?
826: [23:01:28] <UncleCheese> do you like the Files & Images section of the cms?
827: [23:01:38] <UncleCheese> the answer is no
828: [23:01:43] <frustrated> it's a bit unorganised when searching
829: [23:01:55] <UncleCheese> it's a clusterfuck wrapped in a nightmare
830: [23:02:01] <frustrated> search magnifying glass is in wrong place for starts
831: [23:02:24] <UncleCheese> anyway, you'll like KickAssets
832: [23:02:30] <antmas> oooooh
833: [23:02:36] <frustrated> nice name
834: [23:02:45] <antmas> File and Image finally being sorted?
835: [23:02:49] <frustrated> look forward to it
836: [23:02:49] <antmas> awwww yissss
837: [23:03:44] <frustrated> probably a silly question here, but are there any upgrade packages to easily bring an old ss site upto date?
838: [23:04:07] <antmas> not afaik
839: [23:04:07] <DanaeNZ> frustrated: just use composer :)
840: [23:04:12] <DanaeNZ> wait
841: [23:04:12] <antmas> or that :P
842: [23:04:20] <DanaeNZ> how old?
843: [23:04:24] <frustrated> 2.1 i think
844: [23:04:27] <DanaeNZ> ah
845: [23:04:34] <DanaeNZ> that won't go automaticcally
846: [23:04:42] <frustrated> no worries - just thinking out loud
847: [23:05:08] <frustrated> while i've got some of the big dogs attention, thought i'd throw all my last years issues at em :p
848: [23:05:46] <antmas> DanaeNZ: this day is going very slow :|
849: [23:05:51] <antmas> DanaeNZ: I need ma fallout
850: [23:05:58] <frustrated> fellas, it's been a pleasure, but it's 11pm here in uk, and i'm up at 7. thanks antmas, unclecheese -look forward to the release
851: [23:06:00] <UncleCheese> antmas frustrated https://www.dropbox.com/s/phzexxijdxbcnh0/kickassets.mp4?dl=0
852: [23:06:09] <antmas> frustrated: see ya o/
853: [23:06:10] <antmas> :)
854: [23:06:11] <UncleCheese> old version, but you get the idea
855: [23:06:16] <kiwinewt> Has anyone run SilverStripe with MariaDB?
856: [23:06:45] <frustrated> now that's sexy!
857: [23:07:07] <antmas> UncleCheese: nice work :D
858: [23:07:35] <frustrated> *gone.....
859: [23:07:39] * frustrated quit (Quit: Page closed)
860: [23:07:44] <DanaeNZ> i think the day is going too fast these deadlines will be the death of me
861: [23:10:36] <helenclarko> UncleCheese: Does Kickassets auto sync?
862: [23:10:43] <antmas> mm I was tempted to take a half day, but now my moral brain is kicking in
863: [23:10:56] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
864: [23:17:04] * adrexia has joined #silverstripe
865: [23:20:44] <MichalKleiner> I was wondering whether it's possible to add a tab to model admin with standard fields of my need? it'd be the best place to put them.. but the tabs seem to be tied with managed models.. and there is no getCMSfields on model admin...
866: [23:28:43] <helenclarko> MichalKleiner: Haven't done anything like that before, but you are talking about extending LeftandMain.
867: [23:30:49] <kiwinewt> Finally found the issue.. in framework/search/filters/ExactMatchFilter.php, function excludeMany, there is a $values that is pulled. I've had to wrap the query in a if(!empty($values)) - can someone confirm this? I'll do an issue on GitHub for it
868: [23:35:01] * spronk has joined #silverstripe
869: [23:39:06] * muskie9 quit (Ping timeout: 272 seconds)
870: [23:41:48] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
871: [23:46:41] * micmania1 quit (Quit: micmania1)
872: [23:48:52] * joelpittet has joined #silverstripe
873: [23:55:39] * Colin[pi] has joined #silverstripe
874: [23:56:06] <Colin[pi]> o/
875: [23:56:11] <Colin[pi]> I have internets again, aw yiss
876: [23:57:12] * MarkGuinn quit (Quit: My Mac has gone to sleep. ZZZzzz…)
877: [23:57:45] <DanaeNZ> : <
878: [23:57:55] <ss23> :<
879: [23:58:04] <Colin[pi]> :<
880: [23:58:11] <DanaeNZ> :<
881: [23:58:33] <ss23> :|

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