#silverstripe IRC Log

IRC log for 16 January 2014

All timestamps are in UTC.

1: [00:06:02] <Colin[pi]> ss23 is quiet today
2: [00:09:20] <antmas> ah
3: [00:09:22] <antmas> got it
4: [00:09:31] <antmas> was in wrong directory :P
5: [00:09:34] <antmas> herpderp
6: [00:11:05] <Colin[pi]> lol
7: [00:11:10] <Colin[pi]> we've all done it ;P
8: [00:14:04] <Colin[pi]> woah what the shit.. my webcam light just came on; not using any video program D:
9: [00:14:40] <ss23> Colin[pi]: Setting up my new
10: [00:14:41] <ss23> PC
11: [00:14:43] <ss23> :D
12: [00:14:48] * mobiusnz quit (Quit: Leaving.)
13: [00:14:49] <Colin[pi]> OMG IT ARRIVED?
14: [00:14:56] <antmas> anyone use netbeans and xdebug here?
15: [00:15:07] <ss23> YES
16: [00:15:09] <ss23> 8 core i7
17: [00:15:11] <ss23> 16gb ram
18: [00:15:12] <ss23> :D
19: [00:15:13] <ss23> is good
20: [00:15:21] <Colin[pi]> AW YISS
21: [00:15:30] <Colin[pi]> but can it run crysis
22: [00:15:33] <Colin[pi]> huh
23: [00:15:34] <Colin[pi]> HUH?
24: [00:15:57] <antmas> ss23: nice
25: [00:16:11] <antmas> 8 core xenon here :D
26: [00:16:55] <ss23> in a desktop? :O
27: [00:16:58] <ss23> Colin[pi]: I hope so! :O
28: [00:17:37] <Colin[pi]> antmas: xeon in a workstation? o_O
29: [00:17:47] <antmas> Colin[pi]: yeah, its awesome
30: [00:18:23] <Colin[pi]> I was initially confused because you said Xenon and that's the one in the Xbox 360 lol
31: [00:18:39] <antmas> oh
32: [00:18:40] <antmas> haha
33: [00:18:42] <antmas> yeah Xeon
34: [00:18:51] <Colin[pi]> programming with a gamepad? haha
35: [00:18:52] <antmas> fastest thing I've ever used o.O
36: [00:18:58] <Colin[pi]> nice
37: [00:21:08] <Zauberfisch> bed time
38: [00:21:10] <Zauberfisch> good night gents
39: [00:21:13] <Colin[pi]> nn
40: [00:29:37] * bosie_ quit (Ping timeout: 272 seconds)
41: [00:32:57] <antmas> Zauberfisch: was it you that was using xdebug?
42: [00:32:59] * Pyromanik quit (Ping timeout: 252 seconds)
43: [00:38:08] * mobiusnz has joined #silverstripe
44: [00:43:04] * UncleCheese has joined #silverstripe
45: [00:46:45] <madmatt> antmas: I use xdebug, but with PHPStorm not netbeans sorry
46: [00:54:05] * travis-ci has joined #silverstripe
47: [00:54:05] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#700 (3.1 - c8c5675 : Mateusz U): The build passed.
48: [00:54:05] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/046a5fd6bbed...c8c56756a9ad
49: [00:54:05] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/17032721
50: [00:54:05] * travis-ci has left #silverstripe
51: [01:05:45] <ss23> blargh
52: [01:05:47] <ss23> 12 seconds to boot
53: [01:05:54] <ss23> ~9 of it is the BIOS screen, but still
54: [01:06:32] <antmas> madmatt: no prob, all working now
55: [01:09:20] <Colin[pi]> ss23: what OS?
56: [01:11:50] <ss23> was Windows 7, but that doesn't have bitlocker, so Windows 8 now
57: [01:11:50] <ss23> :D
58: [01:11:53] <ss23> (It does, but pro, etc)
59: [01:24:46] * pippy quit (Ping timeout: 252 seconds)
60: [01:24:53] * zippy__ has joined #silverstripe
61: [01:25:04] <zippy__> Pretty cool website; http://www.responsinator.com/?url=silverstripe.org
62: [01:26:22] * pippy has joined #silverstripe
63: [01:28:21] <Ryan-Toast> looking good, looking great http://www.responsinator.com/?url=ryanpotter.co.nz
64: [01:28:56] <antmas> emulator?
65: [01:29:06] <Ryan-Toast> iframes
66: [01:29:10] <antmas> ah
67: [01:29:16] <antmas> nice work Ryan-Toast :D
68: [01:29:23] <Ryan-Toast> chur
69: [01:30:37] <Ryan-Toast> antmas: Made with boilerplate ;)
70: [01:30:57] <antmas> I really need to start on my portfolio
71: [01:30:58] <antmas> :/
72: [01:31:14] <antmas> maybe this weekend
73: [01:33:12] <zippy__> heh
74: [01:33:13] <pippy> can today be over please i want to go home
75: [01:33:23] <Ryan-Toast> Not long to go.
76: [01:33:38] <zippy__> I still havn't setup my portfolio and been self employed a year in april!
77: [01:33:41] <zippy__> too busy lol
78: [01:33:48] <zippy__> pippy: it's 5pm somewhere in the world
79: [01:34:10] <Ryan-Toast> I just like having a portfolio, to impress the ladies.
80: [01:34:26] <Ryan-Toast> aye gurl, jump on dat browser.
81: [01:36:07] * antmas quit (Ping timeout: 272 seconds)
82: [01:37:34] * guzzlefry has left #silverstripe
83: [01:40:26] * antmas has joined #silverstripe
84: [01:51:49] * nickmolhoek quit (Quit: nickmolhoek)
85: [01:52:59] * SightUnseen quit (Quit: Leaving.)
86: [02:03:36] * guzzlefry has joined #silverstripe
87: [02:03:50] <guzzlefry> Is there a default_action type thing for controllers?
88: [02:06:29] <zippy__> index ?
89: [02:07:10] <guzzlefry> Well, I meant as far as "Call this action by default"
90: [02:07:22] <guzzlefry> But, nevermind. I found a sane way. :P
91: [02:07:53] <guzzlefry> index was simply returning a form, so I changed the form that was returned to fit the new specs. \o/
92: [02:19:12] * catcher has left #silverstripe
93: [02:19:48] * DigNZ has joined #silverstripe
94: [02:22:52] <antmas> oh noes
95: [02:23:00] <antmas> wireless headphones broke :O
96: [02:23:48] <Colin[pi]> D:
97: [02:24:23] <antmas> stupid mini USB charging port snapped off inside
98: [02:24:28] <antmas> such flimsy
99: [02:24:38] <Colin[pi]> much sad
100: [02:26:38] <Ryan-Toast> Ugh, how can you allow Modrewrite to fuck off and just deal with SS, not other folders?
101: [02:26:55] <antmas> "you quoted us 2-3 days"...."WE DID WHAT?!" lol
102: [02:29:09] * mobiusnz quit (Quit: Leaving.)
103: [02:37:03] <antmas> hmmm anyone ever had an issue where the 3 dot loading bar would appear when using the CMS but nothing would happen?
104: [02:37:24] <antmas> almost seems like a js error without reporting one
105: [02:38:55] <Ryan-Toast> Unhandles ajax error probs.
106: [02:39:13] <Ryan-Toast> mod_rewrite won't let me see my subfolders that aren't SS :(
107: [02:39:15] <antmas> hmmm
108: [02:41:52] <guzzlefry> What's a sane way of using Form::testSubmission()?
109: [02:42:09] <guzzlefry> Controller action that only allows admin?
110: [02:46:03] * mobiusnz has joined #silverstripe
111: [03:01:28] <zippy__> // restrictedaction can only be people with ADMIN privilege
112: [03:01:29] <zippy__> 'restrictedaction' => 'ADMIN',
113: [03:01:32] <zippy__> http://doc.silverstripe.org/framework/en/topics/controller
114: [03:01:53] <zippy__> guzzlefry: ping
115: [03:02:55] <antmas> hmp
116: [03:02:59] <antmas> hmph
117: [03:03:05] <antmas> slow day
118: [03:04:32] <guzzlefry> zippy__: thanks
119: [03:19:10] * zippy__ quit (Ping timeout: 245 seconds)
120: [03:19:38] * spronk has left #silverstripe
121: [03:19:41] * yaboo has joined #silverstripe
122: [03:21:34] * spronk has joined #silverstripe
123: [03:27:07] <antmas> hot damn
124: [03:27:17] <antmas> that Toyota FT-1 concept is the tits
125: [03:30:04] <guzzlefry> Did they give up on the GT86?
126: [03:31:21] <antmas> guzzlefry: naw, this is like the new Supra - the GT86 being the new 'Celica'
127: [03:31:40] <guzzlefry> ew Celicas...
128: [03:32:07] <guzzlefry> Although the GT86 is kind of underpowered.
129: [03:32:17] <antmas> guzzlefry: yeah it is
130: [03:32:36] <antmas> I'd rather the Subaru BRZ if they hurry up with the STi version
131: [03:32:54] * guzzlefry tries to think of actual Toyota sports cars.
132: [03:33:25] <antmas> guzzlefry: Supra defintely was
133: [03:35:07] <antmas> WAS being the key word, now Toyota's are basically Beluga whales
134: [03:35:13] <guzzlefry> only one I can think of
135: [03:35:14] <antmas> with wheels*
136: [03:35:27] <guzzlefry> Nissan started going whale as well. :/
137: [03:36:18] <antmas> aight folks
138: [03:36:20] <antmas> im off
139: [03:36:22] <antmas> nn
140: [03:36:24] <guzzlefry> night sir
141: [03:36:29] * antmas quit (Quit: Page closed)
142: [03:36:58] * nick86 has joined #silverstripe
143: [03:37:18] <nick86> hi guys, after turning on static publisher, i am getting the following error when submitting forms:
144: [03:37:21] <nick86> 'There seems to have been a technical problem. Please click the back button, refresh your browser, and try again.'
145: [03:37:34] <nick86> anyone come across this?
146: [03:42:24] * nick86 quit (Ping timeout: 276 seconds)
147: [03:42:39] * nick86 has joined #silverstripe
148: [03:47:36] * nick86 quit (Ping timeout: 276 seconds)
149: [03:48:34] * nick86 has joined #silverstripe
150: [03:48:46] <nick86> anyone?
151: [03:49:41] <Colin[pi]> anyone skilled with seo and teh google?
152: [03:53:27] * nick86 quit (Ping timeout: 276 seconds)
153: [03:57:04] * nick86 has joined #silverstripe
154: [04:01:17] * NickSpiel has joined #silverstripe
155: [04:01:54] * nick86 quit (Ping timeout: 276 seconds)
156: [04:01:56] <NickSpiel> anyone else having issues with forms failing with static publisher?
157: [04:14:50] * NickSpiel quit (Quit: Page closed)
158: [04:19:06] * NickSpiel has joined #silverstripe
159: [04:19:17] * DigNZ quit (Quit: DigNZ)
160: [04:22:17] * Ryan-Toast quit (Quit: Ryan-Toast)
161: [04:26:38] * wracu quit (Quit: Page closed)
162: [04:45:37] * SightUnseen has joined #silverstripe
163: [04:46:17] * SightUnseen has left #silverstripe
164: [04:56:37] * UncleCheese quit (Quit: UncleCheese)
165: [04:58:13] * cloph has joined #silverstripe
166: [04:58:41] * cloph_away quit (Ping timeout: 272 seconds)
167: [05:02:21] <willr> NickSpiel your forms need to either not be published statically or security token disabled
168: [05:03:35] * willr quit (Quit: willr)
169: [05:04:08] * Shrike_Finland quit (Quit: Leaving.)
170: [05:07:20] * yaboo quit (Quit: Leaving)
171: [05:25:53] * NickSpiel quit (Quit: Page closed)
172: [05:52:24] <guzzlefry> hrm
173: [05:52:42] <guzzlefry> public function RegistrationForm($request = null) {
174: [05:52:42] <guzzlefry> return new RegistrationForm(new Page_Controller(SiteTree::get()->filter(array("ClassName" => "HomePage"))->First()), __FUNCTION__); }
175: [05:52:52] <guzzlefry> having trouble figuring out exactly what that's doing...
176: [05:53:58] <guzzlefry> oh nevermind, brainfart :P
177: [05:58:29] * Colin[pi] quit (Ping timeout: 272 seconds)
178: [06:03:53] * SightUnseen has joined #silverstripe
179: [06:03:58] * SightUnseen has left #silverstripe
180: [06:04:47] * boytikz has joined #silverstripe
181: [06:10:21] <boytikz> Hi there, so I have this field called "SortOrder" and using SortableGridField. I noticed that after I create an object (in ModelAdmin) the SortOrder is not yet filled thus my object comes first. Then when I go back to the GridField, it populates the SortOrder with the proper value
182: [06:10:53] <boytikz> My question is, what is the best way to fill in the SortOrder field upon object creation?
183: [06:31:36] * guzzlefry has left #silverstripe
184: [06:39:27] * Shrike_Finland has joined #silverstripe
185: [06:40:12] * Bollig|DesignCty has joined #silverstripe
186: [06:43:10] * Shrike_Finland1 has joined #silverstripe
187: [06:43:57] * Shrike_Finland quit (Ping timeout: 252 seconds)
188: [06:45:33] <Bollig|DesignCty> anyone about to help me with a weird 3.1 thing that I'm staring at?
189: [06:45:36] * Shrike_Finland1 quit (Read error: Connection reset by peer)
190: [06:46:56] <Bollig|DesignCty> https://www.evernote.com/shard/s279/sh/1af37d7b-0c0a-4fd3-b58e-4c8af5a2e248/749e01c97e2d0539869e3327ea1fdb4f/res/6e74002e-302a-45a2-8c76-4079f9920a5c/skitch.png?resizeSmall&width=832
191: [07:05:41] * zippy__ has joined #silverstripe
192: [07:07:22] * Shrike_Finland has joined #silverstripe
193: [07:18:42] * Shrike_Finland quit (Read error: Connection reset by peer)
194: [07:18:55] * Shrike_Finland has joined #silverstripe
195: [07:23:15] * SightUnseen has joined #silverstripe
196: [07:29:32] * SightUnseen has left #silverstripe
197: [07:40:18] * Vik has joined #silverstripe
198: [07:40:38] * SightUnseen has joined #silverstripe
199: [07:48:42] * SightUnseen has left #silverstripe
200: [07:52:59] * Colin[pi] has joined #silverstripe
201: [08:04:45] * willr has joined #silverstripe
202: [08:11:50] <willr> ss23 what have you done with simon_w
203: [08:13:56] <ss23> :O
204: [08:13:58] <ss23> Nothing!
205: [08:13:59] <ss23> He's at camp
206: [08:14:02] <ss23> (I wasn't invited :()
207: [08:14:44] <ss23> willr: Did you hear the word?
208: [08:14:49] <ss23> willr: I'm at SilverStripe, right now, on my work PC
209: [08:14:53] <ss23> Yes, my work *PC*
210: [08:14:56] <ss23> Running Windows 8
211: [08:14:57] <ss23> :)
212: [08:15:27] <willr> I'm surprised your not just waiting for software updates. I feel 80% of my windows time is software update
213: [08:15:43] <ss23> lol, how often do you boot Windows? :P
214: [08:16:08] <ss23> Had a coworker who would always complain. Would boot once a month and be like "EVERY TIME I BOOT IT WANTS TO UPDATE"
215: [08:16:12] <ss23> :P
216: [08:20:21] * ARNHOE has joined #silverstripe
217: [08:22:32] * nhorstmeier has joined #silverstripe
218: [08:22:54] <willr> pretty much once a week, like 30 minutes to update
219: [08:23:11] <willr> gaming takes away from doing PRs!
220: [08:24:23] * nhorstmeier is now known as muskie9
221: [08:38:39] * joelpittet quit ()
222: [08:45:23] * willr quit (Quit: willr)
223: [09:01:55] * aragonne has joined #silverstripe
224: [09:02:28] * kinglozzer has joined #silverstripe
225: [09:04:24] * muskie9 quit (Remote host closed the connection)
226: [09:04:51] * muskie9 has joined #silverstripe
227: [09:06:23] * ARNHOE quit (Read error: Connection reset by peer)
228: [09:06:23] * muskie9 quit (Read error: Connection reset by peer)
229: [09:06:31] * ARNHOE has joined #silverstripe
230: [09:06:31] * muskie9 has joined #silverstripe
231: [09:07:18] * muskie9 quit (Client Quit)
232: [09:10:25] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
233: [09:24:36] * variable_office quit (Read error: Connection reset by peer)
234: [09:24:59] * variable_office has joined #silverstripe
235: [09:29:00] * micmania1 has joined #silverstripe
236: [09:32:49] * aragonne has left #silverstripe
237: [09:33:36] * andrewjbaker has joined #silverstripe
238: [09:39:52] * learner has joined #silverstripe
239: [09:42:38] <learner> [Notice] Undefined offset: 0 is this error due to accessing an empty array??
240: [09:45:06] <Zauberfisch> probably
241: [09:45:10] <micmania1> learner, that's a PHP error. It means $array[0] is not defined.
242: [09:45:20] <Zauberfisch> or due to accessing an array that hase nothing at index 0
243: [09:45:41] <Zauberfisch> $array = array('A' => 'C', 'B' => 'D');
244: [09:45:53] <Zauberfisch> $array[0] // will produce the same error
245: [09:46:02] <micmania1> you can check with isset($array[0]) or array_key_exists(0, $array)
246: [09:46:05] <Zauberfisch> because the first item is actually $array['A']
247: [09:53:11] <learner> In http://sspaste.com/paste/show/52d7a8e1da8e2 line 96 is creating the [Notice] Undefined offset: 0 .......i am not getting what is the solution ?
248: [09:55:16] <Zauberfisch> learner: well, there is $array_fotos
249: [09:55:28] <Zauberfisch> and that probably has no index 0
250: [09:56:13] <learner> isnt the index 0 by default?
251: [09:56:19] <Zauberfisch> yes
252: [09:56:31] <Zauberfisch> but maybe you are doing it wrong and setting something else
253: [09:56:37] <Zauberfisch> or you have unset 0 at some point
254: [09:57:01] <micmania1> Looks learner, try to var_dump($array_fotos). This will show you what's in the array
255: [09:58:56] <micmania1> Zauberfisch: Do you know if onBeforeDelete gets called when you unpublish a page?
256: [09:59:28] <Zauberfisch> no
257: [09:59:33] <Zauberfisch> no, I don't know
258: [10:00:24] <micmania1> ok, only one way to find out then :)
259: [10:01:15] <micmania1> The answer is yes.
260: [10:12:44] * boytikz quit (Quit: Leaving.)
261: [10:22:02] * andrewjbaker quit (Ping timeout: 252 seconds)
262: [10:28:45] * learner quit (Ping timeout: 272 seconds)
263: [10:35:29] * Kapdap quit (Ping timeout: 248 seconds)
264: [10:39:44] * Kapdap has joined #silverstripe
265: [10:39:44] * andrewjbaker has joined #silverstripe
266: [10:41:51] * Kapdap quit (Remote host closed the connection)
267: [10:41:59] * Kapdap has joined #silverstripe
268: [10:53:57] * Kapdap quit (Ping timeout: 245 seconds)
269: [10:53:57] * Kapdap has joined #silverstripe
270: [10:53:57] * ss-log quit (Ping timeout: 265 seconds)

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