#silverstripe IRC Log

IRC log for 15 January 2014

All timestamps are in UTC.

1: [00:01:52] * bar338 quit (Quit: Page closed)
2: [00:04:45] <Colin[pi]> ss23: I'll shout you lunch mate
3: [00:04:51] <Colin[pi]> better get paddling!
4: [00:06:49] * cloph has joined #silverstripe
5: [00:07:30] * cloph_away quit (Ping timeout: 276 seconds)
6: [00:09:56] <unsignedint> ss23 you dont get lunch until the docs have been fixed
7: [00:13:38] <ss23> I already got lunch
8: [00:13:40] <ss23> BOOOOM
9: [00:13:43] <ss23> Colin[pi]: Give me a ride! :d
10: [00:16:36] <antmas> wow
11: [00:16:52] <antmas> wedding venues in Nelson have such piss poor websites
12: [00:17:05] * UncleCheese quit (Quit: UncleCheese)
13: [00:17:27] <antmas> I wonder if theyd give me a free booking if I build them a new one :D
14: [00:20:37] <unsignedint> bet it wouldnt be worth it
15: [00:20:52] <unsignedint> they'd be picky bastards and waste heaps of your time
16: [00:20:56] <unsignedint> youd end up regretting it
17: [00:21:53] <ss23> ^^
18: [00:27:46] <zippy__> the marriage?
19: [00:27:56] <ss23> lol
20: [00:27:57] <ss23> ouch
21: [00:28:16] <zippy__> is it possible to add a css class to a form tag?
22: [00:28:42] <zippy__> ah, call setAttribute
23: [00:29:20] <zippy__> addExtraClass rather
24: [00:30:11] <Ryan-Toast> "Weeks of programming can save you hours of planning." heh
25: [00:33:28] * mojo5000 quit (Remote host closed the connection)
26: [00:36:54] * mojo5000 has joined #silverstripe
27: [00:38:25] <antmas> ^^^ LOL
28: [00:38:46] <antmas> well I've got a year
29: [00:39:27] <antmas> these 2 places we're looking at are about 2-3k
30: [00:39:50] <antmas> anyway, lunch
31: [00:40:45] * nick86 has joined #silverstripe
32: [00:40:50] <ss23> We reserved seats at a secret starcraft fest
33: [00:40:55] <nick86> hey guys, i have a {$Link} in a href and would like to add a #main-content to the link so that the page will jump to that location when it is loaded. I have tried href="{$Link}#main-content" but that outputs link-location/#main-content which does not work
34: [00:40:55] <nick86> [11:38] <nick86> i need it to be link-location#main-content
35: [00:40:55] <nick86> [11:38] <nick86> any ideas?
36: [00:41:24] * UncleCheese has joined #silverstripe
37: [00:41:32] <ss23> nick86: Why does that not work? :
38: [00:41:33] <ss23> :O
39: [00:41:42] <ss23> Does it need to be link-location#main-content?
40: [00:42:07] <nick86> yeah
41: [00:42:34] <nick86> so example.com/link-location#main-content
42: [00:42:47] <nick86> but it outputs example.com/link-location/#main-content
43: [00:48:19] * nick86 quit (Ping timeout: 260 seconds)
44: [00:49:20] * metanat has joined #silverstripe
45: [00:52:32] * UncleCheese quit (Quit: UncleCheese)
46: [00:54:39] * nick86 has joined #silverstripe
47: [00:57:20] * nick86_ has joined #silverstripe
48: [00:57:25] <nick86_> sorry, i keep dropping out, anyone have any ideas on my link issue?
49: [00:58:04] <antmas> lol awesome
50: [00:58:23] <antmas> Vodafone - "sorry, we were unable to fix your phone, so we're sending it back to you"
51: [00:59:11] <ss23> lol antmas, I got that too
52: [00:59:15] * nick86 quit (Ping timeout: 260 seconds)
53: [00:59:18] <ss23> antmas: The store I gave it to replaced it, but it was very confusing
54: [01:00:20] <antmas> ss23: this is Harvey Norma
55: [01:00:21] <catcher> nick86_: that means the Link var must have a trailing slash. You'll probably need to form it as needed in the controller.
56: [01:00:24] <antmas> Norman*
57: [01:00:28] <ss23> aw kk
58: [01:00:45] <antmas> they better replace it
59: [01:01:06] <antmas> stupid windows phone
60: [01:03:03] <Colin[pi]> stupid hardly normal
61: [01:04:21] * nick86 has joined #silverstripe
62: [01:04:50] <nick86> $Link(action) can take 'action' which rmeoves the trailing slash if it is passed. But this does not seem to be working for my #main-content
63: [01:06:43] * nick86_ quit (Ping timeout: 260 seconds)
64: [01:09:31] * nick86 quit (Ping timeout: 260 seconds)
65: [01:11:07] * UncleCheese has joined #silverstripe
66: [01:37:38] <antmas> ugh
67: [01:37:52] <antmas> today is 'move all technical docs to DMS day'
68: [01:37:53] <ss23> gus
69: [01:37:53] <ss23> guis
70: [01:37:57] <ss23> willr is here
71: [01:38:06] <ss23> should I throw things at him?
72: [01:38:09] <ss23> antmas: silentone?
73: [01:38:16] <antmas> ss23: yeh
74: [01:38:20] <ss23> QQ
75: [01:38:27] <antmas> GUESS WHO IS DOING THE GRUNT WORK
76: [01:38:40] <catcher> Is there some core code I can hijack to FindOrMake a DB table?
77: [01:38:45] <ss23> lol
78: [01:45:06] <guzzlefry> ss23: wat
79: [01:45:43] <guzzlefry> oh, you typoed
80: [01:46:16] <ss23> :O
81: [01:46:19] <ss23> oh
82: [01:46:20] <ss23> lol soz
83: [01:47:57] * mojo5000 quit (Remote host closed the connection)
84: [01:54:13] * UncleCheese quit (Quit: UncleCheese)
85: [01:59:09] * mojo5000 has joined #silverstripe
86: [01:59:28] * Vik quit (Ping timeout: 246 seconds)
87: [02:00:41] * mojo5000 quit (Remote host closed the connection)
88: [02:01:53] * mojo5000 has joined #silverstripe
89: [02:12:07] * joelpittet has joined #silverstripe
90: [02:17:58] * mojo5000 quit (Remote host closed the connection)
91: [02:26:28] * catcher has left #silverstripe
92: [02:34:27] <Colin[pi]> 35C!
93: [02:37:04] <antmas> 20.7C!
94: [02:39:41] <zippy__> hm
95: [02:40:02] <zippy__> got a wird issue with a form, if I part fill it in and submit, I get returned with validation errors as I would expect
96: [02:40:40] <Colin[pi]> antmas: sweltering!
97: [02:40:50] <zippy__> then if I submit the form fully, get the success message, all good. If I then go back to the page (click a link), then it has my old content and validation messages still...
98: [02:42:15] * antmas quit (Quit: Page closed)
99: [02:42:24] <Colin[pi]> zippy: sound like a session issue
100: [02:43:32] <zippy__> yes, on success the form is not cleaning out the validation/previous data
101: [02:44:17] <zippy__> but I thought that was automatic
102: [02:46:17] <zippy__> I do clearMessage and works ifne
103: [02:52:30] <Colin[pi]> zippy: after the submit, is the form redirecting back?
104: [02:53:59] * UncleCheese has joined #silverstripe
105: [03:24:28] * Colin[pi] smashes head against desk repeatedly
106: [03:24:49] <Colin[pi]> it's the only thing that relieves the pain of clients
107: [03:31:54] <ss23> lol
108: [03:32:11] * antmas has joined #silverstripe
109: [03:32:49] <Colin[pi]> ss23: spent 20 minutes on the phone trying to figure out why her data was completely different to what I was seeing
110: [03:33:01] <Colin[pi]> ss23: "wait.. what is the domain you're using?"
111: [03:33:06] <Colin[pi]> she was using the old test site
112: [03:33:07] <Colin[pi]> :(
113: [03:33:16] <Colin[pi]> which hasn't been used for like six months
114: [03:33:47] <antmas> wahp wahp waaaaaaaaah
115: [03:33:54] <Colin[pi]> >_<
116: [03:34:02] <ss23> hahah
117: [03:34:04] <ss23> We have that too
118: [03:34:13] <ss23> "The fix doesn't work!" "What URL?" "www.the live site.com"
119: [03:34:18] <Colin[pi]> should have been the first qn I asked her :(
120: [03:36:41] <antmas> hmmm
121: [03:36:46] <antmas> pay hasn't gone in yet
122: [03:36:50] <Colin[pi]> D:
123: [03:36:56] <Colin[pi]> PANIC
124: [03:36:58] <antmas> where is teh moneyz?
125: [03:37:06] <Colin[pi]> GIMME MONEYZ
126: [03:37:23] * antmas squints through window at payroll lady
127: [03:37:41] <Colin[pi]> got a nerf gun?
128: [03:37:49] <antmas> I do!
129: [03:37:53] * joelpittet quit (Remote host closed the connection)
130: [03:37:56] <antmas> secret santa present :P
131: [03:38:00] <Colin[pi]> tape a message "WHERE MAH MONEYZ" and fire at her head
132: [03:38:06] <antmas> lol
133: [03:38:13] <antmas> her window is closed
134: [03:38:19] * joelpittet has joined #silverstripe
135: [03:38:22] <Colin[pi]> repeatedly at the glass then
136: [03:38:25] <antmas> I'm trying to mouth 'where is money?'
137: [03:38:42] <antmas> but she has coke bottle glasses :/
138: [03:40:42] * Stomach quit (Ping timeout: 276 seconds)
139: [03:41:30] <Colin[pi]> i <3 wkhtmltopdf
140: [03:41:35] <antmas> see yall tomorrow
141: [03:41:39] <Colin[pi]> cya dude
142: [03:41:43] * antmas quit (Quit: Page closed)
143: [03:42:55] * joelpittet quit (Ping timeout: 245 seconds)
144: [03:58:01] * nickmolhoek quit (Quit: nickmolhoek)
145: [03:59:24] * DigNZ quit (Quit: DigNZ)
146: [04:07:08] <ss23> SilverStripe overrides the default settings with the following:
147: [04:07:12] <ss23> Cache-Control is set to max-age=86400, must-revalidate
148: [04:07:16] <ss23> MEANWHILE
149: [04:07:20] <ss23> Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
150: [04:07:24] <ss23> Bloody liar.
151: [04:10:23] * Ryan-Toast quit (Quit: Ryan-Toast)
152: [04:16:50] <ss23> Anyone know how to make it do it right? I'm getting really weird ehaders going on
153: [04:17:05] <ss23> I get two "bypassStaticCache" cookies attempting to be set, both expired already, and I'm not even using static cache o.o
154: [04:17:35] <ss23> also bypassstaticcache has every last letter of a word being the first letter of the next word
155: [04:18:22] <ss23> oh, it doess that on literally every request it looks like.... or something
156: [04:23:07] <Colin[pi]> ouch: http://www.reddit.com/r/web_design/comments/1v6t0p/a_big_warning_for_all_web_dev_and_design_companys/
157: [04:28:03] <ss23> lol, that sucks
158: [04:28:28] <Colin[pi]> shitty what the guy did, but he should have taken better steps to prevent that stuff D:
159: [04:31:49] <spronk> ARGH
160: [04:31:52] <spronk> I CAN HEAR A MR WHIPPY
161: [04:31:59] <Colin[pi]> greensleeves?
162: [04:33:37] <ss23> EAT IT
163: [04:33:38] <ss23> EAT IT
164: [04:33:42] <ss23> Colin[pi]: Eh, I doubt any company does
165: [04:33:53] <spronk> yeah
166: [04:33:58] <ss23> Colin[pi]: Every tech place I've worked at is done so that an ex-employee could fuck them over completely
167: [04:34:01] <spronk> pretty sure i'll still have repo access to my old work's stuff
168: [04:34:04] <ss23> I realise you *should*, but *shrug*
169: [04:34:23] <Colin[pi]> yeah :\
170: [04:34:39] <Colin[pi]> so when you get fired from ss... got some special plans? :D
171: [04:34:46] <ss23> ahaha
172: [04:34:48] <ss23> There's the problem, isn't it
173: [04:34:54] <ss23> If you fuck over one place, no one will hire you again
174: [04:34:55] <ss23> :P
175: [04:35:36] <Colin[pi]> name change? lol
176: [04:35:40] <Colin[pi]> ss24
177: [04:35:41] <Colin[pi]> :D
178: [04:36:03] * zippy__ quit (Ping timeout: 272 seconds)
179: [04:39:12] <willr> ss23 unless it wasn't your fault
180: [04:39:50] <willr> There's evil fucked over and just n00b fucked over
181: [04:41:02] <ss23> oh yeah sure
182: [04:41:04] <ss23> I mean maliciously
183: [04:41:23] <Colin[pi]> I actually worked with a guy that did an rm -rf on the root once
184: [04:41:33] <Colin[pi]> we didn't let him forget about that for a long, long time
185: [04:41:42] <ss23> lol
186: [04:41:54] <ss23> I had a coworker who would use phpmyadmin on live servers
187: [04:42:03] <ss23> Even after he accidently clicked "drop database" instead of "drop table"
188: [04:42:08] <ss23> *that* was a fun morning
189: [04:42:09] <ss23> :D
190: [04:42:14] <Colin[pi]> lol
191: [04:42:21] <willr> Colin[pi] *cough*. TBF / is next to . on the keyboard
192: [04:42:54] <ss23> TBF?
193: [04:42:55] <ss23> oic
194: [04:43:00] <Colin[pi]> willr: true, but whenever I'm using rm you better believe I check it before hitting enter :D
195: [04:43:04] <willr> to be fair n00b
196: [04:43:09] <ss23> lol
197: [04:43:11] <ss23> I get it!
198: [04:44:19] <willr> some lessons you need to learn the hard way
199: [04:44:44] <willr> actually the one project that it was fine to do it as it was CDN'ed across 2 machines
200: [04:47:59] * UncleCheese quit (Quit: UncleCheese)
201: [04:49:11] * metanat quit (Quit: Leaving.)
202: [04:49:18] * metanat has joined #silverstripe
203: [04:49:18] * metanat quit (Client Quit)
204: [04:53:04] * joelpittet has joined #silverstripe
205: [04:56:44] * Ryan-Toast has joined #silverstripe
206: [04:58:29] * joelpittet quit (Ping timeout: 272 seconds)
207: [05:00:52] * cloph_away has joined #silverstripe
208: [05:01:29] * cloph quit (Ping timeout: 252 seconds)
209: [05:06:10] * willr quit (Quit: willr)
210: [05:11:56] * Nimle has joined #silverstripe
211: [05:13:25] <Nimle> Hi guys, what is the best way to create a tab in the backend with options like to select date range etc. to do something but without a dataobject for it. It is possible to do with a dataobject using model admin. But as there is no data to save, why to create a dataobject?
212: [05:13:47] <ss23> Nimle: You can add stuff to SiteConfig?
213: [05:13:48] <Nimle> It is just for processing to generate something
214: [05:13:56] <ss23> I don't really understand what you mean tohugh
215: [05:14:04] <Nimle> for example,
216: [05:14:11] <Nimle> I have transactions and
217: [05:14:41] <Nimle> admin wants to generre an excel file with some datafrom the transactions every day
218: [05:15:02] <ss23> Assuming they already have a modeladmin for transactions, you would probably just modify that or something
219: [05:15:08] <ss23> Or build your own manager for thos edatajobjects?
220: [05:15:34] <Nimle> hmm. SiteConfig also requires data fields, no?
221: [05:16:10] * Ryan-Toast quit (Quit: Ryan-Toast)
222: [05:16:16] <Nimle> what I want is same as the Page for front end
223: [05:16:23] <Nimle> but it should in the backend :)
224: [05:56:51] * Nimle quit (Ping timeout: 272 seconds)
225: [06:20:33] * Colin[pi] quit ()
226: [06:42:56] * metanat has joined #silverstripe
227: [06:57:37] * metanat quit (Quit: Leaving.)
228: [07:16:07] * mobiusnz`home has left #silverstripe
229: [07:37:08] * wpentti has joined #silverstripe
230: [07:45:47] * Vik has joined #silverstripe
231: [07:57:58] * g4b0_ has joined #silverstripe
232: [08:20:50] * Vik quit ()
233: [08:21:01] * Vik has joined #silverstripe
234: [08:30:17] * joelpittet has joined #silverstripe
235: [08:33:32] * violetina has joined #silverstripe
236: [08:34:37] * joelpittet quit (Ping timeout: 246 seconds)
237: [08:47:30] * FrozenFire quit (Ping timeout: 245 seconds)
238: [08:49:51] * FrozenFire has joined #silverstripe
239: [09:04:40] * boytikz has joined #silverstripe
240: [09:05:17] <boytikz> Is it possible to set template variables under one action only?
241: [09:07:31] * learner_ has joined #silverstripe
242: [09:09:24] * kinglozzer has joined #silverstripe
243: [09:10:25] <learner_> what does this <> mean in php?
244: [09:10:41] <kinglozzer> !=
245: [09:10:55] <learner_> isnt that in sql?
246: [09:11:08] <kinglozzer> Oh sorry, I didn't read PHP :P
247: [09:11:33] <kinglozzer> I've never seen it used in PHP
248: [09:12:05] * g4b0_ quit (Ping timeout: 272 seconds)
249: [09:13:37] <kinglozzer> leaner_: It means the same thing as !=
250: [09:13:48] <kinglozzer> No idea why you'd use that instead of !=
251: [09:14:46] <learner_> http://sspaste.com/paste/show/52d64eab24c0f
252: [09:15:02] <learner_> there is the part of code which uses this sign
253: [09:15:14] <learner_> i am not getting what actaually that mean?
254: [09:15:33] <learner_> can anyone make me understand the code?
255: [09:18:03] <kinglozzer> learner_: That is SQL
256: [09:18:44] <kinglozzer> It's getting all 'PublicarPraias' where 'Camera' is not null or 'CameraStream' is not null, sorted by Title
257: [09:24:42] * g4b0_ has joined #silverstripe
258: [09:27:23] <learner_> kinglozzer > I have converted the code as per ss3.1 .http://sspaste.com/paste/show/52d65163dbfe2 is the code correct?
259: [09:28:42] <kinglozzer> leaner_: Try it and find out, it looks okay to me
260: [09:30:14] <learner_> i m confused with using OR in filter(array)) ...
261: [09:30:42] <learner_> how can OR be implemented in filter(array)) ?
262: [09:36:45] * g4b0_ quit (Ping timeout: 252 seconds)
263: [09:37:32] <learner_> kinglozzer: how can OR be implemented in filter(array)) ?
264: [09:38:59] <kinglozzer> leaner_: Just use ->exclude() and remove the :negation - so exclude ones where both = ''
265: [09:47:30] * micmania1 has joined #silverstripe
266: [10:02:58] <learner_> kinglozzer: i dont think u r right this time....OR means either or both.......and exclude will work as nor.....
267: [10:03:35] <learner_> exclude will work as nand....
268: [10:06:35] <kinglozzer> leaner_: Use ->where($sql) then
269: [10:11:51] * g4b0_ has joined #silverstripe
270: [10:17:10] <learner_> kinglozzer : ->filterAny( will work......
271: [10:17:24] <kinglozzer> Cool :)
272: [10:26:58] <learner_> Is :Negation deprecated in ss 3.1?
273: [10:41:15] <g4b0_> I've got a problem with UploadField
274: [10:41:35] <g4b0_> No warning message is displayed when a user try to upload
275: [10:41:43] <g4b0_> a file that already exist
276: [10:42:05] <g4b0_> SS 3.1.beta3
277: [10:42:45] * boytikz quit (Quit: Leaving.)
278: [10:43:16] <g4b0_> how can I solve?
279: [10:44:48] <kinglozzer> Upgrade to a stable version?
280: [10:45:05] <g4b0_> not really possible...
281: [10:45:32] <g4b0_> it's a production environment with some custom hack to the core
282: [10:47:00] <kinglozzer> Tut tut :P I'd try replacing UploadField.js with the one from 3.1.2, then possibly also replace UploadField.php if that doesn't work
283: [10:47:07] <kinglozzer> Keep backups of the originals though of course
284: [10:47:22] <lewellyn> or use git? ;)
285: [10:47:26] * Sj0hn has joined #silverstripe
286: [10:49:15] <g4b0_> cloning from 3.1.2 is a good Idea
287: [10:49:28] <g4b0_> the strange thing is that it was working
288: [10:49:58] <g4b0_> the the customers ask us to eneble file overwriting
289: [10:50:08] <g4b0_> and now they want to come back
290: [11:04:59] * andrewjbaker has joined #silverstripe
291: [11:10:36] <g4b0_> kinglozzer: it doesn't work...
292: [11:10:47] <g4b0_> I will try a bit of social engineering
293: [11:11:07] <g4b0_> maybe they will like what actually SS do..
294: [11:30:49] * g4b0_ quit (Quit: Sto andando via)
295: [12:07:56] * joelpittet has joined #silverstripe
296: [12:12:57] * joelpittet quit (Ping timeout: 252 seconds)
297: [12:13:06] * andrewjbaker quit (Ping timeout: 265 seconds)
298: [12:18:58] * Vik quit (Ping timeout: 246 seconds)
299: [12:19:03] * hate has joined #silverstripe
300: [12:19:11] * Vik has joined #silverstripe
301: [12:20:37] * hate quit (Client Quit)
302: [12:21:00] * andrewjbaker has joined #silverstripe
303: [12:22:11] * Vik quit (Client Quit)
304: [12:22:21] * Vik has joined #silverstripe
305: [12:35:54] <Vik> Hi all, I've created an uploadfield with multiple files. When I upload images, the thumbnails do not show, Instead I get a generic thumbnail of the images. Is there a way to display the thumbnails instead?
306: [12:45:11] <micmania1> Vik, what do you mean by generic thumbnail of the images? Screenshot?
307: [12:57:06] <Vik> http://tinypic.com/r/2helyyf/5
308: [12:59:42] * andrewjbaker quit (Ping timeout: 252 seconds)
309: [13:12:07] * UndefinedOffset has joined #silverstripe
310: [13:17:01] <Vik> micmania1: Do you have ny idea what the problem is?
311: [13:17:29] * yaboo has joined #silverstripe
312: [13:17:33] <yaboo> hello
313: [13:17:59] * r3v3rb has joined #silverstripe
314: [13:18:54] <micmania1> Vik, not had that problem. Only thing I can think of is that you've set your image as File type rather than an Image type.
315: [13:19:29] <r3v3rb> hi all
316: [13:19:42] <r3v3rb> http://sspaste.com/paste/show/52d6880e68010 <- just tried /dev/build and got this any help appreciated
317: [13:20:08] <Vik> micmania1. I have set it to file but that's because there are files as well as images
318: [13:20:11] <r3v3rb> i'm guessing because it's eval'd code I'm hunting a neddle
319: [13:20:48] <micmania1> Vik, that's why. If you want thumbnails you'll either need to set it to image or extend the upload field to detect an image.
320: [13:21:08] <yaboo> how do I take a theme and existing data from one silverstripe site to another silverstripe site
321: [13:21:12] * r3v3rb ignore me - found it
322: [13:21:17] <micmania1> r3v3rb, yep. good luck :p
323: [13:21:29] <Vik> ok, that's what I expected thanks micmania1!!!!
324: [13:21:34] <r3v3rb> micmania1: sorted - needle found and destroyed
325: [13:21:59] <r3v3rb> why is it, having spent twenty minutes looking I find it after pasting the error!
326: [13:22:12] <Vik> yaboo, you need to copy the theme folder to the themes folder of the other silverstripe site
327: [13:22:18] <micmania1> Sod's law.
328: [13:22:21] <Vik> and then select the theme from the CMS
329: [13:22:27] <yaboo> Vik did this and the data???
330: [13:22:41] <Vik> yaboo, what data?
331: [13:23:17] <yaboo> ok have previous site setup from previous web dev and trying to build a dev silverstripe site
332: [13:23:28] <yaboo> seems the previous web dev did all dev work on the live site
333: [13:23:41] <yaboo> I can take theme, but want the pages also
334: [13:24:53] <Vik> you'll need to copy the mysite folder from the other installation as well.
335: [13:25:16] <micmania1> yaboo, take a dump of the database on the live site and overwrite it in your dev environment.
336: [13:25:29] <micmania1> then copy the files across.
337: [13:25:34] <Vik> Also dump db and do a dev build
338: [13:25:37] <yaboo> micmania1, which files
339: [13:26:10] <yaboo> dump the database e.g. the mysql database
340: [13:26:22] <Vik> http://www.silverstripe.org/migrating-a-site-to-silverstripe/show/17898
341: [13:26:25] <micmania1> yaboo, all of them to make sure you've got the latest copy of everything.
342: [13:26:44] <yaboo> vikok
343: [13:30:26] * Kolin quit (Remote host closed the connection)
344: [13:31:16] * Vik is soooo greatful for micmania1's help. Thanks hey
345: [13:32:34] <Zauberfisch> is it just me or is it currently impossible to change the Image_Backend?
346: [13:32:39] <yaboo> micmania1, seems I need access to dump the mysql database on the hosting provider we have
347: [13:32:44] <yaboo> arghhhhhh so complicated
348: [13:36:13] <Zauberfisch> ss23: ping
349: [13:36:17] * Kolin has joined #silverstripe
350: [13:37:07] <Zauberfisch> I am acutally supprised this bug has not been noticed before
351: [13:37:29] <Zauberfisch> ah, I see, one can use set_backend
352: [13:41:28] <micmania1> I've never used it myself but i'm sure there was a PR made not so long ago so you could change Image_Backend.
353: [13:42:41] <micmania1> I like this: http://gettingreal.37signals.com/ch04_Make_Opinionated_Software.php
354: [13:46:14] <r3v3rb> humpff, not happy about responsive emails - they are a nightmare
355: [13:46:26] <Vik> I'm a SS noob but I'm picking up slowly
356: [13:56:13] * joelpittet has joined #silverstripe
357: [14:01:18] * joelpittet quit (Ping timeout: 252 seconds)
358: [14:02:18] * andrewjbaker has joined #silverstripe
359: [14:21:35] * bar338 has joined #silverstripe
360: [14:25:59] <bar338> I'm having trouble with form submission, no matter what I do my form's action is not getting called. I put this debugging code into framework/forms/Form.php: http://pastebin.com/KwPCky03 This always prints out the name of the function that creates the form UserPage_Controller/my_form as opposed to the function which is intended to process the form UserPage_Controller/doProcessForm. My form action looks like this: http://paste
361: [14:26:18] <bar338> and I've verified in the rendered html that the submit button name and id is set to 'action_doProcessForm'
362: [14:26:56] * r3v3rb quit (Quit: r3v3rb)
363: [14:27:45] * r3v3rb has joined #silverstripe
364: [14:29:57] <Zauberfisch> bar338: the 2nd paste is not a complete url
365: [14:30:06] <Zauberfisch> bar338: share your controller & form code
366: [14:30:36] <bar338> Controller: http://pastebin.com/XL5zG0bq
367: [14:31:25] <Zauberfisch> bar338: my_method probably is the problem
368: [14:31:29] <Zauberfisch> rename it to mymethod
369: [14:31:33] <Zauberfisch> _
370: [14:31:55] <Zauberfisch> - and _ have special handling regarding actions
371: [14:32:06] <Zauberfisch> so make sure to try it without - or _
372: [14:32:22] <bar338> k i'll give that a try
373: [14:33:15] <micmania1> bar338: you should be returning a Form from my_method whereas you're returning HTML.
374: [14:34:05] <Zauberfisch> ah, right
375: [14:34:07] <Zauberfisch> I missed that
376: [14:34:11] <Zauberfisch> what micmania1 said
377: [14:34:28] <Zauberfisch> in silverstripe the form calls the form actions
378: [14:35:13] <Zauberfisch> so the http request will be: domain.com/page/myform
379: [14:35:14] <Vik> micmania1: Regarding my image thing... I've just found out that with no alterations or extensions of the class, if the logged in user is admin then the image shows. Otherwise it reverts to that default logo
380: [14:37:43] * r3v3rb quit (Quit: r3v3rb)
381: [14:38:43] <yaboo> ok dumped the database, imported it into existing database and copy the ss root folder across
382: [14:38:48] <yaboo> praying it al works
383: [14:39:16] <yaboo> thought I could just edit html/css to modify the custom theme
384: [14:42:23] <yaboo> ok test deployment server working
385: [15:07:51] * ObiWanSh_ has joined #silverstripe
386: [15:14:01] * OxFF1 has joined #silverstripe
387: [15:19:13] <bar338> Zauberfisch and micmani1: I renamed it to MyMethod and in MyMethod I am now 'return new Form_MyForm($this, __FUNCTION__)'. I also updated the 'forTemplate' function in Form_MyForm to use the MyFormPage template previously defined in my_method. However I am now stuck with with "NULL There seems to have been a technical problem. Please click the back button, refresh your browser, and try again." Doesn't seem to be any logs to
388: [15:25:46] * yaboo quit (Quit: This computer has gone to sleep)
389: [15:27:18] <micmania1> bar338: Could you post your updated code including your Form_MyForm code?
390: [15:27:36] <micmania1> http://www.sspaste.com/
391: [15:31:46] * violet- has joined #silverstripe
392: [15:32:04] * violetina quit (Read error: Connection reset by peer)
393: [15:33:36] * wpentti quit (Remote host closed the connection)
394: [15:40:42] * Shrike_Finland has joined #silverstripe
395: [15:41:40] <Zauberfisch> bar338: I think you have not fully understood how silverstripe does form things
396: [15:41:57] <Zauberfisch> paste your current controller code please
397: [15:44:30] * joelpittet has joined #silverstripe
398: [15:45:00] <bar338> Here is an updated paste: http://www.sspaste.com/paste/show/52d6aa2024769
399: [15:45:36] <bar338> THe error I get when I try to load the form MyMethod is "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again."
400: [15:48:52] * joelpittet quit (Ping timeout: 245 seconds)
401: [15:49:13] <Zauberfisch> bar338: http://paste2.org/90MAKKym
402: [15:50:28] <Zauberfisch> the ->customise(...) around line 11 is optional, depending on what you use in the template to use the form
403: [15:54:05] * learner_ quit (Ping timeout: 272 seconds)
404: [15:54:29] * lerni has joined #silverstripe
405: [16:02:30] * dangerdan has joined #silverstripe
406: [16:02:35] * lerni quit (Quit: lerni)
407: [16:02:52] * UndefinedOffset quit (Read error: Connection reset by peer)
408: [16:03:05] <dangerdan> is it possible to use many_many_extraFields with DataExtension? im trying to use the two but doesnt seem to be working, wondering if it isnt possible in DataExtension or something
409: [16:03:28] <Zauberfisch> should be
410: [16:03:30] <Zauberfisch> not sure
411: [16:03:46] * UndefinedOffset has joined #silverstripe
412: [16:04:29] * Vik quit (Ping timeout: 272 seconds)
413: [16:05:35] <dangerdan> it seems to make the field in the db, but if i do Config::inst()->get("Page", 'many_many_extraFields') my extended extrafields dont appear
414: [16:05:55] * Sj0hn quit (Read error: Connection reset by peer)
415: [16:08:20] * SphereSilver has joined #silverstripe
416: [16:10:14] * nhorstmeier has joined #silverstripe
417: [16:11:08] <dangerdan> ignore me im talking rubbish
418: [16:11:10] <dangerdan> got it working
419: [16:11:55] * Pyromanik has joined #silverstripe
420: [16:11:57] <Pyromanik> woo
421: [16:12:19] <Pyromanik> what a day. Been cruisin' 'round your way micmania1
422: [16:12:43] <micmania1> been to the quayside?
423: [16:12:50] <Pyromanik> all up and down it yeh
424: [16:13:00] <Pyromanik> great place to make phone calls from, good quiet :>
425: [16:13:16] <Pyromanik> people on the other end though... typical recruitment bullshit.
426: [16:13:23] <micmania1> haha
427: [16:13:35] <Pyromanik> "Can you give me more info please?"
428: [16:13:45] <micmania1> how's the job hunt going?
429: [16:13:59] <Pyromanik> *spiels off a bunch of non specific up in the air buzzwords and stuff*
430: [16:14:09] <Pyromanik> "just send me CV..." "I already have.:
431: [16:14:13] <Pyromanik> "
432: [16:14:15] <nhorstmeier> does anyone know if getCMSValidator() can be called from a DataExtension?
433: [16:14:51] <Pyromanik> micmania1, well so far as me hunting, not well at all. Got typical woman recruiter who doesn't really give a shit about recruitment at all.
434: [16:15:07] <micmania1> Have you com across a Laura Sharpe yet?
435: [16:15:24] <Pyromanik> micmania1, but as for the very first job that came up (which I didn't apply for) the (fella) recruiter is fantastic, had interview today, went well.
436: [16:15:37] <Pyromanik> micmania1, nope, dare i not?
437: [16:15:57] <micmania1> she sponsors a load of tech events up here including PHP North East
438: [16:16:06] <Pyromanik> is she a recruiter?
439: [16:16:10] <micmania1> yeah
440: [16:16:15] * dangerdan quit (Ping timeout: 272 seconds)
441: [16:16:40] <Pyromanik> Interesting. I find most female recruiters completely incompetant and full of buzzwords, marketing speak and no follow up.
442: [16:16:48] <bar338> zauberfisch: I gave that a try but now i'm getting a page not found: http://paste2.org/ghagKV4m (used the debug_request url param). This error doesn't really make sense to me because the method name is listed in the $allowed_actions in the controller.
443: [16:17:13] <Pyromanik> then again, I've never dealt with too many fella recruiters. But the only good experiences I've had with recruitment they've both been chaps.
444: [16:17:42] <Pyromanik> chappy picked me up from railway station, took me to interview, followed up afterwards with a phone call, etc.
445: [16:18:16] <Pyromanik> as opposed to "Are you interested?" "yes." "Ok i'll send you some info via email" *5 days on still waiting...*
446: [16:18:25] <Pyromanik> that kinda stuff.
447: [16:18:49] <micmania1> Did he buy you dinner as well? :p
448: [16:18:52] <Pyromanik> nhorstmeier, I'm not sure that function is used at all anymore.
449: [16:18:55] <lewellyn> and a reacharound after?
450: [16:19:11] <Pyromanik> nhorstmeier, and yeah it should be, since it's public. So $this->owner->getCMSValidator()
451: [16:19:12] <Zauberfisch> bar338: have you flush=1 ed?
452: [16:19:23] <bar338> yes
453: [16:19:42] <Zauberfisch> bar338: as of ss 3.0.something $allowed_actions is cached
454: [16:19:50] <Pyromanik> micmania1, lewellyn, umm... dunno what experiences you've had, but this chap's just a recruiter that's good at his job, as opposed to a male prostitue.
455: [16:20:03] <Zauberfisch> bar338: busy the next couple of hours
456: [16:20:13] <Zauberfisch> I'd be happy to help you tomorrow
457: [16:20:14] <Pyromanik> micmania1, what's a suburb that starts with T?
458: [16:20:23] <lewellyn> Pyromanik: i was thinking you got a hell of a deal. guess not. ;)
459: [16:20:37] <Pyromanik> lewellyn, well, I'm not complaining :P
460: [16:20:57] <SphereSilver> Please tell me it's possible to refresh the entire cms-tree after creating a new page?
461: [16:21:10] <micmania1> Pyromanik: T? Can't think of one around here.
462: [16:21:12] <Pyromanik> SphereSilver, umm... dat tree... :<
463: [16:21:15] <lewellyn> but let me tell you that an attractive recruiter who goes the extra mile would make me consider the company ;)
464: [16:21:52] <Pyromanik> micmania1, about the only bit of info that was useful that I did manage to get out of lady recruiter for job I actually put a CV in for myself, was a very (very) fleeting mention of a suburb.
465: [16:22:01] <Pyromanik> Was gonna google and see if I could track the place down.
466: [16:22:09] <Pyromanik> since I'm completely in the dark about it.
467: [16:23:30] * jottr has joined #silverstripe
468: [16:24:39] <SphereSilver> Pyromanik: Nope, didn't do the trick :P
469: [16:25:36] <Pyromanik> micmania1, oh, acutally advert says "just outside of newcastle"
470: [16:25:42] <Pyromanik> may not be suburb
471: [16:27:32] <Pyromanik> aw crap. I don't remember what she said it all. I don't see any 'T' names, and nothing that rings a bell :<
472: [16:29:11] * colinburns has joined #silverstripe
473: [16:29:19] * colinburns is now known as ccburns
474: [16:31:12] <ccburns> Hey guys - if a github repo doesn't include a "Licence" file to describe the licence for the module is there a default assumption we should make about it? One of my clients is wanting me to do an audit of their code and outline the licences of any open source software I have used...
475: [16:31:47] <ccburns> For example I am using auth-external module - https://github.com/hamishcampbell/silverstripe-auth-external and wondering what the licence of this is?
476: [16:32:13] * jottr quit (Quit: WeeChat 0.4.2)
477: [16:33:17] * violet- quit (Remote host closed the connection)
478: [16:33:21] <lewellyn> ccburns: IANAL. however, if there is no licensing information, it falls under standard copyright laws.
479: [16:34:21] <lewellyn> github does not have a default license which users agree to.
480: [16:34:29] * violetina has joined #silverstripe
481: [16:35:19] * OxFF1 quit (Quit: Hasta la proxima)
482: [16:35:32] * jottr has joined #silverstripe
483: [16:35:42] <ccburns> lewellyn: thanks for that. So realistically I should be contacting the maintainer and getting their permission to use the software in a product... There are only about 3 modules that I am using that don't have a licence file so it shouldn't be too arduous.
484: [16:36:17] * ccburns quit (Remote host closed the connection)
485: [16:36:25] <lewellyn> encourage them to add a LICENSE file and try to convince them to use a very liberal license. :)
486: [16:36:47] <lewellyn> oh he left. doh.
487: [16:39:21] <bar338> Any suggestions on why here: http://paste2.org/90MAKKym the method doProcessForm is never being called? When I submit the form it hits the MyForm function but then returns "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again.". Doesn't seem to like the form being returned directly in that function.
488: [16:42:57] <jottr> Hi all. I am trying to pass the current IP of the database to Silverstripe by means of the following script: https://gist.github.com/jottr/af12751f166ab5995f09 Running that script from the cli wors fine, and the current IP is properly returned. I've tried to integrate said script into the mysite/_config file, which leads to all kinds of errors. Is there maybe a better place where I could pass the IP to
489: [16:42:59] <jottr> Silverstripe?
490: [16:43:23] * SphereSilver_ has joined #silverstripe
491: [16:44:39] <Pyromanik> lewellyn, you anal?
492: [16:46:07] * SphereSilver quit (Ping timeout: 260 seconds)
493: [16:46:15] * SphereSilver_ quit (Remote host closed the connection)
494: [16:46:38] * lewellyn winks at Pyromanik
495: [16:46:48] <Pyromanik> [05:33] <lewellyn> ccburns: IANAL.
496: [16:46:52] <lewellyn> ies.
497: [16:46:55] <lewellyn> yes.
498: [16:46:58] <Pyromanik> seems like it's not me you have eyes for tiger!
499: [16:47:03] <jottr> This is the _config I am currently using: https://gist.github.com/jottr/3b85a6b4dae5403e242c I have attached the error messages I get as a comment to that gist
500: [16:47:07] <lewellyn> please don't tell me you're not familiar with that acronym :P
501: [16:47:09] <Pyromanik> bar338, probably because no allowed action.
502: [16:47:55] <jottr> Maybe someone in here can help?
503: [16:48:13] <Pyromanik> jottr, what is a docker/
504: [16:48:15] <Pyromanik> ?
505: [16:48:31] <Pyromanik> because from what I know it sounds like you should be talking to lewellyn
506: [16:48:37] <jottr> Pyromanik: http://www.docker.io/
507: [16:48:57] <lewellyn> Pyromanik: i think he's interested in you, buddy ;)
508: [16:49:19] <jottr> Thats the library I'm using: https://github.com/stage1/docker-php
509: [16:49:27] <Pyromanik> jottr, because $database is a database NAME.
510: [16:50:22] <Pyromanik> not an instance or a server address or username or password.
511: [16:50:26] <micmania1> dealing with old bespoke CMSs :(
512: [16:50:34] <Pyromanik> micmania1, pain :(
513: [16:50:55] <jottr> Pyromanik: To be sure: you mean $database in _config normally expects a name?
514: [16:51:07] <jottr> Because my script returns an ip.
515: [16:51:25] <Pyromanik> jottr, as in SELECT <databasename>.<table>
516: [16:51:40] <Pyromanik> jottr, read up about configuring from env.
517: [16:51:45] <Pyromanik> doc.silverstripe.org.
518: [16:51:54] <jottr> Pyromanik: oh man. no wonder this doesn't work
519: [16:51:57] <jottr> Pyromanik: thx
520: [16:51:57] <bar338> pYromanik: I've tripple checked the spelling in allowed action and both functions are there. The MyForm method gets executed as expected, and then the Form object initialized, the error is thrown when it attempts to return the form in MyForm
521: [16:53:03] <Pyromanik> jottr, as in http://doc.silverstripe.org/framework/en/topics/environment-management
522: [16:53:33] <jottr> Pyromanik: thx.
523: [16:53:57] <Pyromanik> bar338, I see static $allowed_actions = array('MyMethod', 'MyForm');
524: [16:54:12] <Pyromanik> no 'doProcessForm'
525: [16:54:12] <micmania1> Pyromanik: Would you be interested in this: http://www.supermondays.org/ - There's a few of us going
526: [16:54:24] <micmania1> You're more than welcome to come along
527: [16:54:53] <bar338> Pyromanik: I thought the action was supposed to be processed in the background which meant it did not need to be in allowed actions.
528: [16:55:02] <Pyromanik> micmania1, will there be beer?
529: [16:55:16] <micmania1> we're going for a few beforehand :)
530: [16:55:35] <Pyromanik> bar338, yeah I dunno. I thought so too, but I'd try that first to rule it out as the cause of your issue.
531: [16:55:57] <Pyromanik> because I'm pretty sure forms check allowed actions before handing over execution.
532: [16:56:07] <bar338> yep i added that with a flush and same error
533: [16:56:07] <Pyromanik> micmania1, oh yeh, sounds like a lark.
534: [16:56:22] <Pyromanik> bar338, could you use a better paste thing?
535: [16:56:37] <micmania1> sign yourself up for it and i'll sort it out with you nearer the time.
536: [16:56:38] * Shrike_Finland quit (Quit: Leaving.)
537: [16:56:42] <Pyromanik> oh wait sorry, no js enabled.
538: [16:57:03] <Pyromanik> no, still no php syntax highlights
539: [16:57:17] <Pyromanik> micmania1, cool, it's free I take it?
540: [16:57:23] <micmania1> yep
541: [16:57:44] <Pyromanik> cool. So registration is just for... numbers & events planning?
542: [16:58:05] <bar338> Pyromanik: here is an updated paste (just changed the customise parameter to call the function instead of just having a string: http://paste2.org/7fzAjhyX
543: [16:58:13] <micmania1> yeah. I've only been to 1 before and you don't actually need tickets or anything.
544: [16:58:33] <micmania1> but they do food and stuff beforehand so I think its just for numbers for that..
545: [16:58:36] <Pyromanik> micmania1, ROFL ROFL http://jobs.supermondays.org/
546: [17:00:28] <Pyromanik> bar338, your paste is too much work. There's no syntax highlighting and no indenting when copied and pasted.
547: [17:00:32] <Pyromanik> what am I looking at?
548: [17:00:47] <Pyromanik> I missed the start of the conversation, your initial issue, etc.
549: [17:01:36] <Pyromanik> micmania1, oh yeh. I'm up for canape's
550: [17:04:56] <micmania1> Pyromanik: last time I went to one of these there was a few people advertising job vacancies so you might be in luck.
551: [17:05:01] <micmania1> usually startups like
552: [17:11:37] <Pyromanik> yeh, interview went well today so it seems like this woman managing recruitment for what I thought sounded like a dream job might be shit out of luck.
553: [17:11:51] * ObiWanSh_ quit (Read error: Connection reset by peer)
554: [17:11:55] <Pyromanik> we'll see what happens :>
555: [17:12:08] * ObiWanS__ has joined #silverstripe
556: [17:17:01] <micmania1> home time. cyas
557: [17:32:48] * joelpittet has joined #silverstripe
558: [17:33:30] * mojo5000 has joined #silverstripe
559: [17:36:50] * Shrike_Finland has joined #silverstripe
560: [17:37:41] * joelpittet quit (Ping timeout: 248 seconds)
561: [17:38:29] * mojo5000 quit (Ping timeout: 272 seconds)
562: [17:38:58] * kinglozzer quit ()
563: [17:40:38] * jottr quit (Ping timeout: 246 seconds)
564: [17:49:37] * andrewjbaker quit (Ping timeout: 272 seconds)
565: [17:54:27] * boytikz has joined #silverstripe
566: [17:58:17] * Shrike_Finland quit (Quit: Leaving.)
567: [17:59:13] * Shrike_Finland has joined #silverstripe
568: [18:01:29] * ObiWanS__ quit (Remote host closed the connection)
569: [18:05:09] * ObiWanShanobi has joined #silverstripe
570: [18:14:03] * nhorstmeier quit (Remote host closed the connection)
571: [18:14:36] * nhorstmeier has joined #silverstripe
572: [18:46:55] * Shrike_Finland quit (Quit: Leaving.)
573: [18:48:48] * ObiWanShanobi quit (Remote host closed the connection)
574: [18:49:10] * Shrike_Finland has joined #silverstripe
575: [18:52:56] * ObiWanShanobi has joined #silverstripe
576: [18:52:57] * Shrike_Finland quit (Client Quit)
577: [18:54:35] * bar338 quit (Ping timeout: 272 seconds)
578: [18:55:03] * andrewjbaker has joined #silverstripe
579: [18:56:08] * Shrike_Finland has joined #silverstripe
580: [18:57:17] * antmas has joined #silverstripe
581: [18:59:01] * r3v3rb has joined #silverstripe
582: [18:59:35] * andrewjbaker quit (Ping timeout: 265 seconds)
583: [19:00:49] * Shrike_Finland quit (Client Quit)
584: [19:01:19] * nhorstmeier quit (Read error: Connection timed out)
585: [19:02:56] * nhorstmeier has joined #silverstripe
586: [19:03:22] <r3v3rb> anyone know much about Plesk?
587: [19:04:25] <r3v3rb> client bought a Plesk server and is having a nightmare with messages from SS php mailer being bounced as the server is trying to deliver locally yet the DNS for their mail is a different server!
588: [19:06:42] * SphereSilverNL has joined #silverstripe
589: [19:07:04] * nhorstmeier quit (Ping timeout: 246 seconds)
590: [19:10:28] * SightUnseen has joined #silverstripe
591: [19:10:32] * Shrike_Finland has joined #silverstripe
592: [19:12:29] <antmas> aweseom
593: [19:12:52] <antmas> first thing this morning - third party web service was upgraded without warning and it's teh borked
594: [19:13:10] <SphereSilverNL> Incoming "You're gonna pay for this"
595: [19:14:28] <SphereSilverNL> Wow, just got a message on FB. One of my friends in highschool died yesterday. Cancer. Wow, just wow. He was 30! I haven't spoken to him in years, but still... :'(
596: [19:14:38] * nhorstmeier has joined #silverstripe
597: [19:15:03] <antmas> :(
598: [19:15:05] <antmas> sucks
599: [19:15:09] * nhorstmeier quit (Client Quit)
600: [19:15:17] <r3v3rb> SphereSilverNL: its everywhere - sad but the disease we thought we could cure ended up being HIV not Cancer...
601: [19:15:36] <SphereSilverNL> Just posted a card to his parents. It's the best I can do from 300+ km away :(
602: [19:16:01] <antmas> we didn't cure HIV...
603: [19:16:26] <SphereSilverNL> (Posted as in, physically wrote condoleances and such and put it in a physical mailbox)
604: [19:18:34] * antmas tries to think of the last time he physically posted anything
605: [19:19:44] <r3v3rb> antmas: well not quite but we have better drugs for that than cancer in the short time research has been underway...
606: [19:20:09] <antmas> r3v3rb: true
607: [19:21:10] * joelpittet has joined #silverstripe
608: [19:22:31] <SphereSilverNL> Still, it's quite surreal somehow, getting the message "Someone you know, of your age, has died due to a terrible disease"
609: [19:22:51] <antmas> SphereSilverNL: I've had it a few times :(
610: [19:23:09] <antmas> it usually makes it WAY worse when you never knew they had it
611: [19:23:41] <r3v3rb> SphereSilverNL: indeed, 6 months ago I found out a previously very good school friend had died in a bike accident in Australia whilst travelling - and I thought he was just busy with his business and children... :(
612: [19:23:59] <SphereSilverNL> Indeed it does. I haven't spoken to him in years, but this message was like a full blow to the stomach
613: [19:26:23] <SphereSilverNL> It's never good to see old friends go :(
614: [19:26:27] * joelpittet quit (Ping timeout: 276 seconds)
615: [19:34:48] * Ryan-Toast has joined #silverstripe
616: [19:37:53] <r3v3rb> hmm, so I can't do <% if Details.Messages.Files %> :(
617: [19:39:06] <SphereSilverNL> Why not?
618: [19:40:12] <antmas> oh god I have the worst brainfarts today
619: [19:40:40] <SphereSilverNL> Well, that's probably better than my real farts....
620: [19:41:35] <antmas> lol gross
621: [19:41:49] <r3v3rb> SphereSilverNL: well for me its not working as a test
622: [19:41:50] <SphereSilverNL> You're welcome :P
623: [19:42:04] <antmas> I'm testing some code and so I just shove it all into mysite/code and hoped for the best
624: [19:42:12] <antmas> o.O
625: [19:42:22] <SphereSilverNL> r3v3rb: does <% $Details.Messages.Files.count > 0 %> work?
626: [19:43:22] <r3v3rb> nope
627: [19:43:52] <SphereSilverNL> $details has $Messages, and $Messages has $Files?
628: [19:43:56] <SphereSilverNL> Just to be sure ;)
629: [19:44:01] * joelpittet has joined #silverstripe
630: [19:44:13] <r3v3rb> most definitely
631: [19:45:41] <SphereSilverNL> Just a thought, <% with $Details %><% if $Messages.count %><% loop $Messages %> <% if $Files %><% loop $Files %> (bunch of end_loop/end_if's here )
632: [19:46:09] <SphereSilverNL> Do you have xDebug working? That could be of great help setting breakpoints ;)
633: [19:50:17] <r3v3rb> SphereSilverNL: yikes!
634: [19:50:26] <r3v3rb> firephp not xdebug
635: [19:50:31] <SphereSilverNL> Go xdebug
636: [19:50:35] <r3v3rb> better?
637: [19:51:03] <SphereSilverNL> seriously, firephp just takes up resources, xdebug is a debugging tool, firephp is a logging tool (you can't alter the process itself)
638: [19:51:36] <SphereSilverNL> Do you use an IDE, and if so, which one?
639: [19:51:38] <r3v3rb> true, I'll take a look
640: [19:51:39] <antmas> </3 firephp
641: [19:51:47] <r3v3rb> no IDE just coda2 on my mac
642: [19:51:55] <SphereSilverNL> get NetBeans
643: [19:52:08] <SphereSilverNL> or, if you are willing to pay for it (you probably are after a few days)
644: [19:52:15] <SphereSilverNL> get PHPStorm from JetBrains
645: [19:52:26] <SphereSilverNL> Add to that, xDebug
646: [19:52:36] <SphereSilverNL> you'll be blown away by the awesomeness
647: [19:53:46] <pippy> NetBeans is awesome
648: [19:53:58] <SphereSilverNL> PHPStorm is better, but not free :(
649: [19:54:41] <pippy> I've been falling in love with sublime text recently
650: [19:54:46] <pippy> i paid 70$ for that
651: [19:54:48] <pippy> US too
652: [19:54:59] <pippy> I'm going to see what php storm is about
653: [19:55:10] <SphereSilverNL> But.... but.... but.... no xdebug!
654: [19:55:47] <pippy> yeah :(
655: [19:55:53] <pippy> it has almost no debugging features
656: [19:56:00] <pippy> i use it mostly for python though
657: [19:56:29] <pippy> https://github.com/martomo/SublimeTextXdebug
658: [19:56:37] <pippy> there seems to be an extention though
659: [19:56:39] <SphereSilverNL> For Python, get PyCharm (from JetBrains)
660: [19:56:43] <unsignedint> its at heart text editor, not an IDE. that's why
661: [19:56:44] * boytikz has left #silverstripe
662: [19:56:45] <SphereSilverNL> There's a free version
663: [19:56:49] <pippy> oh sweet
664: [19:56:51] * Zauberfi1ch has joined #silverstripe
665: [19:56:55] <SphereSilverNL> http://imgur.com/CyAslZT,VfKLjhH#0
666: [19:57:00] <SphereSilverNL> Lookie, debugging!
667: [19:57:09] * Zauberfi1ch quit (Client Quit)
668: [19:58:17] <SphereSilverNL> (Contains 2 images)
669: [19:58:25] <pippy> tbh i turn debugging off most of the time in netbeans
670: [19:58:51] <SphereSilverNL> Than, you haven't debugged the way it should be done ;)
671: [20:00:19] <pippy> netbeans is awesome for php
672: [20:00:29] <pippy> git intergration makes it even better
673: [20:00:37] <SphereSilverNL> Setting breakpoints, inspecting the run etc. That's what's debugging. FirePHP is just a logger which also kinda takes a lot of resources
674: [20:00:53] <SphereSilverNL> I use SourceTree + GitFlow for git usage
675: [20:01:26] <pippy> i use source tree too, mostly for reviewing history etc
676: [20:01:39] <SphereSilverNL> it beats any IDE-integrated versioning system
677: [20:01:47] <pippy> i got the really early beta which was pretty horrible when it came out
678: [20:01:51] <SphereSilverNL> Have you tried Gitflow?
679: [20:02:46] <antmas> woohoo! http://i.imgur.com/78zOFch.png
680: [20:03:02] <SphereSilverNL> That looks borked :P
681: [20:03:11] <SphereSilverNL> Whahahahaha, your dev-domain is dev01!
682: [20:03:13] <SphereSilverNL> :D
683: [20:03:13] <antmas> SphereSilverNL: just a little
684: [20:03:15] <SphereSilverNL> AWESOME!
685: [20:03:33] <antmas> the password is password01
686: [20:03:35] <antmas> :P
687: [20:04:01] <antmas> I didn't name them :O
688: [20:04:16] <antmas> also, we have like 15 dev servers so it almost makes sense :)
689: [20:04:52] <SphereSilverNL> dev01.www.tdc.tdc.govt.nz could not be found :P
690: [20:05:20] <antmas> ?
691: [20:05:24] <antmas> of crouse not
692: [20:05:27] <antmas> course*
693: [20:05:35] <SphereSilverNL> Worth a try, right? :P
694: [20:05:35] <antmas> it's local homie!
695: [20:05:58] <antmas> you're looking for this www.tasman.govt.nz
696: [20:06:15] <r3v3rb> SphereSilverNL: I'm assuming the debuggin with xdebug is for local sites true?
697: [20:06:43] <SphereSilverNL> It only works on the machine that is connected
698: [20:06:57] <r3v3rb> sure, I'll take a look and see
699: [20:07:08] <SphereSilverNL> xdebug does allow for remote connections, but I would strongly advice not to use a remote system as dev-environment ;)
700: [20:07:22] <Zauberfisch> has anyone ever used ImagickBackend? either I am doing something wrong or this class pretty broken
701: [20:07:55] <r3v3rb> Zauberfisch: years ago and it was painful
702: [20:08:31] <r3v3rb> I had to use it to do some manipulation and pass the results to a PDF renderer - not enjoyable
703: [20:08:31] <antmas> I used it once
704: [20:08:39] <r3v3rb> £72 for PHPStorm
705: [20:08:47] * r3v3rb tries it for 14 days
706: [20:08:48] <antmas> 72?!
707: [20:08:56] <antmas> holy shit
708: [20:09:12] * UncleCheese has joined #silverstripe
709: [20:09:13] <Zauberfisch> its worth every pound
710: [20:09:17] <SphereSilverNL> It's worth every penny
711: [20:09:21] <Ryan-Toast> I just use NetBeans
712: [20:09:35] <SphereSilverNL> NetBeans is good
713: [20:09:37] <Ryan-Toast> dat $0 price tag.
714: [20:09:42] <SphereSilverNL> PHPStorm is BETTER
715: [20:09:51] <Ryan-Toast> SUPERIOR IN EVERY WAY
716: [20:10:19] <SphereSilverNL> I bought it just for the dark theme TBH
717: [20:10:38] <Ryan-Toast> Lol.
718: [20:10:46] <Ryan-Toast> It does have a nice theme.
719: [20:11:17] <SphereSilverNL> The dark theme is awesome. The full system integration and support for frameworks (why not Silverstripe?) is awesome
720: [20:11:41] <Ryan-Toast> SphereSilverNL: You could write an intergration for SS :P
721: [20:11:58] <Zauberfisch> there is a silverstripe plugin
722: [20:12:01] <SphereSilverNL> I can, indeed. I haven't had the time yet
723: [20:12:28] <SphereSilverNL> The plugin says "Incompatible with this version of PHPStorm" ;)
724: [20:12:47] <Ryan-Toast> I wish we didn't have to sleep. I find these days time is the only thing I don't have enough of.
725: [20:13:08] <SphereSilverNL> I learnt something last monday:
726: [20:13:25] <SphereSilverNL> "You don't have too little time, you're not giving yourself enough time"
727: [20:13:43] <Ryan-Toast> This is true.
728: [20:14:21] <Ryan-Toast> I need to hire a senior dev to juust sit around the house an answer questions when I have them.
729: [20:14:32] <Zauberfisch> SphereSilverNL: it is with mine :P
730: [20:14:45] <antmas> yeah I have no time :(
731: [20:14:58] <SphereSilverNL> Ryan-Toast: I'm available, only 70 euro's/hour
732: [20:15:08] <Ryan-Toast> what a deal.
733: [20:15:22] <Ryan-Toast> Man, 70 an hour. That's a pretty commandifng rate.
734: [20:15:26] <antmas> damnit, Jean F, use chat :(
735: [20:15:30] <SphereSilverNL> Zauberfisch, antmas: You are very free to say "not now" ;) to customers
736: [20:15:49] <antmas> SphereSilverNL: not when it's local govt dev
737: [20:15:51] <antmas> :P
738: [20:15:52] <SphereSilverNL> You can do that. And with a little persuasion, they will accept it ;)
739: [20:16:16] <Ryan-Toast> SphereSilverNL: I'M BUSY, SIT DOWN OVER THERE UNTIL I'M READY
740: [20:16:19] <SphereSilverNL> I don't care if it's the government. If I say "NOT NOW", it's quite definitive "NOT NOW"
741: [20:16:27] <antmas> 70 euros is not that high
742: [20:16:33] <antmas> that's about right really
743: [20:16:39] <SphereSilverNL> antmas: that's a friendly price :P
744: [20:16:51] <Ryan-Toast> $114 NZD an hour :P
745: [20:16:53] <SphereSilverNL> I usually ask somewhat 100+/hour
746: [20:17:09] <Ryan-Toast> I usually charge $60 an hour for projects.
747: [20:17:15] <antmas> yeah I'm 100 for PHP, 150 for .net
748: [20:17:16] <SphereSilverNL> Moving to NZ will cost you about the costs of me moving to NZ :P
749: [20:17:26] <Zauberfisch> SphereSilverNL Ryan-Toast antmas:
750: [20:17:27] <Zauberfisch> http://mars.zauberfisch.at/phpstrom-silverstripe/super.png
751: [20:17:33] <Zauberfisch> http://mars.zauberfisch.at/phpstrom-silverstripe/awesome.png
752: [20:17:38] <SphereSilverNL> I found my wallet!
753: [20:17:52] <Zauberfisch> look at all that ss template highlighting goodness
754: [20:17:57] <SphereSilverNL> Zauberfisch, antmas: Told ya!
755: [20:18:02] <Ryan-Toast> Zauberfisch: You need yourself some closing comments, son.
756: [20:18:06] <SphereSilverNL> the SS-template plugin is AWESOME
757: [20:18:29] <Zauberfisch> Ryan-Toast: closing ... what? :P
758: [20:18:46] <Ryan-Toast> like <div class="foo"></div><!-- /.foo -->
759: [20:18:55] <Zauberfisch> nah, I actually hate those
760: [20:19:13] <Zauberfisch> they make the code harder to read for me, rather than easier
761: [20:19:20] <Ryan-Toast> Really?
762: [20:19:24] <Zauberfisch> yes
763: [20:19:42] <Zauberfisch> and the IDE shows me what the closing tag is anyway when I highlight it
764: [20:20:06] <Zauberfisch> (also, my code is auto formatted and thus always correctly nested)
765: [20:20:07] <Ryan-Toast> I find it easier in situations like this: https://github.com/Rhym/ss_boilerplate/blob/master/themes/boilerplate/templates/Includes/Navigation.ss
766: [20:20:33] <Zauberfisch> so there really is no need for it
767: [20:20:42] <Zauberfisch> wenn I need that, my IDE will show me
768: [20:20:56] <SphereSilverNL> Indentation is for wussies!
769: [20:21:10] <SphereSilverNL> Ow, no, wait, for Python. I meant for Python
770: [20:21:16] <Ryan-Toast> IDE's can'y help you with the front-end generated stuff though.
771: [20:21:38] <Zauberfisch> what do you mean?
772: [20:21:45] <Zauberfisch> ah, you mean output to the browser?
773: [20:21:47] <SphereSilverNL> A joke ;)
774: [20:21:55] <Zauberfisch> SphereSilverNL: not talking to you :P
775: [20:22:02] <Ryan-Toast> Like if you had a method that generated some HTML in the backend.
776: [20:22:11] <Zauberfisch> Ryan-Toast: in the browser I have firebug, which again auto formats
777: [20:22:19] <Ryan-Toast> Fair enough :)
778: [20:22:29] <SphereSilverNL> Ryan-Toast: With the SS-template-support installed in PHPStorm, you get help and auto-indentation.
779: [20:22:33] <Ryan-Toast> I suppose it's just one of those things that some people like, and some people don't.
780: [20:22:46] <Ryan-Toast> PHStorm is cross platform, right?
781: [20:23:07] <SphereSilverNL> I've noticed, most people start loving PHPStorm and xDebug when they start using it.
782: [20:23:26] <SphereSilverNL> It's OSX and Windows compatible. Linux, I'm not sure about
783: [20:23:30] <Ryan-Toast> If I buy PHPStorm can I have it at work, and at home? Or do I need two licences?
784: [20:23:31] <SphereSilverNL> Zauberfisch: sorry :(
785: [20:23:51] <SphereSilverNL> Ryan-Toast: You need one license, but it can only be used at one place at the time
786: [20:24:08] <Zauberfisch> Ryan-Toast: mars.zauberfisch.at/phpstrom-silverstripe/no-need-for-comments.png
787: [20:24:13] <Ryan-Toast> I have Mac at work (sigh), and Windows at home. Will that be fine for one licence?
788: [20:24:38] <SphereSilverNL> Should do. As I said, they just can't be active together
789: [20:24:48] <Zauberfisch> Ryan-Toast: I have 1 license and use it on 3 PCs: Win8 (home), Win7 (Notebook), Mac (Office)
790: [20:24:53] <Ryan-Toast> Just have to remember to close it at work before I go home :P
791: [20:25:14] <SphereSilverNL> Although, technically, they can be active together, according to the license, the program can only be used at one place at a time.
792: [20:25:23] <Zauberfisch> Ryan-Toast: in fact, you can have it open at home and at the office at the same time. the license feature just talks on local network I believe
793: [20:25:33] <Ryan-Toast> Ah, right.
794: [20:25:40] <Ryan-Toast> I'll have a look now.
795: [20:25:41] <Zauberfisch> so if you want to scam them for the license, you could simply setup a firewall
796: [20:25:59] * SightUnseen1 has joined #silverstripe
797: [20:26:02] <Zauberfisch> which I ofcourse would not suggest as their software really is worth the money
798: [20:26:25] <Zauberfisch> Ryan-Toast: seen the screenshot? it shows you the html hierachy in the top bar
799: [20:27:00] <Zauberfisch> so if I select the closing tag, it will tell me what the other tag is
800: [20:27:02] * SightUnseen1 has left #silverstripe
801: [20:27:02] <Ryan-Toast> $99 USD :(
802: [20:27:11] <SphereSilverNL> try it
803: [20:27:16] <SphereSilverNL> worth it
804: [20:27:26] <SphereSilverNL> It's like L'Oreal, but for programmers
805: [20:27:28] <Zauberfisch> Ryan-Toast: a disclaimer however: the SS plugin is still in early stages
806: [20:27:30] <SphereSilverNL> you're worth it.
807: [20:27:36] <Ryan-Toast> Your face is worth it.
808: [20:27:43] <Ryan-Toast> I'll try the 30 day trial
809: [20:27:46] <Zauberfisch> Ryan-Toast: there is a 30day test period
810: [20:28:05] <Zauberfisch> and if you want another 30 days, reinstall it ^^
811: [20:28:37] <Ryan-Toast> This better be the best thing in my life, ever.
812: [20:29:02] <Ryan-Toast> EVER
813: [20:29:10] * ObiWanShanobi quit (Quit: Leaving...)
814: [20:29:11] <Zauberfisch> Ryan-Toast: go take the 30days trial
815: [20:29:19] <Ryan-Toast> I am now.
816: [20:29:22] * willr has joined #silverstripe
817: [20:29:22] <SphereSilverNL> Sorry, it's not sliced bread
818: [20:30:01] <Zauberfisch> also nice:
819: [20:30:02] <Zauberfisch> http://mars.zauberfisch.at/phpstrom-silverstripe/finding-a-method.png
820: [20:30:13] <Zauberfisch> lets me jump from template directly to the PHP method
821: [20:30:31] <Ryan-Toast> Most IDEs do that
822: [20:30:40] <SphereSilverNL> Goodevening, mister Rossiter
823: [20:30:41] <Zauberfisch> not with silverstripe template variables
824: [20:30:50] <Ryan-Toast> Ah, fair enough.
825: [20:30:52] <Zauberfisch> ohai willr
826: [20:30:56] <Zauberfisch> how nice to see you
827: [20:31:18] <Ryan-Toast> IS the theme you're using "Darcula?"
828: [20:31:25] <SphereSilverNL> yep
829: [20:31:27] <Zauberfisch> Ryan-Toast: yes
830: [20:31:42] <Ryan-Toast> chur
831: [20:32:21] <SphereSilverNL> You'll love it. Trust me.
832: [20:32:39] <SphereSilverNL> although, don't trust me, I'm bad at giving advice
833: [20:32:51] <Zauberfisch> willr: there is this charmeful pull request desperately seeking your attention
834: [20:32:54] <Zauberfisch> :P
835: [20:33:09] * nickmolhoek has joined #silverstripe
836: [20:33:18] <SphereSilverNL> willr: Some pull request-owners are seeking attention
837: [20:34:06] <willr> Will get to it asap
838: [20:34:15] <Zauberfisch> Ryan-Toast: take the 30days, I did, and loved it. I also love the ss plugin for phpstorm, however, its as said really early stages, its good, but not finished
839: [20:34:38] <willr> when I'm not at work or drinking, which has been a small period
840: [20:34:57] <Zauberfisch> willr: no, just teasing you, don't worry about it
841: [20:35:04] <SphereSilverNL> You've been drinking again, haven't you?
842: [20:35:13] <Zauberfisch> :D
843: [20:35:30] <Zauberfisch> willr: the silverstripe irc family does not approve of your drining habbit
844: [20:35:41] <Zauberfisch> consider this an intervention
845: [20:35:53] <Zauberfisch> *serious face*
846: [20:36:00] <SphereSilverNL> Hey, who said we disapprove? We just want a share of the booze!
847: [20:36:19] <willr> I'll bring it over later this year
848: [20:36:33] * ObiWanSh_ has joined #silverstripe
849: [20:37:06] <SphereSilverNL> Is that a promise? You'll be in the Netherlands somewhere this year?
850: [20:37:39] <Zauberfisch> :O
851: [20:38:00] <Ryan-Toast> Is thsis the one you use? http://plugins.jetbrains.com/plugin/7201?pr=
852: [20:38:04] <SphereSilverNL> I think, somehow, willr is feeling a bit cornered now.
853: [20:38:32] <SphereSilverNL> Ryan-Toast: No clue, I got it via the preferences -> plugins -> external plugins
854: [20:38:38] <Zauberfisch> Ryan-Toast: yes, I think so, never seen that page before
855: [20:38:41] <Zauberfisch> what SphereSilverNL said
856: [20:39:12] <willr> Don't know! All I know is I'll be in europe for a month, haven't decided where and what. Got a conference in London in May, but while I was there going to see a few things
857: [20:39:25] <Zauberfisch> willr: sweet
858: [20:39:29] <Zauberfisch> make sure you visit austria
859: [20:39:34] <Zauberfisch> much better than netherlands
860: [20:39:52] <Zauberfisch> I hear there lives this great guy in austria
861: [20:39:57] <Zauberfisch> with a fishy name
862: [20:40:15] <SphereSilverNL> willr: you should visit our Amsterdam office!
863: [20:40:29] <SphereSilverNL> @Chillu can tell you all about how awesome it is
864: [20:40:36] <r3v3rb> okay if I have FieldList::create( how the hell can I add the field to a new tab? $fields->addFieldToTab( was simpler for my brain
865: [20:41:30] <SphereSilverNL> $fields = Tab::create('tabname'); $fields->addFieldToTab(fieldname);
866: [20:43:24] <SphereSilverNL> That kinda should work somewhat
867: [20:43:30] <SphereSilverNL> minus typo's and such
868: [20:44:54] <Zauberfisch> r3v3rb: so you want tabs on your dataobject?
869: [20:46:47] <Zauberfisch> $fields = FieldList::create(TabSet::create('Root'));
870: [20:46:48] <Zauberfisch> $fields->addFieldToTab('Root', Tab::create('Main', 'My Main Tab'));
871: [20:46:48] <Zauberfisch> $fields->addFieldToTab('Root.main', TextField::create('Title', 'My Title'));
872: [20:47:09] <r3v3rb> Zauberfisch: ok, so not directly within a FieldList
873: [20:47:32] <Zauberfisch> no, you need to create a tabset before you can do tab magic
874: [20:47:57] <Zauberfisch> (there is a typo in my code its suppose to be Main instead of main
875: [20:48:02] <r3v3rb> got it, seems like a cross over between the two systems of initiating going on
876: [20:48:12] <Zauberfisch> ?
877: [20:48:15] * mobiusnz has joined #silverstripe
878: [20:48:44] <r3v3rb> with the assignment to a variable then adding them to the tab
879: [20:49:08] <Zauberfisch> r3v3rb: oh, you mean because I used addFieldToTab so often?
880: [20:49:13] <Zauberfisch> you can do that all inline aswell
881: [20:50:30] <r3v3rb> ok, I just wondered if you could thats all with a ->addToTab for example
882: [20:50:31] <Zauberfisch> r3v3rb: http://paste2.org/54BDW2hI
883: [20:50:35] <Zauberfisch> will produce the same result
884: [20:50:45] <r3v3rb> perfect
885: [20:50:48] <r3v3rb> thanks
886: [20:51:09] <Zauberfisch> however, the TabSet and Tab constructor parameters are not nice
887: [20:51:30] <Zauberfisch> (if you get an error, I think you might have to remove line 7)
888: [20:51:41] <Zauberfisch> the contructor parameters there are inconsitent and not nice to use
889: [20:51:50] <Zauberfisch> not possible to pass an array for example
890: [20:52:28] <Zauberfisch> but there is a issue for it: https://github.com/silverstripe/silverstripe-framework/issues/2653
891: [20:52:36] <SphereSilverNL> Look at what the Tab does ;)
892: [20:52:37] <Zauberfisch> will fix that 'soon'
893: [20:53:15] <SphereSilverNL> tm
894: [20:56:45] * SphereSilverNL ->bed()
895: [20:56:55] <Zauberfisch> good night
896: [20:56:59] <SphereSilverNL> Sleep tight folks
897: [20:57:07] * SphereSilverNL quit (Remote host closed the connection)
898: [20:59:59] <antmas> hmm
899: [21:00:20] <antmas> good album is good
900: [21:03:39] <ss23> Zauberfisch: pong
901: [21:03:56] <Zauberfisch> ohai ss23
902: [21:04:04] <Zauberfisch> I needed you
903: [21:04:08] <ss23> :O
904: [21:04:10] <ss23> Do you still need me?
905: [21:04:13] <Zauberfisch> however, I can't recall for what
906: [21:04:34] <Zauberfisch> ah, I proabably needed you to listen to my ranting about Image_Backend
907: [21:04:53] <Zauberfisch> or something
908: [21:05:03] * antmas quit (Ping timeout: 272 seconds)
909: [21:05:23] <Zauberfisch> Ryan-Toast: also, the speed! the speed!
910: [21:05:30] <Ryan-Toast> Zauberfisch: Hmm?
911: [21:05:40] <Zauberfisch> the performance of phpstorm
912: [21:05:49] <ss23> haha
913: [21:05:53] <ss23> I rant lots too! :D
914: [21:06:04] <ss23> Zauberfisch: You know what has beter perforormance than phpstorm?
915: [21:06:04] <ss23> vim.
916: [21:06:19] <Zauberfisch> Ryan-Toast: I used eclipse before, and was blown by the performance of phpstorm
917: [21:06:53] * antmas has joined #silverstripe
918: [21:07:13] <Zauberfisch> ss23: I love vim, but not as IDE
919: [21:08:58] <Ryan-Toast> Zauberfisch: It doesn't like me copy/pasting Ascii art at all.
920: [21:09:10] <Ryan-Toast> I was going to take a screenshot for you, but.
921: [21:09:15] <Ryan-Toast> no dice
922: [21:09:19] <Zauberfisch> :/
923: [21:09:23] <unsignedint> ugh, Eclipse
924: [21:09:25] <Ryan-Toast> I'm using it though :P
925: [21:10:36] <Zauberfisch> I must have upset some higher powers, all those dark and ugly corners of silverstripe that I had come in contact with this week
926: [21:10:39] <Zauberfisch> :S
927: [21:10:53] <Zauberfisch> so much that needs refactoring ...
928: [21:11:11] <Ryan-Toast> Zauberfisch: THERE YOU GO http://i.imgur.com/1Pgr1LO.jpg
929: [21:11:24] <Zauberfisch> :D
930: [21:11:25] <antmas> Ryan-Toast: lol
931: [21:12:00] <Ryan-Toast> The face of learning.
932: [21:12:35] <Zauberfisch> well, that makes me glad I am not your teacher >:P
933: [21:13:44] <Ryan-Toast> sadtoryan
934: [21:16:12] * spronk2 has joined #silverstripe
935: [21:16:29] <madmatt_> <3 phpstorm debugger
936: [21:16:40] * madmatt_ is now known as madmatt
937: [21:17:10] * madmatt is now known as Guest87918
938: [21:19:29] * zippy__ has joined #silverstripe
939: [21:19:46] * Guest87918 quit (Changing host)
940: [21:19:46] * Guest87918 has joined #silverstripe
941: [21:21:12] * Guest87918 is now known as madmatt
942: [21:22:14] <antmas> might actually try netbeans
943: [21:22:20] <antmas> which plugins should I grab?
944: [21:22:58] <Zauberfisch> $this->data()->Supporters()->filter('LastName:StartsWith:nocase', 'a')
945: [21:23:20] <Zauberfisch> oh, new ORM, at least you are beautiful
946: [21:25:58] <Ryan-Toast> antmas: PHPStorm is better so far./
947: [21:26:26] <antmas> Ryan-Toast: need a free one :/
948: [21:26:38] <Ryan-Toast> antmas: Cheapkent
949: [21:27:03] <antmas> :P
950: [21:28:04] <zippy__> wear on a sd card. Does reading create wear, or just writing?
951: [21:28:22] <antmas> zippy__: both
952: [21:28:25] * r3v3rb quit (Quit: r3v3rb)
953: [21:30:19] <Ryan-Toast> Can I use the get() method to create a list of a certain page type?
954: [21:31:08] * spronk2 quit (Quit: spronk2)
955: [21:31:13] * DigNZ has joined #silverstripe
956: [21:32:11] <antmas> bah, stupid DL stuck at 99%
957: [21:32:14] <Zauberfisch> Ryan-Toast: elaborate
958: [21:33:05] <Ryan-Toast> Zauberfisch: i.e have a page type of "Post", and I want to get all of the "Posts" in another page type.
959: [21:33:15] <Ryan-Toast> That's not the parent
960: [21:33:28] <Zauberfisch> yes, then the following will work: $allPostPages = Post::get();
961: [21:33:38] <Zauberfisch> $allPostPages will be a DataList
962: [21:33:57] <Zauberfisch> so you can ->filter(), ->sort(), ... and so on
963: [21:34:29] * catcher has joined #silverstripe
964: [21:34:51] <Ryan-Toast> Zauberfisch: Thanks :)
965: [21:35:30] * catcher quit (Changing host)
966: [21:35:31] * catcher has joined #silverstripe
967: [21:35:32] * catcher quit (Changing host)
968: [21:35:32] * catcher has joined #silverstripe
969: [21:35:55] <catcher> bah
970: [21:36:53] <catcher> I mean, hello
971: [21:37:21] * antmas quit (Ping timeout: 272 seconds)
972: [21:40:22] * antmas has joined #silverstripe
973: [21:46:14] <Zauberfisch> for the record:
974: [21:46:30] <Zauberfisch> snipped to get a list of persons by the first letter of their lastname
975: [21:46:32] <Zauberfisch> http://paste2.org/Om0sczdN
976: [21:46:54] * r3v3rb has joined #silverstripe
977: [21:47:21] <Zauberfisch> (SilverStripe Letter Navigation / Pagination)
978: [21:47:34] * DigNZ quit (Quit: DigNZ)
979: [21:50:11] * UndefinedOffset quit (Quit: Leaving.)
980: [21:55:46] * ObiWanSh_ quit (Remote host closed the connection)
981: [21:56:14] * OxFF1 has joined #silverstripe
982: [21:57:04] * ObiWanShanobi has joined #silverstripe
983: [21:58:34] * antmas_ has joined #silverstripe
984: [21:59:36] <Ryan-Toast> antmas_: IMPOSTER!
985: [21:59:51] <antmas_> LIES!
986: [22:00:09] * antmas quit (Ping timeout: 272 seconds)
987: [22:00:18] * antmas_ is now known as antmas
988: [22:04:40] <antmas> "Java installer has discovered and error"
989: [22:04:43] <antmas> -_-
990: [22:06:03] <unsignedint> isnt Java made by americans? im suprised Java didnt conquer the error after discovering it, stick an American flag on it and open a McDonalds
991: [22:06:22] <antmas> lol ^
992: [22:09:41] <Ryan-Toast> LPT: If Google Chrome freezes, hit Shift + Esc. Chrome has an inbuilt Task Manager
993: [22:10:23] <zippy__> why would a member have multipel rows in the MemberPassword table… seems odd
994: [22:10:32] <zippy__> LPT ?
995: [22:11:48] <antmas> Life Pro Tip?
996: [22:11:57] <antmas> Little Pro Tip?
997: [22:11:58] <Ryan-Toast> yarp
998: [22:12:02] <antmas> I win
999: [22:12:05] <antmas> \o/
1000: [22:13:33] <ss23> rofl Zauberfisch @ those imagick bugs
1001: [22:13:51] <ss23> zippy__: It does make me wonder how no one noticed all that
1002: [22:14:10] <Zauberfisch> ss23: yeah, right?
1003: [22:14:46] <Zauberfisch> ss23 zippy__ just as I am wondering how noone could notice obvious syntax errors in ImagickBackend
1004: [22:15:01] <zippy__> Zauberfisch: like… http://doc.silverstripe.org/framework/en/howto/grouping-dataobjectsets ?
1005: [22:16:18] <Zauberfisch> zippy__: sorry, unfamiliar with grouping
1006: [22:16:30] <Zauberfisch> do you mean the name that it is still called dataobjectsets?
1007: [22:16:40] <zippy__> antmas: phpstorm user here also, is good
1008: [22:17:20] <zippy__> Zauberfisch: your splitting up results by name right? You might be able to look at that page and use that code which I think will be shorter and in the core
1009: [22:17:27] <zippy__> fookin wind
1010: [22:17:45] <Zauberfisch> antmas Ryan-Toast btw, jetbrains, the creators of phpstorm give the software as a gift to php meetups aroudn the world (1 license for a meetup, meetups I attend usually make a lottery for the speakers or something)
1011: [22:17:57] <r3v3rb> hmm, interesting trying to run a task from cli-script on my server results in: Fatal error: Class 'Commenting' not found in /home/a/public_html/mysite/_config.php on line 56
1012: [22:18:09] <r3v3rb> yet commenting is working within the site
1013: [22:18:10] <Ryan-Toast> Zauberfisch: Cool :)
1014: [22:18:15] <antmas> zippy__: I'll try out netbeans for a week or so
1015: [22:18:23] <zippy__> netbeans poo
1016: [22:18:29] <antmas> zippy__: also, I thought that wind had stopped o.O
1017: [22:18:37] <Zauberfisch> Ryan-Toast: so, go, do talks at php meetups (:
1018: [22:19:03] <Zauberfisch> or host your own meetup and as jetbrains to "sponsor" your meetup with a license :D
1019: [22:19:09] <Ryan-Toast> I don't know what I'd talk about tbh
1020: [22:19:16] <r3v3rb> Ryan-Toast: toast
1021: [22:19:25] <Zauberfisch> zippy__: ah, intresting. well, my system is working and pretty solid
1022: [22:19:31] <Zauberfisch> and its frontend
1023: [22:19:32] <zippy__> cool
1024: [22:19:43] <r3v3rb> and how to program a php script to determine the perfect timing for crispy sides
1025: [22:20:05] <zippy__> plesk is shit, shity shit shit I hate companies that use that shitty shit system
1026: [22:20:07] <Ryan-Toast> I always think I'm an average dev, but people seem to like my frontend skills so maybe I could talk about some front end stuff.
1027: [22:20:21] <Ryan-Toast> r3v3rb: +1
1028: [22:20:23] <r3v3rb> so anyone have any idea why the cli-script would error on something thats working in the site?
1029: [22:20:50] <r3v3rb> zippy__: thanks for agreeing with me - it is hideous
1030: [22:21:09] <Zauberfisch> r3v3rb: do a flush in cli aswell
1031: [22:21:11] <Zauberfisch> just to be sure
1032: [22:21:20] <Zauberfisch> cli has its own manifest if I am not mistaken
1033: [22:21:28] <r3v3rb> wtf? how - never done that before!
1034: [22:21:39] <Zauberfisch> using sake?
1035: [22:21:46] <Ryan-Toast> Subsites...Why do I have to change to a subsite twice to get it to show?
1036: [22:21:47] <r3v3rb> cli-script.php /dev/build?flush=all
1037: [22:21:53] <r3v3rb> mebbe
1038: [22:21:58] <Zauberfisch> cli-script.php /dev/build flush=all
1039: [22:22:00] <r3v3rb> no sake for me
1040: [22:22:02] <Zauberfisch> I think
1041: [22:23:04] <r3v3rb> yup, that worked
1042: [22:23:09] <r3v3rb> ty Zauberfisch
1043: [22:23:14] <Zauberfisch> np
1044: [22:23:45] <r3v3rb> pooo, lots of html output instead of my print_r - methinks houston has a problem... lol
1045: [22:25:31] <r3v3rb> hmm, template not found error after flush=all :\
1046: [22:25:57] <Zauberfisch> r3v3rb: flush=all with a dev/build?=
1047: [22:26:11] <Zauberfisch> dev/build flush=all does NOT flush templates
1048: [22:26:17] <Zauberfisch> you need to
1049: [22:26:25] <Zauberfisch> cli-script.php / flush=all
1050: [22:26:42] <Zauberfisch> templates only flush if there is a SSViewer, and in /dev/build there is none
1051: [22:27:15] <r3v3rb> you sir are a genius!
1052: [22:27:27] <r3v3rb> now will I remember that tomorrow again
1053: [22:30:45] <zippy__> r3v3rb: check the permissions of the manifest files etc, if you run the command as root / some other user - apache might not be able to rebuilt them if needed……. not sure if thats differnt now in 3
1054: [22:31:25] <r3v3rb> zippy__: well the above worked so I guess all is well - for now...
1055: [22:31:44] <zippy__> front end still work? doing a flush / dev build on the front end is ok
1056: [22:32:00] <r3v3rb> zippy__: appears to be yes
1057: [22:32:10] * r3v3rb breathes sigh of relief
1058: [22:35:45] <r3v3rb> holy carp, fully automated email sending from my course system is now working perfectly :D
1059: [22:37:17] <antmas> geez, where are the real install instructions for xdebug?
1060: [22:37:26] <antmas> shit is all over the place
1061: [22:39:59] * OxFF1 quit (Quit: Hasta la proxima)
1062: [22:41:19] * antmas quit (Quit: Page closed)
1063: [22:42:21] * antmas has joined #silverstripe
1064: [22:45:59] * ObiWanShanobi quit (Remote host closed the connection)
1065: [22:47:42] * ObiWanShanobi has joined #silverstripe
1066: [22:50:22] * Colin[pi] has joined #silverstripe
1067: [22:52:04] <antmas> Colin[pi]: !!!
1068: [22:52:12] <antmas> Colin[pi]: HAI
1069: [22:55:41] <Colin[pi]> O
1070: [22:55:42] <Colin[pi]> M
1071: [22:55:42] <Colin[pi]> G
1072: [22:55:44] <Colin[pi]> HAI
1073: [22:55:45] <Colin[pi]> antmas
1074: [22:56:37] <antmas> :D
1075: [22:57:59] <r3v3rb> this is legal isn't it: 'course//$Action/$ID/$OtherID/$MessageID' : 'Courses'
1076: [22:58:06] <r3v3rb> in my yaml routes file
1077: [22:58:31] <r3v3rb> and then I can access $MessageID as a url param?
1078: [22:58:35] <r3v3rb> as normal
1079: [22:58:44] * SightUnseen quit (Quit: Leaving.)
1080: [23:02:28] <r3v3rb> or is the max optional variables set in stone to two in the framework?
1081: [23:02:34] * wracu has joined #silverstripe
1082: [23:03:19] <wracu> quick ModelAdmin question...
1083: [23:03:42] <wracu> I was able to remove the 'Import' function from the filter column in the CMS with public $showImportForm = false;
1084: [23:04:00] <wracu> However I actually have no use for the Filter at all... can this be removed as simply??
1085: [23:06:39] * antmas quit (Ping timeout: 272 seconds)
1086: [23:07:04] <Zauberfisch> wracu: there currently is no clean way to do it
1087: [23:07:08] <Zauberfisch> I use css to simply hide it
1088: [23:07:32] <r3v3rb> Zauberfisch: can I have more than two url params do you know?
1089: [23:08:00] * bosie_ has joined #silverstripe
1090: [23:08:29] <Zauberfisch> r3v3rb: yes, but as far as I know you need to define your own route for that
1091: [23:09:37] <r3v3rb> I thought I had, but when I run a function that tries to access MessageID I get an error Notice: Undefined index: MessageID
1092: [23:10:16] <bosie_> hello - can anyone help, I've got a problem that SS isn't seeing my layout file. I've echoed out that the page is using the correct class, I've flushed=all, but it keeps rendering using Page.ss. I also tried to add a template and it can't find that either. Files are 100% named correctly. Any other way of debugging what's going on? thanks
1093: [23:12:02] <Zauberfisch> wracu: created a gist for you: https://gist.github.com/Zauberfisch/8446634
1094: [23:14:38] * violetina quit (Remote host closed the connection)
1095: [23:14:48] <r3v3rb> zippy__: btw, when I dev/build under root with cli-script the server setup a 'root' folder in silverstripe-cache so no conflicts
1096: [23:14:48] <bosie_> checked sitetree table - all looks fine. If I change the class of the page, it works and the relevant .ss file is used...
1097: [23:14:51] * [1]Pyromanik has joined #silverstripe
1098: [23:14:57] <r3v3rb> [1]Pyromanik: evening
1099: [23:15:09] <zippy__> r3v3rb: gotcha, so that was changed in 3.* I think
1100: [23:15:13] <zippy__> before it used to clobber
1101: [23:15:41] <r3v3rb> well, I'm happy thats the case :D
1102: [23:15:47] <Zauberfisch> bosie_: paste relevant code please (eg your php page class)
1103: [23:15:50] <r3v3rb> now to fix the url param issue :\
1104: [23:17:55] * Pyromanik quit (Ping timeout: 245 seconds)
1105: [23:17:55] * [1]Pyromanik is now known as Pyromanik
1106: [23:18:08] <r3v3rb> Pyromanik: ...
1107: [23:18:11] <Colin[pi]> hai pyromanik
1108: [23:20:42] <bosie_> Zauberfisch - I just created an empty class: <?php class MyAdminPage extends Page { } class MyAdminPage_Controller extends Page_Controller { }
1109: [23:21:28] <bosie_> Then added MyAdminPage.ss with the word "Test"
1110: [23:21:40] <bosie_> Did /dev/build?flush=all
1111: [23:21:46] <zippy__> nope
1112: [23:21:51] <zippy__> dont flush on the dev/build page
1113: [23:22:04] <bosie_> ahhhh
1114: [23:22:11] <zippy__> Zauberfisch: dev/build flush=all does NOT flush templates
1115: [23:22:13] <bosie_> does that not flush everything
1116: [23:22:20] <bosie_> ahhhhhhhh
1117: [23:22:27] <zippy__> Zauberfisch: templates only flush if there is a SSViewer, and in /dev/build there is none
1118: [23:23:00] <bosie_> ahhhhhhhhhhhhhh
1119: [23:23:05] <bosie_> awesome - it works
1120: [23:23:13] <bosie_> thank you
1121: [23:23:15] <r3v3rb> crap :(
1122: [23:23:36] <r3v3rb> still not picking up the extra variable in the url :|
1123: [23:24:01] <bosie_> thanks for your help Zauberfisch and Zippy
1124: [23:24:04] <bosie_> :)
1125: [23:24:10] <r3v3rb> 'course//$Action/$ID/$OtherID/$MessageID' : 'Courses' got this in my routes.yml Zauberfisch
1126: [23:24:11] <Zauberfisch> zippy__: any reason you are highlighting me with replys to bosie_?
1127: [23:24:27] <zippy__> Zauberfisch: my bad, I was copy pasting what you said
1128: [23:24:36] <Zauberfisch> ah, I see
1129: [23:24:44] <Zauberfisch> was just confused by the highlight spam (:
1130: [23:24:55] <zippy__> Zauberfisch: didn't want you feeling lonely
1131: [23:25:00] <Zauberfisch> <3
1132: [23:27:33] * antmas has joined #silverstripe
1133: [23:29:42] * ObiWanShanobi quit (Quit: Leaving...)
1134: [23:30:35] <r3v3rb> enough for tonight - it'll keep until tomorrow
1135: [23:30:37] * wracu quit (Quit: Page closed)
1136: [23:30:38] <r3v3rb> night all
1137: [23:30:51] <zippy__> nite
1138: [23:30:57] * wracu has joined #silverstripe
1139: [23:31:03] <wracu> Zauberfisch: thanks for the tips
1140: [23:31:08] * r3v3rb quit (Quit: r3v3rb)
1141: [23:35:01] * zippy__ quit (Ping timeout: 248 seconds)
1142: [23:35:03] <antmas> bah
1143: [23:40:13] * antmas quit (Ping timeout: 272 seconds)
1144: [23:44:15] * UncleCheese quit (Quit: UncleCheese)
1145: [23:44:37] * antmas has joined #silverstripe
1146: [23:45:30] <antmas> Y U NO FIND DIRECTORY?
1147: [23:45:34] <antmas> grrr
1148: [23:45:36] <antmas> :<
1149: [23:45:51] <Zauberfisch> antmas: trying to access directory from within php?
1150: [23:45:55] <Zauberfisch> try ../
1151: [23:46:21] <Zauberfisch> when silverstripe runs in default setup, the path you are in at runtime is framework/
1152: [23:46:22] <antmas> Zauberfisch: naw, trying to cp a module into /usr/lib/php/modules
1153: [23:46:31] <antmas> can't find it, but I know it's there
1154: [23:46:41] <Zauberfisch> I see
1155: [23:46:48] <antmas> xdebug
1156: [23:51:41] <antmas> wait
1157: [23:51:44] <antmas> anyone use putty?
1158: [23:52:33] * SightUnseen has joined #silverstripe
1159: [23:52:57] <Colin[pi]> antmas: yiss
1160: [23:53:51] <antmas> Colin[pi]: to copy a file to another directory, is it 'cp <file> <destination>'?
1161: [23:54:03] <antmas> or is it cp -R?
1162: [23:56:09] <Colin[pi]> cp -R is recursive copy
1163: [23:56:24] <antmas> ok
1164: [23:56:33] <Colin[pi]> you can just use 'cp <filename> /path/to/folder'
1165: [23:56:36] <Colin[pi]> and it'll go there
1166: [23:56:37] <Colin[pi]> :D
1167: [23:57:05] <antmas> Colin[pi]: thanks, just can't seem to find modules/xdebug.so, but I know it is there
1168: [23:57:08] <antmas> sadface
1169: [23:57:12] <Colin[pi]> or if you want to copy the entire contents of a folder, I use 'cp -R folder/* /path/to/folder'
1170: [23:57:19] <Colin[pi]> :(

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