#silverstripe IRC Log

IRC log for 2 July 2013

All timestamps are in UTC.

1: [00:02:20] <ss23> Peavers: Oh, mine was similiar
2: [00:02:24] <ss23> Peavers: https://github.com/silverstripe-labs/silverstripe-newsletter/commit/befe10297eb7ee90c3c79684a804599b2095a7be
3: [00:02:35] <ss23> Peavers: what file is the unclosed h2>
4: [00:04:25] * lerni has joined #silverstripe
5: [00:05:23] <Peavers> NewsletterHeader.ss
6: [00:06:39] <ss23> Get this out, Peavers
7: [00:06:41] <Peavers> If i want to include an image in a newsletter template, I should be able to put it in the images folder and just use src="$ThemeDir/images/... yeah?
8: [00:06:53] <ss23> Peavers: https://github.com/silverstripe-labs/silverstripe-newsletter/blob/master/templates/Includes/NewsletterHeader.ss
9: [00:07:08] <ss23> BOOOOM
10: [00:07:22] <Peavers> Your welcome.
11: [00:07:30] <ss23> lol, I'm welcome?! you'rewelcome!
12: [00:13:41] * zippy__ quit (Ping timeout: 240 seconds)
13: [00:15:58] * mirrors has joined #silverstripe
14: [00:16:51] <mirrors> hey guys.....can anyone tell me why SilverStripe is taking everything out of my head tags and putting it into the body tags
15: [00:17:24] <Peavers> do you have include header in the body?
16: [00:17:37] <tractorcow> mirrors: I assume you are doing requireCSS and css() in your head?
17: [00:17:38] <Peavers> (with the head inside the header...)
18: [00:18:11] <tractorcow> require javascript / css *
19: [00:18:38] <tractorcow> those directives tell the page to require them, it doesn't output the actual links in those places in your template
20: [00:20:37] <mirrors> yeah i am calling <% require themedCSS(style) %> in my head tag among other things
21: [00:20:59] <mirrors> but everything including other hardcoded html tags are being moved out of the <head> tags
22: [00:21:29] <tractorcow> can you put your template up on sspaste.com ?
23: [00:23:32] * zippy__ has joined #silverstripe
24: [00:23:48] * kerosene quit (Ping timeout: 256 seconds)
25: [00:27:12] <mirrors> solved my problem
26: [00:27:20] <mirrors> there was an error in my javascript
27: [00:27:23] <mirrors> cheers though
28: [00:29:18] * ss23 yawns
29: [00:29:20] <ss23> I'm so tired
30: [00:29:59] * zippy__ quit (Ping timeout: 252 seconds)
31: [00:40:03] * Motoservo quit (Read error: Connection reset by peer)
32: [00:40:25] * Motoservo_ has joined #silverstripe
33: [00:41:11] * Bollig|DesignCty has joined #silverstripe
34: [00:43:24] <Colin[pi]> late night ss23?
35: [00:43:48] <Pyromanik> 11:49 < Peavers> I'd fix it and create a git pull request, but after yesterdays drama... nahh.
36: [00:43:52] <Pyromanik> yesterday's drama?
37: [00:48:33] <Peavers> lol you don't want to know.
38: [00:51:23] <ss23> Colin[pi]: Not really, just tired ofr some reason
39: [00:51:29] <ss23> Pyromanik: HE FAILED AT THE INTERNETS
40: [00:51:36] <ss23> Pyromanik: He was like "Durp dur changed all my tabs to spaces"
41: [00:51:47] <ss23> Pyromanik: "style standards? LOL MORE LIKE FUCK THE POLICE STANDARDS"
42: [00:51:54] <ss23> and the internet police (aka ajshort) shut him DOWN
43: [00:51:57] <Peavers> Pretty much lol
44: [00:52:10] <Peavers> tried to contribute 4 lines of code to a ss repo
45: [00:52:13] <Peavers> shit went down hill fast
46: [00:52:19] <ss23> lol
47: [00:52:27] <ss23> always review your diff before you commit / send a pull request
48: [00:52:50] <irogue> Peavers: you're lucky it was ajshort and not one of the angry germans
49: [00:52:53] <irogue> :P
50: [00:53:10] <Peavers> lol when I first started learning Java I had a german tutor
51: [00:53:19] <ss23> lol
52: [00:53:22] <Peavers> how dare I put that method in the wrong class...
53: [00:53:28] <Peavers> thought I was going to get shot..
54: [00:53:36] <ss23> Ingos warning when he gave me access to the repos / announce list
55: [00:53:57] <ss23> "I've given you RW access to the repo and the announce list, use it wisely :)"
56: [00:54:01] <ss23> dat :)
57: [00:54:17] <irogue> yeah, it has so much meaning in context and coming from a german
58: [00:54:31] <ss23> haha
59: [00:56:14] <Peavers> I don't currently work with any germans and I feel myself slacking off more because of it...
60: [00:56:28] <Peavers> must hire one for team morale...
61: [00:57:30] <ss23> lol
62: [00:57:45] <Peavers> So support guy ss23, why can't I include an image in a newsletter template from my template/images folder?
63: [00:58:01] <ss23> >newsletter module
64: [00:58:01] <ss23> ^.^
65: [00:58:02] <Peavers> ss23 = Silverstripe Support... haha just got it.
66: [00:58:05] <ss23> hahaha
67: [00:58:07] <ss23> NO
68: [00:58:10] * ss23 dies
69: [00:58:13] <simon_w> No <base> tag in the template?
70: [00:58:17] <ss23> idk though sorry, I haven't used it proprly
71: [00:58:20] <Peavers> was using $ThemeDir?
72: [00:58:23] <ss23> I do know it replaces a bunch of URLs with tracking ones
73: [00:58:30] <ss23> Which incdeintly breaks all the mailto:urls
74: [00:58:30] <simon_w> that's a relative path
75: [00:59:14] <Peavers> base tag like {$BaseHref}?
76: [01:00:30] <ss23> Hmmmm, Anyone know if for google conversions, I can use Requirements to include the conversions.js file? Because if I do it, won't it include it too early and break?
77: [01:00:40] <ss23> Since the conversion variables are at the bottom of the page, etc
78: [01:01:22] <ss23> Or is there like a "requirements::make it at the bottom after everything else in the template" or something?
79: [01:01:32] <simon_w> Peavers, well, you could do that. I think we just use <% base_tag %> for our email templates
80: [01:02:33] <simon_w> ss23, JS requirements go at the bottom by default
81: [01:04:24] <ss23> mmk
82: [01:04:26] * ss23 tries dis
83: [01:05:21] * lerni quit (Remote host closed the connection)
84: [01:05:50] <simon_w> hmm, running dev/build at the same time as a script the grabs read locks takes a while
85: [01:07:07] <ss23> lol
86: [01:07:08] <ss23> I wonder why :D
87: [01:09:52] <Peavers> I don't need to set the base if I'm using <% base_tag %> yeah?
88: [01:10:19] <Peavers> ah got it
89: [01:11:01] <ss23> Hmm
90: [01:11:09] <ss23> There is init() for class Page, right?
91: [01:11:12] <ss23> Not just Pagecontroller?
92: [01:11:16] <simon_w> Nope
93: [01:11:27] <ss23> Cause I need be like "yo, if $this->RandomOoptions { requirements::Javascript }
94: [01:11:30] <ss23> how do
95: [01:11:35] <simon_w> Do it in your init()
96: [01:12:06] <ss23> My init of the controller?
97: [01:12:11] <ss23> CAn I $this->options there?
98: [01:12:17] <simon_w> Yes
99: [01:13:57] <ss23> It didn't add it to the very bottom, simon_w :<
100: [01:14:13] <simon_w> Do you have <script> tags hardcoded in your body?
101: [01:14:25] <ss23> Yes
102: [01:14:47] <ss23> Is this bad? I DIDN't WRITE THE TEMPLATE
103: [01:14:48] <ss23> :<
104: [01:14:52] <simon_w> That would be why
105: [01:14:59] <Colin[pi]> BAD SS23 BAD
106: [01:15:06] * ss23 dies
107: [01:15:17] <Peavers> support4life
108: [01:15:20] <ss23> I blame sminnee for hiring people who do it this way! I've never *ever* written bad code.
109: [01:16:05] <Colin[pi]> sif
110: [01:16:06] <Colin[pi]> ;D
111: [01:18:23] <simon_w> 5 hours. It took 5 hours to update that template.
112: [01:18:28] <simon_w> Bloody Perth.
113: [01:19:28] <ss23> lol, that sounds bad
114: [01:20:37] <simon_w> They had to go and completely change their tenancy agreement template
115: [01:21:03] <simon_w> I should probably check the other countries'/states' but meh
116: [01:26:05] <ss23> lol
117: [01:26:10] <ss23> dammit
118: [01:26:14] <ss23> friend was like "k lets get lunch"
119: [01:26:21] <ss23> like 20 mins ago
120: [01:26:30] <ss23> he was like "I'll txt when we find a place to get good lunch and you meet us there"
121: [01:26:33] <ss23> WHAT DO
122: [01:27:47] <simon_w> Well, I'm getting noodles
123: [01:29:06] <ss23> Where from, simon_w?
124: [01:29:09] <ss23> simon_w: oaks?
125: [01:29:11] <ss23> :O
126: [01:29:13] <ss23> SATAY NOODLE HOUSE?
127: [01:29:13] <simon_w> across the road
128: [01:29:21] <ss23> simon_w: you don't wanna come?
129: [01:29:39] <Peavers> I'd come, but you know, I'm cool.
130: [01:29:43] <ss23> lol
131: [01:30:03] <simon_w> Why go all the way to cuba when I can be lazy and just cross the road? :p
132: [01:30:09] <ss23> lol, lazy, bbl
133: [01:31:10] <simon_w> Though it does mean going back to my desk to eat, but that's just across the road! :p
134: [01:31:25] <Peavers> <!-- If you delete this meta tag, Half Life 3 will never be released. -->
135: [01:31:27] <Peavers> lolol
136: [01:32:38] * mirrors quit (Quit: Page closed)
137: [01:43:06] <Colin[pi]> lol where is that from peavers?
138: [01:43:24] <Peavers> Some random responsive email template
139: [01:43:47] <Colin[pi]> everytime someone makes a fat joke about Gabe Newell... another six months :(
140: [01:43:57] <Peavers> Yup...
141: [01:45:18] <Colin[pi]> it's mah birthday next week
142: [01:45:24] <Colin[pi]> I dont like birthdays now that I am OLD
143: [01:45:29] <Colin[pi]> ;C
144: [01:45:41] <simon_w> Haha, old!
145: [01:45:52] <Colin[pi]> what are you, like 15?
146: [01:46:09] <simon_w> Probably close to that than to your age :p
147: [01:46:15] <Colin[pi]> :(
148: [01:48:38] <Colin[pi]> to show how old I am, I was playing around with an Amiga emulator on the weekend
149: [01:48:43] <Colin[pi]> so awesome :D
150: [01:49:07] <Peavers> Feed me your old man stories, makes me feel youner
151: [01:49:25] <Colin[pi]> 7MHz, 1MB of RAM... FLOPPY ONLY BITCH
152: [01:49:30] <simon_w> I'm younger than the CD
153: [01:49:43] <Colin[pi]> oh wow that's scary
154: [01:50:06] <Colin[pi]> I remember buying my first CD player
155: [01:50:19] <Peavers> at a guess, I'd put simon_w at 27
156: [01:50:25] <Colin[pi]> I had just got braces and TSLKALKED LISSKKREE THUIUISSS
157: [01:50:41] <simon_w> Interesting. That's about where most people put me.
158: [01:50:56] <Peavers> is it close?
159: [01:51:03] <simon_w> As close as 15
160: [01:51:07] <Peavers> lol
161: [01:51:29] <Peavers> under 30 though?
162: [01:51:34] <simon_w> Yup
163: [01:51:45] <Colin[pi]> young whippersnapper!
164: [01:51:46] <Peavers> but over 25?
165: [01:51:51] <simon_w> Nope
166: [01:53:04] <simon_w> Child of the 90s and all that
167: [01:53:18] <Colin[pi]> poor guy didn't even know the 80's
168: [01:53:21] <Colin[pi]> best decade evar
169: [01:55:24] <Peavers> You went to scotts, and were year 13 in 2009
170: [01:55:28] <Peavers> making you 17/18 in 09
171: [01:55:43] <simon_w> yup
172: [01:55:45] <simon_w> and one t
173: [01:56:14] <Peavers> back traced it.
174: [02:01:20] * swordsmanz quit (Ping timeout: 264 seconds)
175: [02:03:43] * DigNZ quit (Quit: DigNZ)
176: [02:03:45] * tuure quit (Ping timeout: 240 seconds)
177: [02:06:13] * clodeindustrie has joined #silverstripe
178: [02:07:45] * clodeindustrie has left #silverstripe
179: [02:08:43] <unsignedint> In SS2.4, how can I remove the "Content" texteditor from a SiteTree page? $fields->removeByName("Content") removes the entire Content tab
180: [02:09:41] <simon_w> $fields->removeFieldFromTab('Root.Content.Main', 'Content')
181: [02:09:47] <unsignedint> aah
182: [02:09:49] <unsignedint> duh
183: [02:09:55] <Pyromanik> 6.2 pizzas for lunch.
184: [02:11:19] <Pyromanik> and chips and beer.
185: [02:11:23] <Pyromanik> what did you have ss23 ?
186: [02:12:07] <unsignedint> thanks simon_w
187: [02:13:21] <unsignedint> also does anyone know how to set the template the page renders with on init? I tried http://sspaste.com/paste/show/51d2366bcee56 but it doesnt work, it just uses the fallback template (the value of $this->Template is "AR13HomePage" and a file exists in $ThemeDir/Layout/AR13HomePage.ss)
188: [02:15:52] * zippy__ has joined #silverstripe
189: [02:16:44] <unsignedint> I dont want to renderWith() since that returns a string according to the docs, what can I use to just set the template?
190: [02:17:38] <Pyromanik> unsignedint: what's wrong with returning a string?
191: [02:18:03] <unsignedint> Pyromanik: would I have to override the default action to do that? Is it called index()?
192: [02:18:18] <Pyromanik> yes
193: [02:18:25] <Pyromanik> or
194: [02:18:27] <Pyromanik> in the controller
195: [02:18:43] <Pyromanik> public $templates = array(...);
196: [02:18:49] <Pyromanik> or is it string?
197: [02:18:51] <Pyromanik> can't remember
198: [02:18:53] <Pyromanik> ssomething liket hat
199: [02:19:52] <unsignedint> im basically trying to avoid creating a zillion Page subclasses to get certain templates to render. The page content is all in the templates
200: [02:20:36] * zippy__ quit (Ping timeout: 256 seconds)
201: [02:20:57] <Pyromanik> unsignedint: you have a dropdown for selecting what type the page is?
202: [02:21:26] <unsignedint> well basically I want 10 pages all the same type, but be able to select which *template* they render with
203: [02:21:35] <Pyromanik> public function index() { switch($this->TemplateType) {...
204: [02:21:49] <Pyromanik> or just use includes
205: [02:22:00] * UncleCheese has joined #silverstripe
206: [02:22:33] <unsignedint> I just found a problem though, the following code works http://sspaste.com/paste/show/51d238d037c7c except that it doesnt respect the template inheritance hierarchy
207: [02:22:36] <Pyromanik> <% if $TemplateType == Blah %><% include Blah %><% else_if TemplateType == Foo %><% include Foo %><% else %><% include Bar %><% end_if %>
208: [02:22:49] <Pyromanik> well yeah
209: [02:22:52] <Pyromanik> you just overrode it
210: [02:22:57] <unsignedint> :P
211: [02:23:04] <unsignedint> how can I override the bottom-most template only?
212: [02:23:12] <Pyromanik> ooh, govt docs
213: [02:23:13] <unsignedint> by default that page would render AR13Page.ss
214: [02:23:18] <simon_w> unsignedint, return $this->renderWith(array($this->Template, $this->class, 'Page'))
215: [02:23:46] <Pyromanik> unsignedint: or $this->getTemplates() or whatever that controller call is to get the template list if there is one.
216: [02:23:47] <simon_w> Well, you'll probably want $this->data->class, or just hardcode 'AR13Page'
217: [02:23:49] <Pyromanik> findTemplates
218: [02:23:54] <simon_w> There isn't
219: [02:24:02] <ss23> Pyromanik: Uh, um, asian place
220: [02:24:04] <simon_w> getViewer() builds the list internally
221: [02:24:07] <Pyromanik> if it's not coupled into another func... oh, yeah don't worry.
222: [02:24:11] <ss23> dunno, thai maybe? Chicken kebab thingies
223: [02:24:22] <Pyromanik> thai maybe, lulz.
224: [02:24:26] <Pyromanik> 'maybe'.
225: [02:24:32] <Pyromanik> ss23: doesn't even know what eat.
226: [02:24:35] <simon_w> ss23, again? Pick something different :p
227: [02:25:46] * DigNZ has joined #silverstripe
228: [02:25:48] * DigNZ quit (Read error: Connection reset by peer)
229: [02:26:06] * DigNZ has joined #silverstripe
230: [02:26:55] <ss23> simon_w: I didn't pick it!
231: [02:26:58] <ss23> pipes and otter did
232: [02:27:11] <ss23> Pyromanik: idk whether it counts as thai or not!
233: [02:28:43] <unsignedint> simon_w, Pyromanik: I tried return $this->renderWith(array($this->Template, "Page")); but it stops as soon as it finds a template ($this->Template exists). I want it to render Page and insert $this->Template into the $Layout part on Page the way it would normally do it automatically if I created a template called AR12Page.ss
234: [02:29:10] <unsignedint> err, AR13Page.ss *
235: [02:29:20] <simon_w> unsignedint, is {$this->Template}.ss in templates/ or Layout/?
236: [02:29:27] <unsignedint> yes it is
237: [02:29:35] <simon_w> Which one?
238: [02:29:40] <unsignedint> Layout/
239: [02:30:04] <simon_w> Then it should be loading Page.ss and only using $this->Template for Layout
240: [02:31:22] <ss23> var pos, key, value, index, txtBxUsername, txtBxPasswd, currOnload = window.onload, queryString = location.search.substring(1), keyValuePairs = queryString.split("&");
241: [02:31:25] <ss23> this javascript...
242: [02:31:59] <ss23> fuck
243: [02:32:09] <ss23> Does Javascript do foo, bar = baz, boo, or does it do like... something else?
244: [02:32:12] <ss23> aka wtf does this code mean
245: [02:32:50] <simon_w> It does it left to right
246: [02:32:53] <unsignedint> simon_w: thanks, you're right, I forgot I set the value of $this->Template to "Layout/AR13HomePage" instead of "AR13HomePage"
247: [02:33:22] <ss23> simon_w: Everything does left to right! I don't know what that means in the contet of my lack of understanding though
248: [02:34:03] <ss23> hmm
249: [02:34:09] <ss23> it's just defining them, right, not assigning them?
250: [02:34:11] <simon_w> pos, key, value, index, txtBxUsername, txtBxPasswd are all null. currOnload is window.onload, queryString is everything after the first character in the query string, keyValuePairs is an array
251: [02:34:21] <simon_w> There's three assignments in there
252: [02:34:33] <ss23> Yep, I see, sweet
253: [02:34:44] <ss23> Confusing since Python does the weird foo, bar = baz, cat
254: [02:34:58] <simon_w> no idea what that means
255: [02:35:10] <ss23> in that case, it means foo = baz; bar = cat;
256: [02:35:35] <simon_w> well, that's just stupid
257: [02:35:45] <ss23> Never said it wasn't! I just said I was confused
258: [02:35:48] <ss23> simon_w: Calm down!
259: [02:35:50] <ss23> STOP YELLING
260: [02:35:52] <ss23> AHHHHH
261: [02:36:45] <simon_w> Don't make me come yell in your ear!
262: [02:36:58] <ss23> :<
263: [02:37:01] * ss23 shuts the door
264: [02:37:03] <ss23> YOU CAN'T SWIPE IN
265: [02:41:03] <simon_w> There's more than one door
266: [02:41:43] <ss23> All of them are swipe entrance!
267: [02:41:51] <ss23> Haha, use the buzzer, you plebian! :D
268: [02:43:19] <simon_w> Pfft, screw that
269: [02:43:42] <ss23> XD
270: [02:45:03] <simon_w> I'd just ask sminnee to let me in :p
271: [02:45:50] <ss23> Someone sent a screenshot inside a .docx :<
272: [02:46:23] <simon_w> Haha!
273: [02:47:54] <irogue> ss23: someone just did that to me, except inside a .odt
274: [02:48:00] <ss23> lol
275: [02:48:03] <ss23> Not sure who has it worse...
276: [02:48:08] <irogue> luckily, Office can open those
277: [02:48:20] <ss23> THEY'RE TRYING TO BUILD A PRISM
278: [02:48:24] <simon_w> Oh look, this ticket has an attached screenshot
279: [02:48:29] <simon_w> Guess what? It's a png!
280: [02:48:34] <irogue> THATS CRAZY TALK
281: [02:49:06] <ss23> lol
282: [02:49:10] * zippy__ has joined #silverstripe
283: [02:49:13] <ss23> simon_w must deal with "differnet" clients to us, irogue
284: [02:49:38] <ss23> need music
285: [02:49:39] <ss23> halp
286: [02:49:39] <ss23> what do
287: [02:49:49] <simon_w> S Club!
288: [02:49:52] <ss23> NO
289: [02:49:54] <ss23> Flyleaf
290: [02:50:17] <ss23> something just made bubble noises
291: [02:50:18] <ss23> what was it
292: [02:50:44] <ss23> I don't know what any of the noises mean in OSX :<
293: [02:51:05] <simon_w> you got mail?
294: [02:51:20] <ss23> :O
295: [02:51:21] <ss23> could be that
296: [02:51:25] <ss23> i did notice a new mail...
297: [02:52:23] <ss23> The Flyleaf singer is pretty good
298: [02:52:25] <ss23> She's cute too :D
299: [02:55:25] <Pyromanik> 14:26 <@ss23> pipes and otter did
300: [02:55:27] <Pyromanik> 14:26 <@ss23> pipes and otter did
301: [02:55:34] <Pyromanik> you have friends with odd names.
302: [02:55:50] <ss23> their handles
303: [02:56:13] <Pyromanik> 14:45 <@ss23> Someone sent a screenshot inside a .docx :<
304: [02:56:17] <Pyromanik> this, erry dae.
305: [02:56:20] <ss23> lol
306: [02:56:33] <Pyromanik> currently have a doc with no less than 3 screenshots in it.
307: [02:56:40] <ss23> otter is the guy I'm staying with anyway, and pipes is a kiwicon guy who works for insomnia
308: [02:56:41] <Pyromanik> complete with a little intro text.
309: [02:57:32] <Pyromanik> insomnia has a really bad website
310: [02:57:41] <ss23> They're not webdevs :P
311: [02:57:50] <Pyromanik> obviously :P
312: [02:57:54] <Pyromanik> should contract one.
313: [02:58:03] <ss23> insomnia is one of the better botique sec firms in NZ though (or so I'm told, and my sources may be bias)
314: [02:58:20] <Pyromanik> because your sources are Mark Piper?
315: [02:58:25] <ss23> lol
316: [02:58:30] <ss23> Basically :P
317: [02:58:43] <ss23> simon_w: who is best pentester?
318: [02:58:47] <ss23> inb4lateral
319: [02:58:48] <ss23> :D
320: [02:58:50] <simon_w> You should ask metl. He's been on TV and stuff
321: [02:58:54] <ss23> hahaha
322: [02:58:55] <ss23> tru dat
323: [02:59:01] <ss23> Wiht a unix beard like that, how can you be wrong?
324: [02:59:18] <simon_w> pipes is just freakishly tall. No neck beard.
325: [03:00:07] <simon_w> How you supposed to pentest without a neck beard?
326: [03:00:22] <ss23> Hey hey hey, half of pentests are writing reports, don't need a neckbeard for that :D
327: [03:00:42] <ss23> Speaking of reports, how are those unit tests coming along, simon_w? :D
328: [03:00:55] <simon_w> Just gotta write functional tests
329: [03:01:06] * zippy___ has joined #silverstripe
330: [03:01:58] * zippy__ quit (Ping timeout: 246 seconds)
331: [03:01:58] * zippy___ is now known as zippy__
332: [03:09:15] <guzzlefry_dev> hey guys
333: [03:09:29] <guzzlefry_dev> Is there anyway to log "action not allowed" type errors?
334: [03:09:54] <guzzlefry_dev> Pretty sure I'm hitting one due to changes between 3.0 and 3.1, but I can't find it. Pretty sure it's in an ajax call. :/
335: [03:10:57] <simon_w> guzzlefry_dev, look at 403 response codes in your access logs
336: [03:12:03] <guzzlefry_dev> ok, thanks
337: [03:12:28] <guzzlefry_dev> I guess that makes more sense than throwing it in error logs. :P
338: [03:14:59] <ss23> Hmmmm
339: [03:15:08] <ss23> simon_w: Doesn't it show up as a plaintext "Action foo is not allowed"?
340: [03:15:17] <ss23> I had a live site just yesterday that was giving a plaintext message describing it
341: [03:15:41] <simon_w> ss23, yes, you get that too
342: [03:15:56] <ss23> oic, he asked to log
343: [03:19:46] * UncleCheese quit (Quit: UncleCheese)
344: [03:20:34] <ss23> Oh, is Cheese in NZ yet?
345: [03:21:12] <simon_w> Not according to the IP address he used
346: [03:28:23] <guzzlefry_dev> ss23: I won't see it as plain text if the page is getting it via ajax response.
347: [03:30:57] <Pyromanik> guzzlefry_dev: yeah you will, but only in console.
348: [03:39:13] <guzzlefry_dev> Pyromanik: Firebug?
349: [03:39:37] <guzzlefry_dev> I can't for the life of me figure out how to turn "break on error" stuff off.
350: [03:41:09] * cloph_away has joined #silverstripe
351: [03:42:10] * cloph quit (Ping timeout: 248 seconds)
352: [03:49:04] <irogue> lols, /?SubsiteID=2 in my logs
353: [03:49:09] <irogue> i see someone there, trying to haxx my site
354: [03:49:54] <ss23> irogue: SHHHHH
355: [03:49:56] * ss23 runs in circles
356: [03:50:15] <ss23> irogue: I was actually just wondering under which conditions it would show a subsite, cause I remmeber you said you had a subsite, right?
357: [03:50:18] <ss23> Or did you not
358: [03:50:25] <ss23> Also, wtf, who on earht reads logs?
359: [03:50:45] * travis-ci has joined #silverstripe
360: [03:50:45] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#471 (3.1 - 84e8d3f : Mateusz Uzdowski): The build passed.
361: [03:50:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a6c3d1e26939...84e8d3f4c9b1
362: [03:50:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8644737
363: [03:50:45] * travis-ci has left #silverstripe
364: [03:51:17] * supernovah has joined #silverstripe
365: [03:52:07] <Pyromanik> ss23: on occasion
366: [03:52:14] <Pyromanik> also, he doesn't use subsite moduels
367: [03:53:09] <simon_w> Yay! No open tickets assigned to me!
368: [03:53:18] <Pyromanik> simon_w: can I create a subclass of a data object using a parent type as a constructior option in order for it to convert from parent -> child class?
369: [03:53:41] <ss23> aw k
370: [03:53:46] <simon_w> Pyromanik, $new = $old->newClassInstance('Subclass')
371: [03:53:53] <ss23> simon_w: I have ~7 assigned to me, but most are waiting on other people
372: [03:54:05] <simon_w> ss23, excuses!
373: [03:54:16] <ss23> 6 asigned to me, 2 of them waiting on people, 4 are actionable
374: [03:54:29] <Pyromanik> simon_w: I want to turn a member into a customer (subclasses member), will this do it?
375: [03:54:40] <Pyromanik> also, what if they're already a customer?
376: [03:55:26] <ss23> This code does "ini_set('date.timezone','Pacific/Auckland'); ini_alter('date.timezone','Pacific/Auckland');"
377: [03:55:28] <simon_w> If they're not already a customer, the ->write() you do next won't do anything
378: [03:55:29] <ss23> idek why
379: [03:56:31] * nickmolhoek quit (Quit: nickmolhoek)
380: [03:58:42] <Pyromanik> halp halp I'm dying
381: [03:59:04] <Pyromanik> ridiculiously hot and can't keep eyes open :<
382: [03:59:13] <simon_w> Sucker!
383: [04:00:36] <ss23> Pyromanik: GO TO A DOCTOR PEPPER
384: [04:00:40] <ss23> It'll cool you down ^.^
385: [04:02:05] <Pyromanik> already had a coke.
386: [04:02:14] <Pyromanik> tried to cool down and caffinate awake in 1 go
387: [04:02:28] <ss23> lol
388: [04:02:32] * travis-ci has joined #silverstripe
389: [04:02:32] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#472 (3.1 - 21844a8 : Mateusz Uzdowski): The build passed.
390: [04:02:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a6c3d1e26939...21844a8a0791
391: [04:02:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8644924
392: [04:02:32] * travis-ci has left #silverstripe
393: [04:02:33] <Pyromanik> wholey shit, imagine if you went blind.
394: [04:02:36] <Pyromanik> typing code would suck.
395: [04:02:36] <ss23> Pyromanik: Is it actually hot there, or what?
396: [04:02:38] <ss23> ;_;
397: [04:02:48] <Pyromanik> ss23: yeah, like the surface of the sun.
398: [04:02:48] <ss23> Pyromanik: Dude if you're actually sick, go to a doctor / home and rest?
399: [04:02:57] <Pyromanik> not sick.
400: [04:03:04] <ss23> aw k
401: [04:03:05] <Pyromanik> it's just like 48 degrees outside.
402: [04:03:07] <ss23> lol
403: [04:03:08] <ss23> dude
404: [04:03:09] <ss23> wtf
405: [04:03:12] <ss23> in chch?
406: [04:03:14] <ss23> It's like 1c here
407: [04:03:15] <Pyromanik> yes
408: [04:03:24] <Pyromanik> sucks to be you
409: [04:03:29] <Pyromanik> 18 deg C
410: [04:03:31] <ss23> I'm checking metservice
411: [04:03:34] <ss23> 18c is NOT hot.
412: [04:03:35] <ss23> lol
413: [04:03:40] <Pyromanik> roaring heat.
414: [04:03:51] <ss23> it's not hot unless it's above 20!
415: [04:03:59] <ss23> 18 is almost perfect time
416: [04:04:02] <ss23> tmp
417: [04:04:02] <Pyromanik> women in office insist on having 23 C blast out of the heat pump while the windows are open.
418: [04:04:09] <ss23> ewww
419: [04:04:14] <ss23> *that* is horrible
420: [04:04:16] <Pyromanik> heat pump above my head
421: [04:04:23] <ss23> here we are, 13c here
422: [04:04:30] <ss23> Pyromanik: Tell them to turn it down cause you're too hot!
423: [04:04:38] <Pyromanik> normally tollerable because frozen outside means heatpump is shit.
424: [04:04:47] <Pyromanik> ss23: tried, get told off.
425: [04:05:16] <ss23> >.<
426: [04:05:19] <Pyromanik> ikr
427: [04:05:19] <ss23> Pyromanik: COME WORK AT SILVERSTRIPE
428: [04:05:28] <Pyromanik> OMG I SO WISH
429: [04:05:28] <ss23> o/
430: [04:05:31] <ss23> lol
431: [04:05:39] <ss23> Last I heard we were still looking for more people!
432: [04:05:49] <ss23> wait, I just saw,we have a "no noobys" clause
433: [04:05:50] <ss23> :3
434: [04:05:53] <Pyromanik> yeah but stuck in CHC
435: [04:05:53] <ss23> Guess that rules you out
436: [04:05:58] <ss23> :D
437: [04:06:00] <Pyromanik> -.-
438: [04:06:03] <ss23> Pyromanik: Make the gf move!
439: [04:06:05] <ss23> Come here! :D
440: [04:06:12] <Pyromanik> yeah
441: [04:06:22] <Pyromanik> if I weren't saving to go overseas I would.
442: [04:06:37] <ss23> Where ya going/
443: [04:06:41] <simon_w> Home time!
444: [04:06:46] <ss23> Pyromanik: Also, there was a conference in Wellington you wanted to go to wasn't there
445: [04:06:49] <ss23> simon_w: SLACKER!
446: [04:07:04] <Pyromanik> all the places
447: [04:07:05] <simon_w> ss23, been in since before you were awake!
448: [04:07:11] <ss23> lol
449: [04:07:14] <ss23> How do you know when I woke up!
450: [04:07:18] <Pyromanik> ss23: WDC, see you on 24th July for Guiness at Molly's
451: [04:07:22] <simon_w> ss23, you told me
452: [04:07:26] <ss23> simon_w: :<
453: [04:07:42] <ss23> cool cool Pyromanik, for sure, hit me up on IRC :D
454: [04:08:55] <irogue> holy fuck
455: [04:09:19] <irogue> customer just got an email from teh GCSB
456: [04:09:21] * nickmolhoek has joined #silverstripe
457: [04:09:22] * nickmolhoek quit (Remote host closed the connection)
458: [04:09:31] <ss23> Oh, what about, irogue? :D
459: [04:09:36] * nickmolhoek has joined #silverstripe
460: [04:09:40] <ss23> I hear the spooks actually contact a decent amount of people
461: [04:10:01] <irogue> "you've been hacked, fix your shit right now or we'll order your ISP to disconnect you"
462: [04:10:29] <ss23> lol
463: [04:10:36] <ss23> Whoops, sorry about that
464: [04:10:36] <ss23> :D
465: [04:10:45] <ss23> irogue: can you tell us the client (or at least tell us if they're big or small)
466: [04:11:06] <irogue> The NCSC has received a report, of NZ IP’s which have been observed as nodes in the Zeus botnet, from an international CERT partner. They have provided a list of IP’s, and detailed mitigation and prevention advice which may be useful to prevent future re-infection. Please conduct your own due diligence on the information contained, as the NCSC is not able to verify the veracity of
467: [04:11:12] <irogue> this information. Please feel free to circulate as needed.
468: [04:11:20] <Pyromanik> irogue: were they actually hacked?
469: [04:12:34] <Pyromanik> irogue: oh, so the client probably wasn't hacked, rather some one pretending to be the gcsb has circulated a phoney chain email derp scam thing
470: [04:12:37] <Pyromanik> ?
471: [04:12:44] <irogue> Pyromanik: nah, is legit
472: [04:12:49] <ss23> lol
473: [04:12:51] <irogue> they've thought of that
474: [04:13:03] <Pyromanik> so they rang the GCSB to check?
475: [04:13:14] * ticklenetwork has joined #silverstripe
476: [04:13:22] <irogue> have in the email "plz call us on GCSB main number and ask for me to confirm this is real"
477: [04:13:25] <irogue> Pyromanik: ya
478: [04:13:54] <irogue> https://en.wikipedia.org/wiki/Zeus_(Trojan_horse)
479: [04:13:55] <irogue> is this ^
480: [04:14:11] <irogue> looks like it's just a particularly nasty and massive botnet
481: [04:14:27] <ticklenetwork> Can anyone help me with the e-commerce module? i have silverstripe 3.0 but in new products catagory all i get is a blank page http://ticklenetwork.co.nz/new-product-category/
482: [04:14:47] <ss23> Zeus had its source leaked
483: [04:14:54] <ss23> And the controlpanel was full of sqli
484: [04:14:57] <ss23> which makes me lol
485: [04:14:57] <Peavers> Why does the newsletter templates fuck with anchor links in the email!?!?
486: [04:15:09] <ss23> Pyromanik: TRACKING LINKS, BRO
487: [04:15:14] <Pyromanik> ticklenetwork: check error.log
488: [04:15:37] <irogue> ss23: hahahaha
489: [04:16:22] <Pyromanik> Peavers: 16:14 <@ss23> Pyromanik: TRACKING LINKS, BRO
490: [04:16:44] <Peavers> ss23 is getting worse with each day.
491: [04:17:07] * DigNZ quit (Quit: DigNZ)
492: [04:17:12] <Peavers> How can I stop it messing with my links so my users can make use of anchor links?
493: [04:18:25] <ticklenetwork> Pyro- how do i get to error.log lol
494: [04:20:34] <ss23> I just spilled coke all over myself
495: [04:20:37] <ss23> coke in my hair
496: [04:20:37] <ss23> :<
497: [04:20:55] <Colin[pi]> I dropped my ereader in the bath last night :(
498: [04:21:09] * zippy__ quit (Ping timeout: 252 seconds)
499: [04:21:41] <Pyromanik> ticklenetwork: from wherever your distro keeps apache's logs?
500: [04:21:58] <Pyromanik> Colin[pi]: ahahahahahahahahahahahahahahaah oh wow.
501: [04:22:11] <Pyromanik> Colin[pi]: hey, at least it wasn't a toaster right?
502: [04:22:15] <Colin[pi]> it was underwater for a split second :(
503: [04:22:27] <Colin[pi]> I fished it out... it had a frowny face on it's screen :(
504: [04:22:30] <ss23> lol Colin[pi]
505: [04:22:31] <ss23> hahaha
506: [04:22:40] <Colin[pi]> i was like DONT JUDGE ME
507: [04:22:48] <ss23> XD
508: [04:22:52] <Colin[pi]> so I stuck it in a ziplock bag with dessicant
509: [04:23:01] <ss23> Colin[pi]: ... wait
510: [04:23:04] <Colin[pi]> it actually seems to be working LOL
511: [04:23:04] <ss23> Did you give it hugs too?
512: [04:23:11] <ss23> The froney face wasn't from the water
513: [04:23:14] <ss23> IT was from you not loving it.
514: [04:23:18] <Colin[pi]> ;(
515: [04:23:43] <Colin[pi]> ima let it dry for a while, I think it will recover though
516: [04:23:47] <Colin[pi]> lesson learned? maybe
517: [04:23:54] <ticklenetwork> i have found this... Fatal error: Call to undefined method EcommerceCountry::get_country_dropdown() in /home/tickle/public_html/ecommerce/code/tasks/EcommerceCountryAndRegionTasks.php on line 20
518: [04:25:12] <Peavers> this guy has the same issue! http://www.silverstripe.org/all-other-modules/show/14467 if only it was still 2010 and any other informatioin about SS on the internet was upto date.
519: [04:26:01] <Pyromanik> hmm
520: [04:26:04] <Peavers> oi ss23
521: [04:26:11] <Peavers> This is all your fault. http://open.silverstripe.org/ticket/4247#comment:1
522: [04:26:14] <Pyromanik> so like DataObject::write
523: [04:26:31] <Pyromanik> would it be better to throw exceptions on error and return $this on success?
524: [04:26:52] <Pyromanik> so then one could chain like a boss
525: [04:27:13] <Pyromanik> probably not right.
526: [04:27:20] <Pyromanik> chaining can get pretty unmaintainable.
527: [04:29:21] <ss23> Peavers: I knew I had seen it before!
528: [04:29:33] <Peavers> yeah, you are to blame for all my troubles.
529: [04:29:36] <ss23> XD
530: [04:29:46] <ss23> Peavers: Wrote a [atcj1
531: [04:29:53] <ss23> patch*
532: [04:30:32] <Peavers> So you have a resolution for me, or do I need to file a support ticket? ;)
533: [04:31:07] <Pyromanik> omfg I hate spaces != tabs
534: [04:31:18] <ss23> Peavers: "We realise this is a bug, however, this is an issue with the opensource newsletter module. We've got an open ticket for it, so it will be fixed in due time, however, if this is a big issue for you, you can pay for it, you bitch!"
535: [04:31:34] <ss23> Peavers: Pay me for 4 hours of work and I'll fix it for you ;)
536: [04:31:43] <Peavers> at what $192 an hour/
537: [04:31:44] <Peavers> ?
538: [04:31:45] <Peavers> pif
539: [04:31:56] <ss23> Peavers: If you create a pull request for it (hint: https://github.com/silverstripe-labs/silverstripe-newsletter/pull/28 same as this I suspect), I can accept it (or get someone else to)
540: [04:31:59] <Peavers> could pay some dude on o-desk $10 to fix it ;)
541: [04:32:04] <ss23> XD
542: [04:32:04] <ticklenetwork> ive run http://ticklenetwork.co.nz/dev/build again and its come up with Fatal error: Call to undefined method EcommerceCountry::get_country_dropdown() in /home/tickle/public_html/ecommerce/code/tasks/EcommerceCountryAndRegionTasks.php on line 20 could this be the issue thats causing blank pages
543: [04:32:07] <ss23> Pull request DENIED
544: [04:32:23] <ss23> ticklenetwork: Sounds like the ecommerce module is broken or something? Not sure
545: [04:34:34] <ticklenetwork> oh joy lol. might try install the next version down. might work. or though dont know how well it will work given im using ss 3.0
546: [04:35:00] <Colin[pi]> which branch you using tickle?
547: [04:35:09] <tractorcow> How well maintained is ecommerce these days?
548: [04:35:19] <Colin[pi]> depends on the branch I think :D
549: [04:35:24] <Pyromanik> o-desk
550: [04:35:25] <Pyromanik> ?
551: [04:35:42] <Pyromanik> ticklenetwork: yes.
552: [04:36:03] <Pyromanik> tractorcow: the fellas still work on it
553: [04:36:09] <ticklenetwork> branch? lol Ive used the code here.. https://github.com/sunnysideup/silverstripe-ecommerce/blob/master/code/tasks/EcommerceCountryAndRegionTasks.php but failed to work
554: [04:36:57] <Colin[pi]> well sunnysideup and burnbright are both branches of the original ecommerce module, aren't they?
555: [04:37:21] <ticklenetwork> Thats what i thought
556: [04:39:33] <Peavers> well got the links to give www.example.com/#a now rather than the tracking rubbish
557: [04:39:37] <Peavers> but can't get the domain outa the link
558: [04:41:21] <tractorcow> Peavers: Need to try changing SSViewer.rewrite_hash_links?
559: [04:41:43] <tractorcow> not that I'm paying attention to the conversation
560: [04:41:58] <tractorcow> I just spilled coke all over myself
561: [04:42:01] <tractorcow> coke in my hair
562: [04:42:02] <tractorcow> :<
563: [04:42:09] <Peavers> I'm trying to cure the cancer that is newsletters ;)
564: [04:42:25] <ss23> lol
565: [04:42:44] <tractorcow> Don't make fun of me ss23, coke makes you all sticky
566: [04:43:42] * ticklenetwork quit (Ping timeout: 250 seconds)
567: [04:43:42] <tractorcow> My PolymorphicForeignKey class is kind of working... by the way :)
568: [04:43:57] <ss23> wait help
569: [04:43:59] <ss23> tractorcow just copied me
570: [04:44:03] <ss23> I SPILLED COKE IN MY HAIR
571: [04:44:04] <ss23> NOT YOU tractorcow
572: [04:44:05] <Colin[pi]> LOL
573: [04:44:05] <ss23> ;_;
574: [04:44:08] <tractorcow> what?
575: [04:44:20] <ss23> I'm so confused
576: [04:44:23] <Colin[pi]> I was like "deja vu"
577: [04:44:33] <ss23> oh yes
578: [04:44:37] <ss23> I see, you were quoting me
579: [04:44:43] <ss23> tractorcow: IT DOES, it could be worse
580: [04:44:45] <tractorcow> I was scared we'd get some serious work done on the channel, that's all
581: [04:44:53] <ss23> haha
582: [04:44:58] <tractorcow> or even solve some problems users are struggling with
583: [04:45:15] <Peavers> lol tractorcow
584: [04:45:26] <Colin[pi]> hahaha that'd be the day
585: [04:47:34] <ss23> lol @ these file names on this website
586: [04:47:35] <ss23> "boy in van 15"
587: [04:47:36] <ss23> "boy sniffing 720"
588: [04:47:38] <ss23> "boys distribting 04"
589: [04:48:46] <tractorcow> I ran a facebook competition once. Had an image submisison "don't drop the soap"
590: [04:49:02] <tractorcow> After that image we started moderating them
591: [05:01:23] * mobiusnz quit (Quit: Leaving.)
592: [05:09:02] * coldblooded01 quit (Ping timeout: 246 seconds)
593: [05:09:50] * coldblooded01 has joined #silverstripe
594: [05:12:01] * abitran quit (Ping timeout: 256 seconds)
595: [05:12:41] * nickmolhoek quit (Remote host closed the connection)
596: [05:16:38] * Pyromanik quit (Quit: leaving)
597: [05:25:20] * Shrike_Finland quit (Quit: Leaving.)
598: [05:26:32] * Peavers quit (Ping timeout: 246 seconds)
599: [05:35:39] * metanat quit (Quit: Leaving.)
600: [05:35:45] * metanat1 has joined #silverstripe
601: [05:35:45] * metanat1 quit (Client Quit)
602: [05:36:48] * Shrike_Finland has joined #silverstripe
603: [05:40:39] * Peavers has joined #silverstripe
604: [05:45:24] * guzzlefry_dev quit (Quit: Ex-Chat)
605: [05:51:50] * willr quit (Quit: willr)
606: [06:13:14] * abitran has joined #silverstripe
607: [06:36:44] * Zauberfisch quit (Quit: Leaving)
608: [06:38:37] * Colin[pi] quit (Ping timeout: 246 seconds)
609: [06:41:16] <supernovah> My local copy of SS emails a "forgot password" link succesfully through Mercury, but my website doesn't...
610: [06:41:27] <supernovah> they're using identical files zz
611: [06:48:13] <ss23> supernovah: Server configuration I guess?
612: [06:54:36] * mobiusnz has joined #silverstripe
613: [06:57:03] * DigNZ has joined #silverstripe
614: [07:02:32] * lerni has joined #silverstripe
615: [07:04:03] * zfmf1 has joined #silverstripe
616: [07:05:45] <supernovah> But every other email it can send works
617: [07:05:47] <supernovah> ...
618: [07:06:00] <ss23> So guys, how do I check silverstripe version, again?
619: [07:06:09] <ss23> Preferably the commit hash of it, since I don't think this is a proper version
620: [07:06:23] <ss23> Could not fetch https://api.github.com/repos/silverstripe/sapphire/zipball/3.0.3, enter your GitHub credentials to access private repos
621: [07:06:27] <simon_w|air> ss23, using composer?
622: [07:06:29] <ss23> Is this to do with the name change from sapphire to framework?
623: [07:06:34] <simon_w|air> yes
624: [07:06:43] <ss23> simon_w|air: This is a deployed site, which was done via rsync
625: [07:06:46] <ss23> so not git / composer files
626: [07:06:52] <simon_w|air> Have fun :p
627: [07:06:56] <ss23> And as you can see, the composer.json doesn't even work naymore
628: [07:06:56] <ss23> :<
629: [07:07:01] <ss23> meh
630: [07:07:07] <simon_w|air> Well, is there a composer.lock?
631: [07:07:12] <ss23> wtf
632: [07:07:16] <ss23> the composer.json doesn't even mention sapphire
633: [07:07:18] <ss23> just framework
634: [07:07:32] <ss23> Yeah, simon_w|air, but given that I just tried to checkout and it didn't work, I'm not sure I believe it...
635: [07:07:50] <simon_w|air> composer.lock has the latest versions used in an update
636: [07:08:10] <ss23> I think I'll have to composer update, and update the lock files, and see if the site breaks
637: [07:08:17] <ss23> the lock says it's 3.0.3
638: [07:08:22] <ss23> https://github.com/silverstripe/sapphire/archive/3.0.3.zip
639: [07:08:24] * liam_ has joined #silverstripe
640: [07:08:30] <ss23> but I thought this was a beta site on production...
641: [07:08:34] <ss23> I'm like 99% sure it is
642: [07:08:43] <ss23> The live site has that weird file button, simon_w|air, if you remember it from the beta
643: [07:08:48] * liam_ is now known as Guest83909
644: [07:08:49] <ss23> "Organize files" "upload a new file" on the menu
645: [07:10:49] * Zauberfisch^idle has joined #silverstripe
646: [07:10:54] * Guest83909 has left #silverstripe
647: [07:11:41] <ss23> simon_w|air: silverstripe/framework 3.0.* is valid?
648: [07:11:44] <ss23> Or just 3.0 works?
649: [07:13:04] * Zauberfisch^idle quit (Client Quit)
650: [07:13:22] * Zauberfisch has joined #silverstripe
651: [07:17:03] <simon_w|air> If you want dev?
652: [07:17:06] <simon_w|air> 3.0.x-dev
653: [07:18:56] <ss23> Not dev
654: [07:18:58] <ss23> latest stable
655: [07:20:05] * chillu has joined #silverstripe
656: [07:20:14] <ss23> Heya, chillu
657: [07:20:43] <chillu> Good morning!
658: [07:21:30] <ss23> chillu: I have a question about the silverstripe-labs modules. Is the idae to run two seperate branches, one for 3.0 and one for 3.1 (and maybe one for 2.X) and tag them or what?
659: [07:23:44] <chillu> As much as core compatibility requires that, yes. We don't have a 1:1 mapping between core release and module releases, its entirely feasible for a module release to be compatible with more than one core release. But given the high impact changes in 3.1 specifically (private statics), you'll need a new branch on most modules
660: [07:24:13] * mattybalaam has joined #silverstripe
661: [07:24:41] <chillu> Changes should be applied to the earliest applicable branch, so mostly the one compatible with 3.x (or if you go the extra mile, the 2.x one)
662: [07:24:54] <chillu> I mean "the one compatbile with 3.0"
663: [07:25:39] <ss23> And then cherry-picked into new bracnh, or merged in, or what?
664: [07:30:10] <ss23> Was $databaseConfig new in 3.0 or something?
665: [07:30:16] <supernovah> If you're in a non-returning function, how can I get an HTTP var_dump out of it
666: [07:30:17] <ss23> sspak seems to be failing on this site, $databaseConfig being false
667: [07:30:19] <supernovah> it's part of SS core
668: [07:30:57] * lerni quit (Remote host closed the connection)
669: [07:31:04] <ss23> supernovah: ob_start(); var_dump($foo); file_write_contents('/tmp/foo', ob_get_contents()); ob_clear();
670: [07:31:08] <ss23> something like that? Or did I misinterpret?
671: [07:31:34] <ss23> Or did you mean you want to call a core silverstripe function... and get a variable that it uses internally?
672: [07:32:49] <simon_w|air> Woo, finally making some progress
673: [07:32:50] <simon_w|air> http://new.logs.simon.geek.nz
674: [07:34:37] <simon_w|air> Now to make the actual logs load :)
675: [07:34:50] <supernovah> Oh right nice1 ss23
676: [07:34:58] <supernovah> I could have thought of that myself, but I'm about 7 beers in
677: [07:35:53] <simon_w|air> So, now would be a good time for feature requests for the logs ;)
678: [07:36:10] <ss23> simon_w|air: My request is an AI that is you that helps me
679: [07:36:17] <ss23> simon_w|air: 19:29:21 <@ss23> Was $databaseConfig new in 3.0 or something?
680: [07:36:22] <simon_w|air> No
681: [07:36:26] <ss23> simon_w|air: sspak fails cause $databaseConfig is null
682: [07:36:36] <simon_w|air> Does it try looking for _ss_environment stuffs?
683: [07:36:48] * lerni has joined #silverstripe
684: [07:37:05] <ss23> simon_w|air: requires framework/core/Core.php (or sapphire) then expects it to be set after taht
685: [07:37:10] <ss23> Which I believe is a valid assumption?
686: [07:37:34] <simon_w|air> Well, if the site's set up properly
687: [07:37:43] <ss23> The site *loads* at least
688: [07:38:30] <simon_w|air> Have a look at mysite/_config.php to make sure it's not doing weird things?
689: [07:38:46] <ss23> simon_w|air: It never sets $databaseConfig that I can see
690: [07:39:01] <simon_w|air> does it call ConfigureFromEnv.php?
691: [07:39:02] <ss23> $database yes, no $databaseConfig
692: [07:39:04] <ss23> yes
693: [07:39:08] <ss23> But no _ss_enviorment I cna see
694: [07:39:27] <ss23> oh there is one *way* up
695: [07:39:33] <ss23> but yes, no $databaseConfig ever defined
696: [07:39:35] <simon_w|air> How far up?
697: [07:39:48] <simon_w|air> Cause 2.4/3.0 doesn't go that far
698: [07:39:52] <ss23> /sites/ <-
699: [07:40:02] <ss23> it's in /sites/foo/www/
700: [07:40:12] <ss23> But like, the site works
701: [07:40:51] <simon_w|air> What dir are you in when running sspak?
702: [07:41:00] <ss23> Ummm
703: [07:41:16] <ss23> I don't really understand the question. I feed it the path to /sites/foo/www, it includes /sites/foo/www/framework/Core.php, then checks $databaseConfig
704: [07:41:29] <simon_w|air> And where are you?
705: [07:41:41] <ss23> I don't understand the question
706: [07:41:44] <ss23> Where is the sspak script ran from?
707: [07:41:44] <simon_w|air> pwd
708: [07:41:45] <ss23> /var/tmp
709: [07:42:03] <simon_w|air> Try moving to /sites/foo/www
710: [07:42:04] <ss23> At the moemnt I'm in /sites, cause I was looking for the _ss file
711: [07:42:25] * travis-ci has joined #silverstripe
712: [07:42:25] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#438 (3.1 - a2c2be2 : Ingo Schommer): The build passed.
713: [07:42:25] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/0bd257c8fcee...a2c2be2ad5e9
714: [07:42:25] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/8648728
715: [07:42:25] * travis-ci has left #silverstripe
716: [07:42:58] <ss23> simon_w|air: Doesn't make a difference (were oyu expecting it to?)
717: [07:43:19] <ss23> simon_w|air: sspak does a chdir(/sites/foo/www)
718: [07:43:26] <simon_w|air> Are you on 2.4 or 3.0?
719: [07:43:33] <ss23> ...
720: [07:43:34] <ss23> Hmm
721: [07:43:40] <ss23> I am not sure, I presume a 3.0 beta
722: [07:43:48] <ss23> This is why I asked about $databaseConfig
723: [07:46:53] * ss23 climbs on simon_w|air
724: [07:46:55] <ss23> GOT ANY IDEAS?
725: [07:48:33] <simon_w|air> Find out if the environment file's being included
726: [07:49:19] * travis-ci has joined #silverstripe
727: [07:49:19] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#473 (3.1 - 429bbc5 : Ingo Schommer): The build passed.
728: [07:49:19] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/21844a8a0791...429bbc52237c
729: [07:49:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8648918
730: [07:49:19] * travis-ci has left #silverstripe
731: [07:49:26] <ss23> How would you propose? I'm 99% sure it is, since the site is working, but I can't think of an awesome way to find out (short of doing a /dev/build on a live server, since that gives you the DB name, and consider ing it's 8pm, I don't want to risk ruining the site)
732: [07:50:10] <simon_w|air> if(defined('SS_ENVIRONMENT_FILE')) var_dump(SS_ENVIRONMENT_FILE);
733: [07:50:25] <simon_w|air> else var_dump('Oh noes, I broke it');
734: [07:50:39] <simon_w|air> And you want to do it from the context of sspak
735: [07:51:36] <ss23> after it includes core?
736: [07:52:06] <ss23> simon_w|air: Ot
737: [07:52:20] <ss23> simon_w|air: SS_ENVIRONMENT_FILE is blank
738: [07:52:44] <simon_w|air> As in, undefined?
739: [07:52:52] <ss23> Yes
740: [07:53:14] <ss23> Notice: Use of undefined constant SS_ENVIRONMENT_FILE - assumed 'SS_ENVIRONMENT_FILE' in /var/tmp/sspak-sniffer-519262.php on line 33
741: [07:53:20] <ss23> Notice: Undefined variable: databaseConfig in /var/tmp/sspak-sniffer-519262.php on line 37
742: [07:53:53] <chillu> ss23: Sorry, got distracted. Yes, merging "upwards", e.g. blog 0.5 gets merged into 0.6, 0.6 gets merged into master
743: [07:54:46] <ss23> chillu: Sweet. And for example, I could just make an arbitary decision to say "Okay since .6 is the latest and it supports 3.1, we're going to maintain .5 as the 3.0 branch"?
744: [07:55:23] <chillu> that decision has already been made by declaring the version constraints in composer.json
745: [07:56:29] <simon_w|air> ss23, now you get to figure out why it can't find a _ss_environment.php in or under ../../../
746: [07:56:45] <ss23> simon_w|air: This is just from the sspak script. Meh, I'll just export it myself and let sminnee debug
747: [07:57:31] <ss23> chillu: But that decision is arbitary? So for the newsletters module, .6 is currently for 3.0, 3.1. But if a module couldn't work with both 3.0 and 3.1 (I have no idea if this can, just got it open already), you would just branch a new .7 nad make it 3.1 support?
748: [07:57:53] <mattybalaam> Does anyone know how to enable progressive JPEGS on resized images?
749: [07:58:49] <chillu> Any module extending DataObject or Page won't be able to work in both 3.0 and 3.1 due to the private statics change
750: [07:59:08] <chillu> Which is a royal pain in the ass, but necessary
751: [07:59:17] <ss23> chillu: So in this case, yes, you would make a new .7 branch right? (That's what I'm trying to ask)
752: [07:59:56] <chillu> Just had a look at newsletter, yes 3.1 would need a new 0.7 branch
753: [08:00:05] <ss23> mmk
754: [08:00:17] <ss23> Might mess with it this Friday
755: [08:00:25] <chillu> Make sure to adjust the travis.yml accordingly (see https://github.com/silverstripe-labs/silverstripe-newsletter/commit/918ff6e41c9a493fc2da584d4faa530fc5ec224c for an example)
756: [08:00:27] <ss23> (good messing, it needs lots of loving.)
757: [08:00:41] <ss23> Travis is completely broken for newsletter atm too :,
758: [08:01:18] <ss23> chillu: Thanking you :)
759: [08:02:14] <ss23> I had 6 tickets left... then I got 10 more assigned to me
760: [08:02:17] * ss23 glares at simon_w|air
761: [08:02:23] <ss23> You don't have a backlog of like 500 ticket sto go through :<
762: [08:02:35] <simon_w|air> Nah, only 30 odd :p
763: [08:03:44] * kinglozzer has joined #silverstripe
764: [08:05:16] * kerosene has joined #silverstripe
765: [08:05:29] <simon_w|air> Time to turn this beautiful var_dump into things laymen can understand
766: [08:05:48] <chillu> newsletter is … an interesting module.
767: [08:07:15] <ss23> lol
768: [08:07:21] <ss23> that's an "interesting" way of phrasing it, chillu :P
769: [08:10:10] <ss23> simon_w|air: when do the busses stop btw?
770: [08:12:59] <simon_w|air> ss23, my one stops 2330
771: [08:13:08] <ss23> pretty late, sweet
772: [08:19:25] * metanat has joined #silverstripe
773: [08:22:19] <simon_w|air> http://new.logs.simon.geek.nz/index.php?date=2013-07-01
774: [08:22:39] <simon_w|air> That's perfectly understandable, right?
775: [08:22:50] <ss23> lol
776: [08:22:52] <ss23> tbh, it's readable to me
777: [08:23:09] <ss23> hmm
778: [08:24:34] * lobarvaz has joined #silverstripe
779: [08:26:42] * hubertusanton has joined #silverstripe
780: [08:26:44] <simon_w|air> The main improvement over the current logs is the anchors now span the entire line, so I can do that highlight the current line thingy
781: [08:27:27] * willmorgan has joined #silverstripe
782: [08:42:07] <ss23> simon_w|air: Should I walk home tonight? Or will I die?
783: [08:42:12] <ss23> simon_w|air: It seems okay outside, right?
784: [08:42:25] <simon_w|air> ss23, eh, just a little windy
785: [08:42:27] <ss23> simon_w|air: I don't have much experience in... walking... or going outside
786: [08:42:40] <ss23> simon_w|air: But I'll be rine? I have that jacket
787: [08:42:41] <ss23> fine*
788: [08:42:44] <simon_w|air> Though, are the street lights all working on your way?
789: [08:42:47] <ss23> Or is it like windy as in "You're better not to walk"
790: [08:42:48] <ss23> Hmmm
791: [08:42:56] <ss23> TO MAPS.GOOGLE
792: [08:43:05] <simon_w|air> That won't help :p
793: [08:43:13] <ss23> simon_w|air: I'll link the route to you
794: [08:43:14] <ss23> :P
795: [08:43:21] * metanat quit (Quit: Leaving.)
796: [08:43:22] <simon_w|air> Yeah, still won't help :p
797: [08:43:45] <simon_w|air> Non-major streets aren't likely to have working street lights
798: [08:43:50] <simon_w|air> after that massive storm
799: [08:43:59] <ss23> simon_w|air: These are major streets!
800: [08:44:09] <ss23> My street didn't have working lights, they repaired htem 2 nights ago or so though
801: [08:44:12] <ss23> here
802: [08:44:20] <ss23> simon_w|air: http://goo.gl/maps/eU2Dv
803: [08:44:22] <ss23> That's major, right?
804: [08:44:43] <ss23> oh, looks around the same distance as my walk home in Sydney was :O
805: [08:44:46] <ss23> maybe a tiny bit shorter
806: [08:45:05] <simon_w|air> yeah, the 1's route should be fine
807: [08:45:07] <ss23> simon_w|air: oh but I do have to ask... how to get around basin? walk around outside of it? like.. outer outside?
808: [08:45:19] <ss23> it has lots of streets
809: [08:45:25] <ss23> I am like "how 2 walk through here idk plz halp"
810: [08:45:29] * LoveDuckie has joined #silverstripe
811: [08:45:30] <simon_w|air> ss23, walk through it
812: [08:45:36] <ss23> through the middle outside?
813: [08:46:00] <simon_w|air> Well, yeah. You can't go onto the actual pitch
814: [08:46:34] <ss23> oh okay so like, if I stay on the right side of the road as I come down, then go straight into the inside of the basin, then walk around the inner outside, then get off at the other side?
815: [08:46:40] <simon_w|air> There's traffic lights at the end of Cambridge/Kent. Cross into the middle of them there, then onto the Basin, go through and use the lights on the other side
816: [08:46:49] <simon_w|air> yup
817: [08:47:21] <ss23> oh
818: [08:47:24] <ss23> should I walk around the left or right?
819: [08:47:32] <ss23> right way is shorter, is it?
820: [08:47:55] <simon_w|air> The way that takes you in front of the stands
821: [08:48:46] <ss23> this is confusing. anyway, I will walk and hopefully not die
822: [08:48:59] <ss23> If I don't come back within 2 hours... ten simon_w|air shall be forever responsible for my death while walking home :O
823: [08:49:00] <simon_w|air> Just follow the trolley bus wires
824: [08:49:06] <ss23> lol
825: [08:49:11] <ss23> Yeah, I don't think I'll get lost luckily :D
826: [08:49:29] <ss23> Annoying there's not a mcdonalds on the way that's close to him
827: [08:49:34] <ss23> anyway, bbl
828: [08:49:35] <ss23> Oh
829: [08:49:40] <ss23> Wish me luck turning on the alarms here too
830: [08:49:40] <ss23> :O
831: [08:49:40] <simon_w|air> There's one at the basin
832: [08:49:47] <ss23> simon_w|air: I know, but that's far away from my house
833: [08:49:53] <ss23> so I would have to either stop and eat, or let it go yucky
834: [08:50:06] <ss23> There's a way closer one right by my house (e.g. 2 mins away) but it's like.. the other direction
835: [08:50:09] <ss23> :P
836: [08:50:31] <ss23> kk bbl
837: [08:50:33] * ss23 skips off
838: [08:50:35] <simon_w|air> And you probably shouldn't sneak through Wakefield Hospital :p
839: [09:05:08] * gumble has joined #silverstripe
840: [09:14:44] * chillu23 has joined #silverstripe
841: [09:15:03] <chillu23> What service are you guys using for dyndns these days?
842: [09:16:29] * chillu quit (Ping timeout: 246 seconds)
843: [09:16:30] * chillu23 is now known as chillu
844: [09:17:07] <simon_w|air> Static IPs :p
845: [09:17:50] <simon_w|air> Woo, http://new.logs.simon.geek.nz now pulls dates it doesn't know about from ss-log's flat files (so that I don't have to parse them)
846: [09:18:02] * ss-log quit (Remote host closed the connection)
847: [09:18:33] * micmania1 has joined #silverstripe
848: [09:18:37] <simon_w|air> Oops, shouldn't switch them over until I've got the domains updated
849: [09:18:57] * ss-log has joined #silverstripe
850: [09:18:58] * ss-log quit (Changing host)
851: [09:18:58] * ss-log has joined #silverstripe
852: [09:19:12] <simon_w|air> Oh right, GoTest also needs to give a notice
853: [09:19:13] <simon_w|air> Hmmm
854: [09:19:20] * supernovah quit (Ping timeout: 264 seconds)
855: [09:22:26] * LocalGoTest has joined #silverstripe
856: [09:22:55] * LocalGoTest quit (Remote host closed the connection)
857: [09:23:07] * LocalGoTest has joined #silverstripe
858: [09:23:14] * simon_w|air has left #silverstripe
859: [09:23:14] * simon_w|air has joined #silverstripe
860: [09:23:35] * zippy__ has joined #silverstripe
861: [09:23:38] <zippy__> Hello :)
862: [09:27:45] * LocalGoTest quit (Remote host closed the connection)
863: [09:28:22] * LocalGoTest has joined #silverstripe
864: [09:28:24] * LocalGoTest quit (Remote host closed the connection)
865: [09:32:19] * LocalGoTest has joined #silverstripe
866: [09:32:24] * steveheyes has joined #silverstripe
867: [09:32:25] * simon_w|air has left #silverstripe
868: [09:32:26] * simon_w|air has joined #silverstripe
869: [09:32:30] * LocalGoTest quit (Remote host closed the connection)
870: [09:32:42] <steveheyes> hi there, can anyone help me with a tiny_mce_gzip.php issue?
871: [09:33:06] <steveheyes> i keep getting a 404 when it tries to load it from the admin page
872: [09:33:38] <simon_w|air> Okay, one last test (hopefully) before I switch GoTest over to ss-log. This one's going to send a notice to everyone on join. Just a heads up.
873: [09:33:51] * LocalGoTest has joined #silverstripe
874: [09:33:55] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
875: [09:33:58] <simon_w|air> Woo!
876: [09:34:01] * LocalGoTest quit (Remote host closed the connection)
877: [09:35:51] <simon_w|air> steveheyes, what's the URL it's trying to load?
878: [09:36:03] * ss-log quit (Remote host closed the connection)
879: [09:36:08] <steveheyes> http://datalink.dev/framework/thirdparty/tinymce/tiny_mce_gzip.php&js=1&plugins=contextmenu,table,emotions,paste,spellchecker,media,fullscreen,inlinepopups&themes=advanced&languages=en&diskcache=true&src=false
880: [09:36:25] * tractorcow quit (Ping timeout: 246 seconds)
881: [09:36:29] * ss-log has joined #silverstripe
882: [09:36:37] <simon_w|air> Oh, this again
883: [09:36:41] * willmorgan quit (Quit: Ciao mateys.)
884: [09:36:44] <simon_w|air> steveheyes, what version of SS are you running?
885: [09:36:47] * ss-log quit (Remote host closed the connection)
886: [09:37:09] <ss23> Yay, made it home!
887: [09:37:14] <steveheyes> "3.0.*@stable"
888: [09:37:19] * DigNZ quit (Quit: DigNZ)
889: [09:37:33] * MrJeremy quit (Quit: MrJeremy)
890: [09:37:37] <ss23> simon_w|air: Apart from being friggen hot with that ski jacket on, was fine
891: [09:37:45] <simon_w|air> steveheyes, can you be more specific?
892: [09:37:56] <simon_w|air> ss23, told you it was just windy
893: [09:38:08] <steveheyes> oh sorry, thats the composer line for framework and cms
894: [09:38:17] <ss23> When I hear "just windy" from someone who lives in Wellington, I think differently
895: [09:39:08] * wmk has joined #silverstripe
896: [09:39:26] <steveheyes> how else would I find out apart from the composer file?
897: [09:39:41] <simon_w|air> steveheyes, composer.lock
898: [09:40:35] <steveheyes> simon_w|air, thanks its 3.0.5
899: [09:41:15] <steveheyes> for both CMS and Framework
900: [09:41:25] <simon_w|air> Hmm, fairly sure this was fixed by then...
901: [09:41:36] <simon_w|air> steveheyes, can you try changing to 3.0.x-dev?
902: [09:42:02] <steveheyes> i'll try :)
903: [09:42:42] <steveheyes> just cloning now.
904: [09:42:49] <steveheyes> I've a real nightmare with this!
905: [09:42:51] <gumble> how do I add buttons to the left main menu in the backend? http://doc.silverstripe.org/framework/en/2.4/reference/leftandmain this looks like the way to go, but it is outdated?! and no version for 3.0 or 3.1
906: [09:43:16] <simon_w|air> gumble, look at CMSMenu
907: [09:44:11] <gumble> thanks
908: [09:46:03] * ss-log has joined #silverstripe
909: [09:46:07] <steveheyes> why does it work now and not before?
910: [09:46:21] <simon_w|air> steveheyes, it was fixed in the 3.0 branch after 3.0.5 was released
911: [09:46:45] <ss23> Does this mean I should avoid 3.0.5?
912: [09:46:47] <steveheyes> right, ok
913: [09:46:58] <steveheyes> it's so odd because on my colleges set up it works fine
914: [09:46:59] <steveheyes> !
915: [09:47:00] <ss23> Cause last I checked, there were other *cough* issues *cough* with 3.0.5
916: [09:48:04] <simon_w|air> Woo, http://logs.simon.geek.nz is now running on Go instead of Java :)
917: [09:48:10] <ss23> lol'
918: [09:48:26] <simon_w|air> Plus, :target works! http://logs.simon.geek.nz/index.php?date=2013-07-02#log_20130702214645
919: [09:48:35] <simon_w|air> (links don't, but they're coming)
920: [09:49:32] <ss23> Links don't work?
921: [09:49:35] <ss23> *sigh* whats the point in living
922: [09:51:50] <simon_w|air> The point is I can now uninstall java :)
923: [09:52:04] <ss23> Aw, but Java is so nice!
924: [09:52:20] <simon_w|air> /kick ss23 Get out
925: [09:53:59] <simon_w|air> Hmm, can't SSH into my VPS. This not so good.
926: [09:54:53] <simon_w|air> Oh no, it just took way too long
927: [09:55:50] * mattybalaam quit (Quit: mattybalaam)
928: [09:55:54] <simon_w|air> After this operation, 124 MB disk space will be freed.
929: [09:56:01] <simon_w|air> Bye bye Java!
930: [09:57:03] * mattybalaam has joined #silverstripe
931: [09:59:03] <ss23> lol
932: [09:59:19] <ss23> simon_w|air: what are the runtime dependancies of go?
933: [09:59:22] <ss23> like glibgo?
934: [09:59:39] <ss23> Hint: I am a nooby
935: [10:00:21] <simon_w|air> Doesn't look like it's got any go-specific libraries open
936: [10:00:40] <ss23> So... libc, or statically linked or something? :O
937: [10:00:44] <simon_w|air> libc
938: [10:00:49] <ss23> mmk
939: [10:01:15] <simon_w|air> /var/www/go/bin/logbot: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
940: [10:01:22] <simon_w|air> and http://pastebin.com/ZnRxdXM9 is the lsof
941: [10:02:30] <ss23> oh cool
942: [10:02:43] <ss23> wonder if it works fine with uclibc :O
943: [10:02:50] <ss23> Seen a big push with clang/uclibc/arm lately
944: [10:03:55] <simon_w|air> I think I built Go using clang. Definitely using it locally
945: [10:04:24] <ss23> :D
946: [10:04:28] <gumble> ok I am through this: http://doc.silverstripe.org/framework/en/howto/customize-cms-menu but adding it as extension (Object::add_extension('LeftAndMain', 'MyModelAdmin')) to leftandmain in _config.php doesn't work because ModelAdmin is not a subclass of extension. I dunno if I am blind but I am not able to find a nice to-the-point documentation to add a entry to the main menu.
947: [10:04:32] <ss23> simon_w|air: *sure* you don't wanna close some clang bugs with me?
948: [10:08:01] <simon_w|air> gumble, if it's a ModelAdmin then it should already be added to the menu, assuming you've set the $url_segment and $menu_title statics
949: [10:08:22] * abitran quit (Ping timeout: 248 seconds)
950: [10:08:32] <simon_w|air> gumble, and it should read subclass of LeftAndMain, rather than extension
951: [10:08:43] <simon_w|air> ss23, yes
952: [10:10:40] <gumble> simon_w|air, thanks it works without adding the extension, it just was easier than I thought :)
953: [10:10:48] <gumble> but I actually got: Object::add_extension() - Extension "LogoAdmin" is not a subclass of Extension
954: [10:12:05] <simon_w|air> Yes, because it's not an Extension
955: [10:14:22] * steveheyes has left #silverstripe
956: [10:15:37] * gumble quit (Read error: Operation timed out)
957: [10:16:30] <ss23> simon_w|air: YES YOU DO? :D
958: [10:16:44] <simon_w|air> ss23, no, yes I'm sure I don't want to close some clang bugs
959: [10:23:07] * mattybalaam quit (Quit: mattybalaam)
960: [10:25:40] * simon_w|air sleeps
961: [10:29:42] * zippy__ quit (Ping timeout: 248 seconds)
962: [10:31:05] <ss23> simon_w|air: nn, you non-clanger
963: [10:32:28] <wmk> hm, i get a strange behavior with _t() and required fields.
964: [10:32:38] <wmk> the notice FIELDISREQUIRED isn't translated
965: [10:33:11] <wmk> seems like the adapter is loaded with framework lang file only
966: [10:34:36] <wmk> argh, the value in framework/lang/de.yml isn't translated
967: [10:37:41] <wmk> chillu, anyone responsible for german translation files of framework?
968: [10:37:52] * gumble has joined #silverstripe
969: [10:38:53] * zZ|rojo|was^here is now known as Rojod|is^here
970: [10:48:29] * lerni quit (Remote host closed the connection)
971: [10:49:10] * lerni has joined #silverstripe
972: [10:59:06] * zippy__ has joined #silverstripe
973: [11:15:54] * swordsmanz has joined #silverstripe
974: [11:20:45] * lerni quit (Remote host closed the connection)
975: [11:34:39] * swordsmanz quit (Quit: swordsmanz)
976: [11:35:05] * swordsmanz has joined #silverstripe
977: [11:36:20] <chillu> wmk: http://doc.silverstripe.org/framework/en/trunk/misc/contributing/translation
978: [11:39:02] * swordsmanz quit (Read error: Connection reset by peer)
979: [11:39:28] * swordsmanz has joined #silverstripe
980: [11:40:24] <wmk> chillu, 10x. Anyone will review my translations?
981: [11:40:53] * lerni has joined #silverstripe
982: [11:41:07] <chillu> They get merged back into core every now and then, there's no explicit review phase. But you can ping the other translators listed for German on getlocalization.com
983: [11:43:21] <wmk> ok.
984: [11:44:00] * swordsmanz quit (Read error: Connection reset by peer)
985: [11:46:04] * swordsmanz has joined #silverstripe
986: [11:47:59] * osterlaus has joined #silverstripe
987: [12:08:32] * zippy__ quit (Quit: zippy__)
988: [12:23:12] * chillu quit (Read error: Connection reset by peer)
989: [12:23:23] * chillu23 has joined #silverstripe
990: [12:24:15] * UndefinedOffset has joined #silverstripe
991: [12:34:58] * Marvanni quit (Ping timeout: 248 seconds)
992: [12:36:24] * mattybalaam has joined #silverstripe
993: [12:49:22] * gumble quit (Ping timeout: 252 seconds)
994: [12:54:15] * Marvanni has joined #silverstripe
995: [13:05:23] <onre> what's up with 3.0.x not saving href for <a> tags? i've had multiple sites do this for me in past few weeks
996: [13:15:50] <wmk> onre, ?
997: [13:55:37] * Rojod|is^here is now known as rojod|was^here
998: [14:10:52] * Shrike_Finland quit (Quit: Leaving.)
999: [14:20:12] * abitran has joined #silverstripe
1000: [14:21:29] * lerni_ has joined #silverstripe
1001: [14:24:15] * lerni quit (Ping timeout: 256 seconds)
1002: [14:58:43] * yuuki has joined #silverstripe
1003: [14:58:54] <yuuki> Hi everyone
1004: [14:59:37] <yuuki> Error at line 1053 of C:\xampp\htdocs\silverstripe\framework\model\DataObject.php can you help me figure out this error?
1005: [15:07:11] * UncleCheese has joined #silverstripe
1006: [15:08:23] * AlphaCactus has joined #silverstripe
1007: [15:14:30] * jadedstudio has joined #silverstripe
1008: [15:14:45] <jadedstudio> Afternoon all
1009: [15:19:22] * cloph_away is now known as cloph
1010: [15:27:10] * UncleCheese quit (Quit: UncleCheese)
1011: [15:32:03] * UncleCheese has joined #silverstripe
1012: [15:32:53] * wmk quit (Quit: nice to meet you ;))
1013: [15:37:59] <kinglozzer> Afternoon
1014: [15:38:10] * UncleCheese quit (Quit: UncleCheese)
1015: [15:39:09] <kinglozzer> yuuki: Are you on 3.0? http://api.silverstripe.org/3.0/source-class-DataObject.html#1053 looks like a validation error
1016: [15:53:36] * wmk has joined #silverstripe
1017: [15:54:34] * hubertusanton quit (Remote host closed the connection)
1018: [15:57:24] * ocm has joined #silverstripe
1019: [15:57:26] <ocm> heya
1020: [15:57:31] * ocm is now known as oceanmountain
1021: [15:58:03] <oceanmountain> I have some time problems.. I set my localization with: i18n::set_locale('nl_NL'); and time using: setlocale(LC_TIME, i18n::get_locale() . '.utf8');
1022: [15:58:13] <oceanmountain> however, the time is 2 hours behind on server/local time
1023: [15:58:18] <oceanmountain> anyway to fix this?
1024: [15:59:48] <UndefinedOffset> oceanmountain you need to set the timezone in php likely http://php.net/manual/en/function.date-default-timezone-set.php can also be done in php.ini if you have access to it
1025: [15:59:57] <UndefinedOffset> http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
1026: [16:00:21] <oceanmountain> it is set right in the php.ini
1027: [16:02:39] <UndefinedOffset> strange
1028: [16:03:37] <oceanmountain> ah, I get it
1029: [16:03:41] <oceanmountain> wrong php.ini..
1030: [16:03:47] <oceanmountain> *facepalms*
1031: [16:04:30] <oceanmountain> thanks anyway undefinedoffset
1032: [16:08:47] * UncleCheese has joined #silverstripe
1033: [16:09:34] * Error404NotFound has joined #silverstripe
1034: [16:14:45] * wmk quit (Ping timeout: 256 seconds)
1035: [16:27:25] * kinglozzer quit ()
1036: [16:31:43] * UncleCheese quit (Quit: UncleCheese)
1037: [16:36:14] * catcher has joined #silverstripe
1038: [16:40:41] <micmania1> anybody know if UploadField works in the front end on 3.0?
1039: [16:43:51] * lobarvaz quit (Remote host closed the connection)
1040: [16:45:12] * micmania1 quit (Ping timeout: 250 seconds)
1041: [16:48:22] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
1042: [16:49:30] * osterlaus quit (Quit: Leaving.)
1043: [16:58:24] * gelignite has joined #silverstripe
1044: [17:03:22] * guzzlefry_dev has joined #silverstripe
1045: [17:39:48] * jadedstudio quit (Ping timeout: 250 seconds)
1046: [17:47:52] * mattybalaam quit (Quit: mattybalaam)
1047: [17:50:34] <yuuki> @kinglozzer thanks for that link any suggestion... i got this while doing the tutorial both web and the pdf... i dont have idea on how to fix it. thanks in advance if you could help me
1048: [17:51:02] <AlphaCactus> micmania1: I don't think it works in 3.0, but maybe in 3.1?
1049: [17:51:16] <AlphaCactus> although you can hack it to work.
1050: [17:51:21] <AlphaCactus> or maybe extend
1051: [17:55:10] * mattybalaam has joined #silverstripe
1052: [18:00:18] * wmk has joined #silverstripe
1053: [18:01:02] * mattybalaam quit (Quit: mattybalaam)
1054: [18:01:28] * yuuki quit (Ping timeout: 250 seconds)
1055: [18:02:28] * mattybalaam has joined #silverstripe
1056: [18:15:48] * zfmf1 has left #silverstripe
1057: [18:25:08] * cloph is now known as cloph_away
1058: [18:28:02] * guzzlefry_dev quit (Quit: Ex-Chat)
1059: [18:28:10] * wmk quit (Ping timeout: 252 seconds)
1060: [18:36:23] * wmk has joined #silverstripe
1061: [18:38:29] * zfmf1 has joined #silverstripe
1062: [18:48:07] * cloph_away is now known as cloph
1063: [18:52:13] * Shrike_Finland has joined #silverstripe
1064: [19:04:04] * bransdkjojkj has joined #silverstripe
1065: [19:04:26] * bransdkjojkj quit (Client Quit)
1066: [19:36:57] * origincube has joined #silverstripe
1067: [19:37:21] * rojod|was^here is now known as RojoD
1068: [19:37:52] * Werner_2_ has joined #silverstripe
1069: [19:37:54] <origincube> hi guys, i'm having an issue installing SS3.0.5 where i keep getting "[Warning] is_readable(): open_basedir restriction in effect" on a host where i do not have access to the php.ini
1070: [19:39:43] <origincube> spoke to FrozenFire about this issue late last week, and since then i have been attempting to install it in a separate hosting space, but am getting the same results.
1071: [19:40:07] <UndefinedOffset> origincube you may not be able to write to the server's temp directory. Have you tried creating a silverstripe-cache folder in the root of your silverstripe install?
1072: [19:40:17] <UndefinedOffset> also what file/line is that error comming from
1073: [19:40:29] <origincube> GET / Line 198 in /usr/www/users/dynamxxjme/framework/thirdparty/Zend/Loader.php
1074: [19:40:56] * wmk quit (Ping timeout: 264 seconds)
1075: [19:41:05] <origincube> its baffling given that i have another install running on the same hosting environment, for a different client and this issue never came up
1076: [19:41:28] <origincube> let me try creating the cache folder as well
1077: [19:42:15] * Motoservo_ quit (Quit: Motoservo_)
1078: [19:43:43] <UndefinedOffset> depends on the host, some hosts do not have open_basedir restrictions enabled. Or some are more restrictive with their permissions. But that particular warning coming from that file tells me that it could be something to do with the temp folder, so adding a silverstripe-cache in the root of the silverstripe install will eliminate that potential
1079: [19:45:50] <origincube> shall i run the installation again, or would it resolve the issue just by virtue of being there?
1080: [19:46:10] <UndefinedOffset> it should resolve without re-installing, just make sure you hit dev/build?flush=all
1081: [19:46:27] * lerni_ quit (Remote host closed the connection)
1082: [19:46:57] <origincube> the dev build page spits out the same error
1083: [19:47:28] <origincube> hasn't helped
1084: [19:47:42] <origincube> its like banging your head on your keyboard ;)
1085: [19:47:53] * Motoservo has joined #silverstripe
1086: [19:48:01] * lerni has joined #silverstripe
1087: [19:48:17] <UndefinedOffset> lol, is your silverstripe-cache writable by php?
1088: [19:49:40] * origincube_ has joined #silverstripe
1089: [19:50:05] * tractorcow has joined #silverstripe
1090: [19:50:28] <origincube_> sorry about that, wifi decided to disconnect me
1091: [19:50:30] <origincube_> such fun.
1092: [19:50:43] <origincube_> ok, so i set the file permissions to 777 so php should definitely be able to write to the folder
1093: [19:50:50] <origincube_> it also appears that there are now files within the cache folder
1094: [19:50:57] <origincube_> so it is writeable
1095: [19:51:13] <origincube_> dev/build?flush=all still results in the warning error
1096: [19:51:31] <origincube_> as do the main pages of the site
1097: [19:51:33] <UndefinedOffset> ok, ya thats what you should see. But its still giving the open_basedir error, interesting what version of 3.x?
1098: [19:51:40] <origincube_> 3.0.5
1099: [19:52:18] <UndefinedOffset> is it perchance showing the stack trace? if so can you pastie it?
1100: [19:52:47] <origincube_> paste it here ok?
1101: [19:52:57] * origincube quit (Ping timeout: 252 seconds)
1102: [19:53:03] <origincube_> or sspaste.com?
1103: [19:53:09] <simon_w> No, paste it to some pasting site and the give the link
1104: [19:53:52] <origincube_> http://www.sspaste.com/paste/show/51d32f47818e9
1105: [19:55:18] * UncleCheese has joined #silverstripe
1106: [19:56:27] * Werner_2_ is now known as wmk
1107: [19:58:24] * origincube_ is now known as origincube
1108: [20:00:38] <UndefinedOffset> origincube interesting it looks like its looking outside silverstripe for some of the zend framework, is the file i18nRailsYamlAdapter.php in the framework/i18n folder? and has content?
1109: [20:01:16] <origincube> it should be, but let me double check, i literally just uploaded the uncompressed tarball of 3.0.5 off the SS website
1110: [20:01:23] <origincube> as i've done many times before
1111: [20:01:47] <origincube> yeah the folder is there
1112: [20:01:51] <origincube> and it has files in it
1113: [20:02:07] <UndefinedOffset> what about that i18nRailsYamlAdapter.php file?
1114: [20:02:28] <origincube> its there too
1115: [20:02:31] <origincube> complete with content
1116: [20:03:35] <UndefinedOffset> its odd that silverstripe is finding it somewhere it shouldn't be looking, its like silverstripe isn't loading the zend framework from it's own files but trying to use the system files which doesn't make sense 0_o
1117: [20:03:42] <UndefinedOffset> never seen this one before :S
1118: [20:04:00] <origincube> yeah, neither have I :/
1119: [20:04:57] <simon_w> Oh, it's loading the right Zend framework. It's just that doesn't know how to look properly
1120: [20:05:16] <origincube> i checked the php include path
1121: [20:05:24] <origincube> and it does seem to include the current folder
1122: [20:05:27] <origincube> .:/usr/share/php544:/usr/share/pear544
1123: [20:07:14] <UndefinedOffset> what version of php are you running? I wonder if it's simply the case that 3.0.5 is having issues with 5.4.x, though it shouldn't
1124: [20:07:37] <origincube> 5.4.4-9
1125: [20:08:11] <origincube> but like you said its completely odd that it reads the /I18nRailsYamlAdapter.php in the main zend library, not the copy of the library packaged in fremework
1126: [20:08:50] <origincube> *framework
1127: [20:09:16] <simon_w> origincube, in you mysite/_config.php, can you stick var_dump(get_include_path()); ?
1128: [20:09:35] <origincube> yeah, let me do that quick
1129: [20:10:41] <origincube> thats weird, when i add that to the config, it gives me the include path
1130: [20:10:43] <origincube> string(167) ".:/usr/www/users/dynamxxjme/framework:/usr/www/users/dynamxxjme/framework/parsers:/usr/www/users/dynamxxjme/framework/thirdparty:.:/usr/share/php544:/usr/share/pear544"
1131: [20:10:54] <origincube> but it also seems to no longer be displaying the error?!
1132: [20:11:56] * mobiusnz quit (Quit: Leaving.)
1133: [20:12:33] <origincube> if i comment out that var_dump, the error reappears
1134: [20:13:42] <simon_w> Hmm, that path's right
1135: [20:14:11] <simon_w> try sticking require_once FRAMEWORK_PATH . '/i18n/i18nRailsYamlAdapter.php'; in
1136: [20:14:30] <origincube> into _config.php in mysite
1137: [20:14:35] <simon_w> yeah
1138: [20:16:01] <origincube> still throws the error
1139: [20:16:24] <origincube> and all the files on the server have read permissions
1140: [20:17:40] <origincube> it still seems to be looking at the wrong i18nRailsYamlAdapter
1141: [20:17:42] <origincube> :/
1142: [20:17:44] <simon_w> oh, Zend doesn't care if the class already exists. What a surprise
1143: [20:17:51] <origincube> lol
1144: [20:17:58] <UndefinedOffset> simon_w I wonder if its because it's looking for I18nRailsYamlAdapter.php instead of the lowercase i at the beginning?
1145: [20:18:02] <UndefinedOffset> linux and all :)
1146: [20:18:10] <simon_w> UndefinedOffset, no. It's because Zend's stupid.
1147: [20:18:25] <UndefinedOffset> :)
1148: [20:18:29] <UndefinedOffset> theres that ;)
1149: [20:18:33] <simon_w> origincube, are you using a _ss_environment.php?
1150: [20:19:21] <origincube> not that i know of, like i said this is the stock standard unzipped download off the SS site
1151: [20:19:44] <UndefinedOffset> i also wonder if resetting the php include path to everything but that pear544 would solve the issue...
1152: [20:19:59] <UndefinedOffset> not ideal but it may remove the overlap
1153: [20:20:02] <simon_w> origincube, make a _ss_environment.php in the base of the site, stick <?php set_include_path('.'); in it
1154: [20:21:14] <origincube> that seems to have fixed it
1155: [20:21:30] * DigNZ has joined #silverstripe
1156: [20:21:31] * DigNZ quit (Remote host closed the connection)
1157: [20:21:41] <simon_w> Hopefully you don't need to use PEAR for this project :p
1158: [20:21:45] * DigNZ has joined #silverstripe
1159: [20:22:05] <origincube> only modules i'll be using are the blog module and the disqus module
1160: [20:22:09] <origincube> oh and the comments module
1161: [20:22:16] <UndefinedOffset> ya the host has a copy of zend framework installed in that php544 folder and silverstripe was getting confused maybe worth opening a ticket the silverstripe-framework project about having zend framework also installed
1162: [20:22:20] <UndefinedOffset> on the server*
1163: [20:22:28] <simon_w> UndefinedOffset, nope
1164: [20:22:50] <UndefinedOffset> well shouldn't silverstripe only pull from its assets first? not the servers installed copy?
1165: [20:22:58] <simon_w> That's what it does
1166: [20:23:00] <origincube> yeah
1167: [20:23:07] <UndefinedOffset> in this case it doesn't seem to be :)
1168: [20:23:08] <origincube> someone posted this on the forums too
1169: [20:23:09] <origincube> http://www.silverstripe.org/installing-silverstripe/show/20224
1170: [20:23:12] <simon_w> yes it does
1171: [20:24:00] <simon_w> The problem's all in Zend_Loader::isReadable, which is in framework/thirdparty/Zend
1172: [20:24:14] <origincube> and one of the responses said that they merged a fix in
1173: [20:24:22] <origincube> https://github.com/silverstripe/sapphire/pull/916#issuecomment-9994541
1174: [20:25:01] <origincube> all of which was 8 months ago, so i presumed that fix should be in the install i pulled down from the site?
1175: [20:25:10] <UndefinedOffset> ah, the one thing i'd be wanting to test is to ensure that method is being called in the framework not somewhere else, meh... EOD time to hit the road :)
1176: [20:25:12] <UndefinedOffset> should be :)
1177: [20:25:13] <simon_w> Different problem
1178: [20:25:23] <origincube> ok
1179: [20:26:03] * UndefinedOffset quit (Quit: Leaving.)
1180: [20:26:30] <origincube> thanks for the assist. hopefully nothing i need for this project requires PEAR
1181: [20:26:50] <origincube> definitely going to avoid this host in future if i can
1182: [20:27:34] <simon_w> Yeah, that their include_path and open_basedir path don't match is kinda bad ;)
1183: [20:28:21] <origincube> yeah it seems to be missing the .: at the beginning
1184: [20:28:27] <origincube> i should mail them to fix that!
1185: [20:28:53] * mobiusnz has joined #silverstripe
1186: [20:29:04] * UncleCheese quit (Quit: UncleCheese)
1187: [20:30:07] <simon_w> It's more /usr/share/pear544 isn't in it
1188: [20:30:40] <origincube> ok, will add that to the mail :)
1189: [20:32:24] <origincube> thanks for all the help!
1190: [20:34:10] * nickmolhoek has joined #silverstripe
1191: [20:34:11] * nickmolhoek quit (Remote host closed the connection)
1192: [20:34:25] * nickmolhoek has joined #silverstripe
1193: [20:34:33] <simon_w> ss23, http://swng.it/bkDxq :D
1194: [20:39:28] * mattybalaam quit (Quit: mattybalaam)
1195: [20:44:02] * origincube has left #silverstripe
1196: [20:44:09] * mattybalaam has joined #silverstripe
1197: [20:45:48] * mattybalaam quit (Client Quit)
1198: [20:46:37] * Pyromanik has joined #silverstripe
1199: [20:46:53] <Pyromanik> ss23: was that countdown timer thing you did a module?
1200: [20:50:30] * MrJeremy has joined #silverstripe
1201: [20:51:49] * zippy__ has joined #silverstripe
1202: [20:52:43] * coldblooded01 quit (Ping timeout: 240 seconds)
1203: [20:57:54] <Pyromanik> .DS_Store - the world's worst idea.
1204: [20:58:11] * coldblooded01 has joined #silverstripe
1205: [21:02:38] * lerni quit (Remote host closed the connection)
1206: [21:04:58] <simon_w> Thumbs.db
1207: [21:05:27] * gumble has joined #silverstripe
1208: [21:06:20] * lerni has joined #silverstripe
1209: [21:06:21] <gumble> if I have a ModelAdmin to manage my dataobject, how do I access these dataobjects from other pages? do I have to create a $has_many relation?
1210: [21:07:12] <simon_w> ClassName::get()
1211: [21:07:37] <gumble> oh damn I could have known that :D
1212: [21:07:39] <gumble> thanks
1213: [21:18:15] * UncleCheese has joined #silverstripe
1214: [21:21:30] <Pyromanik> simon_w: yeah, but Thumbs.db doesn't automagic in every single directory ever
1215: [21:21:40] <simon_w> Nor does .DS_Store
1216: [21:21:47] <Pyromanik> every one you visit.
1217: [21:22:22] <Pyromanik> so anyway, I forgot that push command that then lets you pull too
1218: [21:22:32] <Pyromanik> I tried git push --all
1219: [21:22:39] <Pyromanik> but then git pull didn't work
1220: [21:22:54] <Pyromanik> does anyone know from the top of their head?
1221: [21:24:17] <irogue> there's a commandline you can do that stops .DS_Store happening on removable & network drives
1222: [21:24:31] <irogue> best thing ever
1223: [21:24:38] <catcher> I seem to be having a race condition writing Images & using them right away. https://gist.github.com/anonymous/5913276
1224: [21:24:46] <Pyromanik> irogue: nah, only network. Still clutters the fuck out of USB according to wiki
1225: [21:25:01] <Pyromanik> catcher: did you write it first?
1226: [21:25:04] * lerni quit (Remote host closed the connection)
1227: [21:25:05] <Pyromanik> urgh
1228: [21:25:10] <Pyromanik> read writing as creating, my badf
1229: [21:25:28] <catcher> Pyromanik, sure did, after setting properties. Also tried using setter methods.
1230: [21:25:42] <catcher> Oh wait, first. I have to write it twice, don't I?
1231: [21:25:51] <Pyromanik> catcher: yeah, don't set like that
1232: [21:26:00] <Pyromanik> either
1233: [21:26:14] <Pyromanik> File uses some kind of voodoo in it's operations
1234: [21:26:20] <Pyromanik> use getField and setField
1235: [21:26:22] <catcher> kk, I was using setters before
1236: [21:26:31] <Pyromanik> yeh, use them if they're there
1237: [21:26:40] <Pyromanik> also the doc blocks give some insights
1238: [21:26:44] <catcher> create, write, setStuff, write
1239: [21:26:58] <Pyromanik> like setFilename /*never use this, use setName instead*/ or something like that iirc
1240: [21:27:26] * lerni has joined #silverstripe
1241: [21:27:29] <catcher> setFilename overrides setName, that's all I saw.. but I'll look again
1242: [21:27:39] * mattybalaam has joined #silverstripe
1243: [21:27:48] <zippy__> Kia ora
1244: [21:30:47] <irogue> kia ora, kei te pehea koe?
1245: [21:31:15] <Pyromanik> ah, push -u
1246: [21:32:36] <zippy__> Ka pai
1247: [21:33:24] <zippy__> online translators are rāpihi
1248: [21:33:42] * chillu23 quit (Read error: Connection reset by peer)
1249: [21:34:35] * chillu has joined #silverstripe
1250: [21:35:55] <Pyromanik> I should speak more Maori than I do.
1251: [21:39:00] <simon_w> Eh, you're in Christchurch. You're allowed to be completely ignorant of other cultures
1252: [21:39:33] <AlphaCactus> ^_^
1253: [21:39:34] <irogue> i'd actually quite like to learn it, but (somewhat unsurprisingly) noone does courses here in the shore, i'd have to go all the way to manukau
1254: [21:40:00] <irogue> i'm sure i could learn mandarin or afrikaans here though!
1255: [21:41:27] <Pyromanik> luls
1256: [21:41:34] <Pyromanik> do them all
1257: [21:41:43] * UncleCheese quit (Ping timeout: 248 seconds)
1258: [21:41:52] <simon_w> I'd like to learn NZSL
1259: [21:42:16] <irogue> yeah that'd be sweet
1260: [21:43:05] <irogue> i should really re-learn german first though
1261: [21:43:26] <irogue> since i'm already halfway there with that one
1262: [21:46:05] <Pyromanik> I used to know a large amount of NZSL
1263: [21:46:28] <Pyromanik> I tried to freshen it up a few years ago, and it was RIDICULOUSLY hard to find ANY information on it
1264: [21:46:37] <Pyromanik> other than "NZSL is an official langugage"
1265: [21:46:50] <Pyromanik> that shit should be free to learn.
1266: [21:47:19] <Pyromanik> I think there actually are some websites that help you learn it now
1267: [21:49:39] * wmk quit (Ping timeout: 256 seconds)
1268: [21:51:07] <simon_w> Interesting. http://nzsl.vuw.ac.nz seems to have every page available in NZSL too
1269: [21:53:43] <Pyromanik> mint, my alphabet is still up to scratch except that I get C backwards.
1270: [21:54:20] <Pyromanik> and yeah, I think that's one of the only NZSL sites on the net (that actually allows one to study it).
1271: [21:57:30] <irogue> yup, but it is insanely good
1272: [21:57:33] * spronk has left #silverstripe
1273: [22:04:55] <catcher> I want to verify that some server-side caching is working - what's the easiest way to see if my server made a particular external request?
1274: [22:05:33] <simon_w> tcpdump?
1275: [22:05:44] <simon_w> Control the external resource?
1276: [22:07:54] * spronk has joined #silverstripe
1277: [22:09:44] <catcher> thought so, thanks.
1278: [22:19:40] * zfmf1 has left #silverstripe
1279: [22:24:05] <spronk> http://www.tomshardware.com/reviews/chrome-27-firefox-21-opera-next,3534-6.html
1280: [22:24:18] <spronk> why on earth did opera switch to chromium D:
1281: [22:24:47] * gelignite quit (Quit: http://bit.ly/nkczDT)
1282: [22:26:34] <Pyromanik> hey simon_w, there's split, is there an equiv. for a length rather than a delimiter?
1283: [22:26:47] <Pyromanik> spronk: because bad.
1284: [22:26:49] <Pyromanik> well
1285: [22:26:50] <Pyromanik> good
1286: [22:26:51] <Pyromanik> but also bad
1287: [22:27:04] <spronk> but it's like
1288: [22:27:05] <spronk> double the FPS
1289: [22:27:05] <simon_w> str_split
1290: [22:27:08] <Pyromanik> I'm hoping opera will improve blink or webkit or whatever by a huge margin
1291: [22:27:09] <spronk> not as "fast"
1292: [22:27:09] <Pyromanik> but...
1293: [22:27:17] <spronk> but twice as schmoove
1294: [22:27:21] <Pyromanik> more cooks, etc.
1295: [22:27:24] <Pyromanik> so yaeh
1296: [22:27:30] <spronk> anyway, is there any nice flag to make SS use side by side form labels from default theme css?
1297: [22:27:42] <spronk> chrome's had heaps of cooks already and it just keeps getting worse
1298: [22:27:46] <Pyromanik> spronk: side by side?
1299: [22:27:50] <Pyromanik> spronk: I know.
1300: [22:27:52] * spronk never bought that open source argument
1301: [22:27:56] <spronk> Pyromanik: yeah
1302: [22:28:00] <spronk> like.. [Label][Input]
1303: [22:28:03] <spronk> instead of label above
1304: [22:28:21] <spronk> ugh
1305: [22:28:38] <spronk> html/css needs to embrace a table-sizing layout for forms
1306: [22:30:13] <Pyromanik> spronk: is bad, I'd have much rather they'd just GPL'd (or BSD'd) Presto
1307: [22:30:38] <Pyromanik> spronk: yeah, just float label.left left
1308: [22:30:55] <Pyromanik> is css, not SS related.
1309: [22:32:44] <ss23> simon_w: If you want lunch today, I have to be back at office at 1pm :O
1310: [22:32:53] <simon_w> ss23, haha!
1311: [22:33:24] <ss23> simon_w: Show off @ your 0 open tickets.
1312: [22:33:39] <ss23> Twitter remember me doesn't seem to work if you have 2fa on
1313: [22:33:41] <ss23> Which is stupid
1314: [22:33:54] <ss23> 045108
1315: [22:33:55] <ss23> fuck
1316: [22:34:03] <ss23> luckily those are one time use
1317: [22:34:54] <Pyromanik> oooh, str_chunk_split
1318: [22:35:22] <Pyromanik> thanks simon_w
1319: [22:35:28] <ss23> Open Tickets: 17
1320: [22:35:32] <ss23> Groups: 42
1321: [22:35:38] <ss23> Solved this week: 5
1322: [22:35:39] <ss23> :<
1323: [22:35:41] <ss23> FEELS BAD MAN
1324: [22:35:43] <Pyromanik> ss23: be more productive, that number seems to be growing
1325: [22:35:49] <ss23> lol
1326: [22:35:50] <ss23> it is.
1327: [22:35:58] <simon_w> But the solved one isn't
1328: [22:36:03] <ss23> ;___;
1329: [22:36:07] <Pyromanik> yeah, gosh, what's up with that?
1330: [22:36:07] <ss23> IT RESETS EACH WEEK
1331: [22:36:08] <ss23> I CAN'T
1332: [22:36:22] <simon_w> Mine's on 7
1333: [22:38:25] <simon_w> Our group open would probably be smaller than your assigned one, if Mark actually closed his tickets
1334: [22:38:57] <ss23> lol
1335: [22:42:26] <Pyromanik> oh wtf IETF
1336: [22:43:01] <Pyromanik> split strings (lines of characters) by OCTETS rather than characters (atomic unit of a string).
1337: [22:43:17] <Pyromanik> the hell
1338: [22:44:37] <Pyromanik> multibyte strings are munted, spec basically says "Insert 2 characters into the middle of a character"
1339: [22:47:57] <simon_w> Pyromanik, top comment on str_split
1340: [22:48:20] <simon_w> Or do you want the octet split?
1341: [22:49:20] <Pyromanik> simon_w: spec says octet
1342: [22:49:33] <simon_w> chunk_split?
1343: [22:49:36] <Pyromanik> yeah
1344: [22:49:38] <Pyromanik> but...
1345: [22:49:54] <simon_w> or just str_split
1346: [22:50:01] <Pyromanik> well, php manual at least states that chunk length is chars, not octets
1347: [22:50:03] <simon_w> PHP isn't multibyte safe :p
1348: [22:50:07] <Pyromanik> yeah
1349: [22:50:09] <Pyromanik> so I see
1350: [22:50:11] <ss23> PHP isn't multibyte *aware*
1351: [22:50:16] <Pyromanik> hence all mb_str blah.
1352: [22:50:20] <ss23> It's like "durp durp bites and bytes! ^.^"
1353: [22:50:27] <ss23> Wanna annoy someone? :3
1354: [22:50:32] <ss23> turn on the mb_override setting without telling them
1355: [22:50:33] <ss23> :D
1356: [22:50:37] <Pyromanik> hahah
1357: [22:50:44] <Pyromanik> sounds legit
1358: [22:50:51] <ss23> It'll work like 99% of the time, but occasionally they'll be like "wtf dis unicode stuff is dying"
1359: [22:51:05] <ss23> Actually maybe I give developers too much credit, more likely htey would be like "oh look, my unicode stuff works now"
1360: [22:51:12] <Pyromanik> anyway, I'm reasonably sure that I'd be fine just splitting on char length
1361: [22:51:29] <simon_w> Well, char == byte
1362: [22:51:32] <Pyromanik> but... they're also likely to stick some char with a macron in
1363: [22:51:36] <Pyromanik> or use chinese
1364: [22:51:38] <Pyromanik> shit
1365: [22:51:52] <Pyromanik> simon_w: I know. Unless it's chinese, then char == 2 bytes
1366: [22:51:59] <simon_w> Pyromanik, PHP don't care
1367: [22:52:02] <Pyromanik> suddenly, all the poo.
1368: [22:52:13] <Pyromanik> simon_w: php honey badger?
1369: [22:52:20] <ss23> Not just Chinese, Pyromanik
1370: [22:52:32] <ss23> Lots of UTF8 supports multibyte chars!
1371: [22:52:33] <Pyromanik> ss23: I know, was first (only) example I know of
1372: [22:52:37] <ss23> okay
1373: [22:52:38] <ss23> JAPANESE
1374: [22:52:38] <Pyromanik> ss23: I am aware
1375: [22:52:43] <Pyromanik> Yes
1376: [22:52:47] <ss23> I don't have the nice IME stuff
1377: [22:52:53] <ss23> or I would spam random japanese characters
1378: [22:52:53] <ss23> :D
1379: [22:53:12] <simon_w> You mean question marks
1380: [22:53:26] <ss23> haha, are you trying to imply Windows has Unicode issues? :P
1381: [22:53:29] <Pyromanik> :(
1382: [22:53:32] <Pyromanik> there is mb_split
1383: [22:53:33] <simon_w> ss23, IRC
1384: [22:53:37] <Pyromanik> but no mb_chunk_split
1385: [22:53:38] <ss23> Because it totally does, but that's directwrite! I'll be the only one seeing mesesd up chars
1386: [22:53:45] <simon_w> Pyromanik, you just want chunk/str_split
1387: [22:53:53] <Pyromanik> really?
1388: [22:53:56] <simon_w> Yes
1389: [22:54:03] <Pyromanik> but what about chinese?
1390: [22:54:12] <simon_w> It'll get split on the bytes
1391: [22:54:29] <Pyromanik> simon_w: but I want to add \r\n in the middle of those split bytes
1392: [22:54:32] <simon_w> try it: var_dump(str_split('chinese character'))
1393: [22:54:41] <simon_w> so chunk_split
1394: [22:54:48] <Pyromanik> yeah
1395: [22:54:56] <Pyromanik> but won't that put \r\n into the middle of a character?
1396: [22:55:03] <simon_w> yes
1397: [22:55:07] <Pyromanik> if char is say 2 octets
1398: [22:55:08] <Pyromanik> ?
1399: [22:55:12] <Pyromanik> yeah so...
1400: [22:55:17] <simon_w> Isn't that what you want?
1401: [22:55:18] <Pyromanik> that'd break the world right?
1402: [22:55:20] <Pyromanik> well
1403: [22:55:22] <Pyromanik> probably not
1404: [22:55:25] <Pyromanik> I'm not sure
1405: [22:55:31] <Pyromanik> ical spec
1406: [22:55:45] <Pyromanik> http://tools.ietf.org/html/rfc5545#section-3.1
1407: [22:56:03] <simon_w> IIRC, when it's put back together, the newlines get taken out
1408: [22:56:11] <Pyromanik> yeah
1409: [22:56:12] <Pyromanik> but
1410: [22:56:13] <simon_w> Then the bytes are next to each other again
1411: [22:56:17] <Pyromanik> need to be sure :<
1412: [22:56:31] <Pyromanik> I guess you're right, just worried about corruption I guess.
1413: [22:56:59] <zippy__> mmmm that POLi service sounds pretty dodgy eh, people logging into their internet banking to pay
1414: [22:57:00] <zippy__> weird
1415: [22:57:11] <Pyromanik> I googled and people are having whinges about their multibyte stuffs getting rejected on import due to shitty php splitter
1416: [22:57:11] <zippy__> anyone actually use it?
1417: [22:57:29] <Pyromanik> zippy__: sounds like man in the middle, except that the middleman is 'trusted'
1418: [22:57:54] <Pyromanik> if I were to create a virus I'd target the poli app. suddenly all the funds.
1419: [22:57:58] <simon_w> zippy__, if it's the one that doesn't require an ActiveX control, most banks are blocking it
1420: [22:58:24] <zippy__> Im not sure why websites would use it, as a customer I would bail if a site asked me for my internet banking details
1421: [22:58:33] <Pyromanik> what could be more safe than "download our customised version of IE"...
1422: [22:58:48] <simon_w> So they can stick on massive CC surcharges
1423: [22:59:39] <ss23> POLi is a *retarded* idea
1424: [22:59:41] <Pyromanik> "a long line can be split between any two characters by inserting a CRLF immediately followed by a single linear white-space character"
1425: [22:59:49] <ss23> "Guys, lets teach users to enter their banking details into sites other than their bank"
1426: [22:59:52] <ss23> WHY
1427: [22:59:57] <ss23> so much hate
1428: [23:00:15] <simon_w> At least with the old version, it was your bank
1429: [23:00:20] <zippy__> Mmm it does seem weird
1430: [23:00:28] <Pyromanik> why? so the poli app can inject payment info into your pay someone random fields
1431: [23:00:42] <Pyromanik> injects!
1432: [23:00:44] <Pyromanik> hooray!
1433: [23:00:55] <zippy__> Other than 1 stuff article, can't find much information about that hate
1434: [23:00:56] * chillu quit (Read error: Connection reset by peer)
1435: [23:01:05] <simon_w> New version: proxy the bank! Login through our server!
1436: [23:01:47] * chillu has joined #silverstripe
1437: [23:02:22] <ss23> lol simon_w, idekidek
1438: [23:02:25] <ss23> More like...
1439: [23:02:27] <ss23> epooli
1440: [23:02:30] <ss23> cause it's so bad it's POO
1441: [23:02:39] <simon_w> Oh man, so clever
1442: [23:03:38] <ss23> :D
1443: [23:03:51] * catcher quit (Quit: Leaving)
1444: [23:06:54] * gumble quit (Ping timeout: 256 seconds)
1445: [23:08:47] <irogue> huh
1446: [23:08:59] <irogue> i just found myself saying "holy fuckgoblins" to something
1447: [23:09:04] <ss23> rofl
1448: [23:09:08] <irogue> and was like "wait, where the hell did that phrase come from?"
1449: [23:09:13] <irogue> i assume i stole it from somewhere
1450: [23:09:16] <irogue> so i google'd it
1451: [23:09:33] <irogue> https://www.google.co.nz/search?q="holy%20fuckgoblins"
1452: [23:09:36] <irogue> well shit.
1453: [23:09:51] <ss23> rofl
1454: [23:09:52] <irogue> guess it's original art!
1455: [23:10:01] <ss23> sif
1456: [23:10:06] <ss23> 154 results for "fuckgoblins"!
1457: [23:10:10] <ss23> you probably just combined it from there
1458: [23:10:11] <ss23> :D
1459: [23:10:20] <irogue> well yeah
1460: [23:10:37] * chillu quit (Quit: chillu)
1461: [23:10:50] <Pyromanik> I don't think I should open that link :<
1462: [23:10:51] <ss23> Does anyone know if _ was removed from files/filenames in 2.4?
1463: [23:11:08] <Pyromanik> ss23: should get converted to - or similar
1464: [23:11:20] <irogue> Pyromanik: the only result is an IRC log from here, of me saying it
1465: [23:11:21] <Pyromanik> possibly just dropped
1466: [23:11:25] <ss23> It's being removed completely
1467: [23:11:28] <ss23> But I don't know why, it's nanoying
1468: [23:11:29] <Pyromanik> ss23: actually, perhaps not
1469: [23:11:33] <Pyromanik> hmm
1470: [23:11:34] <ss23> _ is a valid character, it's not special etc
1471: [23:11:39] <Pyromanik> irogue: hahaha
1472: [23:14:57] <ss23> silverstripe_version: $URL$
1473: [23:14:59] <ss23> ty silverstripe.
1474: [23:15:03] <ss23> For that handy version file
1475: [23:17:08] <Pyromanik> ss23: export script
1476: [23:17:24] <Pyromanik> but then suddenly no more export script because no longer in SVN
1477: [23:17:34] <Pyromanik> so it's 2.4.6 or above
1478: [23:17:59] <Pyromanik> basically negligible changes (mostly sec updates0
1479: [23:18:00] <Pyromanik> )
1480: [23:18:02] <ss23> lol I see
1481: [23:19:23] * cloph is now known as cloph_away
1482: [23:20:57] <simon_w> And they still don't have it working for 3
1483: [23:21:20] <zippy__> simon_w: :Looks like they might have/are doing some parodying already (POLi) http://www.geekzone.co.nz/forums.asp?forumid=48&topicid=107374&page_no=3#674231
1484: [23:21:22] <Pyromanik> simon_w: 2.4, $this->class exists for all objects?
1485: [23:21:39] <simon_w> Pyromanik, all the ones that subclass Object
1486: [23:21:50] <Pyromanik> simon_w: cool, cheers :>
1487: [23:22:03] <simon_w> zippy__, yeah, that's the new version
1488: [23:23:41] * lerni quit (Remote host closed the connection)
1489: [23:23:43] <Pyromanik> the P in PolI stands for phish.
1490: [23:23:48] <ss23> lol
1491: [23:28:00] <ss23> lol...
1492: [23:28:16] <ss23> You can't (easily) use the squirrel emote in Skype, because OSX 'corrects' it to a completely different word
1493: [23:28:40] <simon_w> Why are you using emotes in the first place?
1494: [23:28:51] <ss23> :D
1495: [23:28:58] <ss23> ~(._.)~
1496: [23:28:59] <ss23> For fun~
1497: [23:29:07] <ss23> (^^ ).~~~
1498: [23:29:10] <ss23> kitty
1499: [23:30:03] <Pyromanik> squirrel nuts zipper
1500: [23:30:38] <Pyromanik> sorry, just nut singular.
1501: [23:30:52] <Pyromanik> squirrel nut zippers
1502: [23:31:49] <ss23> api.ss 2.4 is the last *release* of 2.4, or the latest 2.4 branch?
1503: [23:31:52] <ss23> 2.4-next or w/e it is
1504: [23:32:03] <simon_w> Probably 2.4-dev
1505: [23:32:17] <ss23> annoying
1506: [23:37:32] * UncleCheese has joined #silverstripe
1507: [23:37:33] <Pyromanik> no idea, they're pretty similar
1508: [23:49:39] * mattybalaam quit (Quit: mattybalaam)
1509: [23:52:42] * UncleCheese quit (Quit: UncleCheese)
1510: [23:54:18] <ss23> FICLOMSADFASDF
1511: [23:54:21] <ss23> fucking *knew* it mate
1512: [23:54:28] <ss23> Silverstripe munges the shit out of the data
1513: [23:57:50] <ss23> simon_w: You want lunch today?
1514: [23:58:14] <simon_w> Well, doh. It's my first meal of the day :p
1515: [23:58:23] <ss23> :D
1516: [23:58:43] <ss23> simon_w: kk! Gimmie message when you're 3 mins away, normal protocol! (And remmeber 1pm deadline today!)
1517: [23:58:55] <ss23> also, just found a bug that's been here since launch and ruining the DB
1518: [23:59:08] <ss23> In the second step of a form, this code will just go through and delete every area.
1519: [23:59:17] <ss23> I have *no* idea why someone put this here
1520: [23:59:21] <ss23> It is seriously... ide
1521: [23:59:22] <ss23> idek

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