#silverstripe IRC Log

IRC log for 23 January 2014

All timestamps are in UTC.

1: [00:00:09] <Kittens> yup
2: [00:00:17] <Colin[pi]> it's only when you decide to do something other than that, then it gets tricky :D
3: [00:00:29] <Kittens> I may add on to it later, but I'm happy with what I've got http://bitflourish.com
4: [00:00:55] <Colin[pi]> say, that template looks familiar ;)
5: [00:01:10] <Kittens> it's the simple template, no?
6: [00:01:19] <Colin[pi]> looks like it
7: [00:01:34] <simon_w> At least it's not blackcandy ;)
8: [00:01:40] * simon_w looks at willr
9: [00:01:41] <Kittens> blackcandy?
10: [00:01:55] <Kittens> got an example of what that looks like?
11: [00:02:11] <Colin[pi]> blackcandy was the 2.4 std template kittens
12: [00:02:17] <Kittens> ah
13: [00:02:27] <antmas> Kittens: if you want some simple customisation and some added features - take a look at https://github.com/Rhym/ss_boilerplate cc. Ryan-Toast
14: [00:02:31] <Kittens> I suppose that train has sailed
15: [00:02:42] <Kittens> I grabbed boilerplate, but nothing seems to change
16: [00:03:49] <Kittens> it just makes things wider and removes my nav bar
17: [00:04:14] <r3v3rb> okay head way, 5.4mb file uploads no problem
18: [00:04:15] <Ryan-Toast> Interesting
19: [00:04:19] <r3v3rb> next try 20mb
20: [00:04:45] <Ryan-Toast> Kittens: What do you mean nothing changes?
21: [00:05:11] <antmas> Kittens: did you use the above ^^^? or another boilerplate template from elsewhere?
22: [00:05:38] <Kittens> yeah, that one
23: [00:05:54] <Kittens> how do I install it *cringe*
24: [00:06:06] <Kittens> I just put the whole folder in the templates folder
25: [00:06:27] <r3v3rb> 45% done
26: [00:06:27] <Ryan-Toast> That's where you went wrong :P
27: [00:06:41] <Kittens> what do I do?
28: [00:06:57] <Ryan-Toast> Kittens, you just needed to copy the files to your root directory.
29: [00:07:32] <Ryan-Toast> Anyone know how I can dleete the node_modulkes folder from my repositry? I have it ignored in git, but it won't go away :(
30: [00:07:50] <Kittens> okay, gonna do that
31: [00:08:13] <r3v3rb> 85%
32: [00:08:42] <antmas> Kittens: remember to ?flush=all and set the theme to 'boilerplate' in the CMS as well
33: [00:08:44] * UncleCheese quit (Quit: UncleCheese)
34: [00:08:52] <ss23> don't forget to flus!
35: [00:08:55] <ss23> flush
36: [00:08:57] <antmas> lol
37: [00:09:09] <r3v3rb> 100% bollox, bad request
38: [00:10:45] <Kittens> antmas: how do I flush exactly?
39: [00:10:55] <Kittens> is that a command I have somewhere?
40: [00:11:07] <antmas> Kittens: http://bitflourish.com?flush=all
41: [00:11:15] <Ryan-Toast> in your url www.mydomain.com?flush=all
42: [00:11:19] <antmas> just add it to url
43: [00:11:28] <Kittens> ah, okay
44: [00:12:07] <r3v3rb> hmm, uploading on localserver works fine but not on live server
45: [00:12:20] <r3v3rb> time to sleep, fix in morning
46: [00:12:24] <Kittens> okay, that broke my site.
47: [00:12:27] <Kittens> thanks
48: [00:12:53] <antmas> Kittens: http://bitflourish.com/dev/build
49: [00:13:03] <Ryan-Toast> lol
50: [00:13:07] <simon_w> Ryan-Toast, YOU BROKE IT
51: [00:13:32] <Ryan-Toast> IT'S ALL MY FASULT!
52: [00:13:52] <Ryan-Toast> Please let me perform seppuku.
53: [00:13:55] <antmas> Kittens: there you go :)
54: [00:14:12] <simon_w> Ryan-Toast, film it and stick it on the you tubes
55: [00:14:14] <Kittens> oooh
56: [00:14:17] <Kittens> pretty
57: [00:14:29] <Kittens> me likey
58: [00:14:42] <antmas> Kittens: now, you can change page type of your 'Contact Page' to include a form
59: [00:14:47] <Ryan-Toast> Set your contact page to settings > Contact page
60: [00:16:25] <antmas> oh gawd so hungry
61: [00:16:34] <Ryan-Toast> Eat the food then
62: [00:16:43] <antmas> I has none :(
63: [00:16:48] <r3s0n4nc3> cooked up a mean stir fry
64: [00:16:52] <r3s0n4nc3> was good
65: [00:16:53] <antmas> need to leave the office :(
66: [00:16:55] <simon_w> antmas, get ss23 to buy you some
67: [00:17:00] <simon_w> ORDER PIZZA
68: [00:17:08] <Zauberfisch> willr: are you waiting for my response on that pull request?
69: [00:17:27] <Kittens> I'm getting an internal server error when I select any page
70: [00:17:52] <Ryan-Toast> What's the error?
71: [00:18:00] <Kittens> "internal server error"
72: [00:18:12] <antmas> brb, le foods
73: [00:18:13] <r3s0n4nc3> looks fine to be Kit.
74: [00:18:17] <r3s0n4nc3> me*
75: [00:18:17] <guzzlefry> There's more to it than that.
76: [00:18:20] <guzzlefry> Kittens: CMS?
77: [00:18:22] <Kittens> yeah
78: [00:18:25] <guzzlefry> k
79: [00:18:31] <r3s0n4nc3> open JS console
80: [00:18:35] <guzzlefry> CMS hides the errors since everything is an AJax request.
81: [00:18:37] <r3s0n4nc3> or whatever
82: [00:18:39] <r3s0n4nc3> error in there
83: [00:18:45] <Kittens> js console?
84: [00:18:47] * r3s0n4nc3 is now known as Pyromanik
85: [00:18:52] <Pyromanik> Kittens, Press F12
86: [00:18:53] <Ryan-Toast> Click a page, then F5 and it should show the error
87: [00:18:56] <guzzlefry> Kittens: usually F12 on your keyboard will open up the debugging tools in browser.
88: [00:19:13] <simon_w> F12 makes my music louder. Good choice Ryan-Toast!
89: [00:19:16] <guzzlefry> :P
90: [00:19:28] <Ryan-Toast> simon_w: :P
91: [00:19:33] <guzzlefry> simon_w: turn function lock off!
92: [00:19:45] <Pyromanik> man, fuck you CSS. Why you so boring?
93: [00:19:56] <Kittens> hm.
94: [00:20:00] <Ryan-Toast> Pyromanik: you lie, sir.
95: [00:20:02] <Kittens> well that's just odd
96: [00:20:10] <Pyromanik> Ryan-Toast, not after you've done it for as long as I have.
97: [00:20:26] <Pyromanik> there's f-all left for me to learn. Some new shit I should catch up on, but mostly... nah.
98: [00:20:27] <Ryan-Toast> Pyromanik: It's because you don't SASS :P
99: [00:20:32] <Pyromanik> Ryan-Toast, sif.
100: [00:20:35] <Ryan-Toast> :P
101: [00:20:39] <guzzlefry> Pyromanik: animation?
102: [00:20:39] <Pyromanik> SASS is for morons who can't code CSS.
103: [00:20:44] <Kittens> event.returnValue is deprecated
104: [00:21:00] <Ryan-Toast> that's a jQuery thiung
105: [00:21:05] <guzzlefry> yeah
106: [00:21:08] <Pyromanik> Kittens, you need uhh... 'network' tab
107: [00:21:12] <guzzlefry> Kittens: network panel in the debugger
108: [00:21:14] <Ryan-Toast> Make me a login, and I'll have a look for you
109: [00:21:19] <Kittens> http://pastie.org/8658703
110: [00:21:43] <Kittens> sure, I'm in too much pain to care anyways. one moment please.
111: [00:21:48] <Pyromanik> not what we're after, but yeh
112: [00:21:58] <Pyromanik> you need to see the request response.
113: [00:22:02] <Pyromanik> from network tab
114: [00:22:19] <Pyromanik> will have full information like "bro you spelt page wrong"
115: [00:22:22] <Pyromanik> or something
116: [00:22:22] <Ryan-Toast> Pyromanik: http://codepen.io/juliangarnier/full/idhuG
117: [00:22:50] <Pyromanik> Ryan-Toast, eh.
118: [00:22:56] * chillu_23 has joined #silverstripe
119: [00:23:05] <Ryan-Toast> Pyromanik: Can you make that?
120: [00:23:08] <Pyromanik> yes.
121: [00:23:09] <Pyromanik> gosh
122: [00:23:30] <Ryan-Toast> I like trying new animations each time I make a project.
123: [00:23:37] <Pyromanik> yeah nah.
124: [00:23:46] <Pyromanik> I mean, ok you're a designer, but nah.
125: [00:23:55] <Ryan-Toast> I'm not a designer :(
126: [00:24:01] <Pyromanik> more than I am!
127: [00:24:11] <Kittens> Ryan-Toast: check msgs
128: [00:25:04] <Ryan-Toast> Doesn't make me a designer :P
129: [00:25:14] <Pyromanik> pretty much does.
130: [00:25:17] <Ryan-Toast> lol
131: [00:25:26] <Ryan-Toast> Front end dev boiiiiii
132: [00:25:36] <Pyromanik> animations shit for ux, is more what I was getting at though.
133: [00:25:44] <Ryan-Toast> Depends on the animation.
134: [00:25:59] <Pyromanik> urgh front end. Tell me again in 3 years that you love the shit out of it and want to keep doing it.
135: [00:26:02] <Ryan-Toast> http://webdough.co.nz/~boilerpl/ the navigation dropdown has an animation
136: [00:26:17] <Ryan-Toast> Pyromanik: LOVE IT FOREVER
137: [00:26:31] <Ryan-Toast> that's why I'm learning more backend biz
138: [00:26:32] <Pyromanik> Ryan-Toast, yeah don't get me wrong, it has it's places. But a solar system as a central focus point... probably not so much.
139: [00:27:06] <guzzlefry> WebGL!
140: [00:27:13] <Pyromanik> at a certain point you clock frontend and then you get bored.
141: [00:27:18] <Pyromanik> Like simon_w did with backend :<
142: [00:27:31] <Ryan-Toast> Pyromanik: that's why I'm doing a lot more backend stuff.
143: [00:27:42] <Ryan-Toast> Pyromanik: Going to be the very best, like no-one ever was.
144: [00:27:52] <Pyromanik> like, where the rate you learn at far exceeds the stream of new shit to learn.
145: [00:28:05] <Ryan-Toast> Pyromanik: You must be fun at parties :P
146: [00:28:08] <Pyromanik> Ryan-Toast, oh no he di'in
147: [00:28:16] <Pyromanik> Ryan-Toast, not just parties.
148: [00:28:34] <Ryan-Toast> Pyromanik: I'm going to catch 'em all (dem languages)
149: [00:28:45] <Pyromanik> dart?
150: [00:28:47] <Pyromanik> :<
151: [00:28:54] <Ryan-Toast> Maybe not.
152: [00:29:03] <Pyromanik> how many things you get on front end these days? Pretty sure it's less than what it was 15 years ago.
153: [00:29:13] <Ryan-Toast> I have an Arduino kit and I'm learning Python. shit's fun./
154: [00:29:31] <Pyromanik> <script type="text/vbscript" ...
155: [00:29:37] <Ryan-Toast> Pyromanik: A lot more responsive stuff.
156: [00:30:08] <Pyromanik> mm
157: [00:30:14] <r3v3rb> night all
158: [00:30:20] <Pyromanik> I guess after 3 years a web dev, I just want a break a bit.
159: [00:30:24] <Pyromanik> nite r3v3rb!
160: [00:30:36] <r3v3rb> :)
161: [00:30:45] * r3v3rb quit (Quit: r3v3rb)
162: [00:30:48] <Pyromanik> Ryan-Toast, I get sick of making the same damn shit for equally as retarded folk every time.
163: [00:31:21] <Ryan-Toast> Pyromanik: I spend half my time working, and half my time in R&D
164: [00:31:23] <Pyromanik> and browser support... urgh.
165: [00:31:48] <Pyromanik> like this f'n test thing... "MUST USE HTML5 AND CSS3! (must also work in IE 8 and up)"
166: [00:32:13] <Pyromanik> but... but you can't style html5 elements in IE8 at all, unless I'm allowed to modify the source and include an external dependency not included in the test...
167: [00:32:51] <Pyromanik> and why the fuck give me skeleton code if you want to see what I can do? All that does is make me not include a normaliser stylesheet and wonder if you even know what you're doing as an employer...
168: [00:32:56] <Pyromanik> etc.
169: [00:33:07] <guzzlefry> Tell them no :P
170: [00:33:12] <Pyromanik> guzzlefry, I did.
171: [00:33:14] <guzzlefry> "Can't do it, not possible"
172: [00:33:18] <Pyromanik> but, some work better than no work :<
173: [00:33:44] <Pyromanik> told recruiter "nah" and she was all "BUT YEH!" and I was all "only if contract" and she was all "do test and you never know!"
174: [00:33:59] <Pyromanik> although today I see the ad on her companies website... "junior dev" DAFUQ
175: [00:34:04] <Ryan-Toast> Kittens: Can you paste your .taccess file?
176: [00:34:09] <Ryan-Toast> .htaccess**
177: [00:34:29] <Pyromanik> but hey, if they pay me $600 a day, then sure :P
178: [00:34:39] <Pyromanik> I can do front end.
179: [00:35:10] <Ryan-Toast> Pyromanik: Lol.
180: [00:35:31] <Ryan-Toast> i just like building stuff.
181: [00:35:35] <Pyromanik> so do I.
182: [00:35:50] <Kittens> Ryan-Toast: sure, one sec
183: [00:36:14] <Pyromanik> Ryan-Toast, just... run out of motivation after 3 years as I say.
184: [00:36:26] <Pyromanik> plus still half in holiday mode
185: [00:36:32] <Ryan-Toast> Pyromanik: I'll be a millionaire by then, dw
186: [00:36:43] <Kittens> Ryan-Toast: http://pastie.org/private/5z1p2pgark5bpvsurwjta
187: [00:36:43] <Ryan-Toast> Ho? I don't know, I just will be.
188: [00:37:06] <Pyromanik> Ryan-Toast, hahaha.
189: [00:37:08] <Ryan-Toast> Kittens: Is there on in the cms folder?
190: [00:37:21] <Pyromanik> sounds legit, I'm sure.
191: [00:37:28] <Kittens> yeah
192: [00:37:30] <Ryan-Toast> So legit
193: [00:37:54] <Kittens> http://pastie.org/private/qjcf4jplqzpynzopya7dw
194: [00:38:01] <Pyromanik> Ryan-Toast, the trouble is, gotta have your own deisgns. In which case you're not a 'web dev' as such, just a dev that does web.
195: [00:38:24] <Pyromanik> Which is what I'd like next, not more agency work.
196: [00:38:51] <Ryan-Toast> Kittens: sorry man, I have no idea. It's not giving me anything but 500 error :(
197: [00:39:02] <Kittens> what is?
198: [00:39:12] <Ryan-Toast> The Network tab
199: [00:39:18] <Pyromanik> Ryan-Toast, no response body at all>
200: [00:39:19] <Pyromanik> ?
201: [00:39:24] <Ryan-Toast> Pyromanik: Nope
202: [00:39:34] <Kittens> network tab?
203: [00:39:34] <Ryan-Toast> It's weird.
204: [00:39:39] <Pyromanik> Kittens, ensure php's display_errors option is on
205: [00:40:06] <Pyromanik> right, i'm book'n out.
206: [00:40:08] <Pyromanik> night folks
207: [00:40:22] <Pyromanik> fuck this test crap :< do it in the morning before I leave xD
208: [00:40:25] <Pyromanik> cheers Ryan-Toast
209: [00:40:37] <Ryan-Toast> Pyromanik: Cya man :)
210: [00:40:48] <Kittens> I see no network tab o.O;
211: [00:41:28] <Ryan-Toast> It's in chrome developer tools
212: [00:41:47] <Kittens> ah
213: [00:41:51] <Kittens> I see it now
214: [00:44:31] <chillu_23> willr: Have you tested doc.ss.org search when you upgraded to 3.1? Just out of interest, trying to get a handle on what's wrong on live :)
215: [00:47:44] <antmas> Kittens: any luck with your error?
216: [00:48:21] <Kittens> nope
217: [00:48:47] <antmas> Kittens: nothing in the network tab?
218: [00:49:13] <Kittens> getting that same 500 error on /admin/pages/edit/show
219: [00:50:18] <antmas> Kittens: just on pages when you try to open them? nothing else?
220: [00:50:29] <Kittens> yeah
221: [00:51:05] <chillu_23> ss23: willr I've reverted doc.ss.org to the previous deployment, https://github.com/silverstripe/doc.silverstripe.org/commit/31155e223e00aa5f44079a3e9232c303b27413f8 breaks the search (presumably due to the 3.1 upgrade). Nothing in PHP error logs, index builds, not sure whats wrong. Filed a ticket on https://github.com/silverstripe/doc.silverstripe.org/issues/23
222: [00:51:06] <Kittens> outside world seems fine, CMS seems fine until I want to edit or add pages
223: [00:51:28] <ss23> chillu_23: no probs
224: [00:52:40] <antmas> Kittens: what ss version are you on?
225: [00:52:47] <Kittens> latest?
226: [00:52:52] <antmas> k
227: [00:53:47] <willr> chillu_23, think I patched it around https://github.com/silverstripe/silverstripe-docsviewer/commit/d68e523e72534c87d53fe302045469b600881527
228: [00:53:57] <willr> doc.silverstripe include that version?
229: [00:54:38] <ss23> It would be great if deploynaut intergrated with github (using the github api) so that anyone with access could see!
230: [00:56:12] <Kittens> what PHP version should I be running?
231: [00:56:26] <antmas> 5.4
232: [00:56:31] <chillu_23> ss23 It would be great if doc.ss.org wasn't using publish site ;) *runs and hides*
233: [00:57:17] <Kittens> gonna try to make that magic happen just in case
234: [00:57:19] <simon_w> chillu_23, just get madmatt to fix what he started :p
235: [00:57:35] <ss23> chillu_23: Hey, I already did sscom and ssorg to deploynaut!
236: [00:57:35] <Kittens> I'm kinda used to linux servers ^^;
237: [00:57:42] <Kittens> dang ol' mac
238: [00:57:45] <ss23> Or maybe you did
239: [00:57:50] <ss23> I forget, point is, they're both on deploynaut!
240: [00:57:54] <chillu_23> willr: looks like you didn't include the rev you linked to in the composer update, see https://github.com/silverstripe/doc.silverstripe.org/commit/31155e223e00aa5f44079a3e9232c303b27413f8. I'll do a quick sanity check to see if that fixes it for me
241: [00:58:35] <willr> deploynaut and give me access :D
242: [00:58:44] <ss23> >give willr access
243: [00:58:46] <ss23> NEVER! :O
244: [00:58:51] * ajshort quit (Quit: Leaving)
245: [00:58:59] <willr> Continuous deployment! though would need to write more tests
246: [00:59:02] * UncleCheese has joined #silverstripe
247: [00:59:04] <Kittens> updating php didn't do anything... I wonder what could be causing the 500
248: [00:59:38] <ss23> Continous deployment has some bumps though, since sometimes you need to sync release of two repos
249: [00:59:50] <ss23> update one -> update the other, CD deployed on first, you lose, good day sir
250: [01:00:20] <ss23> Could do continous deployment that will deploy every day at, say, 8am (or whenever) as long as there have been no changes in the last ~4 hours
251: [01:00:25] <ss23> And travis is green
252: [01:00:29] <ss23> A+ implment it willr
253: [01:01:14] <willr> what two repos? Surely just need to git clone docs.ss / composer install done
254: [01:01:51] <ss23> willr: I mean, conceptually, not in this particular case
255: [01:02:25] <antmas> what datatype is NumericField?
256: [01:02:27] <antmas> int?
257: [01:03:13] <antmas> Decimal..
258: [01:03:24] <antmas> derp
259: [01:05:38] <Kittens> where are pages stored?
260: [01:07:43] <Ryan-Toast> Cna you set a part of the URLSegment in a controller?
261: [01:10:52] <chillu_23> willr: Looks better on latest docsviewer, although on test.ss.com instance it still finds only a few entries. Out of time for this, so I'll leave it reverted
262: [01:10:56] <Kittens> who and what?
263: [01:11:17] <willr> chillu_23 been reindexed?
264: [01:19:03] <antmas> if I have a datatable, how do I display it using a field instead of ID in the CMS?
265: [01:19:54] <Ryan-Toast> Can you remove an item from the Add New list in pages?
266: [01:20:32] <antmas> Kittens: ^^^^
267: [01:21:16] <Kittens> remove... I don't see an option to do so
268: [01:21:46] <antmas> as per my question, instead of ID - I want to display a field as a header http://i.imgur.com/G8AbJOR.png
269: [01:21:50] <Ryan-Toast> I still want it to be an allowed child, I just don't want it to show up in the list.
270: [01:22:12] <Ryan-Toast> antmas: $summary_fiedlds?
271: [01:22:15] <antmas> Kittens: Sorry, I thought Ryan-Toast was talking to you
272: [01:22:36] <Ryan-Toast> Or add them to your GridField
273: [01:22:38] <Kittens> it's all good
274: [01:22:46] <Kittens> I have about 10 minutes left in me
275: [01:22:54] <Kittens> then the tramadol will kick in
276: [01:23:29] <Kittens> at which point, I'll just stream super metroid or something
277: [01:26:25] <antmas> Ryan-Toast: tah
278: [01:28:49] <antmas> Ryan-Toast: would I do that via my ModelAdmin extension?
279: [01:29:26] <antmas> as in this class? http://www.sspaste.com/paste/show/52e06d82099d8
280: [01:29:45] <ss23> OH GOD THERE'S SOMEONE WALKING ON A ROOF OUTSIDE
281: [01:29:47] <ss23> WHAT DO
282: [01:30:04] <antmas> ss23: RUB NIPPLES ON WINDOW
283: [01:30:13] <ss23> rofl
284: [01:31:05] <Ryan-Toast> antmas: No
285: [01:31:21] <Ryan-Toast> antmas: Itr would be in the Expense model
286: [01:31:57] <antmas> Ryan-Toast: ? in the the expense dataobject?
287: [01:32:02] <Ryan-Toast> Yarp
288: [01:32:04] * robert_ quit (Ping timeout: 252 seconds)
289: [01:32:06] <antmas> ah
290: [01:32:08] <antmas> sweet
291: [01:33:04] <Ryan-Toast> antmas: Working?
292: [01:33:20] <antmas> Ryan-Toast: trying to figure out the syntax :(
293: [01:33:29] <Ryan-Toast> Paste me the class
294: [01:33:56] <antmas> Ryan-Toast: http://www.sspaste.com/paste/show/52e06e9b3063d
295: [01:34:50] <antmas> friggen huge form :(
296: [01:35:11] <Ryan-Toast> antmas: http://doc.silverstripe.org/framework/en/reference/dataobject#summary-fields
297: [01:35:35] <antmas> Ryan-Toast: bitchin!
298: [01:36:17] <ss23> Bitchin!
299: [01:38:06] <antmas> Ryan-Toast: altough, 3.0 so no private :P
300: [01:38:30] <Ryan-Toast> Ah, right.
301: [01:39:03] <antmas> Ryan-Toast: thanks, all sorted :)
302: [01:39:09] <Ryan-Toast> Goooood.
303: [01:45:06] <antmas> Is there a way to change what fields are exported to .csv rather than just summary_fields?
304: [01:48:03] <Ryan-Toast> Can you view a dataobject as a page?
305: [01:49:45] <antmas> Ryan-Toast: going to try this out http://stackoverflow.com/questions/17502299/how-to-export-all-rows-as-csv-in-modeladmin-silverstripe-3-1
306: [01:50:07] <guzzlefry> antmas: you can probably override the method.
307: [01:50:27] <guzzlefry> oh, that's what it says :P
308: [01:50:35] <antmas> guzzlefry: :P
309: [01:51:09] <antmas> now...
310: [01:51:15] <antmas> where would that call to the button be?
311: [01:54:02] <antmas> anyone? ^^^
312: [01:54:27] <guzzlefry> antmas: see second answer?
313: [01:54:30] <guzzlefry> maybe...
314: [01:55:33] * antmas_ has joined #silverstripe
315: [01:55:39] <antmas_> derp
316: [01:58:14] <antmas_> guzzlefry: you were right
317: [01:58:21] <antmas_> just need an override
318: [01:58:22] <antmas_> :P
319: [01:59:03] * antmas quit (Ping timeout: 272 seconds)
320: [01:59:14] * antmas_ is now known as antmas
321: [02:05:24] * chillu_23 quit (Quit: chillu_23)
322: [02:12:02] * zippy__ has joined #silverstripe
323: [02:14:37] <Colin[pi]> can anyone think off hand why a script that's outputing XML with a text/plain header would have a blank first line?
324: [02:14:50] <Colin[pi]> I can't seem to see in the source where it's coming from... header thing?
325: [02:16:24] <UncleCheese> kiwis: does anyone use the Snapper USB thingy?
326: [02:16:32] <antmas> Snapper USB?
327: [02:16:49] <UncleCheese> well i want to top up online, but it says i need the USB thing
328: [02:16:53] * chillu_23 has joined #silverstripe
329: [02:16:55] <UncleCheese> http://www.snapper.co.nz/snapper-accessories/
330: [02:17:08] <simon_w> UncleCheese, which one? The feeder or the actual USB thing?
331: [02:17:16] <UncleCheese> i guess that's what i don't understand
332: [02:17:24] <UncleCheese> what do i need?
333: [02:17:34] <simon_w> To top up a card? The feeder
334: [02:17:36] <UncleCheese> ok
335: [02:17:40] <antmas> oh is that the bus thing?
336: [02:17:40] <UncleCheese> and what does the USB do?
337: [02:17:58] <simon_w> It's like a card, but it's also a USB thing for topping up
338: [02:18:07] <simon_w> May have been a limited time thing
339: [02:18:09] <UncleCheese> ok, so the feeder can't be used on a bus
340: [02:18:22] <UncleCheese> but the USB thing can be used to top off AND it can be scanned
341: [02:19:19] <simon_w> http://www.snapper.co.nz/snapper-for-your-keyring/#sectionFor-snapper-usb-mac
342: [02:19:25] <UncleCheese> 60 bucks?!
343: [02:19:35] <simon_w> That thing can be topped up by plugging it into your computer, but can't top up cards
344: [02:19:36] <UncleCheese> haha.. ooookaaaay then
345: [02:19:58] <UncleCheese> yeah, that's what i was hoping for.. i didn't know it was 60 bucks, though
346: [02:20:10] <simon_w> It's 40?
347: [02:20:26] <UncleCheese> oh, right
348: [02:20:26] <simon_w> Plus some credit
349: [02:20:28] <UncleCheese> comes with 20 on it
350: [02:21:13] <UncleCheese> and i can never tell -- am i saving any money by paying with a snapper on the bus?
351: [02:21:22] <simon_w> Yes
352: [02:21:47] <simon_w> http://www.metlink.org.nz/tickets-and-fares/
353: [02:21:55] <simon_w> compare cash column to snapper column
354: [02:23:32] <ss23> wow
355: [02:23:33] <ss23> cool site
356: [02:23:34] <ss23> who runs that/
357: [02:23:44] <UncleCheese> sweet
358: [02:23:49] <simon_w> ss23, Not you lot :p
359: [02:23:53] <UncleCheese> ss23: i love the metlink site
360: [02:23:58] <ss23> YES IT IS, YES IT IS, simon_w!!!!
361: [02:24:07] <UncleCheese> the journey planner is one of the coolest features
362: [02:24:11] <ss23> :D
363: [02:24:14] <UncleCheese> it's a really great UX
364: [02:24:22] <ss23> The code for it is 100% horrific!
365: [02:24:28] <UncleCheese> i often wonder that
366: [02:24:35] <ss23> fuck, I just realised, I completely forgot to fix a metlink bug, I think
367: [02:24:35] <ss23> crap
368: [02:24:43] <UncleCheese> say, is chillu_23 in the house?
369: [02:24:50] * DigNZ quit (Quit: DigNZ)
370: [02:24:51] <UncleCheese> i heard he's moving back to wellies
371: [02:24:52] <ss23> He's at his PC
372: [02:24:57] <ss23> UncleCheese: He's just near me!
373: [02:24:58] <ss23> :D
374: [02:25:00] <UncleCheese> whaaaaa
375: [02:25:11] <UncleCheese> when did we reacquire his greatness?
376: [02:25:21] <ss23> Hmm
377: [02:25:23] <ss23> Wednesday last week!
378: [02:25:24] <ss23> :D
379: [02:25:27] <UncleCheese> crazy
380: [02:25:33] <UncleCheese> does he want to move back yet?
381: [02:25:37] <ss23> hahaha
382: [02:25:47] <ss23> Ask him yourself, once he gets on IRC
383: [02:25:47] <UncleCheese> "15 degrees in mid January.. fuck this, man"
384: [02:25:49] * ss23 pokes chillu_23
385: [02:25:53] <ss23> UncleCheese: ik, way too fucking hot
386: [02:25:55] <ss23> srsly like...
387: [02:25:57] <ss23> >.<
388: [02:26:04] <ss23> can barely get to work anymore :/
389: [02:26:18] <ss23> I'm seriously considering like, idk, catching the bus or something, so I don't have to brave the sun
390: [02:26:25] <Colin[pi]> lol 15 degrees
391: [02:26:41] <chillu_23> UncleCheese: I'm back! </schwarzenegger>
392: [02:26:41] * SightUnseen has joined #silverstripe
393: [02:27:01] <UncleCheese> hey, man!
394: [02:27:07] <simon_w> 15 degrees? It's 20. At least get it right :p
395: [02:27:09] * SightUnseen has left #silverstripe
396: [02:27:21] <UncleCheese> Love to catch up for a beer sometime and meet you once and for all
397: [02:27:27] <chillu_23> Yeah, totally moved back for the weather! Not.
398: [02:27:32] <UncleCheese> haha
399: [02:27:39] <UncleCheese> right, i know.. you moved back for the sweet housing
400: [02:27:50] <UncleCheese> you were like, man.. You know what germany is missing? Mould.
401: [02:28:07] <UncleCheese> simon_w: 15 degrees on Tuesday
402: [02:28:07] <simon_w> Just because you've got a student flat :p
403: [02:28:11] <ss23> 15:27:50 < UncleCheese> you were like, man.. You know what germany is missing? Mould.
404: [02:28:11] <UncleCheese> it was miserable in our flat
405: [02:28:14] <ss23> lol, so fucking true
406: [02:28:16] <chillu_23> Yeah its been a long time coming aye. Totally keen for beers! Still in flat hunting mode at the moment, staying at Ben's in Newtown for the moment
407: [02:28:26] <UncleCheese> sweet
408: [02:28:35] <Colin[pi]> Newtown?
409: [02:28:36] <UncleCheese> i'll probably run into on the way into the office one of these days, assuming you walk
410: [02:28:46] <Colin[pi]> now why have I heard about newtown here before?
411: [02:28:54] <simon_w> chillu_23, I know a place that'll be available at the end of April in Karori ;)
412: [02:28:56] <ss23> Colin[pi]: shhhhhh
413: [02:28:58] <chillu_23> "Is this flat insulated?" - Asked no German tenant ever ;)
414: [02:29:02] <Colin[pi]> lol
415: [02:29:03] <UncleCheese> HA
416: [02:29:05] <antmas> Colin[pi]: place in wellington
417: [02:29:06] <UncleCheese> thank you!!!!!!!!!!!!!
418: [02:29:21] <Colin[pi]> antmas: I know... but, I remember someone talking about it here before
419: [02:29:25] <UncleCheese> chillu_23: still one of the most amazing things about NZ.. I can't believe I have to ask that question!
420: [02:29:29] <antmas> Colin[pi]: ah
421: [02:29:39] <Colin[pi]> antmas: don't think it was a good thing LOL
422: [02:29:40] <simon_w> UncleCheese, dude, just man up
423: [02:29:44] <ss23> ^^^
424: [02:29:47] <ss23> UncleCheese is like a girl
425: [02:29:52] <ss23> "Wah, I need a heater!"
426: [02:29:55] <Colin[pi]> he's American
427: [02:29:57] <Colin[pi]> ;)
428: [02:30:02] <ss23> though in his defence, I'm like a girl who needs AC...
429: [02:30:07] <Colin[pi]> GRAB A SNUGGIE UC
430: [02:30:07] <chillu_23> Is it too much to ask that you shouldn't be able to see your breath inside? ;)
431: [02:30:16] <simon_w> Yes
432: [02:30:23] <ss23> Colin[pi]: ++
433: [02:30:24] <UncleCheese> man up? it's expensive! $1,200 power bill
434: [02:30:33] <ss23> Grab your beds duvet, a couch, and win at life
435: [02:30:34] <Colin[pi]> that was an error though :P
436: [02:31:38] <simon_w> UncleCheese, no, that's from not manning up
437: [02:31:59] <UncleCheese> 18-month-olds don't make very good men
438: [02:32:04] <ss23> It's true, UncleCheese does have a baby
439: [02:32:06] <ss23> I forgive him
440: [02:32:17] <ss23> If I had a baby, you bet my ass I would make sure my place was warm and mould free
441: [02:32:17] <UncleCheese> you could keep cheese in his room for months
442: [02:32:23] <ss23> lol
443: [02:32:26] <Colin[pi]> OH NO HE DI'NT PLAY THE BABY CARD
444: [02:32:32] <UncleCheese> dude
445: [02:32:42] <UncleCheese> you will too if/when you have one
446: [02:32:45] <Colin[pi]> but seriously yeah babies need warm
447: [02:32:48] <ss23> XD
448: [02:32:49] <Colin[pi]> had one dude
449: [02:32:51] <Colin[pi]> he's 7
450: [02:32:52] <UncleCheese> oh nice
451: [02:32:54] <UncleCheese> no shit
452: [02:32:57] <UncleCheese> congrats, man
453: [02:33:02] <UncleCheese> 7 years ago. congrats
454: [02:33:04] <Colin[pi]> thanks.. he's bloody big now
455: [02:33:04] <ss23> 7 is old enough to brave the cold alone!
456: [02:33:19] <antmas> Colin[pi]: OOOOOLLLLDDD
457: [02:33:20] <Colin[pi]> well we're in canberra.. he's used to it
458: [02:33:22] <simon_w> I think I was refusing to wear jerseys at that age
459: [02:33:28] <Colin[pi]> antmas: ikr?
460: [02:33:31] <antmas> :P
461: [02:33:32] <ss23> Cold? Canbera?
462: [02:33:34] <ss23> I don't think so.
463: [02:33:37] <simon_w> ss23, yes
464: [02:33:39] <Colin[pi]> FOR AUSTRALIA IS COLD
465: [02:34:02] <antmas> my kid has my low blood pressure so he doesn't feel the cold :P
466: [02:34:05] <simon_w> Usually around -5 during winter
467: [02:34:08] <antmas> as much*
468: [02:34:19] <ss23> aw that is a little cold
469: [02:34:19] <ss23> ;O
470: [02:34:28] <Colin[pi]> ss23: canberra is like -5 to 12/13C in mid winter
471: [02:34:40] <antmas> Colin[pi]: tha'ts the same as us really
472: [02:34:52] <Colin[pi]> and in summer it's OMG I'M MELTING degrees
473: [02:34:57] <UncleCheese> i would love a -5 winter because at least people would be motivated to insulate their houses
474: [02:34:59] <UncleCheese> … i think.
475: [02:35:07] <Colin[pi]> haha
476: [02:35:11] <UncleCheese> nah, probably not.. they would just "man up"
477: [02:35:20] <simon_w> UncleCheese, Dunedin.
478: [02:35:26] <Colin[pi]> here UC when people shop for homes, they always list a heating column ;)
479: [02:35:28] <UncleCheese> yeah, that's exactly what i was going to say
480: [02:35:44] <UncleCheese> i've heard horrific things about dunedin
481: [02:35:50] <UncleCheese> waking up to ice on the windows
482: [02:35:54] <ss23> lol
483: [02:35:58] <simon_w> on the inside!
484: [02:36:01] <UncleCheese> yeah
485: [02:36:06] <simon_w> Like a bawass!
486: [02:36:07] <UncleCheese> literally 0 degrees INSIDE
487: [02:36:11] <Colin[pi]> dude an uncovered car here in winter will be coated in ice in the morning
488: [02:36:21] <UncleCheese> aww, i miss that~!
489: [02:36:30] <UncleCheese> chiseling ice off the windscreen
490: [02:36:44] <Colin[pi]> then you see folks with kettles pouring water... I like to sit back and wait for the glass to explode
491: [02:36:50] <antmas> Colin[pi]: lol
492: [02:36:53] <UncleCheese> hey, that was always my trick
493: [02:37:05] <Colin[pi]> I just keep walking and shake my head ;)
494: [02:37:13] <UncleCheese> that's some pretty shit glass if it breaks
495: [02:37:16] <UncleCheese> it needs to man up
496: [02:37:21] <Colin[pi]> hhaha
497: [02:37:26] <antmas> Colin[pi]: our neighbour last winter put a damp blanket on his windshield
498: [02:37:27] <Colin[pi]> he's not gonna let this go guys
499: [02:37:30] <Ryan-Toast> Is anyone going to the 9's this year?
500: [02:37:42] <Colin[pi]> antmas: damp blanket?
501: [02:37:48] <Colin[pi]> haven't seen that before
502: [02:37:52] <antmas> got up to him peeling the GLASS off the blanket lol
503: [02:37:58] <Colin[pi]> LOL
504: [02:38:05] <antmas> fuckin MORON
505: [02:38:10] <simon_w> I'm going to miss my temperate climate
506: [02:38:15] <Colin[pi]> temperate?
507: [02:38:41] <Colin[pi]> canberra is temperate... but we have a higher max in summer ;)
508: [02:38:59] <simon_w> And a lower low in winter :p
509: [02:39:22] <simon_w> Kinda not temperate :p
510: [02:39:27] <Colin[pi]> actually we are a "continental climate" according to wikipedia
511: [02:39:46] <antmas> simon_w: that low is not lower than us
512: [02:40:09] <simon_w> antmas, and you're not temperate either
513: [02:40:26] <antmas> simon_w: your face isn't temperate
514: [02:40:35] <simon_w> Yet...
515: [02:40:53] <UncleCheese> NZ would be warmer if it weren't for West Island
516: [02:41:17] <antmas> lol
517: [02:41:31] <Colin[pi]> haha is that what you call AU?
518: [02:41:34] <simon_w> Or, you know, if it was bigger
519: [02:41:47] <simon_w> Colin[pi], it's what people trying to be funny call it
520: [02:41:53] <Colin[pi]> heh
521: [02:41:59] <antmas> never heard that one before
522: [02:42:08] <Colin[pi]> maybe they should just MAN UP and call it 'straya
523: [02:42:09] <Colin[pi]> ;D
524: [02:42:20] <irogue23> STRAYA CUNT
525: [02:42:28] <antmas> Straightup Cunt?
526: [02:42:30] <antmas> lol
527: [02:42:31] <Colin[pi]> YEEEA CUNT
528: [02:42:31] <simon_w> Convict island
529: [02:42:44] <antmas> bringing back the cunt!
530: [02:43:00] <simon_w> Hey ss23, antmas is wanting to bring you back
531: [02:43:59] <antmas> simon_w: WOAH
532: [02:44:07] <UncleCheese> i'm a bit fan of West Island
533: [02:44:10] <UncleCheese> so demeaning
534: [02:44:25] <ss23> Bring me back? o.o
535: [02:44:26] <simon_w> antmas, http://logs.simon.geek.nz/index.php?date=2013-11-07#log_1109713
536: [02:44:29] <Colin[pi]> UncleCheese: how long have you been in NZ now?
537: [02:44:37] <UncleCheese> six months and 19 days
538: [02:44:40] <antmas> simon_w: YES!
539: [02:44:41] <antmas> :D
540: [02:44:44] <Colin[pi]> hmm, long enough to be called a Sheep Shagger I spose :D
541: [02:44:45] <ss23> simon_w: FAKE
542: [02:44:46] <ss23> FAKKKEEEE
543: [02:44:52] <UncleCheese> christ
544: [02:46:43] <simon_w> UncleCheese, what? You're not into sheep?
545: [02:47:05] <UncleCheese> i am, actually
546: [02:47:13] <UncleCheese> they're actually a major novelty
547: [02:47:33] <UncleCheese> people hate being behind me when i'm driving through grazing land here
548: [02:47:49] <UncleCheese> because i go so slow, just watching all the sheep
549: [02:47:57] <ss23> lol
550: [02:48:01] <Colin[pi]> rofl
551: [02:48:19] <UncleCheese> and the kiwis are just like.. umm.. yeah, there's like 40 million of those things
552: [02:48:37] <Colin[pi]> I take it you didn't see many where you came from??
553: [02:48:42] <UncleCheese> nope
554: [02:48:46] <Colin[pi]> lol
555: [02:48:46] <UncleCheese> heaps of cows
556: [02:48:57] <UncleCheese> but i think the most interesting thing is just how much freedom they have
557: [02:49:00] <UncleCheese> and how beautiful it is
558: [02:49:10] <guzzlefry> Isn't there some global template variable for current user?
559: [02:49:16] <UncleCheese> i come from a really rural state, but it's mostly just farms with cattle grazing on flat, fenced land
560: [02:49:29] <UncleCheese> like.. rolling through the countryside here makes me want to be a sheep
561: [02:49:33] <UncleCheese> looks like the greatest life ever
562: [02:49:40] <UncleCheese> … for a year, anyway
563: [02:49:50] <Colin[pi]> UncleCheese: here you'd prolly be amazed at just how many kangaroos are around
564: [02:49:59] <UncleCheese> at the wellington zoo?
565: [02:50:04] <UncleCheese> oh in AU
566: [02:50:07] <Colin[pi]> lol yeah
567: [02:50:10] <Colin[pi]> they are SO common, everywhere
568: [02:50:11] <UncleCheese> that amazes me.. i've heard they're pests!
569: [02:50:21] <Colin[pi]> they have to cull them sometimes :(
570: [02:50:22] <Colin[pi]> too many
571: [02:50:25] <UncleCheese> and Oz is trying to get the world to like kangaroo meat!
572: [02:50:31] <UncleCheese> yeah
573: [02:50:37] <Colin[pi]> it's tasty
574: [02:50:39] <Colin[pi]> strong flavour
575: [02:50:41] <UncleCheese> there are like incentives to hunt them?
576: [02:50:43] <Colin[pi]> but needs to be cooked VERY fast
577: [02:50:46] <antmas> it actually is tasty
578: [02:50:49] <UncleCheese> oh?
579: [02:50:51] <UncleCheese> too tough?
580: [02:51:00] <Colin[pi]> if you cook it too much, yeah like a boot
581: [02:51:09] <UncleCheese> not a lot of fat
582: [02:51:14] <Colin[pi]> very lean yes
583: [02:51:27] <UncleCheese> might make a good stew meat
584: [02:51:30] <antmas> mmm boot meat
585: [02:51:32] <Colin[pi]> lol
586: [02:51:53] <Colin[pi]> but yeah here, in Canberra anyway, you can go 5 mins out of the city into a field, and there'll be 100's of them
587: [02:51:59] <Colin[pi]> and they come into the city also
588: [02:52:01] <antmas> I've been working on this form all day :(
589: [02:52:04] <antmas> so crose
590: [02:52:18] <Colin[pi]> antmas: much sad
591: [02:54:12] <irogue23> y'all want some cheap real estate? http://www.stuff.co.nz/life-style/home-living/9639532/Bargain-comes-with-a-catch
592: [02:55:40] <Colin[pi]> mmm
593: [02:55:45] <Colin[pi]> sure they're a bunch of nice fellows
594: [02:56:11] <antmas> there are probably bodies in the drywall
595: [02:56:48] <ss23> irogue23: tbh, I would consider it
596: [02:56:54] <ss23> How much would it be to get some decent soundproof in it?
597: [02:57:06] <ss23> Cause I presume they wouldn't give you trouble if you minded your own business, and sound proof == all goooood
598: [02:57:09] <Colin[pi]> lol: http://goo.gl/maps/NHk1c
599: [02:58:06] <antmas> lol the pram outside the door is great
600: [02:58:11] <ss23> I think the bigger issue here would be living in Taranaki
601: [02:58:15] <ss23> I don't think I could handle *that*
602: [02:59:30] <Colin[pi]> be good to be mates with them anyway... lol
603: [02:59:37] <Colin[pi]> "hi guys, need to borrow some sugar?"
604: [02:59:46] <ss23> lol
605: [03:00:01] <ss23> Probably could get cheap drugs from 'em too :D
606: [03:00:45] <antmas> you'd have to dress up as blackface all day
607: [03:00:53] <antmas> unless it was mongrel mob
608: [03:01:06] <Colin[pi]> not like you'd know anything about that, eh ss23?
609: [03:01:15] <ss23> From gangs? Hell no, I'm a nerd
610: [03:01:20] <ss23> All my dealers have been nerdy as fuck too
611: [03:01:20] <Colin[pi]> hehe
612: [03:01:20] <ss23> :P
613: [03:01:41] <ss23> You know what's messed up?
614: [03:01:49] <ss23> It's easier to buy meth than it is to buy ritalin/adderal
615: [03:01:54] <ss23> So retarded, drug laws suck
616: [03:02:52] <Colin[pi]> aye
617: [03:06:10] <antmas> I thought Ritalin was just flat out illegal now?
618: [03:07:02] * OxFF1 has joined #silverstripe
619: [03:09:37] <ss23> Can't remember, one of them is iirc
620: [03:12:11] * OxFF1 quit (Quit: Hasta la proxima)
621: [03:14:06] <Colin[pi]> you sorted out your form antmas?
622: [03:14:59] <antmas> Colin[pi]: yeah for the most part
623: [03:15:21] <Colin[pi]> i'm doing one now with custom template, much confuse
624: [03:15:35] <antmas> getting an undefined index on submit (for email)
625: [03:15:43] <antmas> for a custom field type :(
626: [03:15:47] <Colin[pi]> :\
627: [03:18:28] <antmas> Can anyone see what it might be? the 'Undefined index' field is 'ExpensesTable' which I don't really see an issue with http://www.sspaste.com/paste/show/52e086f0df877
628: [03:19:05] <antmas> line 134-5 for the email form
629: [03:19:15] <Colin[pi]> wow big form
630: [03:19:29] <antmas> Colin[pi]: I know :( and that is the CUT DOWN version
631: [03:19:34] <Colin[pi]> lol
632: [03:20:42] <antmas> note sure what do :<
633: [03:21:22] <antmas> might be a tomorrow job :/
634: [03:21:59] <Colin[pi]> tomorrow everything will be better
635: [03:22:09] <Colin[pi]> and if not, there's always the next day!
636: [03:26:51] <antmas> anyone tried out Beats Music yet?
637: [03:28:12] <unsignedint> is that Beats by Dre or Beats by Maori?
638: [03:28:23] <antmas> lol
639: [03:28:27] <antmas> Beats by Dre
640: [03:28:30] <antmas> new service
641: [03:29:15] <Colin[pi]> hope it's not as shitty as the headphones?
642: [03:32:00] <unsignedint> it probably is
643: [03:35:15] * Azure quit (Read error: Connection reset by peer)
644: [03:35:41] <guzzlefry> Is there a quick way to get all IDs from a many-many relation?
645: [03:35:47] * Azure has joined #silverstripe
646: [03:36:11] <Colin[pi]> ->getIdList() ?
647: [03:36:51] <guzzlefry> oh, I'm a dummy
648: [03:37:01] <unsignedint> rm -fr /
649: [03:37:04] <unsignedint> works every time
650: [03:37:13] <ss23> https://stripe-ctf.com/leaderboard Someoen is winning in another kind of CTF! :D
651: [03:37:28] <guzzlefry> Trying to do something like $this->LineItems()->Products()->getIdList()
652: [03:37:32] <guzzlefry> which...I don't think is going to work.
653: [03:37:41] <Ryan-Toast> I like the sprites.
654: [03:51:08] <simon_w> guzzlefry, $this->LineItems()->relation('Products')->getIdList()
655: [03:55:01] <guzzlefry> you're a wizard!
656: [03:55:02] <guzzlefry> thanks
657: [03:56:13] * antmas quit (Ping timeout: 272 seconds)
658: [03:57:32] * nickmolhoek quit (Quit: nickmolhoek)
659: [04:13:30] * SightUnseen has joined #silverstripe
660: [04:14:21] * SightUnseen has left #silverstripe
661: [04:16:04] <guzzlefry> simon_w: [User Error] Uncaught Exception: Object->__call(): the method 'forforeignid' does not exist on 'Product'
662: [04:16:20] <guzzlefry> Think I'm doing something wrong...
663: [04:16:38] * samey6 quit (Ping timeout: 240 seconds)
664: [04:16:50] <simon_w> Probably
665: [04:18:18] <guzzlefry> $courseIDs = $this->Items()->filter("Product.ClassName", "Course")->relation("Product")->getIDList();
666: [04:18:35] * Ryan-Toast quit (Quit: Ryan-Toast)
667: [04:18:35] <simon_w> Product's a has_one
668: [04:18:56] <guzzlefry> yes
669: [04:19:02] <simon_w> That's the problem
670: [04:19:18] <simon_w> $this->Items()->filter("Product.ClassName", "Course")->column('ProductID')
671: [04:19:51] <guzzlefry> oh wow
672: [04:19:54] <guzzlefry> that's nicer than what I had...
673: [04:19:56] <guzzlefry> $courseIDs = $this->Items()->filter("Product.ClassName", "Course")->map("ID", "ProductID")->toArray();
674: [04:28:10] * chillu_23 quit (Quit: chillu_23)
675: [04:31:14] <Colin[pi]> ugh ss controller and form stuff always trips me up
676: [04:32:45] <guzzlefry> me too :P
677: [04:34:40] <UncleCheese> anyone here host with Digital Ocean?
678: [04:34:50] <UncleCheese> their pricing is looking awfully compelling lately
679: [04:35:48] <simon_w> I've got a test VPS with them
680: [04:35:56] <simon_w> Need to finish setting it up at some point
681: [04:37:32] * DigNZ has joined #silverstripe
682: [04:37:52] <Colin[pi]> ok I have a controller with a url handler: '$Location!'=>'location', but also a form, when I submit I get 404, do I need another handler for the form?
683: [04:38:26] <Colin[pi]> I think it thinks "BookingForm" is another url segment for location()
684: [04:38:46] <simon_w> Well, that's what you've told it
685: [04:39:11] <Colin[pi]> yes >_<
686: [04:39:19] <Colin[pi]> so what is the best course of action to handle the form?
687: [04:39:27] <Colin[pi]> another rule?
688: [04:39:35] <simon_w> Only going to be the one form, or will there be multiple ones?
689: [04:39:43] <Colin[pi]> possibly more than one, but one atm
690: [04:40:06] <simon_w> Well, if only one, 'BookingForm' => 'BookingForm'
691: [04:40:23] <Colin[pi]> will that need to go before '$Location!'
692: [04:40:24] <Colin[pi]> ?
693: [04:40:30] <simon_w> Yes
694: [04:40:33] <Colin[pi]> k
695: [04:40:45] <Colin[pi]> and what about if more than one, sep rules?
696: [04:41:05] <simon_w> public function FormObjectLink($action) { return controller::join_links($this->Link(), 'form', $action); }
697: [04:41:06] <simon_w> and a rule of 'form/$Action' => 'handleAction'
698: [04:41:20] * CodeTrap quit (Ping timeout: 252 seconds)
699: [04:41:49] <Colin[pi]> o_O is that standard practice?
700: [04:41:54] <simon_w> Nope
701: [04:41:59] <Colin[pi]> hmm
702: [04:42:08] <simon_w> But then nor's overriding the default url_handler :p
703: [04:42:12] <Colin[pi]> :P
704: [04:42:16] <Colin[pi]> excellent, that new rule has allowed the form to work, thanks
705: [04:43:02] * CodeTrap has joined #silverstripe
706: [04:43:07] <Colin[pi]> I suppose it's counter-productive to make the form DO-centric? i.e. instead of /booking/BookingForm - it becomes /booking/<location>/BookingForm
707: [04:43:27] <simon_w> Well, then you'd need to handle that too
708: [04:43:48] <simon_w> '$Location/$Action' => 'handleAction'
709: [04:43:58] <simon_w> Um, both with !
710: [04:44:07] <simon_w> Then the FormObjectLink thing that outputs the right link
711: [04:44:11] <Colin[pi]> the DO will need it's own controller?
712: [04:44:17] <simon_w> Nope
713: [04:44:24] <Colin[pi]> my brain hurts
714: [04:44:25] <Colin[pi]> ;D
715: [04:44:51] <Colin[pi]> ehh I'll stick with it in the existing controller for now
716: [04:44:57] <simon_w> I'm generating a form based on JSON returned from an API :p
717: [04:45:16] <Colin[pi]> urg
718: [04:45:44] <simon_w> And it could be different for each user!
719: [04:46:00] <Colin[pi]> in SS?
720: [04:46:13] <simon_w> Yes, this is in SS
721: [04:46:22] <Colin[pi]> good luck with that ;)
722: [04:47:08] <simon_w> http://www.sspaste.com/paste/show/52e09be1932f0
723: [04:47:10] <simon_w> Easy :p
724: [04:47:13] <simon_w> Just boring
725: [04:48:18] <simon_w> Now need to make it handle loading data from the existing object and MaxStringLength
726: [04:49:19] <simon_w> And then it can be home time!
727: [04:49:42] <Colin[pi]> yay
728: [04:51:00] * cloph has joined #silverstripe
729: [04:51:29] * cloph_away quit (Ping timeout: 272 seconds)
730: [04:55:00] <ss23> Help I'm multitasking ~5 things at work and I'm overloaded o.o
731: [04:55:16] <ss23> I'm in my "oh god I don't know what to work on OTOOOOOOO MANNYYYYYYY" state
732: [04:56:05] <Colin[pi]> ss23: welcome to my every day of the week
733: [04:56:14] <ss23> I think you misunderstand!
734: [04:56:26] <ss23> idk
735: [04:56:29] <ss23> It's hard to explain
736: [04:56:50] <ss23> I have like ~40 different things I could/should be working on, but 5 are currently open windows that have half typed text in them
737: [04:56:50] <Colin[pi]> no seriously my work is always like that ;P
738: [04:56:53] <ss23> is what I mean kind of
739: [04:57:00] <Colin[pi]> ah lol
740: [04:57:21] <ss23> like, I alt-tab from one thing, and the wrong window pops up and I'm like "fuck I'm working on this too"
741: [04:57:25] <ss23> and now I've stalled
742: [04:57:25] <ss23> like, blargh
743: [04:57:29] <ss23> Gotta pick one and finish it before the others!
744: [04:57:40] <Colin[pi]> isn't it home time?
745: [04:57:58] <ss23> Maybe for the people who spend their days on work instead of on IRC
746: [04:57:58] <ss23> :P
747: [04:58:12] <Colin[pi]> OH HO HO
748: [04:58:40] * UncleCheese quit (Quit: UncleCheese)
749: [05:19:12] * chillu_23 has joined #silverstripe
750: [05:33:20] * chillu_23 quit (Quit: chillu_23)
751: [05:41:39] * willr quit (Quit: willr)
752: [05:53:48] * bambii7 has joined #silverstripe
753: [05:54:21] <bambii7> anyone got any idea on how to render only with Layout/MyPage.ss and ignore the parent?
754: [05:55:34] * chillu_23 has joined #silverstripe
755: [05:56:49] <Kittens> mayhaps I should re-install from scratch
756: [05:57:53] * chillu_23 quit (Client Quit)
757: [05:59:45] <guzzlefry> bambii7: renderwith() I think...
758: [06:00:32] <guzzlefry> hm
759: [06:01:01] <guzzlefry> Well, I guess not that.
760: [06:01:59] <guzzlefry> bambii7: I'd just move MyPage.ss to the top template directory.
761: [06:06:41] * bambii7 quit (Ping timeout: 272 seconds)
762: [06:20:00] <Kittens> so
763: [06:20:22] <Kittens> ryantoast's boilerplate fucked up my site
764: [06:20:32] <Kittens> re-installed and everything looks fine
765: [06:34:59] <guzzlefry> pft...that guy
766: [06:39:33] <Kittens> this... this is stupid
767: [06:39:44] <Kittens> Failed to load resource: the server responded with a status of 500 (Error at line 592 of /Users/admin/Public/httpd/framework/model/MySQLDatabase.php)
768: [06:39:54] <Kittens> line 592 is?
769: [06:40:08] <Kittens> user_error($msg, $errorLevel);
770: [06:40:16] <ss23> Kittens: What does the error *say*
771: [06:40:17] <ss23> :P
772: [06:40:32] <ss23> Kittens: If it doesn't tell you what the error is, you should look are recofniguring your stuff so it does. Might be in a log file somewhere
773: [06:40:42] <Kittens> god.
774: [06:40:52] <Kittens> I just won't use frickin' boilerplate
775: [06:41:13] <ss23> Awww :(
776: [06:41:15] * ss23 pets Kittens
777: [06:41:18] <ss23> It's okay!
778: [06:42:02] * guzzlefry scratches head.
779: [06:42:15] <guzzlefry> You can do comparison between DateTime objects...right?
780: [06:42:43] <guzzlefry> OH
781: [06:42:48] <guzzlefry> I'm a dumbledoor.
782: [06:42:59] <guzzlefry> I put the crocodile mouth backwards!
783: [06:43:10] <Kittens> boilerplate looks really cool and has some nice features, but it simply refuses to work for me
784: [06:43:17] <ss23> lol guzzlefry XD
785: [06:43:21] <ss23> He eats the bigger oen! :D
786: [06:43:24] <guzzlefry> aw
787: [06:43:26] <Kittens> not to the point that Drupal did, but enough to not want to use it
788: [06:43:33] <guzzlefry> Glad to see that made it into the other hemisphere. :P
789: [06:45:33] <simon_w|air> Kittens, wait for Ryan-Toast to come back tomorrow and complain to him and make him feel bad? ;)
790: [06:45:47] <Kittens> simon_w|air: I'd love to
791: [06:46:28] <Kittens> I'll scour the other addons and stuff, I do want something different than the default
792: [06:47:17] <simon_w|air> Sadly, there's not really that much options for 3.x compat themes
793: [06:47:50] * Vix has joined #silverstripe
794: [06:47:53] <simon_w|air> http://addons.silverstripe.org/add-ons?search=&type=theme&sort= shows a bunch of bootstrap themes
795: [06:48:49] <Kittens> twitter bootstrap?
796: [06:48:58] <Kittens> what the heck does that mean?
797: [06:49:07] <guzzlefry> The company I'm with has a few sites using that...
798: [06:49:11] <simon_w|air> http://getbootstrap.com
799: [06:49:22] <guzzlefry> Kittens: Basically a CSS framework.
800: [06:49:27] <Kittens> ah, okay
801: [06:49:49] <Kittens> good, now I'm being told that mamp doesn't have mod_rewrite configured correctly.
802: [06:50:00] <Kittens> that MAY have something to do with some things.
803: [06:50:30] <simon_w|air> Oh man, getting mod_rewrite to work properly on an initial setup is such a pain
804: [06:51:03] <guzzlefry> 0.o
805: [06:51:14] <ss23> a2enmod rewrite && service apache restart
806: [06:51:15] <guzzlefry> basic silverstripe install?
807: [06:51:24] <guzzlefry> yeah, what ss23 said :P
808: [06:51:52] <guzzlefry> oh, and maybe allow override
809: [06:51:56] <simon_w|air> And then set AllowOverride for the right path
810: [06:52:04] <simon_w|air> And hope you don't need a RewriteBase
811: [06:52:09] <guzzlefry> :P
812: [06:52:19] <guzzlefry> "I'm not a sysadmin!!!! *runs around in circles*"
813: [06:52:31] <simon_w|air> Good, it's more devops :p
814: [06:52:35] <ss23> lol
815: [06:52:47] <ss23> Think all of my boxes have AllowOverride on for everything anyway :P
816: [06:52:53] * Shrike_Finland has joined #silverstripe
817: [06:52:57] <simon_w|air> ss23, bad!
818: [06:52:59] <simon_w|air> Bad bad bad!
819: [06:53:05] <guzzlefry> naughty naughty
820: [06:53:05] <ss23> :D
821: [06:53:13] <ss23> COME @ ME BRO
822: [06:53:18] <ss23> chmod 777 /var/www -R
823: [06:53:19] <guzzlefry> I bet you have follow symlinks too!
824: [06:53:25] <simon_w|air> That's a good thing
825: [06:53:30] <guzzlefry> oh >_>
826: [06:53:36] <Kittens> false alarm
827: [06:53:47] * guzzlefry calls back the bombers.
828: [06:53:57] <simon_w|air> Yay! My first Kickstarter board game showed up!
829: [06:54:05] <Kittens> mod_rewrite seems to be functioning just fine
830: [06:54:40] <simon_w|air> You want AllowOverride off outside your web root so Apache doesn't go looking for .htaccess files beyond it. You want follow symlinks on so Apache doesn't need to check every folder in the path to see if it's a symlink
831: [06:55:11] <guzzlefry> I have a crazy request.
832: [06:55:30] <simon_w|air> Sorry, I'm taken :p
833: [06:55:32] <guzzlefry> Is there a way to exclude something from the default DataObject::get() list?
834: [06:55:49] <simon_w|air> Yes, but it takes a fair amount of effort
835: [06:55:54] <guzzlefry> hrm wait
836: [06:56:11] <guzzlefry> simon_w|air: Can't I just override get()?
837: [06:56:33] <simon_w|air> You could, but then how do you get that thing back?
838: [06:56:34] <guzzlefry> return self::get()->filter("stuff");
839: [06:56:41] <Kittens> mmm, this looks nice and clean
840: [06:56:54] <guzzlefry> ah, good point...
841: [06:57:07] <Kittens> ss-bootstrap
842: [06:57:22] <Kittens> very clean, no extra garbage
843: [07:00:36] <Kittens> gonna take my other tramadol and watch videos until sleep takes me away.
844: [07:00:40] <Kittens> peace!
845: [07:00:51] <guzzlefry> night
846: [07:05:24] * Colin[pi] quit ()
847: [07:06:25] <guzzlefry> I'm horribly slow at front-end stuff. :/
848: [07:18:15] * SightUnseen has joined #silverstripe
849: [07:18:21] * SightUnseen quit (Client Quit)
850: [07:19:11] * SightUnseen has joined #silverstripe
851: [07:19:38] * SightUnseen has left #silverstripe
852: [07:25:13] * Vix quit (Ping timeout: 272 seconds)
853: [08:08:20] * zippy__ quit (Ping timeout: 245 seconds)
854: [08:09:35] * zippy__ has joined #silverstripe
855: [08:19:12] * simon_w|air quit (Ping timeout: 253 seconds)
856: [08:24:38] * simon_w|air has joined #silverstripe
857: [08:34:03] * ARNHOE has joined #silverstripe
858: [08:36:29] <guzzlefry> whoopsies
859: [08:37:17] <guzzlefry> Easy to do infinite recursion with onBeforeWrite() >_>
860: [08:38:20] <guzzlefry> Wondering how to workaround it. 0.o
861: [08:43:29] <simon_w|air> Don't call write :p
862: [08:44:33] <guzzlefry> but but but
863: [08:45:01] <guzzlefry> I have this method that activates an authorization dataobject with expiry date and such.
864: [08:45:22] <guzzlefry> I just added a $skipWrite parameter. :P
865: [08:49:32] <simon_w|air> Waaaah, international transit is being way too slow :(
866: [08:51:47] <guzzlefry> You're traveling?
867: [08:55:00] <simon_w|air> Nope
868: [09:04:09] * kinglozzer has joined #silverstripe
869: [09:19:59] * DigNZ quit (Quit: DigNZ)
870: [09:20:08] * Shrike_Finland quit (Quit: Leaving.)
871: [09:21:01] * ajmitch quit (Ping timeout: 260 seconds)
872: [09:21:23] * ajmitch has joined #silverstripe
873: [09:25:24] * svandragt quit (Read error: Connection reset by peer)
874: [09:40:45] * r3v3rb has joined #silverstripe
875: [09:40:53] * Shrike_Finland has joined #silverstripe
876: [09:42:30] <r3v3rb> morning, can any one see an obvious source of the 400 bad request error I receive on my live server when uploading files over 10mb : http://sspaste.com/paste/show/52e0e08ca7ad1 is the response, the stand out to me is content-length: 0 but why would that be? The summary in charles shows the full 24mb having been uploaded
877: [09:42:53] <r3v3rb> php is set to 64mb for both post_max and file limits
878: [09:43:17] <r3v3rb> apache is by default ( I read ) set to accept unlimited post data in apache2
879: [09:44:06] * chillu_23 has joined #silverstripe
880: [09:48:25] * micmania1 has joined #silverstripe
881: [09:56:37] * g4b0_ has joined #silverstripe
882: [10:09:13] * Azure quit (Read error: Connection reset by peer)
883: [10:09:34] <irogue23> all y'all wellingtonians can probably relate: http://imgur.com/a/rtF7q/layout/blog
884: [10:09:42] * Azure has joined #silverstripe
885: [10:18:02] * Colin[pi] has joined #silverstripe
886: [10:19:27] <ss23> lol irogue23
887: [10:19:28] <ss23> yes
888: [10:19:29] <ss23> :(
889: [10:19:38] <ss23> wellington has decent people, but my god the houses are bad
890: [10:19:42] <Colin[pi]> evening squires
891: [10:21:23] <ss23> evening
892: [10:21:23] <ss23> :)
893: [10:21:27] <ss23> I am about to sleep, so fucking tired
894: [10:21:34] <Colin[pi]> ikr
895: [10:21:37] <Colin[pi]> same for me today :(
896: [10:21:41] <Colin[pi]> cant keep my eyes open
897: [10:24:16] * CamelCase has joined #silverstripe
898: [10:25:33] <CamelCase> Tried to use recover password feature when logging in to SS CMS, but When I click through the emailed reset link it tells me that I need to be logged in to change my password? Any suggestions?
899: [10:27:14] * zippy__ quit (Quit: zippy__)
900: [10:28:32] <kinglozzer> CamelCase: Sounds like the reset link is invalid
901: [10:29:09] <CamelCase> kinglozzer: Thanks, I'm just using the default from SS
902: [10:30:34] <CamelCase> kinglozzer: and I haven't changed anything...
903: [10:31:09] <kinglozzer> CamelCase: The link should look like http://..../changepassword?m=123&t=123abc
904: [10:31:12] <r3v3rb> kinglozzer: any chance you can help with an upload issue? max file size stuff
905: [10:32:02] <CamelCase> http://.../Security/changepassword?m=4&t=ef469316880d381db1fdfb0873f3367893931cf9c03d4b655ac61645ed03dcfa9a23d27b204edb1c6f923673c55c94831c14dc82cd35009eae8cae1bb1eb4d68
906: [10:32:54] <kinglozzer> r3v3rb: Are you sure your post_max etc are being picked up? Some hosts block them
907: [10:33:04] <kinglozzer> CamelCase: That looks right, what version of SS are you using?
908: [10:33:10] <CamelCase> 3.1.2
909: [10:33:19] <CamelCase> It's funny coz it worked before...
910: [10:33:46] <CamelCase> Does the user have to be part of any group in order for it to work eg: admin or something?
911: [10:33:47] <r3v3rb> kinglozzer: it's my own server and I have just been talking to my sysadmin who checked everything at the server end - he reports all php.ini directives are set correctly
912: [10:35:16] <r3v3rb> heres the weird thing - even with the php.ini set in the root of the server, phpinfo reports 64MB for post and max, yet when uploading through files the site returns 'exceeded max upload of 8MB' - I thought the SS was meant to parse the php for the max uploads?
913: [10:35:41] <kinglozzer> CamelCase: If you're hitting that error message and both ?t= and m= params are present, it means that the token (t=...) is invalid
914: [10:35:50] <kinglozzer> Try resending the link
915: [10:35:53] <r3v3rb> in the field in a dataobject I have setAllowedMaxFileSize to 64 *1024 * 1024
916: [10:36:12] <r3v3rb> it uploads a 6mb file fine but anything greater and it bails
917: [10:36:24] <CamelCase> kinglozzer: ok cool, thanks. I'll give it a try and let you know
918: [10:37:45] <kinglozzer> r3v3rb: Is this an uploadfield? Or something on the front-end?
919: [10:38:01] <r3v3rb> uploadfiled
920: [10:38:03] <r3v3rb> field*
921: [10:38:05] <r3v3rb> lol
922: [10:38:20] <kinglozzer> UploadField gets its max from the minimum of upload_max_filesize and post_max_size
923: [10:38:25] <CamelCase> kinglozzer: It goes to the change password page if I am logged in haha
924: [10:38:38] <r3v3rb> aye, both are set to 64M in php.ini kinglozzer
925: [10:39:07] <r3v3rb> yet, if I go to 'Files' -> 'Upload' the site returns the max upload as 8M
926: [10:39:14] <guzzlefry> Did you check to see that it's using the correct php.ini?
927: [10:39:19] <guzzlefry> phpinfo()
928: [10:39:21] <r3v3rb> guzzlefry: yep
929: [10:39:23] <r3v3rb> ;)
930: [10:39:24] <guzzlefry> php_info()...something :P
931: [10:39:47] <r3v3rb> if i go to my dataobject, the file will upload and attach if under 8M but not if over
932: [10:40:12] <guzzlefry> Need a debugger...
933: [10:40:28] <ec8or_> anyone got a good UK shared host that runs ss 3?
934: [10:40:34] <r3v3rb> guzzlefry: it works perfectly on my localhost
935: [10:40:56] <kinglozzer> CamelCase: If you're logged in, why do you need to reset your password? :P
936: [10:40:57] <r3v3rb> as soon as i try on live server the site falls down
937: [10:41:34] <kinglozzer> That could be the reason it failed though, as part of the token checking I think it checks whether the autologin has expired
938: [10:41:56] <r3v3rb> kinglozzer: maybe, 20+ mb takes a while
939: [10:42:24] <CamelCase> kinglozzer: I've got a member profile system where members can register etc... so if a user forgets their password they would need to be able to use this feature
940: [10:42:25] <kinglozzer> r3v3rb: https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/UploadField.php#L217-L219 that's where it sets the default max
941: [10:43:02] <kinglozzer> CamelCase: But if they're already logged in, they won't know that they've forgotten their password yet :P
942: [10:43:03] <guzzlefry> r3v3rb: mod_php?
943: [10:43:09] <r3v3rb> yes
944: [10:43:13] <guzzlefry> hm
945: [10:43:16] <guzzlefry> no clue then :/
946: [10:43:33] <kinglozzer> CamelCase: Make sure you're logged out (/Security/logout), then try it again
947: [10:44:18] <guzzlefry> r3v3rb: Did you try calling ini_get('upload_max_filesize') and post_max_size on the live server?
948: [10:45:10] <r3v3rb> guzzlefry: going to try now
949: [10:45:34] <CamelCase> kinglozzer: haha. I think I'm explaining it incorrectly... If the person clicks "I've lost my password" and then enters their email address, they receive an email link to reset their password. When they click the link, it tells them that they need to be logged in to change their password :P
950: [10:45:55] <r3v3rb> phpinfo returns 'Apache 2.0 Handler' on dev site, 'CGI/FastCGI' on live site...
951: [10:46:04] <r3v3rb> for server API
952: [10:46:16] <kinglozzer> CamelCase: I understand, but clicking the link in the email when you're already logged in can cause that message to show
953: [10:46:24] <guzzlefry> r3v3rb: FastCGI has separate size settings iirc.
954: [10:46:35] <guzzlefry> Had issues with nginx regarding that.
955: [10:46:40] <r3v3rb> guzzlefry: interesting
956: [10:48:05] <guzzlefry> well, hrm
957: [10:48:20] <CamelCase> I see. I'll try a different browser and clear my cache etc...
958: [10:48:42] <r3v3rb> need to alter on server it seems guzzlefry CGI/FastCGI ignores php.ini
959: [10:48:43] <guzzlefry> http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen That says it should give a 500 error...
960: [10:49:31] <kinglozzer> CamelCase: This is where the error message is: https://github.com/silverstripe/silverstripe-framework/blob/3.1/security/Security.php#L674-L680. I'd run through that method and find out why it's hitting that
961: [10:49:56] <CamelCase> Kinglozzer, thanks
962: [10:49:59] <kinglozzer> My guess is that $member->validateAutoLoginToken() is failing
963: [10:50:01] <r3v3rb> time to run easy appache and update php to apache handler
964: [10:51:20] <guzzlefry> r3v3rb: I'd see what fcgidmaxrequestlen is set to first
965: [10:51:24] <r3v3rb> actually I lie the server is running as suPHP
966: [10:52:02] <guzzlefry> Never heard of that. 0.o
967: [10:53:54] <CamelCase> kinglozzer: It's still an issue. When I'm logged in then it works fine... So to reset password the user has to be logged in :P
968: [10:55:00] <guzzlefry> r3v3rb: Did you try calling get_ini() yet? :P
969: [10:55:27] <guzzlefry> also http://www.sebdangerfield.me.uk/2010/05/changing-php-settings-with-fastcgi-and-suphp/
970: [10:55:33] <guzzlefry> And with that I'm off to bed. :)
971: [10:55:34] <guzzlefry> night
972: [10:58:41] <g4b0_> where to start for trying to solve https://github.com/silverstripe/silverstripe-framework/issues/2797 ??
973: [10:59:49] * Colin[pi] quit (Ping timeout: 248 seconds)
974: [11:00:26] * Colin[pi] has joined #silverstripe
975: [11:03:12] * chillu_23 quit (Quit: chillu_23)
976: [11:14:00] <Colin[pi]> ping
977: [11:15:53] <irogue23> pong
978: [11:16:08] <Colin[pi]> :o
979: [11:16:51] <Colin[pi]> irogue can I ask for your assistance on a simple form thing that's driving me nuts?
980: [11:21:07] <micmania1> Colin[pi]: simple form thing...?
981: [11:21:29] <Colin[pi]> yeah, I believe so
982: [11:21:39] <Colin[pi]> I had a controller with a form, and the form has a date field
983: [11:21:51] <Colin[pi]> there is an action to increment/decrement the date by one day
984: [11:22:26] <Colin[pi]> so I click that, but it doesn't change the field... I *think* because the form method on the controller is returning a new instance
985: [11:22:34] <Colin[pi]> and not the updated form
986: [11:22:55] <Colin[pi]> so do I need to loadDataFrom() or customise()->render ?
987: [11:23:01] <Colin[pi]> or something else?
988: [11:23:24] <micmania1> $form->loadDataFrom($data) after updating the date should do it.
989: [11:23:54] <Colin[pi]> in the action handler method?
990: [11:24:07] <Colin[pi]> i.e. doNextDay(data,form)
991: [11:24:49] <micmania1> yeah, that should work I think.
992: [11:26:06] <micmania1> oh, wait. If you're redirecting after that then it won't work. You'd need to put it in your method which returns the form
993: [11:26:14] <Colin[pi]> ah ha
994: [11:26:32] <Colin[pi]> so in function BookingForm() { }
995: [11:27:04] <r3v3rb> guzzlefry: sorry phone call, I'll take a look at those items in a mo
996: [11:27:12] <r3v3rb> just got to go and sell my house!
997: [11:27:24] * micmania2 has joined #silverstripe
998: [11:30:45] * micmania1 quit (Ping timeout: 248 seconds)
999: [11:30:51] <Colin[pi]> micmania: so where does the form method receive it's updated data from? :\
1000: [11:31:18] * r3v3rb quit (Quit: r3v3rb)
1001: [11:31:20] <Colin[pi]> if I ask the form to update it's field value, it does it, but then on redirect, it's rendering the original form and not the updated one
1002: [11:33:52] <micmania2> You'd have to store it in a session.
1003: [11:34:04] <Colin[pi]> ick
1004: [11:34:28] <Colin[pi]> has to be an easier way.. ok what if I ditch the redirect
1005: [11:34:45] * g4b0_ quit (Ping timeout: 252 seconds)
1006: [11:34:45] <micmania2> yeah, could do that.
1007: [11:35:18] <Colin[pi]> so it's still gonna call the original form method
1008: [11:35:45] <micmania2> yeah. Can't see any problems doing that.
1009: [11:37:03] <Colin[pi]> problem might be in my code ;)
1010: [11:37:13] <Colin[pi]> the action handler method is doing: $form->setNextDay(); return $this->renderWith(array('BookingPage_location','Page'));
1011: [11:37:19] <Colin[pi]> but that's not gonna work
1012: [11:37:36] <Colin[pi]> because the form() method will return the new instance
1013: [11:37:50] <Colin[pi]> soo... I could customise()? seems so clunky
1014: [11:38:15] <Colin[pi]> I mean: return $this->customise(array('BookingForm'=>$form))->renderWith(array('BookingPage_location','Page'));
1015: [11:39:10] <Colin[pi]> well that totes worked
1016: [11:39:11] <Colin[pi]> :D
1017: [11:39:25] <Colin[pi]> but I'm not convinced it should be done that way
1018: [11:39:36] <Colin[pi]> seems like I'm doing it wrong
1019: [11:40:32] <micmania2> You could do it a really complicated way and extend datefield to take care of everything, but that's probably a bit overkill lol
1020: [11:41:27] <Colin[pi]> the customise() makes sense as I'm taking the original form instance from the args, changing it, and then replacing the original with the changed one before it renders
1021: [11:41:38] <Colin[pi]> but it has a bad smell
1022: [11:41:47] <Colin[pi]> I'm not sure I should be doing it that way lol
1023: [11:42:09] <Colin[pi]> seems like I'm missing something fundamental, but like 99.9999997% of SS forms redirect
1024: [11:42:15] <Colin[pi]> instead of just rendering
1025: [11:43:03] <Colin[pi]> ¯\_(ツ)_/¯
1026: [11:43:39] <micmania2> The best solution isn't always the nicest.
1027: [11:49:27] <micmania2> I built a wiki about 8 months ago which never got put live.
1028: [11:49:39] <micmania2> got to find it and put it live.
1029: [11:49:56] <micmania2> FML
1030: [11:50:07] <micmania2> don't even know where it is
1031: [11:57:54] <micmania2> found it. This merge is going to be horriific.
1032: [12:06:49] <ec8or_> is it possible to add a prefix to all db tables and still run the installer
1033: [12:07:08] * r3v3rb has joined #silverstripe
1034: [12:07:39] <ec8or_> can i just use _ss_environment and run a dev/build to create all tables?
1035: [12:09:00] <ec8or_> or no, that only adds a prefix to the database name not the tables
1036: [12:10:07] <irogue23> why prefix table names? thats icky
1037: [12:10:41] <r3v3rb> changed post_max to 92M and upload_max to 64M - ini_get show 92M and 64M respectively - try uploading 10m file and bad request
1038: [12:10:42] <Zauberfisch> irogue23: ss does that by default :S
1039: [12:10:47] <ec8or_> only got one database :)
1040: [12:11:03] <ec8or_> Zauberfisch: does it?
1041: [12:11:08] <Zauberfisch> ec8or_: it has been ages since I last created a database myself (at least on localhost)
1042: [12:11:23] <Zauberfisch> I just create a _ss_environment.php and then run a /dev/build
1043: [12:11:32] <Zauberfisch> creates the DB, tables, everything
1044: [12:11:35] <ec8or_> no they're not prefixed
1045: [12:12:05] <ec8or_> Zauberfisch: yes cool, looks like a nice way to do it
1046: [12:12:05] <Zauberfisch> ec8or_: it at least in 3.0, but only if you use _ss_environment.php and you let silverstripe choose the DB name
1047: [12:12:22] <ec8or_> Zauberfisch: tha actual tables, not the database name
1048: [12:12:25] <ec8or_> the
1049: [12:12:31] <Zauberfisch> ec8or_: I used to use define('SS_DATABASE_CHOOSE_NAME', 2);
1050: [12:12:44] <Zauberfisch> and this prefixes (or used to) the DB with SS_
1051: [12:12:57] <Zauberfisch> ec8or_: ah, I see
1052: [12:12:59] <ec8or_> but i might just get them to upgrade the hosting account instead, wanted to get going with the install before that
1053: [12:13:17] <Zauberfisch> ec8or_: no idea if you can prefix tables, never needed that
1054: [12:13:50] <ec8or_> Zauberfisch: i thought it used to be there but maybe it was only database name
1055: [12:14:05] <Colin[pi]> thanks for your help micmania... sleeps time, nn all
1056: [12:14:07] <ec8or_> nevermind, stupid anyway
1057: [12:14:22] * Colin[pi] quit ()
1058: [12:17:26] <ec8or_> does anyone do ios dev here? objective-c
1059: [12:23:13] <irogue23> ec8or_: idk if theres actually any functionality, but if i was SS i wouldn't include it :P
1060: [12:23:30] <irogue23> cos only time you're likely to run into a single-DB limit is on el cheapo shared hosting
1061: [12:23:40] <irogue23> and SS really really doesnt run well on cheap shared hosting
1062: [12:25:29] <r3v3rb> ec8or_: :P no try #unity3D they are all c#'er's
1063: [12:25:41] <r3v3rb> and obj-c
1064: [12:25:50] * Shashitechno has joined #silverstripe
1065: [12:28:09] <Shashitechno> Hello guys, I am using php gd library to watermark images, resize them and return
1066: [12:28:17] <ec8or_> r3v3rb: yeah i got a lot of unity people here, but they're all too busy or expensive :)
1067: [12:28:24] <r3v3rb> :)
1068: [12:28:40] <Shashitechno> but the issue is I want the reverse, resize and then watermark so they all look same
1069: [12:29:10] <Shashitechno> but the issue is, ss don put them in folder untill they are returned or rendered from template
1070: [12:29:27] <Shashitechno> any way to write them in temp ?
1071: [12:45:34] <kinglozzer> Shashitechno: Not sure, you could handle the GD manipulations yourself by loading the file into GDBackend. If it were me, I'd try writing my own method to do it in an Image subclass, so you can call $Image.ReverseResizeWatermark in the template and it'll handle the rest for you.
1072: [12:46:39] * r3v3rb cries
1073: [12:50:48] <Shashitechno> kinglozzer: yup
1074: [12:51:22] <Shashitechno> kinglozzer: so any clues with writing that custom method ?
1075: [12:55:37] <r3v3rb> kinglozzer: still beating my head against this server config for uploads over XX size
1076: [12:58:07] <r3v3rb> in files section of site - still get 'File Exceeds 8M' so somewhere the php.ini I have setting it to 64M is being overriden
1077: [12:58:45] <kinglozzer> Shashitechno: Something alone these lines: https://gist.github.com/kinglozzer/8578092
1078: [12:59:01] <Shashitechno> r3v3rb: make sure you update the max post size too
1079: [12:59:24] <irogue23> r3v3rb: and make sure you're editing the right php.ini cos that can be a right PITA sometimes
1080: [12:59:28] <kinglozzer> r3v3rb: Have you tried outputting ini_get('upload_max_filesize') and ini_get('post_max_size') to see which is being overridden?
1081: [13:00:30] <Shashitechno> kinglozzer: Cool, thanks ! will look into that !
1082: [13:03:23] <r3v3rb> kinglozzer: yep, they were both being overridden. just removed my php ini in site root and now they report 64m/8m for upload_max/post_max so I think somewhere although my post_max was showing it was actually the other one being used
1083: [13:03:41] <r3v3rb> time to hunt the other php.ini setting
1084: [13:03:55] <kinglozzer> Good luck :P I hate server config stuff, avoid it like the plague if I can lol
1085: [13:04:52] <r3v3rb> lol, yep service httpd restart is on fire in my console at the moment
1086: [13:05:26] <r3v3rb> that and dev/build?flush=all too
1087: [13:06:42] <CamelCase> hello again, kinglozzer: regarding the lost password thing again, What would cause this to break? I haven't changed anything specifically...
1088: [13:07:24] <CamelCase> kinglozzer: I mean it's an all off the shelf SS install...
1089: [13:07:32] * kinglozzer lunch
1090: [13:07:53] * r3v3rb eaten
1091: [13:08:14] <r3v3rb> Yay, f*&^in yay!
1092: [13:15:35] * lerni has joined #silverstripe
1093: [13:19:49] * UndefinedOffset has joined #silverstripe
1094: [13:24:47] * g4b0_ has joined #silverstripe
1095: [13:26:59] * r3v3rb fires up phpstorm for umpteenth time today() hopeing that remote server is working again after update yesterday...
1096: [13:28:37] <Zauberfisch> r3v3rb: what do you mean?
1097: [13:31:20] <Shashitechno> kinglozzer: is that the right way to call $generateWatermarkedImage(110,100).URL ?
1098: [13:32:43] <irogue23> so, there was a big thing here a couple of days ago, a bunch of kids getting up to serious mischief
1099: [13:33:09] <r3v3rb> Zauberfisch: yesterday phpstorm updated and couldn't login to my remote server for some reason
1100: [13:33:12] <irogue23> "The six boys, aged 13 to 16, broke into at least 12 cars in Hillcrest, leaving a trail of alcohol, clothing, bags and camping gear behind them. City area commander Inspector Greg Nicholls said the most disturbing thing was that the boys stole a .308 calibre rifle and ammunition from one of the vehicles."
1101: [13:33:31] <r3v3rb> seems ok this time, i hope its not a bug
1102: [13:34:06] <irogue23> am listening to police scanner, theyre really making very sure those kids don't get into any more mischief while on bail, haha
1103: [13:34:27] <irogue23> seem to be doing roughly 2-hourly bail checks through the night
1104: [13:35:18] <irogue23> that should really please the parents :P
1105: [13:40:49] <Kittens> hi
1106: [13:41:08] <irogue23> meow Kittens
1107: [13:41:16] <Kittens> w'sup?
1108: [13:42:36] <irogue23> pondering heading to bed
1109: [13:42:40] <Kittens> I'm looking for the toast master
1110: [13:51:43] * Shrike_Finland quit (Quit: Leaving.)
1111: [13:52:02] * Shrike_Finland has joined #silverstripe
1112: [13:54:26] * Shrike_Finland quit (Client Quit)
1113: [13:55:56] * r3v3rb quit (Quit: r3v3rb)
1114: [13:59:54] <Kittens> hey, how do I change my favicon? I replaced the one in the root folder, but is there one I have to replace somewhere else?
1115: [14:01:20] <micmania2> Kittens, your browser will have cached the old favicon
1116: [14:02:54] <Kittens> ah. right.
1117: [14:03:35] <Kittens> okay, yeah. it's replaced
1118: [14:07:54] * kinglozzer quit (Read error: Connection timed out)
1119: [14:08:33] * kinglozzer has joined #silverstripe
1120: [14:21:47] * micmania1 has joined #silverstripe
1121: [14:24:35] * catcher has joined #silverstripe
1122: [14:24:37] * micmania2 quit (Ping timeout: 248 seconds)
1123: [14:26:58] * PanPipes has joined #silverstripe
1124: [14:27:41] <PanPipes> what's the best way to do a where on many to many relationship? is it just a case of doing the joins or is there a nicer way?
1125: [14:28:10] * Shashitechno quit (Quit: Page closed)
1126: [14:30:35] <catcher> PanPipes, you can filter the results of an ORM get, that's the easiest way if it works for your case.
1127: [14:52:34] * CodeTrap quit (Ping timeout: 252 seconds)
1128: [14:53:38] * CodeTrap has joined #silverstripe
1129: [15:11:13] * lerni quit (Quit: lerni)
1130: [15:12:31] <Kittens> http://bitflourish.com/stream super metroid casual, now with tramadol bogging me down!
1131: [15:13:00] * CodeTrap quit (Read error: Operation timed out)
1132: [15:14:35] * CodeTrap has joined #silverstripe
1133: [15:18:19] * OxFF1 has joined #silverstripe
1134: [15:29:31] * ObiWanShanobi has joined #silverstripe
1135: [15:31:07] * PanPipes quit (Remote host closed the connection)
1136: [15:52:28] <ec8or_> is the Group Code set automatically whenever a new group is created and then never changes?
1137: [15:53:05] <ec8or_> i normally use permissions but want to get all members from a group and want to run a query without using ID or Title if possible
1138: [15:58:54] <catcher> ec8or_, I see no way of changing Group Code outside of a manual DB change.
1139: [16:00:00] * Shashitechno has joined #silverstripe
1140: [16:00:29] <catcher> ec8or_, Group->ID is another option, guaranteed not to change.
1141: [16:09:54] <micmania1> kinglozzer, you at the match next week?
1142: [16:13:14] <kinglozzer> micmania1: Yeah I think so
1143: [16:14:36] <micmania1> do you normally go for a drink before/after?
1144: [16:16:49] <micmania1> I think we'll be going to the weatherspoons. If you're about you should come for a pint
1145: [16:17:00] <kinglozzer> Nah not usually, no pubs on the way from where we park
1146: [16:17:34] <micmania1> is the train station near the ground?
1147: [16:25:27] <kinglozzer> Ah cool, will do if we're early enough
1148: [16:25:35] <kinglozzer> It's like a 5 minute walk
1149: [16:25:40] <kinglozzer> Weatherspoons is half way
1150: [16:26:43] <ec8or_> thanks catcher
1151: [16:26:44] <kinglozzer> https://www.google.co.uk/maps/preview/dir/Norwich,+Norfolk+NR1/52.6218567,1.3110035/@52.6243148,1.3031841,16z/data=!4m10!4m9!1m5!1m1!1s0x47d9e3eb96c0a9e7:0x837769f8393757fe!2m2!1d1.306844!2d52.627176!1m0!3e2!5i1
1152: [16:29:03] * ObiWanShanobi quit (Remote host closed the connection)
1153: [16:29:28] * ARNHOE quit ()
1154: [16:33:05] * ObiWanShanobi has joined #silverstripe
1155: [16:43:14] * teamspeak has joined #silverstripe
1156: [16:44:27] <teamspeak> hi everone! Anyone know where mateusz is so I can harass him to take in some PRs
1157: [16:59:13] * g4b0_ quit (Quit: Sto andando via)
1158: [16:59:39] * teamspeak quit (Ping timeout: 272 seconds)
1159: [17:05:17] * r3v3rb has joined #silverstripe
1160: [17:09:25] * micmania1 quit (Ping timeout: 248 seconds)
1161: [17:10:51] <r3v3rb> hah! and another one: deleting any dataobject now produces: throw new Error( "Syntax error, unrecognized expression: " + msg ); in the console and no page refresh - the object is deleted though but its very confusing... I am not aware of changing any file that would cause this though...
1162: [17:11:00] <r3v3rb> any one else seen anything similar
1163: [17:19:38] <r3v3rb> fixed :) forgotten to upload one file! lol, must step away from the keyboard...
1164: [17:32:42] * kinglozzer quit ()
1165: [17:37:32] * Shashitechno quit (Quit: Page closed)
1166: [17:51:26] <CamelCase> Hello again. I've run into a little problem and I need a little assistance. If anyone can help I'd greatly appreciate it. For some reason my email authentication is failing when I click the link to recover my password. It says "You must be logged in in order to change your password!" I've checked and checked and can't seem to spot the problem. Does anyone have some sort of solution for
1167: [17:51:27] <CamelCase> me?
1168: [17:52:14] <CamelCase> I've asked kinglozzer earlier and he did provide a few solutions, none of which worked
1169: [17:54:02] * Kittens quit (Read error: Operation timed out)
1170: [18:03:18] * Kittens has joined #silverstripe
1171: [18:03:42] * Kittens is now known as Guest63203
1172: [18:18:42] * CamelCase quit (Read error: Connection reset by peer)
1173: [18:19:00] * CamelCase has joined #silverstripe
1174: [18:26:25] * CamelCase has left #silverstripe
1175: [18:26:49] * CamelCase has joined #silverstripe
1176: [18:33:01] <CamelCase> Hello again. I've run into a little problem and I need a little assistance. If anyone can help I'd greatly appreciate it. For some reason my email authentication is failing when I click the link to recover my password. It says "You must be logged in in order to change your password!" I've checked and checked and can't seem to spot the problem. Does anyone have some sort of solution for
1177: [18:33:01] <CamelCase> me? Sorry for the resend I got disconnected
1178: [18:35:14] * OxFF1 has left #silverstripe
1179: [18:37:57] * samey6 has joined #silverstripe
1180: [18:48:47] * Guest63203 is now known as Kittens
1181: [18:53:04] * ObiWanShanobi quit (Remote host closed the connection)
1182: [18:58:20] * r3v3rb quit (Quit: r3v3rb)
1183: [19:01:37] * ObiWanSh_ has joined #silverstripe
1184: [19:02:48] <CamelCase> ping
1185: [19:03:32] * antmas has joined #silverstripe
1186: [19:04:15] <antmas> mornin
1187: [19:04:31] <CamelCase> mornin
1188: [19:07:55] <CamelCase> antmas I know you just got here but can you please assist with a problem I'm having? For some reason my email authentication is failing when I click the link to recover my password in the received email. It says, "You must be logged in in order to change your password!" I've checked and checked and can't seem to spot the problem.
1189: [19:08:26] <simon_w> CamelCase, what's the link look like?
1190: [19:09:08] <CamelCase> it's all good hey... http://.../Security/changepassword?m=4&t=ef469316880d381db1fdfb0873f3367893931cf9c03d4b655ac61645ed03dcfa9a23d27b204edb1c6f923673c55c94831c14dc82cd35009eae8cae1bb1eb4d68
1191: [19:10:36] <simon_w> And does that then redirect you to Security/changepassword?
1192: [19:10:43] <CamelCase> yes
1193: [19:11:36] <simon_w> That makes it sound like your sessions aren't working properly
1194: [19:11:44] <CamelCase> simon_w: but then it does a redirect to http://../Security/login?BackURL=%2FSecurity%2Fchangepassword%3Fm%3D4%26t%3D4166659ecadd18a30b9eae09a5ca6d9d80224125b109d3c49b4a049b6ad4eea7185975d4c614219cc8751089f030aaf041e67d73dfca67e46361e716ae76bfc8
1195: [19:11:56] <antmas> CamelCase: sorry, I'm off to a meeting :( someone else in here will definitely be able to assits though :)
1196: [19:12:03] * SightUnseen has joined #silverstripe
1197: [19:12:07] * SightUnseen has left #silverstripe
1198: [19:12:30] <CamelCase> antmas: thanks
1199: [19:12:54] <CamelCase> simon_w: Will magic_quotes_gpc affect it?
1200: [19:13:03] <CamelCase> if it's switched on that is?
1201: [19:13:29] <CamelCase> It's doing the same on my localhost and on the server though
1202: [19:14:02] <simon_w> And you're running 3.1.2?
1203: [19:14:09] <CamelCase> yip
1204: [19:16:16] <simon_w> Do you know what your request_order INI setting is set to?
1205: [19:16:46] * oddnoc has joined #silverstripe
1206: [19:18:33] <CamelCase> simon_w: I'll check quickly
1207: [19:21:00] <CamelCase> simon_w: request_order is set to GP
1208: [19:28:59] * DigNZ has joined #silverstripe
1209: [19:30:27] <simon_w> Hmm, so is definitely sounding like a session issue. Can you try with another browser?
1210: [19:30:59] <CamelCase> yip, same thing. I tried to get my session variable and it's only returning empty so maybe
1211: [19:31:19] <CamelCase> sorry, not session variable, session id
1212: [19:33:33] * Ryan-Toast has joined #silverstripe
1213: [19:38:39] <CamelCase> simon_w: used this bit of code to check if sessions are fine on the server: http://pastebin.com/dhMHGcat
1214: [19:38:47] <CamelCase> Seems to be ok
1215: [19:43:09] * samey6 quit (Ping timeout: 252 seconds)
1216: [19:43:50] * samey6 has joined #silverstripe
1217: [19:49:24] <abitran> hi all
1218: [19:50:58] * ObiWanSh_ quit (Remote host closed the connection)
1219: [19:51:36] * robert_ has joined #silverstripe
1220: [19:52:45] * SightUnseen has joined #silverstripe
1221: [19:52:49] * SightUnseen has left #silverstripe
1222: [19:53:42] * ObiWanSh_ has joined #silverstripe
1223: [19:56:38] * SightUnseen has joined #silverstripe
1224: [19:56:48] * SightUnseen has left #silverstripe
1225: [19:57:21] * ObiWanSh_ quit (Remote host closed the connection)
1226: [19:58:28] * Kittens quit (Ping timeout: 252 seconds)
1227: [19:58:42] * ObiWanShanobi has joined #silverstripe
1228: [19:59:00] * ObiWanShanobi quit (Remote host closed the connection)
1229: [20:00:02] * Kittens has joined #silverstripe
1230: [20:00:09] * antmas quit (Ping timeout: 272 seconds)
1231: [20:00:26] * Kittens is now known as Guest50000
1232: [20:03:01] * chillu_23 has joined #silverstripe
1233: [20:05:16] * UncleCheese has joined #silverstripe
1234: [20:10:45] * Ryan-Toast quit (Quit: Ryan-Toast)
1235: [20:13:25] * Ryan-Toast has joined #silverstripe
1236: [20:13:36] * ObiWanSh_ has joined #silverstripe
1237: [20:21:16] * samey6 quit (Remote host closed the connection)
1238: [20:24:45] * willr has joined #silverstripe
1239: [20:26:38] * joelpittet has joined #silverstripe
1240: [20:27:27] <Ryan-Toast> Can barely read all of the conversations, they're happing so fast.
1241: [20:28:28] * goesta has joined #silverstripe
1242: [20:33:10] <simon_w> Guest50000, you can make him feel bad now! ;)
1243: [20:34:38] <Ryan-Toast> Can you extend ContentController init() function with a DataExtension?
1244: [20:34:42] <CamelCase> haha. Hey SS Gurus... To find out, should the Member::Password field and the Member::AutoLoginHash be equal in the MemberTable?
1245: [20:35:04] <simon_w> Ryan-Toast, yes (onBeforeInit, onAfterInit)
1246: [20:35:06] <simon_w> CamelCase, no
1247: [20:35:16] <Ryan-Toast> simon_w: Chur
1248: [20:36:21] <CamelCase> oh sorry, they're different, just they start off the same
1249: [20:38:22] <Ryan-Toast> simon_w: Do you use a parent::onAfterInit() in the function?
1250: [20:38:36] <simon_w> Ryan-Toast, no
1251: [20:38:42] <Ryan-Toast> sweet, thanks man.
1252: [20:39:14] <Ryan-Toast> simon_w: I figured out I can have my ss_boilerplate modules as just a seperate module, yay coding conventions
1253: [20:43:18] * curtosis_ has joined #silverstripe
1254: [20:43:22] * curtosis_ has left #silverstripe
1255: [20:44:49] <Ryan-Toast> simon_w: Is this right? http://www.sspaste.com/paste/show/52e17c5466e9a
1256: [20:55:31] * zippy__ has joined #silverstripe
1257: [20:58:26] * Guest50000 quit (Ping timeout: 252 seconds)
1258: [20:58:55] <Ryan-Toast> zippy__: Do you know anythingabout onAfterInit()?
1259: [20:59:05] <simon_w> Ryan-Toast, well, does it work?
1260: [20:59:12] <Ryan-Toast> simon_w: Narp
1261: [20:59:35] <Ryan-Toast> simon_w: Can't find anything in the docs about it, either.
1262: [20:59:49] <simon_w> Ryan-Toast, well, you want to subclass Extension first
1263: [20:59:56] <simon_w> And then apply it to ContentController
1264: [21:00:13] <zippy__> Ryan-Toast: no sorry
1265: [21:00:37] <Ryan-Toast> simon_w: How would I go about subclassing it?
1266: [21:00:53] <simon_w> class BoilerplatePageExtension extends Extension
1267: [21:01:14] <Ryan-Toast> Then extend ContentController?
1268: [21:01:35] <simon_w> Then add it as an extension on ContentController
1269: [21:01:48] <Ryan-Toast> Yay, that works :)
1270: [21:01:50] <Ryan-Toast> thanks man.
1271: [21:02:09] <Ryan-Toast> Ah, I see. I was extending the wrong thing :P
1272: [21:02:18] <Ryan-Toast> Still noob at all this biz.
1273: [21:02:47] * Kittens has joined #silverstripe
1274: [21:03:11] * Kittens is now known as Guest4567
1275: [21:07:00] <spronk> wow
1276: [21:07:03] <spronk> fuck silverstripe right now
1277: [21:07:42] <Ryan-Toast> Why?
1278: [21:07:56] <spronk> for whatever reason i can't upload files to my site
1279: [21:07:57] * antmas has joined #silverstripe
1280: [21:08:01] <spronk> just... jquery issues.
1281: [21:08:01] <spronk> sigh
1282: [21:08:05] <spronk> err
1283: [21:08:08] <spronk> javascript errors*
1284: [21:08:10] <Ryan-Toast> spronk: Sucks.
1285: [21:08:12] <antmas> yisss, admin finally white-listed IRC :P
1286: [21:10:08] * CamelCase quit (Ping timeout: 245 seconds)
1287: [21:14:11] * willr quit (Ping timeout: 252 seconds)
1288: [21:14:19] * willr_ has joined #silverstripe
1289: [21:17:50] <spronk> these days i find it difficult to even recommend a layperson use the CMS interface in SS
1290: [21:18:06] <spronk> compare it to the WYSIWIG editor in Atlassian's confluence and it's just absurdly bad
1291: [21:18:28] <spronk> replacing tiny needs to be high up the priorities list :P
1292: [21:19:42] <Ryan-Toast> spronk: what do they use?
1293: [21:20:32] <antmas> spronk: I agree about tiny totally
1294: [21:20:40] <antmas> although I think everyone does as well
1295: [21:20:41] <antmas> :P
1296: [21:20:51] <willr_> looks sexy. Won't be open source though
1297: [21:21:43] <spronk> i'm pretty sure they built it
1298: [21:21:50] <spronk> it is approximately 10,000,000x better than Tiny, though
1299: [21:22:02] <spronk> and most importantly, never seems to fuck shit up
1300: [21:22:08] <willr_> it's on the internet so we can steal it right
1301: [21:22:14] <Ryan-Toast> antmas: I made boilerplate an independant module now.
1302: [21:22:16] * antmas quit (Quit: Page closed)
1303: [21:22:22] <spronk> tiny is suuch a nasty hack
1304: [21:22:30] <spronk> hmm
1305: [21:22:31] <UncleCheese> Kiwis: quick poll.............
1306: [21:22:32] <spronk> this is bad
1307: [21:22:53] <spronk> no new silverstripe version to upgrade to, no custom js on this site in the cms, yet.. can't upload any files (javascript error)
1308: [21:23:20] <Ryan-Toast> what's the javascript error?
1309: [21:23:24] <spronk> TypeError: Object #<Object> has no method 'replace' at jQuerySub.$.entwine.onmatch (eval at <anonymous> (http://www.school-links.co.nz/assets/_combinedfiles/lib.js?m=1387385088:37:139), <anonymous>:111:623)
1310: [21:23:53] <simon_w> That's more likely to be an entwine bug
1311: [21:23:58] <UncleCheese> any way you can get us the un-uglified version?
1312: [21:23:58] <spronk> well
1313: [21:24:00] <simon_w> So many bugs in it, especially around namespacing
1314: [21:24:09] <spronk> this should be stock 3.1.x from composer
1315: [21:24:18] <spronk> everyone else able ot upload files?
1316: [21:24:24] <UncleCheese> simon_w: I agree.. the namespacing is shit
1317: [21:24:45] <UncleCheese> the only success i've had with entwine is using the global namespace
1318: [21:25:29] <spronk> hmm
1319: [21:25:36] * spronk flushes
1320: [21:27:43] <spronk> http://sspaste.com/paste/show/52e18667d5419
1321: [21:30:29] <spronk> noone else gets taht?
1322: [21:31:20] * simon_w doesn't use the CMS
1323: [21:31:33] * CamelCase has joined #silverstripe
1324: [21:32:39] <Ryan-Toast> spronk: I just installed a fresh one, let me give it a try.
1325: [21:34:00] <Ryan-Toast> spronk: Works for me, sorry.
1326: [21:34:24] <spronk> dammmmnniiiitttt
1327: [21:34:39] * spronk wipes out _combinedfiles and tries again
1328: [21:34:49] <spronk> hm
1329: [21:34:57] <spronk> wonder if it has anything to do with me having two tinymce areas on the page
1330: [21:35:05] <Ryan-Toast> Shouldn't do.
1331: [21:35:11] <Ryan-Toast> Let me try that
1332: [21:35:12] <spronk> ooo
1333: [21:35:13] <spronk> no
1334: [21:35:14] <spronk> nvm
1335: [21:35:19] <spronk> wiping _combinedfiles worked
1336: [21:35:21] <Ryan-Toast> Figured it out?
1337: [21:35:22] <spronk> w t f.
1338: [21:35:28] <Ryan-Toast> WATDAFAK
1339: [21:35:35] <Ryan-Toast> Well at least it works :P
1340: [21:35:38] <spronk> they were rwx by www-data too :S
1341: [21:36:05] * Jakx has joined #silverstripe
1342: [21:39:13] <Jakx> yo
1343: [21:39:28] * ss23 looks at spronk
1344: [21:40:59] * simon_w glares
1345: [21:41:16] * ss23 hides ;_;
1346: [21:42:09] <Jakx> is $Page->duplicateWithChildren(); enough to duplciate a page? or do I need to publish it to the live site or some such?
1347: [21:42:24] <ss23> I thought we got rid of that functionality?
1348: [21:42:27] <ss23> Dupliate page functionality, that is
1349: [21:42:34] <zippy__> UncleCheese: what was the poll?
1350: [21:42:39] <UncleCheese> ahh
1351: [21:42:55] <zippy__> I choose A because it's first so must be the best
1352: [21:43:07] <UncleCheese> Kiwis: If you found a near-perfect rental in your price range, but it was in a tsunami zone… would you still take it?
1353: [21:43:15] <simon_w> Yes
1354: [21:43:17] <UncleCheese> really?
1355: [21:43:20] <simon_w> Yes
1356: [21:43:25] <UncleCheese> 500m from the beach, at sea level?
1357: [21:43:31] <simon_w> Yes
1358: [21:43:39] <ss23> UncleCheese: I would look at how many tsunamis we've had in the past 20 years
1359: [21:43:43] <ss23> And se that to make a decision
1360: [21:43:44] <ss23> :)
1361: [21:43:46] <UncleCheese> exactly
1362: [21:43:47] <UncleCheese> we're due
1363: [21:43:50] <ss23> hahah
1364: [21:43:54] <ss23> dammit UncleCheese, WRONG CONCLUSION
1365: [21:43:58] <zippy__> lol
1366: [21:44:12] <simon_w> No, we're due an earthquake that'll destroy the house before the tsunami has a chance :p
1367: [21:44:16] <ss23> ^^
1368: [21:44:18] <UncleCheese> i think if a rental comes with the risk of you ending up lifeless and floating around the basin reserve at any given time without warning, it should be half price
1369: [21:44:43] <ss23> UncleCheese: If there was a tsunami, you would have time to scurry away
1370: [21:44:57] <UncleCheese> i was reading on stuff.co.nz that you would only have about 2-3 minutes
1371: [21:45:04] <ss23> From *where*?
1372: [21:45:06] <UncleCheese> and they say don't even bother getting in the car.. it's a waste of precious time
1373: [21:45:08] <ss23> lol
1374: [21:45:16] <UncleCheese> red zone, with a cook strait quake
1375: [21:45:30] <UncleCheese> not so concerned about pacifc quakes, because we'd probably have time
1376: [21:45:32] <zippy__> you'd feel that, so if you feel a strong EQ, just GTFO
1377: [21:45:46] <UncleCheese> but if it were in the strait, that's like… run like hell
1378: [21:46:07] <UncleCheese> GTFO……………. easier said than done
1379: [21:46:09] <zippy__> at least you don't own the house, don't have to worry about EQC repairs, can just bail
1380: [21:46:26] <zippy__> keep the bond to cover repairs :D :D
1381: [21:46:49] <UncleCheese> yeah, because when i'm swimming around in a KFC, the first thing on my mind will be my $2,200 bond
1382: [21:47:02] <zippy__> in all seriousness, im not sure. TBH I wouldn't live in wellington myself
1383: [21:47:07] <UncleCheese> ahh
1384: [21:47:18] <UncleCheese> because of the quakes and tsunais?
1385: [21:48:04] <zippy__> mostly quakes, but thats because I was all through those ChCh ones. Ideally, shouldn't live the life based on 'what ifs' like that, being a small chance it could happen, and all that. the best you can do is prepare
1386: [21:48:30] <zippy__> I wouldn't mind living in chch again, and will probably go back, but wellington just doesn't do it for me
1387: [21:48:53] <ss23> What?
1388: [21:48:57] <ss23> Why?
1389: [21:49:01] <zippy__> why what?
1390: [21:49:14] <ss23> Why would you be too worried about issues in Wellington, vs chch?
1391: [21:49:37] <zippy__> not 100%, wellington just makes me really uneasy
1392: [21:49:40] <simon_w> Because we've been a class 1 earthquake zone for lots longer!
1393: [21:50:26] <ss23> You would think with all the eq stuff, we wouldn't have buildings that are like 10% or less of eq code
1394: [21:50:31] <zippy__> been over once since the quakes to Kiwicon - wanting down the streets with those big buildings, shudder
1395: [21:50:43] <zippy__> *walking down the streets
1396: [21:50:45] <ss23> lol
1397: [21:50:54] <ss23> The issue is all the shit that would fall on you off of those buildings!
1398: [21:51:01] <ss23> run inside and be saved
1399: [21:51:04] <UncleCheese> what do you do to prepare for a tsunami, though?
1400: [21:51:11] <UncleCheese> do they sell tsunami blockers at Bunnings?
1401: [21:51:14] <ss23> lol
1402: [21:51:19] <ss23> "tsuanmi blockers"
1403: [21:51:22] <UncleCheese> iyeah
1404: [21:51:26] <oddnoc> Run uphill very fast is what we're told in San Francisco :)
1405: [21:51:32] <zippy__> arm floaties you see kids wearing in the pool
1406: [21:51:35] <UncleCheese> yeah, that's easy in SF
1407: [21:51:41] <UncleCheese> and wellington, too
1408: [21:51:45] <UncleCheese> hmm
1409: [21:51:56] <UncleCheese> you gotta get 35 metres up, though
1410: [21:52:22] <UncleCheese> what i don't understand is why they build stuff at all in a tsunami zone
1411: [21:52:23] <UncleCheese> why bother?
1412: [21:52:29] <UncleCheese> it's just going to get wiped out
1413: [21:52:42] <ss23> UncleCheese: as opposed to other places, which will last forever...?
1414: [21:53:23] <ss23> Cities grow fairly organically to begin with, right? It's not like everyone calculated risks of tsunami in the netx X years before doing crap :P
1415: [21:54:21] <simon_w> Also, the actual chance of a tsunami that breaches the seawall is extremely minute
1416: [21:54:30] <UncleCheese> what's the seawall?
1417: [21:54:35] <ss23> The wall by the sea
1418: [21:54:37] <UncleCheese> ha
1419: [21:54:41] <UncleCheese> never seen one
1420: [21:54:47] <ss23> Neither
1421: [21:54:54] <ss23> It just seemed like what something called the "seawall" would be
1422: [21:54:56] <ss23> Right? :D
1423: [21:55:14] * antmas has joined #silverstripe
1424: [21:56:50] <simon_w> https://www.google.co.nz/maps/preview/@-41.343378,174.772522,3a,75y,135.31h,76.58t/data=!3m4!1e1!3m2!1sKWjba-yAMSrj7JRyYim--w!2e0
1425: [21:56:53] <simon_w> Seawall
1426: [21:57:03] <ss23> Awesome, totally got it right! A wall by the sea!
1427: [21:59:23] * Guest4567 quit (Ping timeout: 272 seconds)
1428: [22:00:02] <Ryan-Toast> antmas: You there?
1429: [22:00:52] <Ryan-Toast> Do you guys think that you should have the node_modules folder in a github repo? I'm getting mixed messages across the web.
1430: [22:02:04] * Kittens has joined #silverstripe
1431: [22:02:28] * Kittens is now known as Guest64503
1432: [22:02:35] <zippy__> ss23: your a guru!
1433: [22:02:40] <ss23> :O
1434: [22:02:42] <ss23> I'm a guru?!
1435: [22:09:01] <antmas> Ryan-Toast: I'm hur
1436: [22:09:22] <antmas> Ryan-Toast: what's up?
1437: [22:09:24] <Ryan-Toast> antmas: Boilerplate is an independant Module now :)
1438: [22:09:26] <simon_w> antmas, but are you Ben?
1439: [22:09:30] * UndefinedOffset quit (Quit: Leaving.)
1440: [22:09:48] <antmas> Ryan-Toast: independant of?
1441: [22:09:51] <antmas> I thought it was?
1442: [22:09:52] <Ryan-Toast> mysite
1443: [22:09:56] <antmas> oh right
1444: [22:09:57] <antmas> nice
1445: [22:09:58] <Ryan-Toast> you can put it in the root
1446: [22:10:12] <antmas> that's what she said
1447: [22:10:19] <antmas> hooooooooooooo
1448: [22:10:26] <Ryan-Toast> Something something forking
1449: [22:11:27] <antmas> I wonder if that Kittens guy got his issue sorted :P
1450: [22:12:16] <Ryan-Toast> Guest64503: did you?
1451: [22:12:52] <antmas> oh he's here :P
1452: [22:14:58] <antmas> Ryan-Toast: are you thinking about an image gallery for boilerplate?
1453: [22:15:04] * bambii7 has joined #silverstripe
1454: [22:15:13] <Ryan-Toast> antmas: Yarp.
1455: [22:15:32] <Ryan-Toast> antmas: Just haven't decided what kind of gallery I want to make.
1456: [22:15:40] <antmas> Ryan-Toast: nice
1457: [22:15:52] <bambii7> Is there a way to render only the Layout/Mypage.ss portion of a template?
1458: [22:15:57] <bambii7> I've been trying $view = new SSViewer( array( $tpl, null ) );
1459: [22:16:39] <Ryan-Toast> bambii7: Create a new page type that uses the HTML from that template?
1460: [22:18:41] <bambii7> hmmm I'm trying to finalise a ajax solution, where if a url is hit the container and layout are rendered, but if an ajax request is made only render the inner contents
1461: [22:19:39] <Ryan-Toast> bambii7: I think you can use RenderWith()?
1462: [22:21:02] * Jakx has left #silverstripe
1463: [22:21:20] * ObiWanSh_ quit (Remote host closed the connection)
1464: [22:21:33] <bambii7> that also looks for the parent wrapper, I'll have a play with SSViewer setTemplateFile
1465: [22:22:34] * CamelCase quit (Ping timeout: 272 seconds)
1466: [22:26:13] * SightUnseen has joined #silverstripe
1467: [22:30:00] * travis-ci has joined #silverstripe
1468: [22:30:01] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1818 (3.1 - 48949ba : Ingo Schommer): The build passed.
1469: [22:30:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/53e790ff984f...48949ba89a75
1470: [22:30:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/17510583
1471: [22:30:01] * travis-ci has left #silverstripe
1472: [22:30:41] * ObiWanSh_ has joined #silverstripe
1473: [22:31:32] * jrthomer quit (Quit: Leaving...)
1474: [22:34:59] <antmas> I haven't looked around in ages, but are there any nice examples of galleries out there?
1475: [22:35:53] <Ryan-Toast> antmas: Jump on themeforest and have a look at some WordDerp themes.
1476: [22:35:53] * Colin[pi] has joined #silverstripe
1477: [22:36:01] <Colin[pi]> hay guise
1478: [22:36:05] <Ryan-Toast> Hai
1479: [22:36:09] <simon_w> Oh no, it's him. Hide!
1480: [22:36:18] <Colin[pi]> ^_^
1481: [22:36:25] <Colin[pi]> wait, why? :(
1482: [22:36:28] <Colin[pi]> ;)
1483: [22:36:41] <simon_w> Fun?
1484: [22:37:57] <antmas> Colin[pi]: M
1485: [22:37:57] <antmas> Colin[pi]: O
1486: [22:38:01] <antmas> Colin[pi]: G
1487: [22:38:05] <antmas> hai
1488: [22:38:06] <antmas> :D
1489: [22:38:30] <Colin[pi]> MOG!
1490: [22:39:47] <Colin[pi]> erg it's 9:40am and I already feel very "friday"
1491: [22:39:48] * SightUnseen has left #silverstripe
1492: [22:40:03] <simon_w> Looking forward to the weekend?
1493: [22:40:04] <Colin[pi]> ITS FRIDAY, FRIDAY
1494: [22:40:07] <Colin[pi]> ^
1495: [22:40:41] <Ryan-Toast> antmas: What kind of gallery do you want?
1496: [22:41:28] <Colin[pi]> simon_w: can I ask you a form/controller qn before I go completely friday mode?
1497: [22:41:31] <antmas> Ryan-Toast: dunno, I guess it would depend on clients really
1498: [22:42:09] <Ryan-Toast> antmas: Like a lightboxish kind of one?
1499: [22:42:19] <Ryan-Toast> or a thumbnail and large image gallery?
1500: [22:42:56] <simon_w> Colin[pi], you can try :p
1501: [22:43:58] <antmas> Ryan-Toast: I know it's old hat, but clients are usually wowed even with just lightbox 2 type galleries
1502: [22:44:49] <Colin[pi]> simon_w: ok! I have a controller, with a form method... there is a form action that changes a form value (calls a method on the form object)... but then the form loses the change as I think the controller calls the original Form() method... so is the correct way to show the changed form to ->customise(array('Form'=>$form)) from the form action handler?
1503: [22:45:13] <Colin[pi]> because that works, but I wasn't sure if that's the best way
1504: [22:45:21] <simon_w> Colin[pi], yes
1505: [22:45:33] <Colin[pi]> because if I redirect back it doesnt work either
1506: [22:46:16] <Colin[pi]> so you're telling me I'm actually doing it the right way? :o
1507: [22:47:00] <simon_w> If I'm understanding you correctly
1508: [22:47:17] <Ryan-Toast> antmas: I can make a nice and easy one using Modals http://getbootstrap.com/javascript/#modals
1509: [22:47:57] <antmas> Ryan-Toast: yeah that would work + easy to customise too
1510: [22:48:02] <Ryan-Toast> Yarp.
1511: [22:48:08] <Ryan-Toast> And no addition to pageweight
1512: [22:48:14] <antmas> nooooice
1513: [22:49:22] <Colin[pi]> simon_w: like this: function doAction($data,$form) { $form->changeSomething(); return $this->customise(array('Form'=>$form))->renderWith(...); }
1514: [22:49:50] <simon_w> Colin[pi], I tend to just return array('Form' => $form), but that works too
1515: [22:50:12] <Colin[pi]> ah just return the data? k
1516: [22:50:16] <Colin[pi]> excellent
1517: [22:50:46] <Colin[pi]> just that 99.9999% of SS form actions do a redirect(), hard to find examples
1518: [22:51:57] <spronk> simon_w: do you logeverything to syslog i.e. ends up in /var/log/syslog? or have you defined a custom syslog outlet ?
1519: [22:53:02] <simon_w> spronk, The remote_syslog gem lets me give it a list of files to treat like syslog input, which it then forwards
1520: [22:53:06] * goesta has left #silverstripe
1521: [22:53:57] <simon_w> spronk, http://help.papertrailapp.com/kb/configuration/configuring-centralized-logging-from-text-log-files-in-unix
1522: [22:57:48] * Guest64503 quit (Read error: Connection reset by peer)
1523: [22:58:03] * Kittens has joined #silverstripe
1524: [22:58:26] * Kittens is now known as Guest4552
1525: [22:59:46] * catcher quit (Quit: Leaving)
1526: [23:00:34] * ObiWanSh_ quit (Remote host closed the connection)
1527: [23:00:50] <Colin[pi]> simon_w: if I just return an array it will use the default template of the associated controller, right?
1528: [23:01:02] <simon_w> Colin[pi], yes
1529: [23:01:15] <Colin[pi]> ah k I need to renderWith() as it's using a different one
1530: [23:02:45] * ObiWanShanobi has joined #silverstripe
1531: [23:02:46] * Guest4552 quit (Ping timeout: 252 seconds)
1532: [23:03:01] * Kittens_ has joined #silverstripe
1533: [23:04:59] * CodeTrap quit (Remote host closed the connection)
1534: [23:07:33] <spronk> ah, you use remote_syslog
1535: [23:09:12] <simon_w> Yeah, seemed easier than configuring everything to log to syslog
1536: [23:11:04] <spronk> hmm
1537: [23:11:04] <spronk> yeah
1538: [23:11:08] <spronk> though i don't really want to have to install ruby
1539: [23:13:44] <Ryan-Toast> Is there a way of adding new pages without adding them to the siteTree?
1540: [23:13:56] <Ryan-Toast> Well, display in sitetree
1541: [23:16:28] <antmas> Ryan-Toast: OOC why would you need that?
1542: [23:17:21] <Ryan-Toast> Made a LeftAndMain extension that you can create pages. vBut when you make them they just get chucked in as top level items. And I can sleect their parents.
1543: [23:17:34] <Ryan-Toast> can't select their parents**
1544: [23:19:35] <Ryan-Toast> Can I set the parent somewhere in the controlleR?
1545: [23:23:18] <antmas> y'all probably all seen this - but holy shit awesome http://vimeo.com/79179138
1546: [23:24:10] * zippy__ quit (Ping timeout: 245 seconds)
1547: [23:26:49] <antmas> could watch that video all day
1548: [23:26:56] <Colin[pi]> so cool
1549: [23:27:05] <Colin[pi]> wasn't there a movie where they had something like that?
1550: [23:27:45] <antmas> Colin[pi]: prolly
1551: [23:30:21] <Colin[pi]> arg now I need to figure out what it was
1552: [23:36:43] <Colin[pi]> ah here it is, from x-men (2000): https://files.nyu.edu/dss316/public/physical%20media/x-men.jpg
1553: [23:40:33] <antmas> Colin[pi]: ha
1554: [23:40:41] <Colin[pi]> more scifi becoming real
1555: [23:42:30] <antmas> oh gawd
1556: [23:42:43] <antmas> fucking NEVER give some people database access
1557: [23:43:19] <antmas> now I have to do a sql import with data where the ID's are MADE UP
1558: [23:43:21] <antmas> _-_
1559: [23:43:35] <Colin[pi]> huh?
1560: [23:43:39] <Colin[pi]> not auto increment?
1561: [23:43:48] <ss23> http://codepad.viper-7.com/2NHoV8a What the fuck
1562: [23:44:03] <antmas> Colin[pi]: normally yes
1563: [23:44:38] <antmas> Colin[pi]: hard to explain, but they want me to import data that's all retarded
1564: [23:45:00] <Colin[pi]> mmm legacy data
1565: [23:45:05] <antmas> ss23: huh?
1566: [23:45:15] <Colin[pi]> ss23: is... is that thing executing pasted php?
1567: [23:45:16] <ss23> crypt() only accepts the first X chars
1568: [23:45:21] <ss23> then will just ignore the rest
1569: [23:45:27] <ss23> Colin[pi]: Yeah, but it's secure, lol
1570: [23:45:40] <antmas> o.O
1571: [23:45:52] <ss23> The important thing is the code, crypt() ignoring the shit out of extra chars
1572: [23:46:37] <Colin[pi]> crypt()? all I see is echo "hello, world"
1573: [23:46:41] * ObiWanShanobi quit (Quit: Leaving...)
1574: [23:47:03] <ss23> lol wut?
1575: [23:47:15] <ss23> Colin[pi]: The link? It should give you the code I pasted
1576: [23:47:20] <Colin[pi]> http://codepad.viper-7.com/2NHoV8a --- all I see is <?php echo "Hello, World!";
1577: [23:47:26] <ss23> wtf
1578: [23:47:27] <antmas> me too
1579: [23:47:28] <ss23> It's gone
1580: [23:47:29] <ss23> where is my code
1581: [23:47:33] <antmas> lol
1582: [23:47:37] <Colin[pi]> lel wut
1583: [23:47:48] <ss23> goddam it
1584: [23:48:06] <antmas> I saw it and though, holy shit ss23 is a genious
1585: [23:48:20] <antmas> thought*
1586: [23:48:28] <ss23> https://gist.github.com/ss23/8589243
1587: [23:48:28] <ss23> That
1588: [23:49:23] <antmas> huh
1589: [23:49:28] <antmas> so it is
1590: [23:49:33] <antmas> *ignoring the chars
1591: [23:49:38] <ss23> goddam it now I look like a retard for posting "hello world" in a bunch of chans
1592: [23:49:52] <antmas> ss23: hahahaha
1593: [23:50:11] <oddnoc> And twitter ;)
1594: [23:50:39] <ss23> yeah
1595: [23:50:48] <ss23> :(
1596: [23:50:51] <Colin[pi]> LOL
1597: [23:51:27] <antmas> lol dat tweet
1598: [23:51:46] <antmas> retweeted :D
1599: [23:52:56] <antmas> aw damn, you deleted it
1600: [23:53:13] * Ryan-Toast quit (Quit: Ryan-Toast)
1601: [23:54:23] <ss23> Retweet the real one dammit!
1602: [23:54:24] <ss23> :(
1603: [23:56:09] * Ryan-Toast has joined #silverstripe
1604: [23:56:28] <antmas> XD

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