#silverstripe IRC Log

IRC log for 2 January 2015

All timestamps are in UTC.

1: [00:07:21] * Kingy^ is now known as Kingy
2: [00:08:00] * Kingy is now known as Kingy[a]
3: [00:40:33] * cloph quit (Remote host closed the connection)
4: [00:40:56] * cloph_away has joined #silverstripe
5: [00:46:42] * UncleCheese has joined #silverstripe
6: [01:01:01] * cloph_away quit (Remote host closed the connection)
7: [01:05:17] * toddmorey has joined #silverstripe
8: [01:05:26] * hailwood has joined #silverstripe
9: [01:10:53] <hailwood> Anyone using the sunnysideup ecommerce setup?
10: [01:27:23] * babak quit (Quit: Connection closed for inactivity)
11: [01:39:57] * toddmorey quit (Quit: My Mac has gone to sleep. ZZZzzz…)
12: [02:34:32] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
13: [02:41:50] * r_hector has joined #silverstripe
14: [02:49:22] * r_hector quit (Quit: Leaving.)
15: [03:16:44] * toddmorey has joined #silverstripe
16: [03:18:59] * Chunky has joined #silverstripe
17: [03:19:14] <Chunky> Is there any easy way to dump a datalist in the template.
18: [03:19:36] <Chunky> Can I cannot access variables and i just cant understand why not its in the db etc.
19: [03:27:13] <simon_w|work> Chunky, $List.Debug?
20: [03:37:50] * toddmorey quit (Quit: My Mac has gone to sleep. ZZZzzz…)
21: [03:51:03] * cloph_away has joined #silverstripe
22: [04:13:04] * cloph has joined #silverstripe
23: [04:13:12] * cloph_away quit (Ping timeout: 250 seconds)
24: [04:23:24] <Chunky> Cheers Simon, still not dumping out all the variables but closer than I was
25: [04:24:35] * gelignite_ has joined #silverstripe
26: [04:27:19] * gelignite_ quit (Client Quit)
27: [04:28:12] * gelignite quit (Ping timeout: 244 seconds)
28: [05:11:49] * Chunky quit (Ping timeout: 246 seconds)
29: [05:17:57] * Cramb has joined #silverstripe
30: [05:21:45] * Cramb has left #silverstripe
31: [05:27:11] * r_hector has joined #silverstripe
32: [05:39:12] * UncleCheese has joined #silverstripe
33: [05:49:03] * Liquide has joined #silverstripe
34: [05:51:04] <nontgor> I wish running tests was faster...
35: [05:56:24] <nontgor> simon_w|work I think I have a fix for https://github.com/silverstripe/silverstripe-framework/issues/2979 - no duplicate queries now. For some random reason figured out how to attack it whilst out cycling yesterday :)
36: [05:57:08] <nontgor> running framework tests to see if anything has broken as a result
37: [06:01:26] <simon_w|work> nontgor, I'm not a core dev any more
38: [06:19:27] * simon_w|work quit (Quit: Ping timeout: your mum)
39: [06:22:18] * simon_w|air quit (Quit: Ping timeout: your mum)
40: [06:30:51] * babak has joined #silverstripe
41: [06:40:35] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
42: [07:06:02] * Azure quit (Quit: My MBP went to sleep.)
43: [08:02:37] * nontgor quit (Ping timeout: 244 seconds)
44: [08:21:02] * guci0 has joined #silverstripe
45: [08:21:06] <guci0> Happy! :)
46: [08:47:30] * tmro is now known as keroberry
47: [08:53:16] * Shrike_Finland has joined #silverstripe
48: [09:03:04] * hailwood quit (Quit: Leaving)
49: [09:04:38] * Shrike_Finland quit (Quit: Leaving.)
50: [09:51:34] * PyHNYk has joined #silverstripe
51: [09:51:48] <PyHNYk> Happy New Year everyone :)
52: [09:54:10] <Zauberfisch> PyHNYk: same to you
53: [09:56:57] * Shrike_Finland has joined #silverstripe
54: [09:57:19] <PyHNYk> :)
55: [10:21:01] <PyHNYk> fffff
56: [10:21:13] <PyHNYk> updating system because there's no one in
57: [10:21:17] <PyHNYk> do a check
58: [10:21:29] <PyHNYk> fucking discrepencies. Some moron is VPN'd in D:
59: [10:47:49] * guci0 quit (Ping timeout: 246 seconds)
60: [11:12:33] <PyHNYk> hooray, got away with it (manual check, just a few non critical discrepencies, inserted rows manually)
61: [11:12:52] <PyHNYk> whoop :D
62: [11:24:16] * Shrike_Finland quit (Quit: Leaving.)
63: [12:46:28] * Shrike_Finland has joined #silverstripe
64: [13:06:12] * Shrike_Finland quit (Quit: Leaving.)
65: [13:13:18] * Shrike_Finland has joined #silverstripe
66: [13:37:23] * babak quit (Quit: Connection closed for inactivity)
67: [13:43:37] * r_hector quit (Read error: Connection reset by peer)
68: [13:45:38] * r_hector has joined #silverstripe
69: [13:45:39] * r_hector1 has joined #silverstripe
70: [13:45:40] * Shrike_Finland quit (Quit: Leaving.)
71: [13:55:35] * r_hector1 has left #silverstripe
72: [14:17:21] * Shrike_Finland has joined #silverstripe
73: [14:25:26] * Shrike_Finland quit (Quit: Leaving.)
74: [14:41:50] * catcher has joined #silverstripe
75: [15:02:09] * gelignite has joined #silverstripe
76: [15:33:09] * Error404NotFound has joined #silverstripe
77: [15:36:47] * Shrike_Finland has joined #silverstripe
78: [15:56:50] * babak has joined #silverstripe
79: [15:58:10] * Error404NotFound quit (Ping timeout: 255 seconds)
80: [16:38:01] * muskie9 has joined #silverstripe
81: [16:39:13] * jenniferaslan has joined #silverstripe
82: [17:04:54] * Guits has joined #silverstripe
83: [17:05:49] <Guits> Hi all - Happy New Year! I have a question on performance . I have a script that parses a CSV and insert pages. But it takes forever
84: [17:06:19] <Guits> When i log my sql connections i see - among other things - OPTIMIZE table "SiteTree_versions"
85: [17:07:13] <Guits> Is it possible to tweak this ? (do OPTIMIZE after all inserts)
86: [17:12:31] * Shrike_Finland quit (Quit: Leaving.)
87: [17:27:17] <PyHNYk> Guits: no idea sorry
88: [17:27:36] <PyHNYk> you could grep the core and see where it's getting called
89: [17:27:53] <PyHNYk> but I suspect it's core code, not changable (well, not without a pull request, etc)
90: [17:28:13] <PyHNYk> I mean, not configurable*, you'll need to edit core then submit a PR to change this.
91: [17:28:39] <PyHNYk> but it'll need looking into. Maybe it's something in your code that's calling a function premautrely
92: [17:28:51] <PyHNYk> making it optimize on every loop.
93: [17:28:54] <PyHNYk> who knows.
94: [17:29:49] * SomeNickUsedByMe has joined #silverstripe
95: [17:29:50] <Guits> thanx.. been looking through the core files without any mention of OPTIMIZE
96: [17:29:57] <SomeNickUsedByMe> Hello
97: [17:30:04] <PyHNYk> Hello
98: [17:30:44] <SomeNickUsedByMe> One Question, i wanted to make a form, now when I click send silverstripe says me there's a technical problem, normally silverstripe shows detailed error messages (I activated dev environment) but now it only says there's a technical problem
99: [17:31:09] <PyHNYk> where?
100: [17:31:21] <PyHNYk> cms?
101: [17:31:31] <PyHNYk> front end page?
102: [17:31:34] <PyHNYk> cli?
103: [17:32:09] <SomeNickUsedByMe> front end page
104: [17:32:37] <catcher> Guits, yeah, doesn't exist in core; is it possible it's happening outside of SS for you?
105: [17:32:46] <catcher> Or maybe in a module?
106: [17:33:09] <PyHNYk> and what is the exact output (use pastie if it's large) - although by exact you should still remove sensitive details if need be.
107: [17:33:14] <PyHNYk> SomeNickUsedByMe ^
108: [17:33:24] <PyHNYk> what is the return code?
109: [17:33:27] <SomeNickUsedByMe> hmm, I don't think so it's not an apache error message either
110: [17:33:28] <PyHNYk> 500?
111: [17:33:33] <SomeNickUsedByMe> no
112: [17:33:36] <PyHNYk> 200 OK?
113: [17:33:48] <SomeNickUsedByMe> 400
114: [17:33:52] <PyHNYk> bad request.
115: [17:34:10] <PyHNYk> are you using an uploadfield?
116: [17:34:41] <SomeNickUsedByMe> no
117: [17:35:00] <PyHNYk> so what is the exact output?
118: [17:35:05] <PyHNYk> empty response body?
119: [17:35:06] <SomeNickUsedByMe> Just some textfields but I guess the action is wrong
120: [17:35:13] <PyHNYk> perhaps.
121: [17:35:31] <PyHNYk> make sure you didn't typo in the action name :>
122: [17:36:21] <SomeNickUsedByMe> it's the CSRF_FAILED_MESSAGE
123: [17:36:39] <PyHNYk> CSRF_FAILED_MESSAGE: 'There seems to have been a technical problem. Please click the back button, refresh your browser, and try again.'
124: [17:36:41] <PyHNYk> yup
125: [17:36:56] <PyHNYk> to do with security token then
126: [17:37:17] <PyHNYk> load the page properly, don't just go back and/or hit refresh
127: [17:37:29] <PyHNYk> click in url bar, hit enter. Load the page fresh, get a new token.
128: [17:37:44] <PyHNYk> it happens sometimes when testing - the token can expire or you use a cached one.
129: [17:37:47] <PyHNYk> because browsers.
130: [17:38:28] <PyHNYk> if it persists, and it's not a very critical form, you could $form->disableSecurityToken()
131: [17:38:51] <PyHNYk> if it's a search form then it should proably be GET anyway $form->setActionMethod iirc
132: [17:39:05] <catcher> SomeNickUsedByMe, did you create a custom form template?
133: [17:39:10] <SomeNickUsedByMe> yes
134: [17:39:25] <catcher> SomeNickUsedByMe, you forgot the security token field.
135: [17:39:29] <PyHNYk> ^
136: [17:39:42] <PyHNYk> catcher: Hmm, I thought that was injected. I guess not :<
137: [17:39:44] <SomeNickUsedByMe> Oh, thanks I guess thats it
138: [17:40:01] <PyHNYk> oh well, good, uhh... catch!
139: [17:40:05] <catcher> :)
140: [17:40:08] <PyHNYk> I'm gaan home.
141: [17:40:26] * PyHNYk quit ()
142: [17:40:53] <catcher> SomeNickUsedByMe, it's called SecurityID
143: [17:41:24] <SomeNickUsedByMe> catcher, Yes, thank you very much. I guess without your help I would have used very long time to find the cause
144: [17:41:40] <catcher> SomeNickUsedByMe, no problemo.
145: [17:45:46] * Shrike_Finland has joined #silverstripe
146: [17:47:26] * r_hector quit (Quit: Leaving.)
147: [17:53:36] * Guits quit (Read error: Connection reset by peer)
148: [17:54:01] * Guits has joined #silverstripe
149: [18:00:49] * Shrike_Finland quit (Quit: Leaving.)
150: [18:12:07] * Shrike_Finland has joined #silverstripe
151: [18:25:27] * Azure has joined #silverstripe
152: [19:09:26] * gelignite quit (Quit: http://bit.ly/nkczDT)
153: [19:37:27] * Shrike_Finland quit (Quit: Leaving.)
154: [19:39:16] * Shrike_Finland has joined #silverstripe
155: [20:09:46] * veb has joined #silverstripe
156: [20:09:47] * veb quit (Changing host)
157: [20:09:47] * veb has joined #silverstripe
158: [20:10:07] * Shrike_Finland quit (Quit: Leaving.)
159: [20:23:29] * veb quit (Quit: veb-irc: quit)
160: [20:35:34] * cloph quit (Ping timeout: 250 seconds)
161: [20:50:22] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
162: [21:14:08] * keroberry quit (Quit: reboot)
163: [21:17:14] * kerosene has joined #silverstripe
164: [21:18:23] * Azure quit (Quit: My MBP went to sleep.)
165: [21:36:47] * muskie9 has joined #silverstripe
166: [21:38:59] * UncleCheese has joined #silverstripe
167: [22:01:31] * Azure has joined #silverstripe
168: [22:23:28] * Shrike_Finland has joined #silverstripe
169: [22:27:13] * cloph_away has joined #silverstripe
170: [22:37:17] * catcher quit (Quit: Leaving)
171: [22:43:19] * Shrike_Finland quit (Quit: Leaving.)
172: [22:46:41] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
173: [23:00:14] * SomeNickUsedByMe quit (Ping timeout: 245 seconds)
174: [23:11:58] * UncleCheese has joined #silverstripe

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