#silverstripe IRC Log

IRC log for 23 June 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:18] * ss-helper has joined #silverstripe
3: [00:05:20] <Stomach> hailwood - write a wee helper
4: [00:07:47] <hailwood> Stomach, I currently have a manual database query to do it since I'm not too sure what the silverstripey way would be
5: [00:18:42] <wilderich> hello silverstripe team.
6: [00:18:59] <wilderich> quick question, is it possible to run a silverstripe site instance, without a theme?
7: [00:19:21] <wilderich> I am building a web app at the moment, which doesn't need more than one theme.
8: [00:19:26] <wilderich> thank you for the response in advance.
9: [00:20:41] * Pyromanik has joined #silverstripe
10: [00:42:39] * Stomach quit (Quit: zzz)
11: [00:45:54] * Developer123 has joined #silverstripe
12: [00:45:54] <ss-helper> Developer123: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
13: [00:47:22] <Developer123> Hi, I followed documentation and created unique index on column(s) but ModelAdmin si still accepting duplicate entries in Silverstripe?
14: [00:47:39] <Pyromanik> Is that a question or a statement?
15: [00:48:02] <Developer123> question @Pyromanik
16: [00:48:10] <Pyromanik> What is the question?
17: [00:49:01] <Developer123> Why is ModelAdmin still accepting duplicate entries on indexed(constrained) columns?
18: [00:49:36] <Pyromanik> It can't. It would be achieving the impossible if your index is unique.
19: [00:50:15] <Developer123> it is accepting duplicate entries
20: [00:50:57] <Pyromanik> Then your index either isn't doing what you think it is, or isn't set correctly.
21: [00:50:57] <Developer123> anybody knows the reason why?
22: [00:51:09] <Developer123> I just followed the documentation
23: [00:51:19] <Pyromanik> what documentation are you referring to?
24: [00:51:30] <Developer123> https://docs.silverstripe.org/en/3.1/developer_guides/model/indexes/
25: [00:52:11] <Pyromanik> and what does your ModelAdmin manage>
26: [00:52:12] <Pyromanik> ?
27: [00:52:53] <Pyromanik> Just the object you added the index to?
28: [00:53:08] <Pyromanik> have you made a dev/build since you added the index?
29: [00:53:17] <Pyromanik> have you checked to see that the index has applied correctly?
30: [00:53:24] * Stomach has joined #silverstripe
31: [00:53:29] <Pyromanik> have you ensured to make the index 'unique', not just 'index'?
32: [00:53:43] <Developer123> Yes everything looks good
33: [00:53:56] <Developer123> I changed 'index' to 'unique' as well
34: [00:53:57] <Pyromanik> And what is it that you are seeing?
35: [00:54:09] <Pyromanik> there are still non-unique entries?
36: [00:54:23] <Pyromanik> or you are able to add brand new non-unique entries?
37: [00:54:42] <Developer123> yes ModelAdmin accepting duplicates
38: [00:54:50] <Pyromanik> what does that mean?
39: [00:54:51] * zippy has joined #silverstripe
40: [00:54:58] <Pyromanik> new entries?
41: [00:55:05] <Pyromanik> or existing ones still exist?
42: [00:55:14] <Developer123> yes new duplicate entries
43: [00:55:32] <Pyromanik> and you have checked the database schema directly?
44: [00:55:44] <Pyromanik> your column is UNIQUE constrained?
45: [00:55:46] <zippy> hey Pyromanik
46: [00:55:52] <Pyromanik> o/ zippy
47: [00:55:54] <Developer123> yes I went to phpmyadmin to double check
48: [00:56:03] <Pyromanik> then it's impossible.
49: [00:56:09] <Pyromanik> the database will reject the INSERT
50: [00:56:51] <Developer123> How do I check that it rejected?
51: [00:57:07] <Pyromanik> well the object you're trying to add will simply not exist.
52: [00:57:15] <Pyromanik> probably you'll get an error returned
53: [00:57:19] <Developer123> that's the thing they exist
54: [00:57:35] <Pyromanik> try to manually insert.
55: [00:58:01] <Pyromanik> I think it's just an index, not a unique one.
56: [00:58:35] <Developer123> anyway thanks Pyromanik, SIlverstripe seems to have a bug
57: [00:59:21] * Developer123 quit (Quit: Page closed)
58: [00:59:26] <Pyromanik> ...
59: [00:59:41] <Pyromanik> well you should try to proove it before running off going "Not my fault!" -.-
60: [01:02:49] * janneklouman-- has joined #silverstripe
61: [01:07:07] * janneklouman-- quit (Ping timeout: 258 seconds)
62: [01:07:54] * Exor quit (Ping timeout: 250 seconds)
63: [01:24:59] <zippy> Pyromanik: ;-)
64: [01:25:24] <zippy> I love that feeling. Your sure it's xxxxxx tools fault, yes I found a bug. But 9/10 it turns out it's something you've done and feel like an idiot lol
65: [01:28:40] * Pyromanik_ has joined #silverstripe
66: [01:30:34] <Stomach> 9/10? too low
67: [01:30:41] <Stomach> more like 11/10
68: [01:32:03] * Pyromanik quit (Ping timeout: 276 seconds)
69: [01:34:50] <zippy> :-)
70: [01:35:33] * Exor has joined #silverstripe
71: [01:36:28] <Exor> Hey all, how would you recursively loop through items and their children in a template? I found this nugget of bad design at a job today: http://pastebin.com/FjmHrqtV
72: [01:37:47] <zippy> put it in a include
73: [01:39:36] <Exor> Ah thanks - I'll give that a go.
74: [01:43:15] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
75: [01:44:38] <Stomach> holy loops batman
76: [01:48:38] * hah has joined #silverstripe
77: [01:48:38] <ss-helper> hah: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
78: [01:49:02] * hah is now known as Guest8469
79: [01:52:58] * Guest8469 quit (Ping timeout: 250 seconds)
80: [02:31:18] * helenclarko has joined #silverstripe
81: [02:31:41] <helenclarko> hey everyone
82: [02:31:43] <helenclarko> o/
83: [02:34:26] <Pyromanik_> hi
84: [02:34:31] <Pyromanik_> how's canada helenclarko ?
85: [02:34:49] <helenclarko> Is okay.
86: [02:35:19] <helenclarko> God awful for finding Silverstripe based work, but is okay.
87: [02:36:14] <Pyromanik_> attend a php meetup, promote! :P
88: [02:36:17] <Pyromanik_> ;)
89: [02:36:24] <Pyromanik_> I did (not in canada, but yeh)
90: [02:37:21] <helenclarko> Yeah, more people need to know about Silverstripe.
91: [02:37:30] <helenclarko> I'll scream it out.
92: [02:38:02] * wilderich quit (Ping timeout: 250 seconds)
93: [02:39:10] <xyphoid> haha i actually get to work on my first SS site tomorrow
94: [02:39:18] <helenclarko> Currently picking up a few freelance jobs here and there. Its slow work
95: [02:39:21] <xyphoid> our company's been doing it for a while now but i've been doing Everything Else
96: [02:39:43] <helenclarko> xyphoid: Enjoy it bud haha.
97: [02:44:20] <helenclarko> Hows NZ?
98: [02:46:59] <xyphoid> it was like 22 degrees in chch yesterday
99: [02:47:01] <xyphoid> shortest day
100: [02:48:33] <Pyromanik_> 22 degrees?
101: [02:48:39] <Pyromanik_> 0.o
102: [02:48:42] <Pyromanik_> fuck'n... summer!
103: [02:49:48] <helenclarko> Yeah, Stuff.co.nz had an article on it... Slow news day I guess.
104: [02:50:11] <helenclarko> All NZ new is slow news day news though right?
105: [02:51:47] <helenclarko> Currently 21 degrees in Toronto, 11pm.
106: [02:52:06] <helenclarko> But its summer.
107: [02:52:13] <helenclarko> Sooooo, yeah.
108: [02:57:47] <Pyromanik_> Toronto!
109: [02:58:09] <Pyromanik_> Watch your back, in Toronto. Eh Firesphere ?
110: [02:59:33] <xyphoid> hey there was serious excitement in wellington this morning i hear
111: [02:59:43] <xyphoid> Some Dude on top of a chicken restaurant ready to fight
112: [02:59:56] <xyphoid> shirt off and everything
113: [03:00:36] <Stomach> upper hutt ftw
114: [03:01:00] * helenclarko quit (Ping timeout: 250 seconds)
115: [03:03:24] <Pyromanik_> what the fuck
116: [03:03:25] <Pyromanik_> lol
117: [03:04:30] <xyphoid> rule 9 of fight club, don't fight on top of a chicken restaurant at 7am
118: [03:05:39] <Pyromanik_> wtf
119: [03:05:43] <Pyromanik_> gonna have to look this up now
120: [03:09:18] <Pyromanik_> is this it xyphoid ? https://www.youtube.com/watch?v=W4WGQmWcrbs
121: [03:28:05] <Stomach> thats like a chicken roll
122: [03:29:13] * glenn-bautista has joined #silverstripe
123: [03:39:42] * janneklouman-- has joined #silverstripe
124: [03:41:15] * DanaeNZ has joined #silverstripe
125: [03:41:35] <DanaeNZ> Woah! I forgot this place exists
126: [03:44:28] * janneklouman-- quit (Ping timeout: 252 seconds)
127: [03:46:13] <Stomach> hi DanaeNZ !
128: [03:46:15] <Stomach> how are you?
129: [03:46:23] <DanaeNZ> I'm alive! Kinda
130: [03:46:43] <Stomach> what happened?
131: [03:58:31] <Firesphere> Pyromanik_: what happened in Toronto??
132: [03:58:55] <Firesphere> I know nothing of Toronto...
133: [04:02:31] <Pyromanik_> Firesphere, that's where those aircraft landing engineers were from (in London)
134: [04:02:39] <Firesphere> Ah, right
135: [04:03:10] <Pyromanik_> woah shit it's DanaeNZ
136: [04:03:21] <Pyromanik_> you not at toast any more eh?
137: [04:03:21] <DanaeNZ> Toronto ??
138: [04:03:28] <DanaeNZ> Nah I'm still here
139: [04:03:29] <Pyromanik_> toe ronn oh
140: [04:03:33] <DanaeNZ> just been really REALLY busy
141: [04:03:38] <Pyromanik_> oic
142: [04:03:41] <Pyromanik_> bl4u
143: [04:06:19] <Firesphere> tah-ronn-oh
144: [04:06:47] * Audlex- has joined #silverstripe
145: [04:08:40] * Audlex quit (Ping timeout: 252 seconds)
146: [04:10:36] * janneklouman-- has joined #silverstripe
147: [04:10:50] <Stomach> DanaeNZ - built any cool shit?
148: [04:14:25] <DanaeNZ> nah
149: [04:14:34] <DanaeNZ> well kinda
150: [04:14:56] <DanaeNZ> I need to make some time for R+D
151: [04:15:07] * janneklouman-- quit (Ping timeout: 244 seconds)
152: [04:15:56] <Stomach> why so busy then! :D
153: [04:17:30] * irogue has joined #silverstripe
154: [04:17:31] * irogue quit (Changing host)
155: [04:17:31] * irogue has joined #silverstripe
156: [04:19:36] <DanaeNZ> So many projeccttsss
157: [04:20:14] <Stomach> lol
158: [04:20:23] <Stomach> thats not a bad thing though
159: [04:20:29] <Stomach> irogue
160: [04:22:25] <Stomach> hello
161: [04:22:38] <Stomach> that second bit was an important part of that message
162: [04:26:20] <DanaeNZ> Yeah it's all good
163: [04:27:25] <DanaeNZ> I've been able to work on our Toast modules every now and then
164: [04:27:29] <DanaeNZ> making sure the PHP works
165: [04:27:31] <DanaeNZ> lol
166: [04:37:07] <irogue> hai Stomach
167: [04:37:23] <irogue> week and a bit to go
168: [04:37:25] <Stomach> haha always good to make sure the PHP works
169: [04:37:31] <Stomach> irogue yeah I cant wait to energize
170: [04:37:36] <Stomach> I am very down today
171: [04:38:11] <DanaeNZ> I've had a wine every day this week
172: [04:38:16] <DanaeNZ> I don't even drink wine
173: [04:38:29] <Stomach> what a winer
174: [04:38:41] <ss23> whats happening in a week and a bit? :O
175: [04:38:49] <irogue> ss23: june is over
176: [04:38:49] <Stomach> July
177: [04:38:53] <ss23> um
178: [04:38:55] <ss23> does that matter?
179: [04:38:59] <Firesphere> https://pbs.twimg.com/media/Cllo1MnUoAEz-rg.jpg twitch
180: [04:39:01] <Stomach> https://nz.junkfreejune.org/participants-and-groups/silverstripe
181: [04:39:01] * sminnee quit (Remote host closed the connection)
182: [04:39:04] <ss23> oh
183: [04:39:04] <ss23> lol
184: [04:39:07] <ss23> NERDS
185: [04:39:16] <ss23> oh p.s. irogue
186: [04:39:24] <ss23> irogue: you got car today? :O
187: [04:39:25] <DanaeNZ> Is it nearly the end of June?!
188: [04:39:36] <DanaeNZ> Last I checked it was like, February
189: [04:39:47] * sminnee has joined #silverstripe
190: [04:40:00] <Stomach> w'ere winning
191: [04:40:01] <Stomach> https://nz.junkfreejune.org/participants-and-groups/little-giant
192: [04:40:02] <irogue> ss23: by insane luck, since I only bring car like once a fortnight or so, I do in fact have car today
193: [04:40:24] <ss23> :D
194: [04:40:35] <ss23> that's why they call me serendidpitidieoius ss23
195: [04:40:53] <Stomach> no more silly steve? :(
196: [04:40:55] <DanaeNZ> So I've been tasked to make a form that cannot ever return zero results
197: [04:41:01] <ss23> irogue: see pm though, can you leave keyboard there?
198: [04:41:09] <DanaeNZ> and it has 3 dropdowns and 3 checkboxes
199: [04:41:13] <DanaeNZ> fuck my life
200: [04:41:25] * janneklouman-- has joined #silverstripe
201: [04:41:35] <Stomach> public function doSubmit(){return true; // problem solved}
202: [04:41:35] <ss23> Stomach: that's my secret
203: [04:41:51] <ss23> Stomach: I'm sneaky ss23 23, because I made you think I wasn'y silly steve, but I was :O
204: [04:42:03] <irogue> ss23: yup. also obviously I don't have sleeping bag with me and I'm not gonna go home before going to yours, so you'll have to grab that another time :P
205: [04:42:05] <Stomach> secret sneak stevie
206: [04:42:33] <ss23> irogue: yep yep! when you leaving btw, cause I'm not at home yet either
207: [04:42:37] <ss23> though am leaving now/soon
208: [04:42:52] <irogue> not for another hour and a bit
209: [04:43:05] <ss23> sweet, will give me time to walk home ^.^
210: [04:43:16] * pippy quit (Ping timeout: 250 seconds)
211: [04:43:43] <ss23> you and gdawg want dinner at mine?
212: [04:44:31] <ss23> @ irogue
213: [04:44:38] <Pyromanik_> you cook ss23 ?
214: [04:44:55] <irogue> ss23: not today, gaz is sick
215: [04:44:56] <ss23> I do, though not often
216: [04:45:01] <ss23> irogue: aw, sux2bhim
217: [04:45:03] <Pyromanik_> :o
218: [04:45:09] <ss23> irogue: cya later in any case! leaving now
219: [04:45:14] <Pyromanik_> bye
220: [04:45:16] <Pyromanik_> me too
221: [04:45:17] * Pyromanik_ quit (Quit: Leaving)
222: [04:45:27] <Stomach> byyyeeee
223: [04:45:44] <DanaeNZ> what even is a normal finish time
224: [04:45:56] <Stomach> about 8pm :(
225: [04:46:35] * janneklouman-- quit (Ping timeout: 260 seconds)
226: [04:46:45] <DanaeNZ> :( :( :(
227: [04:47:04] <DanaeNZ> I'm going to the opera tomorrow
228: [04:47:18] <DanaeNZ> I'm gonna leave at 4pm
229: [04:47:26] <DanaeNZ> fuck these clients
230: [04:52:07] <Stomach> hahaha
231: [04:52:11] <Stomach> opera sucks :(
232: [04:52:23] <Stomach> sets are awesome
233: [04:52:26] <Stomach> sound was balls
234: [04:53:27] <irogue> we are currently transitioning to a ~24hr ops team
235: [04:54:14] <irogue> so there's gonna be an 11:30am-8pm shift
236: [04:54:17] <irogue> soz ss23 :P
237: [04:55:32] <DanaeNZ> Stomach: haha shiieeet
238: [04:55:46] <DanaeNZ> the sound better be good
239: [04:55:56] <DanaeNZ> I've heard the opera in german
240: [04:56:02] <DanaeNZ> apparently they are gonna ing it in english
241: [04:56:52] * janneklouman-- has joined #silverstripe
242: [04:58:45] <Stomach> irogue thats the worst shift ever
243: [04:59:55] <irogue> I currently do 10:00 to 18:30, will prob move to the new one
244: [05:00:27] <irogue> I feel sorry for the peeps picking up 07:30-16:00
245: [05:01:39] * janneklouman-- quit (Ping timeout: 260 seconds)
246: [05:04:43] <Stomach> I would like that shift
247: [05:04:52] <Stomach> I do 8am - 4.30 (lol) now
248: [05:05:54] * hailwood quit (Quit: Leaving)
249: [05:06:14] <DanaeNZ> 8am start sounds like the devil
250: [05:11:52] * Exor quit (Ping timeout: 250 seconds)
251: [05:12:07] <Stomach> its pretty okay
252: [05:12:11] <Stomach> first few months were bad
253: [05:12:14] <Stomach> but I'm used to it now :D
254: [05:37:06] * glenn-bautista quit (Quit: Leaving.)
255: [05:43:15] * janneklouman-- has joined #silverstripe
256: [05:45:29] <irogue> i'm a total garfield
257: [05:45:31] <irogue> mornings are evil
258: [05:48:06] * janneklouman-- quit (Ping timeout: 258 seconds)
259: [05:52:20] * Stomach quit (Quit: zzz)
260: [05:55:47] * micmania1 quit (Quit: micmania1)
261: [05:58:43] * DanaeNZ quit (Remote host closed the connection)
262: [06:06:18] * jonners99 has joined #silverstripe
263: [06:07:59] * wmk has joined #silverstripe
264: [06:08:13] * jonners99 quit (Client Quit)
265: [06:14:05] * janneklouman-- has joined #silverstripe
266: [06:18:45] * janneklouman-- quit (Ping timeout: 260 seconds)
267: [06:25:14] * test has joined #silverstripe
268: [06:25:38] * test is now known as Guest30496
269: [06:29:26] * Guest30496 quit (Ping timeout: 250 seconds)
270: [06:29:51] * janneklouman-- has joined #silverstripe
271: [06:34:40] * janneklouman-- quit (Ping timeout: 264 seconds)
272: [06:34:45] * Eliseth has joined #silverstripe
273: [07:02:15] * arnhoe has joined #silverstripe
274: [07:15:53] * janneklouman-- has joined #silverstripe
275: [07:20:42] * janneklouman-- quit (Ping timeout: 260 seconds)
276: [07:21:03] * arnhoe quit (Remote host closed the connection)
277: [07:27:14] * Dedra has joined #silverstripe
278: [07:27:42] * Dedra quit (Client Quit)
279: [07:42:58] * irogue quit (Ping timeout: 244 seconds)
280: [07:47:00] * elgabbu quit (Ping timeout: 250 seconds)
281: [07:53:54] * janneklouman-- has joined #silverstripe
282: [07:59:14] * DanaeNZ has joined #silverstripe
283: [08:03:31] * DanaeNZ quit (Ping timeout: 240 seconds)
284: [08:09:57] * kinglozzer has joined #silverstripe
285: [08:12:42] * deschebbs has joined #silverstripe
286: [08:22:54] * Audlex has joined #silverstripe
287: [08:25:55] * Audlex- quit (Ping timeout: 260 seconds)
288: [08:29:51] * slievr has joined #silverstripe
289: [08:34:41] * swaiba has joined #silverstripe
290: [09:26:44] * Dedra has joined #silverstripe
291: [09:49:21] * ivoba has joined #silverstripe
292: [09:59:34] * Dedra quit (Quit: Bye guys, have to go!)
293: [10:00:38] * DanaeNZ has joined #silverstripe
294: [10:05:12] * DanaeNZ quit (Ping timeout: 260 seconds)
295: [10:10:43] * wmk quit (Quit: Leaving)
296: [10:59:42] * arnhoe has joined #silverstripe
297: [11:07:07] * swaiba quit (Remote host closed the connection)
298: [11:25:16] * swaiba has joined #silverstripe
299: [11:42:24] * cloph_away is now known as cloph
300: [11:47:53] * WebDevB has joined #silverstripe
301: [11:48:16] <WebDevB> Hey, anyone around who could help with the FullTextSearch
302: [11:52:38] <swaiba> hey WebDevB not me, but I'd ask
303: [11:52:47] <swaiba> then if no repsonse pop it on stack overflow
304: [11:53:09] * elgabbu has joined #silverstripe
305: [11:53:26] <elgabbu> hi all, when processing a shortcode is it possible to inject a JS file ?
306: [11:55:39] * kinglozzer quit (Remote host closed the connection)
307: [12:00:14] <WebDevB> ok
308: [12:00:23] <WebDevB> so this works for Jaguar $vehicles = DataObject::get("Vehicle","MATCH (Make,Model) AGAINST ('$query' IN BOOLEAN MODE)");
309: [12:00:28] <WebDevB> but if i do BMW $vehicles = DataObject::get("Vehicle","MATCH (Make,Model) AGAINST ('$query' IN BOOLEAN MODE)");
310: [12:00:51] <WebDevB> it returns nothing even though there is about 100+ BMW in the database
311: [12:01:43] <WebDevB> Anyone got any ideas?
312: [12:02:34] <swaiba> what DB are you using? which ss version?
313: [12:03:16] <swaiba> V3 you can write Vehicle::get()->where(...) instead of DataObject::get("Vehicle","...")
314: [12:05:57] * ivoba quit (Ping timeout: 260 seconds)
315: [12:08:45] <WebDevB> swaiba thanks for the reply.
316: [12:08:53] <WebDevB> I'm trying to use the FullTextSearch
317: [12:09:09] <WebDevB> And googling that's what i've found
318: [12:15:47] <WebDevB> Has anyone ever used this FullTextSearch because it's terrible.
319: [12:17:51] * janneklouman-- quit (Ping timeout: 246 seconds)
320: [12:18:46] <swaiba> personal no
321: [12:19:20] <swaiba> I did see this https://github.com/heyday/silverstripe-elastica earlier WebDevB
322: [12:19:37] <swaiba> I'd much more recommend this that FUllText Serach
323: [12:20:07] * ivoba has joined #silverstripe
324: [12:25:18] * arnhoe quit ()
325: [12:26:51] <WebDevB> Thanks
326: [12:27:00] <WebDevB> I hate SilverStripe.
327: [12:27:02] <WebDevB> haha
328: [12:27:03] <WebDevB> :-)
329: [12:28:19] * janneklouman-- has joined #silverstripe
330: [12:30:23] * UndefinedOffset has joined #silverstripe
331: [12:31:22] <swaiba> WebDevB oh dear, it's not that bad... it's just MySQL FullText search you don't like I'm sure
332: [12:32:09] <swaiba> here is antoher one of the same type... https://github.com/gordonbanderson/silverstripe-elastica
333: [12:33:09] * janneklouman-- quit (Ping timeout: 260 seconds)
334: [12:43:40] * kinglozzer has joined #silverstripe
335: [12:44:15] * janneklouman-- has joined #silverstripe
336: [12:49:40] <WebDevB> kinglozzer you ever used the fulltextsearch
337: [12:51:59] * wmk has joined #silverstripe
338: [12:54:03] <kinglozzer> WebDevB: A long time ago
339: [12:54:27] <WebDevB> having a real issue with it.
340: [12:56:00] <kinglozzer> WebDevB: Just looked in logs, it looks like a MySQL issue to me
341: [12:56:15] <kinglozzer> If it works for Jaguar then it should work for everything
342: [12:57:21] <WebDevB> kinglozzer but what could it be.
343: [12:58:05] <kinglozzer> I have no idea, I don't know anything about MySQL internals :/
344: [12:58:33] <kinglozzer> WebDevB: Can you run the query manually?
345: [13:00:42] <kinglozzer> WebDevB: http://stackoverflow.com/questions/8301586/mysql-full-text-search-search-for-short-words
346: [13:00:45] <kinglozzer> Seems relevant
347: [13:17:59] * WebDevB quit (Remote host closed the connection)
348: [13:29:41] * janneklouman-- quit (Ping timeout: 244 seconds)
349: [13:31:18] * Arjan__ has joined #silverstripe
350: [13:35:38] <Arjan__> http://pastebin.com/FFQjrG4j When i submit the form i get lots of 'trying to get property of non-object ' errors but the value's are loaded correctly in the checkboxes. Any idea why?
351: [13:36:41] <wmk> Arjan__, why are you using $this->getField('Chekcklist')?
352: [13:37:04] <Arjan__> I don't know really i found it somewhere and it worked
353: [13:37:10] <wmk> ok.
354: [13:37:33] <Arjan__> A normal Dataobject::get didn't work
355: [13:37:42] <wmk> hmm...
356: [13:37:59] <wmk> and where do the error occur? in the ChecklistsDetail() method?
357: [13:38:44] <Arjan__> When i submit the form i see them for a few seconds. Then i get redirected to the /bedankt page
358: [13:39:09] <wmk> i guess you should check if the getField() returns a Checklist object, or use a new object instead
359: [13:39:25] <wmk> if it doesn't find the object it's just "null", which explains the errors
360: [13:40:14] <Arjan__> I does find the object correctly because the checkboxes are populated with the correct values from the backend
361: [13:40:46] <wmk> Arjan__, well, xdebug and a breakpoint there might point you to the right direction
362: [13:40:47] <Arjan__> I am trying to make those checkboxes changeable from the frontend
363: [13:41:13] <Arjan__> ok i will have a look
364: [13:42:04] <wmk> a var_dump() and die() might also work, but xdebug is better
365: [13:43:03] <Arjan__> i checked everything with var_dump() and they showed the correct values. But appearently when i submit the form it doesn't see those value's anymore or something
366: [13:43:28] <wmk> jup. xdebug is your friend there
367: [13:43:35] <wmk> easy to set up with phpstorm
368: [13:43:49] <wmk> i assume you have a dev machine / dev VM
369: [13:45:21] <Arjan__> What does that mean? My website is on online.
370: [13:45:41] <Arjan__> is online*
371: [13:45:46] <wmk> well, you should not use xdebug on a live system (or disable it afterwards)
372: [13:46:02] <wmk> so best would be to replicate the whole page on a dev machine / dev virtual machine
373: [13:46:08] <wmk> where you can install xdebug
374: [13:46:13] <wmk> locally ....
375: [13:46:31] <wmk> there are tools for getting assets and db out of the live machine, e.g. sspak
376: [13:57:54] * muskie9 has joined #silverstripe
377: [14:00:54] * DanaeNZ has joined #silverstripe
378: [14:51:55] * swaiba quit (Remote host closed the connection)
379: [14:55:11] * Arjan__ has left #silverstripe
380: [15:24:05] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
381: [15:25:07] * ivoba quit (Quit: Verlassend)
382: [15:25:48] * arnhoe has joined #silverstripe
383: [16:03:32] * arnhoe quit (Remote host closed the connection)
384: [16:26:48] * kinglozzer quit ()
385: [16:34:46] * DanaeNZ quit (Ping timeout: 272 seconds)
386: [17:24:30] * DimiStripe quit (Read error: Connection reset by peer)
387: [17:41:38] * helenclarko has joined #silverstripe
388: [17:41:50] <helenclarko> Hey all
389: [17:42:17] <helenclarko> Does SS helper pick up on stackoverflow posts for silverstripe anymore?
390: [17:42:38] <helenclarko> if not, Is there any way to create a page type that can be a parent to other pages, but doesn't have a link or any way to access it from the frontend?
391: [17:43:17] <helenclarko> Hey muskie9! o/
392: [17:43:51] <muskie9> helenclarko o/
393: [17:44:34] <muskie9> so you want something like /my-parent/my-child/ where /my-parent/ isn't really accessible as a page
394: [17:44:57] <helenclarko> exactly
395: [17:45:21] <ss-helper> Silverstripe: HolderPage without a link - http://stackoverflow.com/questions/37998397/silverstripe-holderpage-without-a-link
396: [17:45:32] <muskie9> we usually setup a redirector page for /my-parent/ and set it to go to /my-child/ which is under it in the site tree
397: [17:45:49] <muskie9> otherwise I think it would be done with some routing
398: [17:45:59] <helenclarko> Yeah, that was the plan haha
399: [17:46:30] <helenclarko> the plan if there wasnt any other solution
400: [17:47:49] <muskie9> if your holder page will never change as far as the url segment then I'd do routing and add something into either validate() or onBeforeWrite() in Page.php to ensure no other pages use that url-segment pattern
401: [17:48:28] <helenclarko> right.
402: [17:48:39] <muskie9> the downside to that is your pages won't be under a holder page in the cms... or probably wouldn't be
403: [17:49:02] <helenclarko> would I fuck shit up if I were to create a holder page and remove urlsegment?
404: [17:49:25] <muskie9> not sure, never tried
405: [17:53:56] <helenclarko> Just looking at how redirector does it. Then I can just do something like that without all the jazzy redirect stuff
406: [17:54:38] <helenclarko> ill call it "boring nonredirect holder page thingy"
407: [17:54:46] <muskie9> lol
408: [17:56:43] * johnwl has joined #silverstripe
409: [17:56:56] * deschebbs quit (Quit: Konversation terminated!)
410: [17:57:29] <muskie9> anyone ever migrated content from Concrete5 to SilverStripe???!!! I want this to suck less than it does atm
411: [18:01:02] * helenclarko quit (Ping timeout: 250 seconds)
412: [18:35:48] <muskie9> anyone used this recently? https://github.com/sminnee/silverstripe-staticsiteconnector
413: [18:43:30] * gelignite has joined #silverstripe
414: [19:23:39] * UndefinedOffset quit (Quit: Leaving.)
415: [19:47:28] * UndefinedOffset has joined #silverstripe
416: [20:01:39] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
417: [20:03:52] * Stomach has joined #silverstripe
418: [20:04:13] * johnwl quit (Quit: Connection closed for inactivity)
419: [20:05:11] * muskie9 has joined #silverstripe
420: [20:26:21] * DimiStripe has joined #silverstripe
421: [20:27:26] * UndefinedOffset quit (Quit: Leaving.)
422: [20:27:32] * Audlex quit (*.net *.split)
423: [20:27:44] * Audlex has joined #silverstripe
424: [20:27:44] * Audlex quit (Changing host)
425: [20:27:44] * Audlex has joined #silverstripe
426: [20:30:24] <ss-helper> Silverstripe better form looking on templates - http://stackoverflow.com/questions/38001087/silverstripe-better-form-looking-on-templates
427: [20:31:21] * DanaeNZ has joined #silverstripe
428: [20:35:33] * DanaeNZ quit (Ping timeout: 246 seconds)
429: [20:47:27] * DanaeNZ has joined #silverstripe
430: [20:49:52] * Pyromanik has joined #silverstripe
431: [20:49:55] <Pyromanik> bored. halp.
432: [20:51:50] <DanaeNZ> Morning morning!
433: [20:58:17] * glenn-bautista has joined #silverstripe
434: [21:02:52] * pippy has joined #silverstripe
435: [21:10:33] * Exor has joined #silverstripe
436: [21:16:27] * Stomach quit (Quit: zzz)
437: [21:18:57] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
438: [21:25:34] * Exor quit (Ping timeout: 250 seconds)
439: [21:28:39] * micmania1 has joined #silverstripe
440: [21:30:03] * helenclarko has joined #silverstripe
441: [21:30:41] <helenclarko> Hey all
442: [21:30:43] <helenclarko> o/
443: [21:31:13] <helenclarko> DanaeNZ: o/
444: [21:31:36] <DanaeNZ> yoyo helenclarko \o
445: [21:31:47] <helenclarko> Its been awhile!
446: [21:34:02] <helenclarko> So I asked this earlier today. Is there any way to create a page type that can be a parent to other pages, but doesn't have a link or any way to access it from the frontend?
447: [21:34:28] <helenclarko> Can I just create a new pagetype and remove URLSegment?
448: [21:34:38] <helenclarko> Or is that just plain stupid
449: [21:37:42] * pippy quit (Ping timeout: 250 seconds)
450: [21:42:14] * Stomach has joined #silverstripe
451: [21:43:01] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
452: [21:43:04] <Pyromanik> helenclarko, ShowInMenus not enough?
453: [21:43:20] <Pyromanik> override the index to redirect to the first child
454: [21:43:26] <Pyromanik> index() action that is
455: [21:43:44] <Pyromanik> or 404 if no children
456: [21:43:56] <Pyromanik> You can't remove urlsegment
457: [21:44:23] <Pyromanik> it'll still have a link though.
458: [21:44:31] <helenclarko> Hey Pyromanik, Thanks.
459: [21:44:46] <Pyromanik> just... won't do anything if you go to it (302 or 404)
460: [21:46:38] <helenclarko> I basically just want a holder page that doesnt have a link, so it cant be found by putting the URLSegment in.
461: [21:47:50] <helenclarko> Pyromanik: So " Sorry, it seems you were trying to access a page that doesn't exist. Please check the spelling of the URL you were trying to access and try again." Isn't a bad thing.
462: [21:48:09] <helenclarko> And a 404, would display that page right?
463: [21:50:48] * pippy has joined #silverstripe
464: [21:54:13] * micmania1 quit (Quit: micmania1)
465: [21:58:06] * micmania1 has joined #silverstripe
466: [22:04:45] * janneklouman-- has joined #silverstripe
467: [22:11:28] * irogue has joined #silverstripe
468: [22:11:28] * irogue quit (Changing host)
469: [22:11:28] * irogue has joined #silverstripe
470: [22:14:06] * helenclarko quit (Ping timeout: 250 seconds)
471: [22:14:52] * muskie9 has joined #silverstripe
472: [22:15:30] * muskie9 quit (Client Quit)
473: [22:19:36] * helenclarko has joined #silverstripe
474: [22:19:53] <helenclarko> Hmmm, I got dropped from the channel
475: [22:22:25] <helenclarko> So I have it redirecting at the moment. but a page still kind of exists to some degree. If the page didnt exist, it would just 404 and that would be great.
476: [22:23:29] <helenclarko> How can I create a holder pagetype, that doesnt actually make a page... Thats a stupid question!
477: [22:40:54] <Pyromanik> helenclarko, if it's juat a holder page, just make a controller, not a page type
478: [22:41:22] <Pyromanik> or, if it's for some kind of maintenance mode, perhaps investigate pre-request
479: [22:41:31] <Pyromanik> (injector hook)
480: [22:43:16] <Pyromanik> you can basically stop any request in it's tracks and return what you want (before Director gets a hold of it iirc)
481: [22:44:45] * spekulatius quit (Quit: Leaving)
482: [22:51:54] * janneklouman-- quit (Read error: Connection reset by peer)
483: [22:55:03] <helenclarko> Pyromanik: Thanks, Ill take a look
484: [22:58:32] * janneklouman-- has joined #silverstripe
485: [23:03:17] * janneklouman-- quit (Ping timeout: 250 seconds)
486: [23:07:55] <Pyromanik> but if you want like some kind of 'page' that can't be got to, then you might be looking for a gridfield or something, idk
487: [23:08:02] <Pyromanik> check out the slug module
488: [23:08:05] * Pyromanik shrugs
489: [23:08:17] <Pyromanik> i gotta gan
490: [23:08:29] * Pyromanik quit (Quit: Leaving)
491: [23:15:08] * micmania1 quit (Quit: micmania1)
492: [23:30:39] * Audlex quit ()
493: [23:42:23] * UncleCheese has joined #silverstripe
494: [23:48:15] <ss23> https://twitter.com/Ross_McDougall/status/746101239927083008 me irl
495: [23:51:24] * UncleCheese quit (Ping timeout: 258 seconds)
496: [23:58:49] * UncleCheese has joined #silverstripe

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