#silverstripe IRC Log

IRC log for 28 March 2014

All timestamps are in UTC.

1: [00:02:32] * opalfroot quit (Quit: Page closed)
2: [00:03:33] * an_Eskimo quit (Ping timeout: 245 seconds)
3: [00:03:44] * oddnoc quit (Quit: bye!)
4: [00:04:43] * k_fish quit (Quit: Leaving)
5: [00:11:23] * UncleCheese quit (Quit: UncleCheese)
6: [00:16:40] * an_Eskimo has joined #silverstripe
7: [00:17:50] * spronk2 has joined #silverstripe
8: [00:23:39] * Bollig|DesignCty has joined #silverstripe
9: [00:25:10] <Bollig|DesignCty> Anyone have a second to help me understand the modeladmin filter? If I have a DO with an Image, how can I filter by Image.Title? Seems to be checking for an Image table :(
10: [00:30:10] <unsignedint> is the field on your DO called "Image" ?
11: [00:30:21] <unsignedint> eg is it defined as private $has_one = array("Image" => "Image") ?
12: [00:34:42] * UncleCheese has joined #silverstripe
13: [00:39:03] * nickmolhoek has joined #silverstripe
14: [00:49:56] * UncleCheese_ has joined #silverstripe
15: [01:00:55] * nbezzala quit (Remote host closed the connection)
16: [01:05:35] * UncleCheese_ quit (Quit: UncleCheese_)
17: [01:10:14] <simon_w> Zauberfisch, because today isn't a merging day
18: [01:13:59] * basso_ quit (Quit: basso_)
19: [01:15:57] <Zauberfisch> D:
20: [01:17:01] * spronk2 quit (Quit: spronk2)
21: [01:17:38] <Zauberfisch> https://i.chzbgr.com/maxW500/443407104/h091DC472/
22: [01:17:45] * UncleCheese_ has joined #silverstripe
23: [01:21:23] * spronk2 has joined #silverstripe
24: [01:22:27] * nickmolhoek quit (Quit: nickmolhoek)
25: [01:24:01] * jordanmk has joined #silverstripe
26: [01:24:21] <Colin[pi]> fucking hell, I can't figure out where these "phantom" pages are coming from ;_;
27: [01:24:33] <Colin[pi]> something to do with the importer, but I can't seem to replicate
28: [01:28:41] <Zauberfisch> Colin[pi]: any modules installed that might have a requireDefaultRecords?
29: [01:29:32] * Tanger has joined #silverstripe
30: [01:35:00] <zippy___> Is it possible with the DateField - ShowCalnader to specify which date to start on
31: [01:35:08] <zippy___> populating the value field on the DateField fails to work
32: [01:36:08] <zippy___> booom, nevermind
33: [01:36:30] <Zauberfisch> you can
34: [01:37:09] <Zauberfisch> ->setConfig('min', 'date here, not sure about the format though');
35: [01:42:18] <zippy___> Zauberfisch: that date will be the lowest it can go, I mean a default date
36: [01:42:45] <zippy___> Zauberfisch: Is it possible to make the year a drop list, like http://jqueryui.com/datepicker/#dropdown-month-year ? as going back 3 years is a PITA
37: [01:43:09] <Zauberfisch> zippy___: probaby. but not sure how easy
38: [01:43:43] <Zauberfisch> try setConig('changeMonth', true)
39: [01:43:48] <Zauberfisch> same for changeYear
40: [01:44:23] * an_Eskimo quit (Ping timeout: 245 seconds)
41: [01:45:05] <zippy___> Zauberfisch: I tried that...
42: [01:45:08] <zippy___> Zauberfisch: https://gist.github.com/Zauberfisch/1124672
43: [01:47:20] <Zauberfisch> zippy___: yeah. a year ago it was painful to get it to work
44: [01:47:28] <Zauberfisch> not sure if thats still the only way
45: [01:47:52] <Zauberfisch> woha
46: [01:47:55] <Zauberfisch> thats 3 years ago
47: [01:48:07] <Zauberfisch> that must have been 2.4
48: [01:48:57] <Zauberfisch> that just made me realise that I have been using silverstripe since 5ish years
49: [01:49:08] <Zauberfisch> wow
50: [01:49:17] <Zauberfisch> time passes quickly
51: [01:50:04] <Zauberfisch> oh boy, I am getting old
52: [01:50:44] * an_Eskim0 has joined #silverstripe
53: [01:52:31] <simon_w> Getting? :p
54: [01:53:29] <zippy___> Zauberfisch: Yea not bad now, just a couple of tweaks
55: [01:53:31] <Colin[pi]> Zauberfisch: no, pretty sure it's related to a CSV importer that's creating SiteTree records
56: [01:53:33] <zippy___> Zauberfisch: not as easy as it could be
57: [01:53:47] <Zauberfisch> zippy___: tell me about it ...
58: [01:54:26] <simon_w> Colin[pi], is it importing them into _Live but not Stage?
59: [01:54:26] <danfo> zippy___, do you sleep!? what timezone haha
60: [01:54:35] <zippy___> danfo!!
61: [01:54:40] <danfo> 8am and 2am
62: [01:55:28] <danfo> maybe it is I that needs sleep :P cheers
63: [01:55:37] * danfo has left #silverstripe
64: [01:55:47] <zippy___> Zauberfisch: Maybe, just maybe, that will be my first ever open source patch
65: [01:55:49] <zippy___> maybe
66: [01:56:20] * UncleCheese_ quit (Quit: UncleCheese_)
67: [01:57:47] <Stomach> how can you remove the settings tab from a page?
68: [01:57:48] <Stomach> :S
69: [01:58:03] <simon_w> Stomach, can't. Is part of the template.
70: [01:58:23] <Stomach> oh thats pretty annoying then
71: [01:58:27] <zippy___> Stomach: javascript :)
72: [01:58:37] <zippy___> or css
73: [01:58:52] <Zauberfisch> Stomach: but you can change the fields in the tab
74: [01:58:59] <Zauberfisch> using getSettingsFields()
75: [01:59:09] <Zauberfisch> works the same was as getCMSFields()
76: [01:59:11] * Andrew_____ has joined #silverstripe
77: [01:59:21] <Andrew_____> hello there
78: [01:59:47] <Andrew_____> anybody knows how can I remove tab Help from the CMS -> I have SS 3.1
79: [02:00:17] <Zauberfisch> what tab?
80: [02:00:33] <Andrew_____> it's on the left in the admin section
81: [02:00:38] <Andrew_____> Help
82: [02:00:57] <Zauberfisch> I think Help is a nasty one to remove
83: [02:01:05] <Andrew_____> really?
84: [02:01:06] <Colin[pi]> simon_w: the importer seems to be doing a ->load() from CSV, and then looping the Created/Updated in the returned result, and doing a publish('Stage','Live')
85: [02:01:09] <Andrew_____> :)
86: [02:01:40] <simon_w> Colin[pi], but is writing to Live to start with?
87: [02:02:13] <Colin[pi]> not sure, the importer is an extension of CsvBulkLoader
88: [02:02:25] <Colin[pi]> so it'll be doing whatever it's doing in it's load() method
89: [02:02:30] <simon_w> Colin[pi], name?
90: [02:02:40] <Stomach> Andrew_____ : http://pastie.org/8974857
91: [02:02:43] <Colin[pi]> name of what? :o
92: [02:03:00] <Stomach> add that to LeftAndMain extensions
93: [02:03:05] <simon_w> Colin[pi], or is it a class you wrote yourself?
94: [02:03:23] <Colin[pi]> it's a class I wrote myself extends from CsvBulkLoader
95: [02:04:04] <Andrew_____> Stomach thank you very much...but in what file do I insert this piece of code?
96: [02:04:07] <simon_w> Colin[pi], got a processAll() method?
97: [02:04:56] <Zauberfisch> Andrew_____: see:
98: [02:04:58] <Andrew_____> ok, I'll look up for LeftAndMain extensions
99: [02:05:08] <Zauberfisch> just created it in my boilerplate:
100: [02:05:09] <Zauberfisch> https://github.com/Zauberfisch/silverstripe-boilerplate/blob/master/mysite/code/mysiteLeftAndMainExtension.php
101: [02:05:43] <terryapodaca> Andrew_____: you can simply create a new php file with that content, then register the extension in the config
102: [02:05:44] <Andrew_____> wow, thank you Zauberfisch
103: [02:05:54] <Colin[pi]> simon_w: no, using from the superclass
104: [02:06:08] <Andrew_____> thnks terryapodaca
105: [02:06:09] <Zauberfisch> Andrew_____: and add line 25 to 27 of this: https://github.com/Zauberfisch/silverstripe-boilerplate/blob/master/mysite/_config/config.yml#L25-27
106: [02:06:13] <Zauberfisch> to your config.yml
107: [02:06:28] <Zauberfisch> those 2 changes should do the trick
108: [02:06:42] <Andrew_____> ok thanks
109: [02:06:46] <simon_w> Colin[pi], http://pastie.org/8974863
110: [02:06:48] <terryapodaca> or liek Zauberfisch said, in the yml file
111: [02:07:04] <terryapodaca> which is where SS is heading for most config settings
112: [02:07:06] <Andrew_____> right
113: [02:09:58] <terryapodaca> Zauberfisch: you should update your BP main Page.ss to use <main role="main"> instead of <div role="main">
114: [02:11:00] <Zauberfisch> terryapodaca: good point, should make more use of html5 elements
115: [02:11:28] * an_Eskim0 quit (Ping timeout: 245 seconds)
116: [02:11:50] <UncleCheese> Sweet code, Z
117: [02:12:00] <Zauberfisch> terryapodaca: issue created https://github.com/Zauberfisch/silverstripe-boilerplate/issues/20
118: [02:12:09] <Zauberfisch> no time to implement this week though
119: [02:12:49] <terryapodaca> nice
120: [02:13:08] <terryapodaca> good looking boilerplate though...I might make use of it on my next project
121: [02:13:20] <Zauberfisch> yeah, works really well for me
122: [02:13:32] <Zauberfisch> no idea why noone else is using it. its around since forever
123: [02:13:42] <Zauberfisch> probably should make more advertisement for it
124: [02:15:03] <terryapodaca> have you thought about using the html5shiv instead of modernizr?
125: [02:15:30] <terryapodaca> or did you make yourself one of those custom modernizr downloads that's not so bloated
126: [02:16:03] <Zauberfisch> I made myself a custom modernizr build, but I am afraid to say, its probably more bloated than the default build :S
127: [02:16:05] * an_Eskimo has joined #silverstripe
128: [02:16:24] <Zauberfisch> terryapodaca: I use modernizr, so I wouldn't want to kick it out
129: [02:16:39] <terryapodaca> lol...makes sense.
130: [02:16:56] <terryapodaca> anyway, I'm out for the evening...y'all have a good weekend!
131: [02:17:03] <Zauberfisch> but I could be persuaded to clean it up and only include those features that I really use often
132: [02:18:43] * UncleCheese_ has joined #silverstripe
133: [02:19:46] <Zauberfisch> issue created for that as well. #21
134: [02:23:27] <Colin[pi]> simon_w: thanks, will try it out
135: [02:27:13] * jrthomer quit (Ping timeout: 240 seconds)
136: [02:27:27] * babak has joined #silverstripe
137: [02:32:18] * jrthomer has joined #silverstripe
138: [02:45:30] * zippy___ quit (Ping timeout: 255 seconds)
139: [02:45:52] <Colin[pi]> simon_w: not behaving any different on my dev box, but I haven't been able to replicate it yet
140: [02:46:14] <Colin[pi]> perhaps it's not the importer, and another part of the code that's deleting?
141: [02:51:39] * mouse has joined #silverstripe
142: [02:52:41] <mouse> Hi Guys, I'm having a little issue with mod_rewrite. Basically the standard default with SS includes a SETENV command which mod_rewrite is rejecting. Now all my URLS have "/index.php/" appended to the end of the domain name. Any clues?
143: [02:55:16] * spronk2 quit (Quit: spronk2)
144: [03:03:39] * simon_w quit (Quit: This computer has gone to sleep)
145: [03:15:38] * mouse quit (Ping timeout: 245 seconds)
146: [03:29:28] * DesignCity has joined #silverstripe
147: [03:30:03] * Bollig|DesignCty quit (Ping timeout: 255 seconds)
148: [03:30:04] * DesignCity is now known as Bollig|DesignCty
149: [03:30:45] * Tanger_ has joined #silverstripe
150: [03:31:01] * Tanger quit (Ping timeout: 268 seconds)
151: [03:31:02] * Tanger_ is now known as Tanger
152: [03:38:22] <Colin[pi]> dat moment when you search the logs for an answer to something and see that the matching answer is your own from a year ago
153: [03:57:08] * UncleCheese quit (Quit: UncleCheese)
154: [03:57:08] * UncleCheese_ is now known as UncleCheese
155: [04:00:38] <Colin[pi]> hai UncleCheese
156: [04:03:42] * UncleCheese quit (Quit: UncleCheese)
157: [04:03:53] <Colin[pi]> k :(
158: [04:03:55] <Colin[pi]> ;)
159: [04:07:11] * UncleCheese has joined #silverstripe
160: [04:10:55] * Andrew_____ quit (Quit: Page closed)
161: [04:12:12] * spronk2 has joined #silverstripe
162: [04:13:38] * SightUnseen has joined #silverstripe
163: [04:13:45] * SightUnseen has left #silverstripe
164: [04:14:01] * CodeTrap quit (Ping timeout: 240 seconds)
165: [04:16:16] * spronk2 quit (Client Quit)
166: [04:16:23] * CodeTrap has joined #silverstripe
167: [04:21:03] * an_Eskimo quit (Ping timeout: 245 seconds)
168: [04:31:26] * UncleCheese quit (Quit: UncleCheese)
169: [04:34:25] <simon_w|air> Colin[pi], you scared him away!
170: [04:38:14] <jordanmk> hey guys
171: [04:38:25] <simon_w|air> Evening
172: [04:38:38] <jordanmk> i have a form that exist on a page
173: [04:39:08] <jordanmk> is there any way to use that same form on an entirely separate page without just copying and pasting the code from one controller to the other?
174: [04:39:37] <simon_w|air> Have the other controller extend the one with the form on it
175: [04:40:51] <jordanmk> would that get messy easily? the page that the form currently exists on is a page dedicated to that form, as well as a bunch of other forms that are loaded after they complete the first one (which is the one i want to copy)
176: [04:40:57] <jordanmk> the page i want to use that form on again is the Home page
177: [04:41:19] <jordanmk> and i basically want to have them fill out the form on the home page, then get redirected to the other page with all the subsequent forms
178: [04:41:29] <Colin[pi]> simon_w|air: I have that effect on people :(
179: [04:42:18] <jordanmk> both pages have a lot of DB fields and relations, and they are very different between the two pages
180: [04:42:41] <jordanmk> so would it be a good idea to have the Home page controller extend the one with the form on it, or would that just get really messy?
181: [04:46:05] <simon_w|air> Well, you can extend the controller without extending the page. Though I'd suggest either moving the form to the home page (if it isn't actually used on the other one) or just copy+paste
182: [04:46:59] <Colin[pi]> did simon_w|air just recommend copy+pasting code? :o
183: [04:47:11] <simon_w|air> Colin[pi], you try explaining traits! :p
184: [04:47:26] <Bollig|DesignCty> copy+paste is a valid programming style guys. ;)
185: [04:47:42] <jordanmk> the form is actually used on the page it's currently on
186: [04:47:48] <jordanmk> so i can't move it over
187: [04:48:08] <jordanmk> so i guess it's a copy+paste job :P
188: [04:50:23] <Colin[pi]> Bollig|DesignCty: lol yeah, I try as hard as I can to avoid it, but sometimes it's valid, especially when I'm in a "ah fuck it" mood
189: [04:50:34] * cloph quit (Ping timeout: 268 seconds)
190: [04:51:32] * SightUnseen has joined #silverstripe
191: [04:52:56] * SightUnseen has left #silverstripe
192: [04:54:45] * cloph_away has joined #silverstripe
193: [05:34:41] * simon_w has joined #silverstripe
194: [05:52:43] <Bollig|DesignCty> Colin[pi]: you mean a weekday? ;)
195: [06:34:50] <Colin[pi]> Bollig|DesignCty: lol
196: [06:56:55] * Shrike_Finland has joined #silverstripe
197: [07:26:23] * UncleCheese has joined #silverstripe
198: [07:38:27] * bubaphex has joined #silverstripe
199: [07:40:55] * bubaphex quit (Client Quit)
200: [07:43:38] * r3v3rb has joined #silverstripe
201: [07:48:21] * CamelCase has joined #silverstripe
202: [07:49:57] <CamelCase> Hey there, Super crazy issue I'm having... I'm manipulating the Member with an extension. For some reason, it writes the default values in to the Members table but not the custom "apiKey" token that I've generated. This only happens on my production server... It works perfectly fine on my localhost...
203: [07:50:36] <r3v3rb> morning
204: [07:51:31] <r3v3rb> any idea why when adding a member to a content author section when viewing the a modeladmin/class they see no entries, if I log back in as administrator they entries all appear?
205: [07:51:57] <r3v3rb> this is in 3.1.2 btw
206: [07:52:28] <CamelCase> ok problem solved, capistrano recipe kept on loading old _config.php file on server.
207: [07:52:32] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
208: [07:52:32] <CamelCase> Thanks
209: [07:59:15] <CamelCase> r3v3rb: Could be a permission thing on your datamodel try and add this to your managed functions (DataObject Classes) if they are missing...
210: [07:59:16] <CamelCase> http://pastebin.com/hwymSnbb
211: [08:00:09] <r3v3rb> okay CamelCase I thought they were inherited from the extends DataObject but I'll add them and see
212: [08:01:19] <CamelCase> Also add canView
213: [08:02:04] * basso_ has joined #silverstripe
214: [08:04:00] * wmk has joined #silverstripe
215: [08:04:23] <wmk> gmorning everyboddy
216: [08:16:39] * ARNHOE has joined #silverstripe
217: [08:25:54] * zippy___ has joined #silverstripe
218: [08:26:18] * zippy___ is now known as Guest72380
219: [08:35:29] * joelpittet quit ()
220: [08:41:11] * mrzero quit (Ping timeout: 246 seconds)
221: [08:42:02] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
222: [08:45:27] * r3v3rb has joined #silverstripe
223: [08:49:21] * mrzero has joined #silverstripe
224: [08:54:50] * spronk2 has joined #silverstripe
225: [08:59:59] * deschebbs has joined #silverstripe
226: [09:00:02] * mrzero quit (Ping timeout: 265 seconds)
227: [09:11:11] * mrzero has joined #silverstripe
228: [09:11:30] * kinglozzer has joined #silverstripe
229: [09:12:31] * micmania1 has joined #silverstripe
230: [09:16:14] * Sj0hn has joined #silverstripe
231: [09:17:13] <Sj0hn> Morning
232: [09:17:22] <micmania1> morning
233: [09:20:20] <Sj0hn> How's it all going? ^^
234: [09:21:12] <micmania1> Wet. Very wet. Outside I mean.
235: [09:24:49] <Sj0hn> thats prty shitty, were do you come from?
236: [09:25:44] <Sj0hn> were finally going towards some nice spring weather here in the netherlands :D
237: [09:27:32] * Tanger has left #silverstripe
238: [09:28:19] <micmania1> Sj0hn: I'm in Newcastle, England.
239: [09:29:37] * g4b0_ has joined #silverstripe
240: [09:30:08] <g4b0_> hi all
241: [09:35:12] <Guest72380> g4b0_: hi
242: [09:35:26] <Guest72380> Sj0hn: wathced any of the cricket?
243: [09:48:08] <Sj0hn> Guest72380 I dont really watch cricket, only see it coming up in the news sometimes
244: [09:48:13] * Pygreekik has joined #silverstripe
245: [09:48:21] * Guest72380 is now known as zippy___
246: [09:48:28] <Pygreekik> micmania1: ha, you get the joys of learning to shift 3 for #
247: [09:48:34] <Pygreekik> xD
248: [09:48:46] <Pygreekik> and having @ and " in opposite places.
249: [09:49:04] <micmania1> urgh! US style layout?
250: [09:49:11] <Pygreekik> and ~ up with ` where it belongs :P
251: [09:49:12] <Pygreekik> yeh, heh.
252: [09:49:29] <micmania1> I might take a keyboard with me lol
253: [09:49:48] <Pygreekik> micmania1: also, http://ie6death.wdpstudio.com/portfolio/newcastle-upon-tyne/
254: [09:49:59] <Pygreekik> micmania1: keyboard doesn't do it, the OS maps the keys.
255: [09:50:22] <Pygreekik> I can plug UK keyboard into my win7 netbook at shift+' for "
256: [09:50:29] <Pygreekik> (which is @ on the keyboard)
257: [09:51:05] <Pygreekik> but yeh, nothing stopping you taking a keyboard and telling OS that they layout is differnt.
258: [09:51:11] <Colin[pi]> Pygreekik: what's with the nick changes?
259: [09:51:19] <Pygreekik> Colin[pi]: a bit of fun.
260: [09:51:30] <Colin[pi]> k, thought I was going nuts
261: [09:51:32] <Colin[pi]> :D
262: [09:51:33] <Pygreekik> and not havng to auth over non SSL, also at work where there's a proxy.
263: [09:51:35] <micmania1> Pygreekik: that wake thing - you seen the website that's hosting?
264: [09:51:51] <micmania1> We should organise a wp wake at the same place on the same date at the same time.
265: [09:52:11] <Pygreekik> micmania1: nah, assume it's shit though. I mean the event is hosted by a place called "website design and PRINT"
266: [09:52:35] <Pygreekik> which almost always indicates a printing frim that's decided to branch out into websites, and has little clue about any of the things.
267: [09:52:41] <Pygreekik> firm*
268: [09:52:48] <zippy___> wake thing?
269: [09:52:50] <micmania1> Pygreekik: http://wpstudio.com/
270: [09:52:57] <Colin[pi]> web sites and pamphlets are like exactly the same right?
271: [09:53:04] <Pygreekik> wdpstudio
272: [09:53:29] <Pygreekik> Colin[pi]: you betcha! I want the menu Down there, and this over there, overlapping that thing, because they tesselate so well!
273: [09:53:56] <Pygreekik> but the event could be a laugh.
274: [09:54:03] <Pygreekik> micmania1: what do you reckon?
275: [09:54:16] <micmania1> maybe, i'll see what i'm doing
276: [09:54:26] <micmania1> Last time I was in that bar I tried banana beer.
277: [09:54:33] <Pygreekik> ha
278: [09:54:47] <Pygreekik> last time I was in a bar I had my nose broken on the way home.
279: [09:54:52] <Pygreekik> :<
280: [09:54:57] <Colin[pi]> :(
281: [09:54:59] <Pygreekik> Not keen on drinking much anymore :/
282: [09:55:21] <Pygreekik> But I'll have a quiet half pint or so in a social setting.
283: [09:55:46] <Pygreekik> Plus it's a tuesday anyway
284: [09:56:07] <micmania1> I play football on Tuesdays
285: [09:56:19] <Pygreekik> Colin[pi]: do you not get it? Today's name play?
286: [09:56:38] <micmania1> Football > Wordpress devs
287: [09:56:47] <Pygreekik> micmania1: ah well. No matter then! Although apparently it goes until midnight, I was thinking about not going also. Haven't decided yet.
288: [09:56:47] <Colin[pi]> Pygreekik: I've had half a bottle of wine, I'm lucky to be able to spell my own name
289: [09:56:52] <Pygreekik> just thought it could be a lark.
290: [09:57:05] <Pygreekik> Colin[pi]: *gasp* a whole half a bottle!?
291: [09:57:14] <Colin[pi]> I dont have much any more ;P
292: [09:57:17] <Pygreekik> Colin[pi]: anyway... pyROMANik
293: [09:57:28] <Colin[pi]> ohhh
294: [09:57:34] <Colin[pi]> yeah I noticed the greek bit :P
295: [09:57:38] <micmania1> I'll go if we can get t-shirts which say "WordPress is next"
296: [09:57:47] <Pygreekik> micmania1: hahahahah, brilliant.
297: [09:57:54] <Pygreekik> unfortunately it'd be a lie, but it would be hilarious.
298: [10:00:14] <Pygreekik> lol websitedeignprint.com : I've a feeling this is going to time out it's that bad. It's listed as the company's website on the wee brochure I found with this wake info on it.
299: [10:00:38] <Pygreekik> yep, just loads white page. lol.
300: [10:00:56] <Pygreekik> and wdpstudio.com redirects to it. Brilliant.
301: [10:10:44] <spronk2> lul
302: [10:10:47] * zfmf has joined #silverstripe
303: [10:12:20] <r3v3rb> argh, some spanner in #mercurial just told me to use a command that has wiped my repo - fortunately I have another working copy but... ffs
304: [10:12:33] <Pygreekik> rofl, brilliant.
305: [10:12:36] <Pygreekik> just check it out again?
306: [10:12:40] <Pygreekik> roll back to last commit?
307: [10:12:45] <Pygreekik> what was the command?
308: [10:12:48] <r3v3rb> no they is gone gone
309: [10:12:57] <Pygreekik> hg oblitterate ?
310: [10:13:16] <r3v3rb> hg remove which I asked 'does it physically remove the files/folders' no was his answer just from the repo...
311: [10:13:31] <Pygreekik> yeah
312: [10:13:33] <Pygreekik> so that's fine.
313: [10:13:37] <r3v3rb> so why the F*&^ did they go bye bye - muppet!
314: [10:13:38] <Pygreekik> just checkout last commit
315: [10:13:56] <Pygreekik> with git you have to use a flag to remove only from repo.
316: [10:14:02] <Pygreekik> git rm --cached
317: [10:14:05] <Pygreekik> or something liket hat
318: [10:14:07] <Pygreekik> that*
319: [10:14:15] <r3v3rb> Pygreekik, easier, going to rebuild from scratch and start the repo again - just testing out hg at the moment so no biggy
320: [10:14:41] <Pygreekik> well yeh, if your back up is all up to date, no issue.
321: [10:14:45] <r3v3rb> thank goodness for my backups though ;)
322: [10:15:00] <Pygreekik> mmmm
323: [10:15:13] <Pygreekik> spronk2: lul?
324: [10:15:24] <Pygreekik> @ bad webdevs?
325: [10:15:25] <spronk2> LUL!
326: [10:15:27] <spronk2> mm
327: [10:15:30] <Pygreekik> kek
328: [10:15:40] <r3v3rb> prob best not to 'play' on client source folders though :P
329: [10:16:17] <r3v3rb> Pygreekik @badweddevs ?
330: [10:16:26] <r3v3rb> webdevs* even
331: [10:16:35] <simon_w> Mar 28 23:15:38 dev error.log: \nWarning: Case insensitive constant names are not supported in HipHop in /var/projects/coding/deploy/wp-includes/wp-db.php on line 20
332: [10:16:35] <simon_w> Stupid WordPress
333: [10:16:55] <Pygreekik> from waht I can tell, diversified print firms are almost always bad at websites.
334: [10:17:04] <r3v3rb> allegedly we are all in the wrong and WP is awesome
335: [10:17:05] <spronk2> mmhmm
336: [10:17:10] <Pygreekik> Even if just because what simon_w just said.
337: [10:17:25] <Pygreekik> r3v3rb: allegedly by who?
338: [10:17:30] <r3v3rb> I went to a meeting yesterday with an SEO/PPC company and got told I was wrong in my disdain of WP
339: [10:17:37] <Pygreekik> lol
340: [10:17:38] <Pygreekik> classic.
341: [10:17:41] <r3v3rb> so I rotflmao in front of my client
342: [10:18:00] <Pygreekik> haha, excellent
343: [10:18:03] <r3v3rb> who asked the SEO/PPC company why WP was so awesome and the answer was...
344: [10:18:11] <Pygreekik> you should have started telling him how to do his job.
345: [10:18:14] <r3v3rb> because everyone uses it...
346: [10:18:15] <Pygreekik> it would have been amazing.
347: [10:18:18] <r3v3rb> Pygreekik I did
348: [10:18:25] <Pygreekik> r3v3rb: omg, fallacy alert!
349: [10:18:30] <r3v3rb> after that the meeting went south
350: [10:18:31] <Pygreekik> appeal to popularity, or whatever its' called.
351: [10:18:40] <Pygreekik> just pull that out and demolish people. It's great.
352: [10:18:56] <Pygreekik> r3v3rb: can imagine, but no matter. shit clients are shit.
353: [10:19:45] <r3v3rb> then I showed them the CMS for the site for client and they quickly shifted their opinion to - oh wow, that's built in, oh right, that's cool - how did you do...
354: [10:19:52] <r3v3rb> etc etc
355: [10:20:09] <Pygreekik> and suddenly wordpress not looking so flash?
356: [10:20:10] <Pygreekik> larf.
357: [10:20:22] <r3v3rb> client loves the SS site so I wasn't preaching to them fortunately - just some Uni Grads and their Boss
358: [10:20:23] <Pygreekik> URGH GAWD, DAMN YOU#
359: [10:20:45] <Pygreekik> you made me use the unaltered werdderp name :<
360: [10:20:55] <r3v3rb> the uni guys wouldn't budge on WP, but the boss was very keen to discuss the CMS i used and did I work freelance...
361: [10:21:03] <micmania1> All hail king r3v3rb. Fighting the good fight!
362: [10:21:08] * g4b0_ quit (Ping timeout: 240 seconds)
363: [10:21:11] <Pygreekik> keke, indeed.
364: [10:21:36] <r3v3rb> micmania1 trying me best squire, knocking down one dragon at a time like King Arthur
365: [10:21:48] <micmania1> but better
366: [10:22:02] <r3v3rb> indeed
367: [10:22:24] <Pygreekik> r3v3rb: did you see this comment the other day? http://logs.simon.geek.nz/index.php?date=2014-03-19#log_1221913
368: [10:22:48] <r3v3rb> I did, made me smile ;)
369: [10:23:54] <Pygreekik> She was good about it and took it mostly for what it was, an awareness campaign rather than a bag another system rant.
370: [10:24:17] <r3v3rb> but will she start using SS over d3rp
371: [10:24:38] <Pygreekik> but then she even had a go at the core community, saying how they're all attached to the bad code, but want the new features too, in a cake and eat it kinda fashion.
372: [10:24:54] <Pygreekik> r3v3rb: unlikely, but that's fine.
373: [10:25:41] * r3v3rb would just like to see them go properly down the MVC route - it's hideously entrenched with code in templates and template code in model
374: [10:26:03] <Pygreekik> it even has models? I don't particularly belive you.
375: [10:26:13] <micmania1> Pygreekik: it has A model.
376: [10:26:23] <simon_w> It has a loop!
377: [10:26:28] <r3v3rb> Pygreekik, no neither do I - as such it doesn't hence the request
378: [10:26:33] <Pygreekik> although I was told at the end that wrddrp and droopyls have come a long way in the last year or two since I last looked at them.
379: [10:26:36] <simon_w> Also, it doesn't seem that well suited to blogging any more either
380: [10:26:43] <r3v3rb> arh, simon_w the loop absolutely hideous!
381: [10:27:08] <Pygreekik> simon_w: so in their effort to be a more general cms they've forsaken their core purpose as well?
382: [10:27:10] <Pygreekik> lulz
383: [10:27:14] <r3v3rb> setting up loops outside the loop etc etc, why in god's name why!
384: [10:27:46] <Pygreekik> r3v3rb: because everyone that hacks on things for it are clueless (I mean, module makers, etc).
385: [10:27:52] <r3v3rb> w3rdd3rp will never be a true CMS
386: [10:27:57] <Pygreekik> They tend to be the 'just learning' type, imo.
387: [10:28:22] <Pygreekik> new to php, and programming in general.
388: [10:28:28] <simon_w> Pygreekik, yeah. I hear people saying how good their writing interface is but there's just so much extra stuff in there that's way to confusing
389: [10:28:38] <r3v3rb> Pygreekik, omg, have you seen some of the so called professional templates on ThemeForest - go check the source and see the spaghetti!
390: [10:29:04] <Pygreekik> r3v3rb: nah, rather not. Rather open a competing site "ThemeThicket" for SS templates :P
391: [10:29:04] <r3v3rb> then imagine the code to run it in d3rp... the pain
392: [10:29:05] <simon_w> Ooh, Pygreekik has overtaken FrozenFire! http://logs.simon.geek.nz/stats.php#wordpress
393: [10:29:06] <micmania1> simon_w: wait until it starts stripping your <p> tags unexpectedly.
394: [10:29:18] <Pygreekik> gawd, so dark :<
395: [10:29:18] <simon_w> micmania1, I'm writing in Markdown :p
396: [10:29:37] * r3v3rb has 13 occurrences!
397: [10:30:00] <micmania1> I have 21 :( And sometimes I write W*rdpress
398: [10:30:21] <Pygreekik> I just go with wordderp, but some must sneak through on occasion, such as just before :<
399: [10:30:37] <micmania1> Pygreekik: is winning the cunt count.
400: [10:30:52] <micmania1> but he also loves the D
401: [10:30:53] <r3v3rb> wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress :D wordpress wordpress wordpress
402: [10:30:53] <r3v3rb> wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress wordpress :P
403: [10:30:57] <Pygreekik> droopals, j-word (because that one is just TOO offensive).
404: [10:31:04] <Pygreekik> r3v3rb: only counts per line I think.
405: [10:31:11] <simon_w> http://logs.simon.geek.nz/search.php?q=Pyromanik+WordPress
406: [10:31:12] <r3v3rb> pah :(
407: [10:31:14] <r3v3rb> lol
408: [10:31:22] <simon_w> r3v3rb, yeah, is a COUNT(*)
409: [10:31:36] <r3v3rb> :) I tried
410: [10:31:58] <simon_w> http://logs.simon.geek.nz/source/funcs.php bottom function
411: [10:32:12] <micmania1> I've come to the conclusion that I don't fucking swear enough.
412: [10:32:18] <r3v3rb> http://logs.simon.geek.nz/search.php?q=Pyromanik+Fuck :P wow Pygreekik thats a lot!
413: [10:32:40] <r3v3rb> rotflmao
414: [10:32:50] <Pygreekik> micmania1: ha, I'm winning about every count there is, really.
415: [10:32:54] <simon_w> I really need to change the stats building into a background task so it doesn't take a rather long time to load
416: [10:33:15] <Pygreekik> Especially if one factors in all the other names I've used, like Pyromanik vs Pyromanik[1], Pyromanik_, etc.
417: [10:33:38] <Pygreekik> and since the last 4 months... well fuck. Woudln't want to even try to compile those :P
418: [10:33:52] <simon_w> Pygreekik, you bitch! :p
419: [10:34:04] <simon_w> Also, I've thought about doing something like that but efforts
420: [10:34:10] <r3v3rb> Pygreekik, you also have verbal diarrhoea with 90733 lines
421: [10:34:12] <Pygreekik> yeah, it's lowering my street cred, I know. But yeh.
422: [10:34:17] <simon_w> Haha, ss23 no longer tops cunt
423: [10:34:17] <Pygreekik> r3v3rb: I know.
424: [10:34:25] <Pygreekik> oh yeah, he used to eyh.
425: [10:34:35] <simon_w> http://logs.simon.geek.nz/index.php?date=2013-11-07#log_1109713
426: [10:35:17] <r3v3rb> Pygreekik - worrying statistic that you top the board for p3n15
427: [10:35:59] * simon_w sleeps
428: [10:36:00] <Pygreekik> nah, I'm sure that count is wayyyyy too low.
429: [10:36:12] <Pygreekik> irogue_ should have much more, I'm sure.
430: [10:36:15] * ben-s has joined #silverstripe
431: [10:36:22] <Pygreekik> We had a thing going for a while, about who's count was bigger
432: [10:36:32] <Pygreekik> (yes, I'm doubling all the ententres)
433: [10:36:38] <Pygreekik> ALL~
434: [10:36:40] <Pygreekik> :P
435: [10:36:42] * Colin[pi] quit (Ping timeout: 265 seconds)
436: [10:36:52] <simon_w> http://logs.simon.geek.nz/index.php?date=2012-06-29#log_723198
437: [10:37:33] <Pygreekik> hahaha, classic.
438: [10:37:56] <ben-s> Hi, I am having an issue trying to run SS from the command line. I get "Couldn't run query" errors but the SQL all seems fine except there are double quotes around all the table names?
439: [10:38:09] <Pygreekik> because it should have.
440: [10:38:17] <Pygreekik> that's normal. That's SQL.
441: [10:38:30] <zippy___> ben-s: missing a column because you havn't dev/build ?
442: [10:38:57] <ben-s> i am trying to run dev/build
443: [10:40:56] <ben-s> also everything runs fine in the browser
444: [10:41:17] <Pygreekik> ben-s: what's the rest of the error?
445: [10:41:18] * yuka has joined #silverstripe
446: [10:41:23] <ben-s> one sec
447: [10:42:41] * greseky has joined #silverstripe
448: [10:42:59] <greseky> \j modx
449: [10:43:10] <Pygreekik> LOL WRONG DECISION#
450: [10:43:17] <yuka> ahhaha
451: [10:43:18] <yuka> :D
452: [10:43:23] * micmania2 has joined #silverstripe
453: [10:43:24] <yuka> NEWBIE!
454: [10:43:24] <yuka> :P
455: [10:43:27] * micmania1 quit (Ping timeout: 265 seconds)
456: [10:43:32] <Pygreekik> ben-s: I don't mean the sql, I mean the error message returned from the database
457: [10:45:30] * r3v3rb quit (Quit: Textual IRC Client: www.textualapp.com)
458: [10:46:17] <ben-s> oh lol i am being an idiot. i printed the output to file and the first error is it trying to connect to my live db not the local one.
459: [10:46:28] <ben-s> there were so many errors after it I didnt see
460: [10:47:05] <Pygreekik> Yep, thought that would be the case (connection issue)
461: [10:47:08] <Pygreekik> :>
462: [10:47:25] <ben-s> thanks anyway :)
463: [10:48:13] <Pygreekik> :>
464: [10:55:11] * micmania2 is now known as micmania1
465: [10:57:29] * zippy___ quit (Quit: zippy___)
466: [11:13:06] * ocm has joined #silverstripe
467: [11:13:08] <ocm> howdy ho!
468: [11:13:31] * mrzero_ has joined #silverstripe
469: [11:15:06] * spronk2 quit (Quit: spronk2)
470: [11:16:04] * mrzero quit (Ping timeout: 265 seconds)
471: [11:16:04] * mrzero_ is now known as mrzero
472: [11:19:49] * Shrike_Finland quit (Quit: Leaving.)
473: [11:21:38] * UncleCheese quit (Quit: UncleCheese)
474: [11:31:06] <Pygreekik> hi ocm
475: [11:31:16] * zfmf quit (Remote host closed the connection)
476: [11:31:32] * micmania1 quit (Ping timeout: 265 seconds)
477: [11:31:54] * micmania1 has joined #silverstripe
478: [11:40:08] * Shrike_Finland has joined #silverstripe
479: [11:41:06] * micmania1 quit (Ping timeout: 255 seconds)
480: [11:45:38] * micmania2 has joined #silverstripe
481: [11:45:42] * micmania2 is now known as micmania1
482: [12:16:05] * spronk2 has joined #silverstripe
483: [12:23:38] <irogue_> mornin y'all
484: [12:31:58] * zfmf has joined #silverstripe
485: [12:33:09] <ocm> howdy irogue_
486: [12:33:50] <irogue_> how's your week been?
487: [12:36:27] * zfmf quit (Ping timeout: 255 seconds)
488: [12:45:43] * spronk2 quit (Quit: spronk2)
489: [13:05:22] <Pygreekik> irogue_: ehh...
490: [13:06:30] * zfmf has joined #silverstripe
491: [13:10:37] * g4b0 has joined #silverstripe
492: [13:11:05] <g4b0> hi all
493: [13:11:34] <irogue_> Pygreekik: i agree
494: [13:12:04] <g4b0> Is it possible to filter a paginated set of databoject without using sessions?
495: [13:13:15] <Pygreekik> irogue_: what is your dodgy neighbourhood again?
496: [13:13:27] <Pygreekik> g4b0: filtered how?
497: [13:13:27] <irogue_> Pygreekik: Enderley
498: [13:13:39] <irogue_> uh, Enderly
499: [13:13:40] <Pygreekik> irogue_: is it the kind of place you walk at night, or no?
500: [13:13:46] <irogue_> Pygreekik: nope nope nope
501: [13:13:56] <Pygreekik> irogue_: I'd rather walk there at night than here :<
502: [13:13:58] <irogue_> have been quite a few stabbings around here at night lately
503: [13:13:59] <Pygreekik> anywhere here.
504: [13:14:19] <Pygreekik> irogue_: I'm lucky to not have perferations I think.
505: [13:14:26] <Pygreekik> Did you hear what happened?#
506: [13:14:32] <irogue_> nope
507: [13:14:55] <Pygreekik> I'm currently wearing a face mask after surgery to make it look as close to original as they could get it :<
508: [13:15:05] <irogue_> o_O
509: [13:15:34] <irogue_> mugged?
510: [13:15:43] <Pygreekik> After getting the aboslute shit kicked out of me 3 weeks ago tonight, all for the sake of £80 and a phone worth about £10
511: [13:16:03] <g4b0> Pygreekik: I have a filter form with year and month
512: [13:16:05] <Pygreekik> yeh. Unprovoked assault
513: [13:16:14] <irogue_> damn
514: [13:16:23] <g4b0> that that do a redirectBack at the end
515: [13:16:37] <g4b0> I would like to redirect back appending
516: [13:16:40] <Pygreekik> it's raining today, My puddle of blood is runny again.
517: [13:16:47] <g4b0> some GET param
518: [13:16:55] <Pygreekik> I walk past it every day on the way to work
519: [13:16:59] <g4b0> merged with pagination get param
520: [13:17:29] <Pygreekik> irogue_: in NZ you're likely to get harassed, but not attacked (by a group no less) unless you start swinging first.
521: [13:17:35] <Pygreekik> or at least, that's how I feel.
522: [13:17:43] <irogue_> yeah that shit doesn't really happen here eh. i've only known one person to get mugged in nz and that was in ngaruawahia
523: [13:17:56] <Pygreekik> these chaps (and lass) just set on me, put me in hospital overnight :<
524: [13:18:12] <Pygreekik> anyway, fish and chips Friday
525: [13:18:14] <Pygreekik> bbl
526: [13:18:56] <irogue_> cya
527: [13:20:39] <irogue_> well, that's another thing ive never heard of happen in NZ before
528: [13:21:00] <irogue_> a police car just witnessed someone jumping onto a freight train
529: [13:21:39] <irogue_> g4b0: you can maybe do that by urlencoding the get params?
530: [13:22:32] * ben-s has left #silverstripe
531: [13:24:18] * spronk2 has joined #silverstripe
532: [13:28:34] * irogue_ licks spronk2
533: [13:29:10] * spronk2 quit (Client Quit)
534: [13:31:32] * catcher has joined #silverstripe
535: [13:37:59] * wmk quit (Quit: nice to meet you ;))
536: [13:38:30] <Pygreekik> om nom nom nom
537: [13:38:37] <Pygreekik> Fush and Chups lunch
538: [13:45:01] <g4b0> irogue_: I'm trying that way..
539: [13:47:37] * muskie9 has joined #silverstripe
540: [13:48:34] * babak quit (Quit: Connection closed for inactivity)
541: [13:52:09] * cloph_away is now known as cloph
542: [13:53:36] <irogue_> Pygreekik: yum
543: [13:53:55] <Pygreekik> nom nom nom done
544: [13:54:05] <Pygreekik> Large fish, small chips. That's the secret!
545: [13:54:36] <Pygreekik> Now to try "Relentless: Apple& Kiwi"
546: [13:54:41] <irogue_> <3 fish
547: [13:54:55] <Pygreekik> yush
548: [13:56:05] <irogue_> "New Zealand plane spots objects in new search area of Indian Ocean as hunt for missing Malaysian jet shifts north"
549: [13:56:24] <Pygreekik> eh?
550: [13:56:29] <irogue_> if NZ finds this plane, with the whole world looking
551: [13:56:31] <Pygreekik> This is a news headline?
552: [13:56:35] <irogue_> WE GONNA BE FAMOUS
553: [13:56:38] <Pygreekik> ha, sif.
554: [13:56:43] <Pygreekik> Aussie will claim it, as usual.
555: [13:57:23] <irogue_> Pygreekik: that was a bbc news push notification. too late for australia :P
556: [13:58:24] <irogue_> so
557: [13:58:54] <Pygreekik> Aussie will still claim it.
558: [13:58:55] <irogue_> i can't believe there was legit a train hopper in hamilton
559: [13:58:58] <Pygreekik> You know they will.
560: [13:59:04] <Pygreekik> hahahah, champion.
561: [13:59:20] <irogue_> i thought people only did that in 'murica
562: [13:59:22] <Pygreekik> where the hell do you think he was off to?
563: [13:59:27] <Pygreekik> Otarahonga?
564: [13:59:30] <irogue_> lol
565: [13:59:40] * irogue_ checks where that line goes
566: [13:59:41] <Pygreekik> Trains only have one line :<
567: [13:59:52] <Pygreekik> about everything else dun gone been shut down
568: [14:00:07] <Pygreekik> Hell I don't even think they come through Hawera anymore
569: [14:00:29] <irogue_> is tauranga line
570: [14:00:54] <irogue_> Pygreekik: nah, hamilton <> tauranga line still pretty busy
571: [14:02:33] <irogue_> is why we have such a big kiwirail presence here, intersection of NIMT and tauranga line
572: [14:05:43] <irogue_> they jumped on at this level crossing: https://goo.gl/maps/Csajj
573: [14:07:04] <irogue_> police called train control, train stopped at ruakura, guy ran and they caught him when he ended up getting caught in gorse
574: [14:09:15] <kinglozzer> Pygreekik: I have red bull. No siesta for me.
575: [14:09:53] <irogue_> kinglozzer: i just finished my red bull
576: [14:11:02] <kinglozzer> irogue_: You're in NZ, right? It's like 3am! Doing an all-nighter? :P
577: [14:11:39] <irogue_> kinglozzer: i started it at like 1:30am. damn pint cans take too long to drink :P
578: [14:12:47] <kinglozzer> Haha yeah, I always feel so ill after drinking one of the huge ones :P
579: [14:14:00] <irogue_> i can knock a 500ml V back easily
580: [14:14:14] <irogue_> but red bull is... stronger? ive never been able to understand how/why
581: [14:14:33] <irogue_> but a 473ml red bull is way harder to drink and way more effective at keeping me awake
582: [14:15:12] * opalfroot has joined #silverstripe
583: [14:15:38] <opalfroot> anyone had any experience using Sphinx in their project?
584: [14:16:09] <irogue_> opalfroot: i use it but not 'integrated' per say
585: [14:16:18] <irogue_> as i'm searching dataobjects not sitetree objects
586: [14:16:58] <opalfroot> just wondering if you can get the fields returned in the same case as present in the DB
587: [14:17:32] <opalfroot> I have 14 classes extending a baseclass and I'm using sphinx for search
588: [14:20:03] <irogue_> opalfroot: not quite sure what you mean sorry
589: [14:21:33] * Shrike_Finland quit (Quit: Leaving.)
590: [14:25:21] * oceanmountain has joined #silverstripe
591: [14:27:15] * ocm quit (Ping timeout: 265 seconds)
592: [14:27:15] * oceanmountain is now known as ocm
593: [14:28:05] <catcher> irogue_, do you just set it up to search against mysql tables?
594: [14:30:01] * muskie9 quit (Read error: Connection reset by peer)
595: [14:30:27] * muskie9 has joined #silverstripe
596: [14:31:44] <Pygreekik> dafuq.
597: [14:32:02] <Pygreekik> is_int('2'); // false
598: [14:32:17] <Pygreekik> WHAAAAAAAAT
599: [14:32:59] * Drkevlar has joined #silverstripe
600: [14:33:17] <catcher> quotes = string
601: [14:33:21] <Pygreekik> irogue_: dat fucking gorse.
602: [14:33:54] <Pygreekik> It's growing on the edge of the river down by the office. Every time I walk past I have this huge urge to go and uproot it and throw it in the river :<
603: [14:34:13] <Pygreekik> catcher: hmm, good point. I want is_int_value eh.
604: [14:34:55] <catcher> Pygreekik, aye, or cast
605: [14:35:03] * deschebbs quit (Quit: User terminated!)
606: [14:35:53] <Drkevlar> Hey all, still a bit new to silverstripe. I'm trying to change the environment_type in mysite/_config/config.yml, but Director::get_environment_type still returns dev?
607: [14:36:23] <Pygreekik> catcher: nah, I want an int specifically. I know there's is_numeric, which works on strings.
608: [14:37:03] <catcher> Drkevlar, make sure it's not also set in _config.php or _ss_environment.php if it exists
609: [14:37:04] <Pygreekik> Drkevlar: cool man, but you need to give us an actual question chap, not a statement :<
610: [14:37:13] <Pygreekik> ie, like a bug report.
611: [14:37:35] <Pygreekik> What is it you want to do, what is it you're doing, what is it that's happening (going wrong or not)
612: [14:37:49] <Pygreekik> then we can give you the best advice :>
613: [14:37:50] * Shrike_Finland has joined #silverstripe
614: [14:38:17] <Pygreekik> Drkevlar: Most likely if you've set it in config.yml, you need to do a flush.
615: [14:38:40] <Pygreekik> whenever you change config stuff you need to flush, by appending ?flush=1 to the end of your URL
616: [14:38:41] <Pygreekik> :)
617: [14:38:49] <Drkevlar> Well, i would like to change to environment type. Somebody pointed me to mysite's config.yml, and, yes i did a build/flush :)
618: [14:39:14] <Pygreekik> Not sure env can be set in config. But I haven't used it in forever, so yeah.
619: [14:39:21] <Pygreekik> what catcher suggested is next :)
620: [14:39:33] <Pygreekik> mysite/config.php
621: [14:40:01] <Drkevlar> The documentation suggest yml syntax, that's why i'm a bit confused
622: [14:40:02] <muskie9> Drkevlar, another option http://doc.silverstripe.org/framework/en/topics/environment-management
623: [14:40:08] <Pygreekik> Drkevlar: then yml should be fine.
624: [14:40:17] <Pygreekik> and is probably the best way to do it.
625: [14:40:22] <catcher> Drkevlar, if it's not overridden in _config.php or _ss_environment.php, post your yml line here.
626: [14:40:37] <Pygreekik> mm. Pastie.org or something, put whole config.yml up.
627: [14:40:45] <catcher> ^
628: [14:40:51] <Pygreekik> Drkevlar: oh... have you fallen for the tabs/spaces trap?
629: [14:41:08] <Pygreekik> yaml does not recognise tabs as indentation layers. You MUST use spaces.
630: [14:41:28] * greseky quit (Ping timeout: 245 seconds)
631: [14:42:53] <Drkevlar> I did use 2 spaces, there is a warning in the config file :)
632: [14:43:02] <Drkevlar> Here is my config.yml: http://pastebin.com/PGYzgfvi
633: [14:45:27] <Pygreekik> hmm
634: [14:45:48] <Drkevlar> I only checked the config.php in mysite, nothing much there except database details
635: [14:46:18] <Drkevlar> And the is no _ss_environment.php
636: [14:46:39] <Pygreekik> hmm, should work http://api.silverstripe.org/3.1/source-class-Director.html#990
637: [14:47:18] <catcher> Drkevlar, which directory is your config.yml in?
638: [14:47:30] <Drkevlar> mysite/_config/
639: [14:47:36] <Pygreekik> Drkevlar: if this is not an environment you've set up completely, the _ss_environment.php may still be in use. It can be in any directory ABOVE the install root too.
640: [14:48:33] <Pygreekik> see the link muskie9 posted above for more info
641: [14:48:36] <irogue_> 16:25 < catcher> irogue_, do you just set it up to search against mysql tables?
642: [14:48:38] <Pygreekik> (http://doc.silverstripe.org/framework/en/topics/environment-management)
643: [14:48:39] <irogue_> affirm
644: [14:49:24] <catcher> irogue_, and you manually parse/display the results with an ss action?
645: [14:49:28] <Pygreekik> kinglozzer: I had Relentless. No siesta for me either :>
646: [14:49:59] <kinglozzer> Pygreekik: I used to love Relentless, but it's too much now D:
647: [14:50:05] <irogue_> catcher: yup
648: [14:50:12] <kinglozzer> I CANNAE TAKE IT
649: [14:50:23] <Pygreekik> kinglozzer: I tried this new Apple and Kiwifruit flavour. We didn't have that one in NZ
650: [14:50:25] <irogue_> catcher: much easier than dealing with searchcontexts and shit
651: [14:50:35] <catcher> irogue_, I believe it, probably faster too
652: [14:51:13] <Pygreekik> kinglozzer: I've not had many energy drinks here, trying to avoid them. But rubbish food requires rubbish drink. Like how it just feels wrong to eat pizza without some kind of coke or other rubbish.
653: [14:51:30] <catcher> irogue_, does sphinx run on the same db, or do you replicate it?
654: [14:51:30] <Pygreekik> thus, fish and chips requires an energy can from the dairy (err... news agent)
655: [14:51:50] <Pygreekik> haha micmania1, you're gonna have to get used to a whole new awesome vernacular.
656: [14:52:09] <micmania1> you what?
657: [14:52:10] <kinglozzer> Pygreekik: Haha yeah I know what you mean, can't have pizza without some sorta sugary drink :P
658: [14:52:26] <Pygreekik> micmania1: the wee 'corner shop' is a Dairy, not a News Agent.
659: [14:52:26] <irogue_> catcher: same db
660: [14:52:34] <Pygreekik> etc.
661: [14:52:35] <irogue_> sphinx doesn't do any writes to db
662: [14:52:47] <irogue_> so it's just reading the Product table and related ones
663: [14:52:48] * yuka quit (Quit: Page closed)
664: [14:53:19] <micmania1> Its the football/soccer thing that's going to get me
665: [14:53:24] <Pygreekik> Drkevlar: having any luck chief?
666: [14:53:28] <Pygreekik> micmania1: too true.
667: [14:53:30] <micmania1> I'm just going to call it 'football soccer'
668: [14:53:39] <Pygreekik> probably easiest.
669: [14:53:48] <micmania1> or footbaaaal all geordie like
670: [14:53:50] <Pygreekik> people who are really into soccer do call it football.
671: [14:54:05] <Pygreekik> but it confuses the shit out of the rest of the population.
672: [14:54:10] <catcher> irogue_, doesn't it need some special indexing stuff or something?
673: [14:54:17] <Pygreekik> although with your slight build they're unlikely to mistake you for a rugby player :P
674: [14:54:26] <irogue_> catcher: doesn't use mysql for that
675: [14:54:28] <irogue_> has its own index files
676: [14:54:45] <micmania1> so are these 'Dairy' shops on the corner?
677: [14:54:46] <catcher> irogue_, ahh, so it's a daemon
678: [14:54:50] <irogue_> yup
679: [14:54:53] <Pygreekik> micmania1: sometimes.
680: [14:55:00] <irogue_> theres two 'programs'
681: [14:55:01] <Pygreekik> in the 'burbs.
682: [14:55:04] <irogue_> searchd and indexer
683: [14:55:10] <micmania1> tbf I just say 'shop' anyway
684: [14:55:20] <catcher> irogue_, cool. How long would you say it takes to get going on an 'average' client site?
685: [14:55:21] <Pygreekik> that's fair.
686: [14:55:23] <micmania1> unless its on a corner. then its a 'corner shop'
687: [14:55:26] <Pygreekik> haha
688: [14:55:30] <Pygreekik> legit.
689: [14:55:39] <irogue_> you connect to searchd to query the sphinx db, you run indexer (via cron or whatever) to query the mysql and repopulate the sphinx db
690: [14:55:39] <catcher> irogue_, hours? days?
691: [14:56:02] <irogue_> catcher: minutes tbh
692: [14:56:06] <catcher> awesome
693: [14:56:08] <irogue_> sphinx is fucking easy
694: [14:56:15] <irogue_> you put your sql query into the config file
695: [14:56:20] <irogue_> however you want
696: [14:56:22] <irogue_> joins and all
697: [14:56:40] <irogue_> whatever fields you select, it indexes. if you want you can put weights etc in for fields
698: [14:56:54] <irogue_> and its *insanely* fast
699: [14:58:27] <Pygreekik> even though it's all Java?
700: [14:58:29] <irogue_> on an aws t1.micro instance, a search (of 1501 items) takes 0.00 seconds
701: [14:58:34] <irogue_> Pygreekik: you're thinking of Solr
702: [14:58:39] <Pygreekik> o
703: [14:58:49] <irogue_> sphinx is c++
704: [14:59:21] <catcher> irogue_, killer. Does it read the DB on every request? Or is everything contained in its index files?
705: [14:59:32] <irogue_> catcher: only reads mysql when you run indexer
706: [14:59:39] <catcher> dig. thanks for the info
707: [14:59:47] <irogue_> for example
708: [14:59:54] <irogue_> my index has 1501 products
709: [15:00:08] <irogue_> indexing pretty much every field including the html content
710: [15:00:18] <irogue_> index 'v2': query 'draytek ': returned 45 matches of 45 total in 0.000 sec
711: [15:00:35] <irogue_> it literally can't measure how long it takes to do a search
712: [15:00:37] <irogue_> its too quick
713: [15:00:51] <Pygreekik> ballzofamase
714: [15:01:22] <irogue_> and thats on a t1.micro instance
715: [15:01:31] <irogue_> i.e. slow as shit
716: [15:01:37] <catcher> irogue_, web/db/sphinx all on a single micro?
717: [15:01:46] <irogue_> catcher: using RDS for db
718: [15:02:04] <catcher> web/sphinx on ec2 + RDS
719: [15:02:25] <irogue_> web and sphinx on a single micro outside of work hours, a small boots up for peak and load balances with the micro
720: [15:03:03] <irogue_> pretty minimal traffic during offpeak times so the micro's fine
721: [15:03:56] <catcher> each instance has its own sphinx server & index files? How long does that index take?
722: [15:04:06] <irogue_> yup, sphinx on both
723: [15:04:21] <irogue_> total 1501 docs, 3437512 bytes
724: [15:04:22] <irogue_> total 3.451 sec, 995935 bytes/sec, 434.87 docs/sec
725: [15:04:25] <irogue_> ^ on the micro
726: [15:04:32] <catcher> cool
727: [15:05:04] <catcher> do you set a lag on the elb insertion so it has time to boot & index?
728: [15:05:12] <catcher> I guess the health check would even give you plenty of time
729: [15:05:33] <irogue_> catcher: yup, it won't get put into the ELB until health check's registered enough successful hits
730: [15:05:56] <irogue_> which is on a test page that will fail if php-fpm or searchd isnt running
731: [15:06:24] <catcher> ah, nice
732: [15:06:47] <irogue_> indexer is just on an hourly cron, no real biggie if it's still yesterday's data when the peak instance initially goes in
733: [15:07:01] <catcher> sure, makes sense
734: [15:07:56] <catcher> irogue_, do you sync assets w/ a common nfs drive or something like lsync?
735: [15:08:51] <irogue_> just rsync
736: [15:09:00] <irogue_> am in the process of moving them to s3 tho
737: [15:09:24] <Pygreekik> mounted bucket, or something tricksy?
738: [15:10:11] <irogue_> nah just extending File
739: [15:10:32] <irogue_> doing API calls within that
740: [15:11:22] <catcher> irogue_, master/slave b/n the ec2s? i.e. redirect small's admin requests to the micro?
741: [15:12:25] <irogue_> catcher: nope, just opposite minute rsyncs
742: [15:12:47] <irogue_> if theres a slight glitch where an image or something is broken on one instance for a minute, no huge biggie
743: [15:13:22] <catcher> sure
744: [15:13:23] <irogue_> i thought there'd be issues, but tbh its just worked so far
745: [15:14:01] <irogue_> Pygreekik: this is an item on my todo list
746: [15:14:07] <irogue_> "Upgrade to SilverStripe 3"
747: [15:14:22] <irogue_> as you've seen the codebase, you can understand how 'fun' that'll be
748: [15:14:36] * Shrike_Finland quit (Quit: Leaving.)
749: [15:14:38] <catcher> irogue_, will you be putting your s3 adventures on github?
750: [15:14:51] <irogue_> catcher: probably, but this is 2.4
751: [15:15:04] <irogue_> i believe someone's already done (or is working on) one for 3
752: [15:15:39] <catcher> I heard that s3 can pull from an ec2, rather than having to push, is that true?
753: [15:15:50] <irogue_> no idea
754: [15:15:57] <irogue_> entirely possible
755: [15:16:04] <irogue_> AWS has been getting far more integrated lately
756: [15:16:23] <irogue_> http://addons.silverstripe.org/add-ons/markguinn/silverstripe-cloudassets
757: [15:16:26] <catcher> that's make things much easier
758: [15:16:35] <irogue_> i remember on dev list someone saying they were going to work on an s3 driver for this
759: [15:16:57] <irogue_> which i'll prob end up making use of (or writing if it isnt done) once i upgrade to ss3
760: [15:17:52] <irogue_> my combination of beverages tonight has given me some epic belching
761: [15:19:06] <irogue_> started on canterbury cream (local clone of baileys), then onto rum+pepsi, then onto redbull+vodka
762: [15:19:20] <catcher> dude!
763: [15:19:34] <catcher> I'm ill just reading that.
764: [15:20:03] <irogue_> theres a new canterbury cream flavor
765: [15:20:06] <irogue_> its delicious
766: [15:20:40] <irogue_> http://www.themill.co.nz/buy/2169-canterbury-cream-white-choc-750ml.htm
767: [15:21:34] * irogue_ is just starting back on that
768: [15:24:18] * headtrip has joined #silverstripe
769: [15:24:27] <headtrip> hey guys
770: [15:24:53] <headtrip> how to automatically generate CMS Fields for a page (like model admin does)?
771: [15:26:00] <micmania1> headtrip: it doesn't do this by default as SiteTree uses tabs to structure content (ModelAdmin doesn't by default).
772: [15:26:57] <headtrip> so it is not possible by scratch?
773: [15:29:28] <micmania1> I wouldn't recommend it as it will cause all sorts of issues. If you really want to you could do this: http://pastie.org/private/ydpnz7avrow0tkfhxvdh0q
774: [15:29:59] <irogue_> must be about time for bed
775: [15:30:21] <Pygreekik> irogue_: I think someone has already made an external assets pluging module thing
776: [15:30:28] <Pygreekik> that hooks up to whatever system
777: [15:30:37] * CamelCase quit (Ping timeout: 240 seconds)
778: [15:31:32] <Pygreekik> oh, might be that cloud assets link you've got there
779: [15:31:33] <Pygreekik> kek
780: [15:31:36] <irogue_> yeh
781: [15:31:45] <irogue_> 3.1 only tho
782: [15:32:00] <irogue_> i could backport but prob more complicated than just writing my own in the meantime until i upgrade
783: [15:32:01] <Pygreekik> oic, this for snapper?
784: [15:32:04] <irogue_> yup
785: [15:32:07] <Pygreekik> right
786: [15:32:27] <Pygreekik> just mount s3 on local filesystem?
787: [15:33:05] <irogue_> i think that has some less-than-ideal speeds
788: [15:33:13] <Pygreekik> irogue_: but really 'upgrade to v3' is more of a 'refactor and be awesome' project, isn't it.
789: [15:33:21] <irogue_> Pygreekik: yup
790: [15:33:26] <Pygreekik> irogue_: yeah, peoiple do seem to try and circumvent that solution
791: [15:33:27] <irogue_> fix all the shitty early code
792: [15:33:30] <Pygreekik> kekeke
793: [15:33:40] <Pygreekik> and consolidate things with proper encapsulation
794: [15:33:49] <Pygreekik> stop all them DRY violations
795: [15:33:51] <irogue_> and the shit that webtorque wrote *shudder*
796: [15:34:20] <Pygreekik> irogue_: also, Baileys comes in orange truffle flavour over here. Pretty fantastic.
797: [15:34:28] <irogue_> yup, its here too
798: [15:34:49] <Pygreekik> there's a full strength and a 'hint of' version too, so far as I've seen.
799: [15:35:01] <Pygreekik> I thought the 'hint' one was pretty good, havne't tried 'orange' flavour.
800: [15:35:18] <Pygreekik> Not been keen on the drink since I got rolled :<
801: [15:37:20] <irogue_> a cat just casually walked inside
802: [15:37:30] <irogue_> saw me, looked surprised and casually walked back out
803: [15:37:43] <Pygreekik> hahaa
804: [15:37:48] <Pygreekik> classic. You in the shed?
805: [15:37:55] <irogue_> yup
806: [15:38:44] <irogue_> door's only open a crack, just wide enough for a cat to get through
807: [15:38:55] <Pygreekik> ehhehehehehee, crack.
808: [15:39:15] <irogue_> last week it was a hedgehog that came to visit
809: [15:39:29] <Pygreekik> crack pussy. Just one euphamisim away from crack whore.
810: [15:39:36] <Pygreekik> ooh, hedgehogs are great.
811: [15:39:48] <irogue_> he didnt quite make it inside tho, couldnt get over the downpipe that (weirdly) goes along the bottom of the doorway
812: [15:40:27] <Pygreekik> hehe, cute.
813: [15:44:30] <irogue_> https://www.dropbox.com/s/tzrsxjcob18xm3u/2014-03-29%2004.40.54.jpg
814: [15:44:37] <irogue_> totally logical place to put a pipe, right?
815: [15:45:30] <micmania1> I'd say that was pretty anti-social to hedgehogs
816: [15:46:26] <irogue_> ikr!
817: [15:47:39] * Shrike_Finland has joined #silverstripe
818: [15:48:07] <irogue_> also, spotted this at the supermarket the other day. https://www.dropbox.com/s/nh4wxzo1eb7pkm4/2014-03-25%2018.50.21.jpg
819: [15:48:11] <irogue_> now that's my idea of a chilly bin
820: [15:48:13] <Pygreekik> that's downright discriminatory, that isl.
821: [15:48:35] <Pygreekik> haha, chilly bin win
822: [15:48:58] <Pygreekik> ^ competition pun
823: [15:49:19] <micmania1> "chilly bin" - 0'm writing this one down.
824: [15:49:22] <micmania1> I'm*
825: [15:49:43] <Pygreekik> micmania1: just don't make the nearly fatal mistake of calling it an "esky"
826: [15:49:47] <Pygreekik> that's extremely aussie.
827: [15:50:03] <Pygreekik> :P
828: [15:50:03] <micmania1> Never even heard of the word lol
829: [15:50:10] <Pygreekik> You don't have them here?
830: [15:50:16] <micmania1> yeah, coolers
831: [15:50:16] <irogue_> micmania1: what do y'all call them?
832: [15:50:19] <irogue_> ah
833: [15:50:21] <Pygreekik> I guess it's almost always winter so they're less needed... but yeh.
834: [15:50:44] <Pygreekik> coolers, makes sense. Except they don't cool, they just prolong temperature rises :P#
835: [15:50:53] <irogue_> yeah, slightly inaccurate :P
836: [15:50:56] <Pygreekik> well I suppose if you put something warm in it, it would call it a bit.
837: [15:51:05] <Pygreekik> but probably only to tepid at best.
838: [15:51:11] <Pygreekik> mind you, that's how pints are served here.
839: [15:51:48] <irogue_> lol
840: [15:52:01] <Pygreekik> Nothing so good as chilly bin and bbq by the pohutukawas on the shoreline in summer.
841: [15:52:10] <irogue_> when the world cup was on
842: [15:52:22] <irogue_> was on a bus full of brits on their way to a game
843: [15:52:50] <Pygreekik> And they were complaining about cold beer?
844: [15:53:01] <Pygreekik> idk, is there a point to this story? :P
845: [15:53:02] <irogue_> one very loud english chap having a big moan about how he went into an english pub (in the north shore) and they served him ice cold guinness
846: [15:53:05] <Pygreekik> or was that just a statement :P
847: [15:53:11] <Pygreekik> hahahaha
848: [15:53:14] <Pygreekik> classic.
849: [15:53:24] <Pygreekik> Pretty sure Guinness is supposed to be cold.
850: [15:53:26] * headtrip quit (Quit: Page closed)
851: [15:53:32] <Pygreekik> though maybe not ice cold.
852: [15:54:02] <Pygreekik> micmania1 and I need to have a Guinness or a few before he goes.
853: [15:54:04] <micmania1> yeah, but Guiness is Irish... Engaldn fans don't exactly get on well with Ireland.
854: [15:54:10] <Pygreekik> mm, true.
855: [15:54:27] <Pygreekik> Fuck I wanna go to Ireland.
856: [15:54:37] <Pygreekik> They talk fantastic and I want to work on my accent.
857: [15:54:39] <micmania1> I went once, didn't even stay a full day
858: [15:54:43] <Pygreekik> hahaha
859: [15:54:46] <irogue_> micmania1: tis what most of the 'english pubs' here serve :P
860: [15:54:47] <Pygreekik> NI or ROI?
861: [15:54:52] <micmania1> ROI
862: [15:55:00] <irogue_> about as close as we have to english beer in NZ
863: [15:55:05] <Pygreekik> I'm still not too sure what the difference is.
864: [15:55:22] <Pygreekik> irogue_: well, a few places are starting to stock boddingtons... but that's not fantastic.
865: [15:55:33] <micmania1> ROI not british. NI is British.
866: [15:55:44] <Pygreekik> micmania1: I know that much :P
867: [15:55:52] <irogue_> irish rugby team is both ROI and NI
868: [15:56:01] <irogue_> one of the few times that ireland is united :P
869: [15:56:06] <Pygreekik> but in terms of things like visas, UK inclusion, that kinda stuff.
870: [15:56:15] <irogue_> which is why they don't have an anthem when they play rugby
871: [15:56:22] <micmania1> Didn't know that.
872: [15:56:28] <Pygreekik> ha, neither did I.
873: [15:56:38] <irogue_> no way they could use god save the queen nor ireland's
874: [15:56:39] <Pygreekik> must be wierd only having an anthem for one side at a test.
875: [15:57:01] <irogue_> they tried making a generic rugby song but everyone hated it
876: [15:57:05] <Pygreekik> well, no way they could use god save the queen... but ireland's anthem they might get away with.
877: [15:57:08] <Pygreekik> haha
878: [15:57:16] <Pygreekik> ireland need a haka, is that what we're saying?#
879: [15:57:29] <irogue_> they need a random folk song
880: [15:57:33] <irogue_> like "waltzing matilda"
881: [15:57:37] <Pygreekik> get the piccollos out boys
882: [15:57:47] <Pygreekik> ha, who bloody killed her?
883: [15:57:52] <Pygreekik> etc etc
884: [15:57:54] <Pygreekik> :P
885: [15:58:10] <irogue_> one of the world cups, 95 i think, they encouraged the use of "national songs" rather than anthems
886: [15:58:17] <micmania1> What is that whole NZ rugby dance thing about?
887: [15:58:22] <irogue_> NZ used pokarekare ana
888: [15:58:36] <irogue_> naturally, AU used waltzing matilda
889: [15:58:53] <Pygreekik> micmania1: it's a war dance.
890: [15:59:04] <Pygreekik> supposed to strike fear into the enemy.
891: [15:59:05] <Pygreekik> etc.
892: [15:59:16] <Pygreekik> it's a cultural thing that we get away with for some reason.
893: [15:59:16] <irogue_> and get the adrenaline flowing in the warriors
894: [15:59:40] <Pygreekik> yeh, it's basically the equiv of an inspiring half time talk like in the yank movies.
895: [15:59:43] <irogue_> there's been some studies showing it's actually advantageous to the all blacks
896: [16:00:08] <irogue_> it's cool when we're up against PI teams who have their own hakas
897: [16:00:21] <Pygreekik> mmm
898: [16:00:27] <micmania1> I never knew anyone else done it
899: [16:01:13] <Pygreekik> Yeh it's a pacific culture thing
900: [16:01:27] <Pygreekik> so places like Tonga, Samoa, etc get to do it too.
901: [16:01:59] <Pygreekik> then you get some retards in the USA doing _our_ haka, because they're retarded.
902: [16:02:07] <irogue_> https://www.youtube.com/watch?feature=player_detailpage&v=X0W7YdKYPl0#t=57
903: [16:03:02] * Sj0hn quit ()
904: [16:03:25] <micmania1> Has any team ever replied with a YMCA or anything?
905: [16:03:57] <Pygreekik> hahahah, the Irish doing what the Irish do best. https://www.youtube.com/watch?v=weUHwCjeD7s
906: [16:05:53] <irogue_> theres actually IRB rules now about it
907: [16:06:15] <Pygreekik> mmm
908: [16:06:15] <zfmf> he guys, i updated from 3.0 to 3.1.3 now this method return this: "content":{"class":"HTMLText"} instead of the htmldata whats the problem here anyone an idea??
909: [16:06:17] <irogue_> not allowed to cross the halfway line during haka, but allowed to do a response on your side of the line
910: [16:06:30] <zfmf> http://pastebin.com/vQyqRbYd
911: [16:06:33] <Pygreekik> zfmf: define 'this method'
912: [16:06:34] <Pygreekik> oh
913: [16:07:06] <irogue_> cos someone (probably the french) took it too far with challenging it
914: [16:07:23] <Pygreekik> Yeh, the French would, dirty bastards.
915: [16:08:06] <irogue_> yup
916: [16:08:08] <irogue_> "France has been fined $5000 for advancing on the All Blacks haka before Sunday's Rugby World Cup final."
917: [16:08:33] <Pygreekik> pity they don't get fined for all the biting, etc that goes on.
918: [16:08:39] <Pygreekik> they play rough eh.
919: [16:08:46] <irogue_> yeah
920: [16:08:49] <irogue_> france are dodgy as
921: [16:09:10] <irogue_> watching games against ZA is a lot more pleasant now the douchnozzle coach is gone
922: [16:09:43] <Pygreekik> za, south africa right?
923: [16:10:03] <irogue_> yup
924: [16:10:25] <micmania1> Is the 'football soccer' world cup a big thing in NZ?
925: [16:10:30] <irogue_> nope
926: [16:10:32] <Pygreekik> micmania1: a bit.
927: [16:10:37] <micmania1> lol ^^
928: [16:10:40] <Pygreekik> lots of people keep a casual eye on it, but it's not huge news.
929: [16:11:21] <Pygreekik> also micmania1, on the news of people not from New Zealand taking the piss out of NZ (accents) - have you seen: http://www.youtube.com/watch?v=ZdVHZwI8pcA
930: [16:11:44] <irogue_> its way down on the priority list below Rugby, League and Cricket
931: [16:11:58] <Pygreekik> Rugby, the other kind of Rugby
932: [16:12:04] <irogue_> lol yeah
933: [16:12:07] <Pygreekik> and that other winter sp.... oh wait there aren't any.
934: [16:12:20] <Pygreekik> Cricket in summer, Rugby in winter.
935: [16:12:52] <irogue_> yep
936: [16:13:08] <Pygreekik> although the news does report on the All Whites when they do ok (in a world cup like)
937: [16:13:19] <irogue_> basketball getting a following thanks to Breakers, soccer getting a following thanks to Phoenix
938: [16:13:46] <Pygreekik> iirc All Whites did suprisingly ok in their world cup pool when it was on a year or two back>
939: [16:13:47] <Pygreekik> ?
940: [16:13:51] <irogue_> yup
941: [16:14:02] <irogue_> they still have a much smaller following than Phoenix tho
942: [16:14:03] <micmania1> all whites = football soccer?
943: [16:14:06] <irogue_> yup
944: [16:14:07] <Pygreekik> mm, so a bit of a surgence there. Soccer is getting more popular, for sure.
945: [16:14:22] <irogue_> micmania1: the NZ national soccer team
946: [16:15:11] <Pygreekik> zfmf: no idea sorry, other than that the render with is returning not what you expect.
947: [16:15:15] <irogue_> Phoenix are the Wellington team in the domestic aussie competition (since we don't have a top-level domestic soccer comp of our own)
948: [16:15:21] <Pygreekik> also, why <pre> print_r ?
949: [16:15:33] <Pygreekik> debugging?
950: [16:15:40] <micmania1> irogue_: yeah, I found that out the other day :D
951: [16:15:40] <Pygreekik> xdebug and var_dump ftw
952: [16:15:41] <irogue_> but as the only NZ team in the comp, they act as the NZ team up against a bunch of aussie teams :P
953: [16:15:49] <micmania1> I youtubed them but they got beat 5-0 :( lol
954: [16:16:05] <Pygreekik> rofl. As I say micmania1... if you try out you'll probably get in :P
955: [16:16:10] <irogue_> Breakers, on the other hand
956: [16:16:13] * Pygreekik shrugs
957: [16:16:14] <irogue_> same deal
958: [16:16:25] <irogue_> Auckland (so essentially NZ) team in the domestic aussie basketball comp
959: [16:16:32] <Pygreekik> irogue_: yeah, but you can't try out for Breakers unless you're 9 foot tall :<
960: [16:16:37] <irogue_> have either won or come 2nd for like 5 years in a row now
961: [16:16:47] <zfmf> ok now with $content->value its ok but i can't find anything in the docu & changelogs about this , i have a lot ajax calls so i have to change all of them :D
962: [16:17:07] <Pygreekik> zfmf: it's not changed.
963: [16:17:20] <Pygreekik> unless the default cast thing has muddled you up
964: [16:17:28] <irogue_> yeah, likely
965: [16:17:41] <zfmf> Pygreekik: because xdebug is installed, with var_dump i can't read it in the console
966: [16:18:06] <irogue_> micmania1: you moving here or something?
967: [16:18:18] <Pygreekik> irogue_: he got a job for SS on Wednesday
968: [16:18:23] <Pygreekik> so yes :
969: [16:18:25] <irogue_> sweet
970: [16:18:26] <Pygreekik> >
971: [16:18:29] <irogue_> akl or wgtn?
972: [16:18:32] <Pygreekik> Wlg
973: [16:18:55] <Pygreekik> I thought he was joining Stephens team, but apparently not.
974: [16:18:58] <irogue_> sweet sweet
975: [16:19:03] <irogue_> will have to meet at next hackfest
976: [16:19:09] <Pygreekik> yeh.
977: [16:19:16] <Pygreekik> I miss hackfests :<
978: [16:20:10] <Pygreekik> so much fun
979: [16:22:02] <irogue_> micmania1: at least you're moving to the right city for soccer
980: [16:22:37] <Pygreekik> mm
981: [16:22:48] <Pygreekik> the city does get up in behind the Phoenix
982: [16:23:24] <irogue_> is the home of all whites too
983: [16:23:30] <Pygreekik> oic
984: [16:23:36] <Pygreekik> probably mostly the same folk, lol
985: [16:23:40] <irogue_> so the only two pro football teams in the country are in wellington
986: [16:26:25] * ARNHOE quit ()
987: [16:27:26] * CamelCase has joined #silverstripe
988: [16:28:02] <irogue_> Pygreekik: 5 people in both teams
989: [16:28:05] <micmania1> I'll be glad to get away from the football over here. Too expensive and frustrating!
990: [16:28:28] <Pygreekik> haha, move to a place where it's virtually non-existant and we lose all the time :P
991: [16:28:41] <Pygreekik> also, MORE expensive! Most matches are in Aussie!
992: [16:28:48] <micmania1> can you have a pint whilst watching the match?
993: [16:28:48] <Pygreekik> :P
994: [16:28:59] <micmania1> more expensive? I doubt it!!
995: [16:29:05] <Pygreekik> You can have a pint whenever you like. Just depends where you're watching from
996: [16:29:16] <Pygreekik> micmania1: grabaseat.co.nz - cheapest flights to aus.
997: [16:29:27] <Pygreekik> although to be fair about the price of the train to London if you book too late.
998: [16:29:38] <micmania1> ah, yeah if you're travelling. I'll not be travelling
999: [16:29:39] <SMaction> I do not know how to troubleshoot this (because I do not know a lot about translation) what could possibly be causing all the "Learn More" links to be successfuly translated except one http://imgur.com/7rLV3K5
1000: [16:29:42] <micmania1> I meant icket prices
1001: [16:29:53] <Pygreekik> micmania1: well if you find a bar that'll put it on the telly for you, then yeah, you can have a pint for sure.
1002: [16:30:03] <Pygreekik> if you get Sky and they cover it, you can have a pint at home!
1003: [16:30:05] <micmania1> but not in the stands?
1004: [16:30:13] <Pygreekik> ummm.... depends.
1005: [16:30:21] <Pygreekik> pint: no. Beer: probably.
1006: [16:30:28] <Pygreekik> plastic bottles.
1007: [16:30:30] <micmania1> same thing
1008: [16:30:32] <Pygreekik> not big.
1009: [16:30:39] <Pygreekik> half pint, at max.
1010: [16:30:40] <micmania1> We're not allowed alcohol in the stands
1011: [16:30:47] <Pygreekik> oh, and we all sit together.
1012: [16:30:50] <irogue_> micmania1: $30 tickets for phoenix games
1013: [16:30:52] <Pygreekik> because we don't fight and kill each other.
1014: [16:31:00] <micmania1> LOL boring
1015: [16:31:02] <Pygreekik> lol#
1016: [16:31:27] <micmania1> cheapest...
1017: [16:31:32] <Pygreekik> mm. so cheaper I guess, since you'll be spending pounds at first.
1018: [16:31:35] <irogue_> plus $30 if you want a parking space. cos welllington
1019: [16:31:47] <irogue_> literally its $30
1020: [16:31:49] <Pygreekik> hahah, but living in wlg just take bus down to the cake tin.
1021: [16:31:57] <Pygreekik> problem solved.
1022: [16:31:59] <irogue_> yup
1023: [16:32:02] <irogue_> or train!
1024: [16:32:11] <Pygreekik> ha, fuck living in Jville.
1025: [16:32:27] <micmania1> irogue_: where abouts you from?
1026: [16:32:41] <irogue_> micmania1: Hamilton
1027: [16:33:22] <irogue_> https://goo.gl/maps/caAfy
1028: [16:33:33] <micmania1> quite far from Wellington then.
1029: [16:33:42] <Pygreekik> mmm.
1030: [16:33:48] <Pygreekik> 5 hour drive, iirc
1031: [16:33:56] <Pygreekik> mebbe 6
1032: [16:33:59] <micmania1> ouch! are your trains good?
1033: [16:34:03] <Pygreekik> fuck no
1034: [16:34:03] <Pygreekik> haha
1035: [16:34:14] <irogue_> micmania1: theres no commuter trains between cities
1036: [16:34:22] <Pygreekik> cost more than a flight, and get you there sometime between the day after you want to be, and never.
1037: [16:34:40] <irogue_> honestly the cheapest way to get from hamilton to wellington is to bus to auckland and fly to wellington
1038: [16:34:40] <micmania1> how do you get around? Just drive or fly?
1039: [16:34:43] <Pygreekik> It's dive or die tbh.
1040: [16:34:47] <Pygreekik> drive or fly, yeh.
1041: [16:34:54] <Pygreekik> there are busses
1042: [16:34:56] <Pygreekik> err... coaches.
1043: [16:35:09] <irogue_> $15 bus to auckland, then $40 flight to wellington
1044: [16:35:23] <micmania1> $40?! That's areet.
1045: [16:35:26] <micmania1> fuck trains!
1046: [16:35:28] <Pygreekik> that's cheap.
1047: [16:35:34] <Pygreekik> flights usually push $100.
1048: [16:35:42] <irogue_> Pygreekik: thats normal for akl<>wgtn
1049: [16:35:42] <micmania1> Still decent though
1050: [16:35:45] <Pygreekik> it's because AKL - WLG isn't too bad.
1051: [16:35:50] <Pygreekik> wanna go anywhere else and you're fucked.
1052: [16:36:00] <Pygreekik> fucked as in $300+ and only about 1 flight a day,.
1053: [16:36:07] <Pygreekik> and it takes about 2 hours.
1054: [16:36:08] <Pygreekik> lol
1055: [16:36:14] <irogue_> micmania1: flying between the biggest city and the capital (and 2nd biggest city)
1056: [16:36:15] <Pygreekik> with a stop over.
1057: [16:36:39] <irogue_> so a zillion flights a day and cheap as chips
1058: [16:36:41] <Pygreekik> CHC to WLG is about $100, CHC to AKL is about the same.
1059: [16:36:52] <Pygreekik> but it ads up if you do it often.
1060: [16:36:56] <irogue_> HLZ to WLG can be around $400
1061: [16:37:01] <Pygreekik> so yeah, it's not bad provided you're going to a 'major' city.
1062: [16:37:03] <irogue_> turboprop!
1063: [16:37:09] <Pygreekik> but otherwise drive.
1064: [16:37:13] <Pygreekik> Cars are cheap.
1065: [16:37:20] <Pygreekik> Petrol not so much, but not too bad.
1066: [16:37:26] <micmania1> do you have manual cars over tere?
1067: [16:37:29] <Pygreekik> yeh.
1068: [16:37:31] <Pygreekik> 'course.
1069: [16:37:36] <Pygreekik> We're not America.
1070: [16:37:40] <micmania1> goooood. I don't like the idea of automatic
1071: [16:37:41] <irogue_> micmania1: within city, trains and buses are pretty good in both auckland and wellington
1072: [16:37:57] <Pygreekik> mmm, busses ok in CHC, but no trains at all.
1073: [16:38:57] * irogue_ can't wait to have a go on the new trains in AKL
1074: [16:39:43] * Shrike_Finland quit (Quit: Leaving.)
1075: [16:39:51] <Drkevlar> I'm trying to trace calls to Director::set_environment_type, but any changes i make to the set_environment_type method do not have any effect?
1076: [16:41:31] <Drkevlar> After running build/flash ofcourse.
1077: [16:42:11] <Pygreekik> Drkevlar: are you still using the yml?
1078: [16:42:17] <Pygreekik> or did you switch to PHP?
1079: [16:42:23] * Shrike_Finland has joined #silverstripe
1080: [16:42:25] <Pygreekik> looks like you switched
1081: [16:42:36] <Drkevlar> I switch to config.php, no changes.
1082: [16:42:37] <Pygreekik> choose one or the other, you're probably getting conflicts.
1083: [16:42:41] <Drkevlar> switched*
1084: [16:42:55] <Drkevlar> Site keeps running in dev mode
1085: [16:42:58] <Pygreekik> Director::set_environment_type('dev');
1086: [16:43:12] <Pygreekik> you're using 3.1.3 yes?
1087: [16:43:15] <Drkevlar> Yup
1088: [16:43:37] <micmania1> Drkevlar: config.php or _config.php?
1089: [16:44:07] <Drkevlar> _config.php
1090: [16:44:52] <Pygreekik> fuckyeah supergroove
1091: [16:44:58] <Pygreekik> :D
1092: [16:45:10] <Pygreekik> Thank you youtube :>
1093: [16:45:21] * muskie9 quit (Read error: Connection reset by peer)
1094: [16:45:29] <Pygreekik> Drkevlar: so your like looks exactly like what I typed above?#
1095: [16:45:38] <Pygreekik> Director::set_environment_type('live');
1096: [16:45:40] <Pygreekik> or like that?#
1097: [16:45:49] * muskie9 has joined #silverstripe
1098: [16:45:50] <irogue_> PLEASE MISTER BANKMAN
1099: [16:46:02] <Drkevlar> Yeah, i've coded php for over 5 year, so i know a little :)
1100: [16:46:05] <irogue_> I NEED TEN GRAND TO BUY ME BACK MY CAR
1101: [16:46:18] <kinglozzer> Drkevlar: Are you sure you don't have an _ss_environment.php somewhere? Like a level above your document root?
1102: [16:46:20] <Pygreekik> Drkevlar: so yeah, y/n?
1103: [16:46:37] <Pygreekik> you set the environment and everything up, right?
1104: [16:46:48] <Drkevlar> Did a search on the entire xampp dir, no such file.
1105: [16:47:20] <Drkevlar> I haven't set up _ss_environment.php yet
1106: [16:47:35] <kinglozzer> Drkevlar: Are you /sure/ it's still in dev mode?
1107: [16:47:53] * irogue_ goes to bed
1108: [16:47:55] <kinglozzer> If you're explicitly setting live, and nothing else is setting it to dev, I don't see how it can be dev
1109: [16:47:55] <irogue_> almost 6am
1110: [16:47:57] <Pygreekik> nn irogue_
1111: [16:48:03] <kinglozzer> bb irogue_
1112: [16:48:42] <Drkevlar> Thats why i would like to trace calls to the setter, that way i can see what might be overwriting.
1113: [16:49:31] <Pygreekik> Drkevlar: just hack core (temporarially), throw and exception in Director::set_envrionment_type
1114: [16:49:36] <Pygreekik> throw an*
1115: [16:50:16] <Pygreekik> or just user_error('ha')
1116: [16:50:17] <Drkevlar> Pygreekik: Any changes i make not not seem to get picked up (director.php), looks like it's in the cache ?
1117: [16:50:23] <Drkevlar> do not*
1118: [16:50:30] <Pygreekik> hahaha, sounds like you're editing code that's not running tbh.
1119: [16:50:35] <kinglozzer> Yeah it does :P
1120: [16:50:36] <micmania1> yep
1121: [16:50:43] <Pygreekik> totally have 2 site roots.
1122: [16:50:51] <Pygreekik> editing wrong version :P
1123: [16:51:13] <micmania1> try trigger_error("ITS A DISASTER", E_USER_ERROR) in _config.php
1124: [16:51:19] <micmania1> right at the start
1125: [16:51:22] <Drkevlar> Only 1 director.php in the enitire xampp folder
1126: [16:51:26] <kinglozzer> Unless you have an opcode cache that's never expiring or something :P
1127: [16:51:36] <Pygreekik> xampp, doubtful
1128: [16:51:42] <micmania1> ^^
1129: [16:51:43] <Pygreekik> but possible
1130: [16:51:45] <catcher> Drkevlar, he means the wrong _config.php
1131: [16:52:03] <Drkevlar> Changes in config do get picked up
1132: [16:52:16] <Pygreekik> catcher: no, because he's throwing an error in director::set_env_type
1133: [16:52:27] <Pygreekik> but no error happens.
1134: [16:52:32] <Drkevlar> ^
1135: [16:52:33] <Pygreekik> thus, not being executed.
1136: [16:52:47] <Pygreekik> thus, some weird cache thing, or just mistaken identities
1137: [16:53:19] <Pygreekik> add a header using the .htaccess. If header doesn't show, then your code isn't the correct copy
1138: [16:53:52] * g4b0 quit (Quit: Sto andando via)
1139: [16:54:28] <catcher> oh, weird
1140: [16:55:01] <Drkevlar> Director.php does get included by the looks
1141: [16:55:11] <Drkevlar> SS_Backtrace::backtrace(); at the top gives me a warning
1142: [16:56:45] <kinglozzer> Drkevlar: And if you put it in Director::set_environment_type(); ?
1143: [16:56:52] <Drkevlar> Nothing happens
1144: [16:57:09] <kinglozzer> Drkevlar: SS_Backtrace::backtrace(); die; ?
1145: [16:57:31] <Drkevlar> Tried exit, error, everything
1146: [16:57:54] <kinglozzer> You can't be calling Director::set_environment_type() in your _config.php then
1147: [16:58:01] <Drkevlar> It is
1148: [16:58:11] <Pygreekik> put die; in the config.
1149: [16:58:20] <Pygreekik> that'll tell you
1150: [16:58:21] <Drkevlar> And my controller calls get_env aswell, nothing happens there aswell....
1151: [16:59:30] <micmania1> Drkevlar: what is your directory structure?
1152: [17:00:19] <Pygreekik> mmm, sounds like something not right
1153: [17:00:50] <Drkevlar> Ah, yup, now im getting a trace in set_env, BUT get_env still returns dev
1154: [17:01:53] <micmania1> The default env type is live so my best guess would be that you're setting it to dev somewhere else.
1155: [17:01:56] <Pygreekik> see if you can debug out a stack trace each time it's called rather than dying
1156: [17:02:24] <micmania1> Also, it wouldn't get called if its being set through the config system
1157: [17:02:28] <Drkevlar> I did that, it's only being called once
1158: [17:02:38] <kinglozzer> Drkevlar: You don't have APC, XCache, Zend Opcache or anything installed do you? Just checking
1159: [17:03:03] <Drkevlar> Standard xampp install, i don't think so.
1160: [17:03:15] <kinglozzer> Yeah they won't be installed then, don't worry
1161: [17:03:32] <micmania1> Drkevlar: check your yaml files to ensure you're not setting it to dev anywhere or check any modules to ensure they're not setting it to dev.
1162: [17:03:49] <Drkevlar> I need a smoke, maybe some stuff comes to mind then. thanks for the help, really appriciated, brb :)
1163: [17:05:01] <kinglozzer> Yeah, search your entire project for 'environment_type' in *.php and *.yml
1164: [17:05:24] * kinglozzer weekend!
1165: [17:05:29] <kinglozzer> bb all <3
1166: [17:05:59] * kinglozzer quit ()
1167: [17:06:44] <Pygreekik> wholey shit, it's after 5.
1168: [17:06:47] <Pygreekik> book'n out.
1169: [17:06:52] <Pygreekik> have fun
1170: [17:07:07] * Pygreekik quit ()
1171: [17:09:45] * opalfroot quit (Quit: Page closed)
1172: [17:13:31] * muskie9 quit (Remote host closed the connection)
1173: [17:14:38] * andylockran quit (Ping timeout: 246 seconds)
1174: [17:15:46] * andylockran has joined #silverstripe
1175: [17:21:50] <Drkevlar> Ah, found it, when i'm logged in as admin, get_env_type returns dev, fresh session is live, yay !
1176: [17:30:10] * Shrike_Finland quit (Quit: Leaving.)
1177: [17:30:17] * FrozenFire got pinged here, but doesn't see it in his scrollback
1178: [17:30:38] <micmania1> Frozen
1179: [17:30:53] <micmania1> [10:29:03] <@simon_w> Ooh, Pygreekik has overtaken FrozenFire! http://logs.simon.geek.nz/stats.php#wordpress
1180: [17:30:59] <micmania1> That's better
1181: [17:32:00] * FrozenFire can't access that link
1182: [17:32:03] <FrozenFire> But thank you
1183: [17:32:10] <micmania1> yeah, it takes a while
1184: [17:32:15] * Shrike_Finland has joined #silverstripe
1185: [17:32:34] <micmania1> its a wordcount for wordpress on IRC. Overtaken by Pyro
1186: [17:33:07] <micmania1> http://awesomescreenshot.com/0d52ke6e33
1187: [17:33:32] <micmania1> anyway. Friday
1188: [17:33:33] <micmania1> cya
1189: [17:33:49] * Uitto has joined #silverstripe
1190: [17:42:21] <Drkevlar> Does the template engine have foreach, or do i need to format the array with php if i dont know the keys?
1191: [17:46:24] <catcher> Drkevlar, <% loop %> will loop over a datalist/arraylist
1192: [17:46:28] * wilsonstaff has joined #silverstripe
1193: [17:47:33] <wilsonstaff> Hi guys, TinyCME strips my <i> tags (using FontAwesome). Checked framework/admin/_config.php, it includes em/i[class]. Why is it stripped from TinyCme?
1194: [17:47:49] * Shrike_Finland quit (Quit: Leaving.)
1195: [17:48:48] * gelignite has joined #silverstripe
1196: [17:48:56] * muskie9 has joined #silverstripe
1197: [17:51:45] <catcher> wilsonstaff, can you switch to em?
1198: [17:52:28] <wilsonstaff> I dont think Font Awesomecode will appreciate unless i change all its CSS to em ....!
1199: [17:52:37] * Shrike_Finland has joined #silverstripe
1200: [17:53:04] * basso_ quit (Quit: basso_)
1201: [17:55:04] * joelpittet has joined #silverstripe
1202: [17:56:08] <catcher> wilsonstaff, http://www.silverstripe.org/quick-tips-allowing-extra-tags-and-attributes-in-the-rich-text-editor/
1203: [17:56:21] <wilsonstaff> Been there!
1204: [18:02:27] <Drkevlar> I'm used to twig for templating, ss template engine is a bit different. Lets say i wan't to show all user defined constants, { CONST_NAME => 'value' }, how would the loop body look like in the template?
1205: [18:03:01] * Uitto has left #silverstripe
1206: [18:04:01] <catcher> Drkevlar, you'll need to wrap them into a viewable object in the controller (ArrayList)
1207: [18:05:05] <catcher> i.e. create a getConstants() method that returns an ArrayList-wrapped associative array, <% loop $getContants %> $val <% end_loop %>
1208: [18:05:18] <catcher> You also have the option of $Me instead of $val if you don't want to create the keys.
1209: [18:10:47] <Drkevlar> catcher: $val is value i assume? How do i display the key ?
1210: [18:13:08] <catcher> Drkevlar, that's just an example, assuming you created an associative array 'val' => yourval
1211: [18:15:23] * gelignite quit (Ping timeout: 265 seconds)
1212: [18:15:24] * wilsonstaff quit (Quit: Page closed)
1213: [18:16:29] <catcher> Drkevlar, and probably best to set the key val explicitly, so the variable name makes sense in the template.
1214: [18:17:03] <Drkevlar> Ok, so no foreach,... good to know ;)
1215: [18:17:24] * babak has joined #silverstripe
1216: [18:18:19] <catcher> Drkevlar, yes, you can use $Me in the loop, just not so readable.
1217: [18:19:19] <catcher> Drkevlar, this will be helpful: http://doc.silverstripe.org/framework/en/reference/templates
1218: [18:19:58] <Drkevlar> The loop section is empty
1219: [18:20:34] <Drkevlar> Ah, havent seen that one before
1220: [18:21:51] <catcher> Drkevlar, if you're still having issues, paste your controller & template code & share the link here
1221: [18:23:05] * zfmf quit ()
1222: [18:25:38] <ocm> exit
1223: [18:31:58] * gelignite has joined #silverstripe
1224: [18:31:58] * joelpittet quit ()
1225: [18:39:54] * Shrike_Finland quit (Quit: Leaving.)
1226: [18:42:56] <Drkevlar> http://pastebin.com/KVQNz6qz , very basic probably, but stuck at a simple loop :(
1227: [18:48:04] <catcher> Drkevlar, please paste a var_dump of get_defined_constants()['User']
1228: [18:48:11] <Drkevlar> Can do
1229: [18:54:11] <Drkevlar> http://pastebin.com/HZHt2xu8
1230: [18:54:12] <catcher> Drkevlar, for one, I'm surprised that doesn't give you an undefined index error
1231: [18:54:25] <Drkevlar> Yea had a typo, my bad
1232: [18:55:29] <Drkevlar> Debug::show((get_defined_constants(true)['user']));
1233: [18:56:15] <Drkevlar> Nice markup compred to print_r,... :P
1234: [19:03:32] <catcher> definitely
1235: [19:04:34] <catcher> Drkevlar, you will indeed need to build keys into the structure to view them in the template.
1236: [19:05:09] <Drkevlar> Or format it in the controller ,.. hmm :D
1237: [19:06:14] <Drkevlar> Would it be hard to replace the ss template engine with twig ?
1238: [19:06:59] <catcher> Drkevlar, http://pastebin.com/7MYh0wXn
1239: [19:07:41] <catcher> the template engine is tightly coupled with the ORM, I'd recommend sticking with it.
1240: [19:07:56] <catcher> Otherwise you'll end up missing out on the ORM features that make SS so great
1241: [19:08:29] <Drkevlar> Mmmkay
1242: [19:10:01] <catcher> Drkevlar, the code I pasted above will work for any non-ORM data, those are the 2 basic structures templates use
1243: [19:10:15] <Drkevlar> Thanks for the snippet
1244: [19:12:23] <Drkevlar> That would be a really nice example for the documentation
1245: [19:16:11] <catcher> no problem
1246: [19:20:12] <Drkevlar> I might be a total noob for asking, but, can i rollback on the database to a fresh state?
1247: [19:20:47] <Drkevlar> Or do i need to keep manual db backups ?
1248: [19:21:21] <catcher> Drkevlar, manual backups
1249: [19:21:29] <Drkevlar> Aww :D
1250: [19:21:51] <catcher> haha
1251: [19:22:17] <catcher> Are there any web frameworks that attempt to handle db administration?
1252: [19:22:20] <Drkevlar> So i guess module uninstall is of of the question ?
1253: [19:22:59] <catcher> Drkevlar, you can remove the module; you may end up with some unneeded tables in your db, but that's generally a non-issue
1254: [19:26:32] <Drkevlar> It seems to me that some states could be saved before a build on dev mode
1255: [19:26:50] <Drkevlar> Doesn't seem unreasonable right ?
1256: [19:27:16] <catcher> Drkevlar, you'd essentially just be calling mysldump
1257: [19:27:27] <Drkevlar> ;)
1258: [19:34:39] * SphereSilverNL has joined #silverstripe
1259: [19:35:37] * SphereSilverNL quit (Remote host closed the connection)
1260: [19:38:25] <Drkevlar> So much fun stuff to discover, i'll be back with more silly questions. Thanks folks :)
1261: [19:38:56] * Drkevlar quit ()
1262: [19:39:55] * SphereSilverNL has joined #silverstripe
1263: [19:40:48] <SphereSilverNL> Anyone here who knows how to re-set PHPUnit/Pear?
1264: [19:41:01] <SphereSilverNL> I upgraded to PHP 5.5.10 (WAMP Server)
1265: [19:41:13] <SphereSilverNL> but Silverstripe keeps complaining I don't have PHPUnit installed :(
1266: [19:41:38] <simon_w> Sounds like you need to add /usr/share/php/pear (or whatever the path is) to your include path
1267: [19:47:09] <SphereSilverNL> It's a WAMP (Windows) installation, I have include_path: ".;D:\wamp\bin\php\php5.5.10\pear"
1268: [19:47:27] <SphereSilverNL> included, with php5.4.x it was no problem, but upgrading is a pain in the rear end
1269: [19:48:05] <SphereSilverNL> The console gives correct response by the way, it's the browser-version that keeps complaining.
1270: [19:53:34] <SphereSilverNL> phpunit isn't showing up in phpinfo() either.
1271: [19:53:46] <SphereSilverNL> Why is it such a hell to install on Windows?
1272: [19:56:04] <SphereSilverNL> Screw it, I'm gonna boot my laptop for this :/
1273: [19:56:14] * greseky has joined #silverstripe
1274: [20:07:37] <SphereSilverNL> Ofcourse, that was too easy :/
1275: [20:10:01] * CamelCase quit (Ping timeout: 268 seconds)
1276: [20:20:10] <SphereSilverNL> Completely done with this. I'm setting up a new headless vbox
1277: [20:20:39] * SphereSilverNL_ has joined #silverstripe
1278: [20:24:17] * SphereSilverNL quit (Ping timeout: 240 seconds)
1279: [20:24:57] * SphereSilverNL_ quit (Ping timeout: 240 seconds)
1280: [20:24:59] * cloph is now known as cloph_away
1281: [20:29:05] * SphereSilverNL has joined #silverstripe
1282: [20:29:25] * zfmf has joined #silverstripe
1283: [20:33:48] <SphereSilverNL> So, in the end, I set up a virtual machine faster, than I got PHPUnit to work under Windows
1284: [20:35:46] <SphereSilverNL> Ok, here's karma: 2 people try to rob a jewelry store
1285: [20:35:57] <SphereSilverNL> They're both shot by the wife of the owner.
1286: [20:36:05] <SphereSilverNL> And note, I live in the Netherlands, not the USA ;)
1287: [21:03:28] <SphereSilverNL> This is just stupid. Even my virtualbox system won't recognise PHPUnit from the browser.
1288: [21:03:58] <SphereSilverNL> My laptop with a dedicated Vagrant setup is nowhere to be seen in the network
1289: [21:08:54] <SphereSilverNL> I'll stop complaining about PHPUnit now, ok? :D
1290: [21:38:48] * SphereSilverNL quit (Quit: bye)
1291: [22:12:12] * muskie9 quit ()
1292: [22:16:37] * catcher quit (Quit: Leaving)
1293: [22:19:53] * Colin[pi] has joined #silverstripe
1294: [22:29:48] * zfmf quit (Remote host closed the connection)
1295: [23:28:34] * babak quit (Quit: Connection closed for inactivity)
1296: [23:30:32] * zfmf has joined #silverstripe
1297: [23:35:06] * zfmf quit (Ping timeout: 265 seconds)
1298: [23:39:35] * greseky quit (Quit: Page closed)
1299: [23:59:26] * terryapodaca has left #silverstripe

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