#silverstripe IRC Log

IRC log for 11 October 2016

All timestamps are in UTC.

1: [00:23:20] * janneklouman-- has joined #silverstripe
2: [00:28:10] * janneklouman-- quit (Ping timeout: 268 seconds)
3: [00:29:53] * Nightjar quit (Ping timeout: 250 seconds)
4: [00:43:39] * Nightjar has joined #silverstripe
5: [01:08:56] * Tron_ quit (Ping timeout: 260 seconds)
6: [01:10:38] * spronk has joined #silverstripe
7: [01:15:02] <spronk> who is an mssql expert
8: [01:24:43] * janneklouman-- has joined #silverstripe
9: [01:27:56] <Nightjar> k wut spronk
10: [01:28:57] * janneklouman-- quit (Ping timeout: 240 seconds)
11: [01:29:07] <spronk> sigh
12: [01:29:10] <spronk> having issues with mssql
13: [01:29:11] <Nightjar> no srs
14: [01:29:15] <Nightjar> come at me
15: [01:29:29] <spronk> why, on a table with a varchar(7500) column x, would a query x LIKE '%y%' be fast, but x LIKE N'%y%' be extremely slow?
16: [01:29:46] <Nightjar> charset conversion
17: [01:29:59] <spronk> i figured something as such
18: [01:30:06] <spronk> .... how to fix!?
19: [01:30:14] <Nightjar> 90% sure that's what the N does
20: [01:30:17] <spronk> i don't think i can change the charset that the query uses..
21: [01:30:20] <spronk> N denotes a unicode string
22: [01:30:45] <Nightjar> yeh so what is column defined as?
23: [01:30:50] <spronk> varchar(7500)
24: [01:30:56] <Nightjar> charset
25: [01:30:58] <Nightjar> ?
26: [01:31:11] <spronk> hmm
27: [01:31:16] <Nightjar> UTF-4
28: [01:31:17] <spronk> do cols have charsets in mssql?
29: [01:31:19] <spronk> its collated as Latin1
30: [01:31:26] <Nightjar> probably the issue :>
31: [01:31:29] <spronk> problem is i can't change it
32: [01:31:37] <spronk> because max length for nvchar is 4k
33: [01:31:51] <Nightjar> because double width
34: [01:31:55] <spronk> mm
35: [01:32:03] <spronk> some fucktard decided to store a Map in a database
36: [01:32:08] <Nightjar> Map?
37: [01:32:09] <spronk> containing information that almost every query needs to use
38: [01:32:17] <spronk> yeah, a java map
39: [01:32:18] <spronk> hashmap
40: [01:32:21] <Nightjar> isn't that what ... oh.
41: [01:32:24] <Nightjar> what a fuck
42: [01:32:27] <Nightjar> MediumText
43: [01:32:28] <spronk> so the col is like ... BatchID=xyz|SomethingElse=mmm|SomethingNew=yyy
44: [01:32:28] <Nightjar> doit
45: [01:33:12] <spronk> if i could find some decent fucking docs on jdo queries, i might be able to change the fucking code so it doens't stick N in the query
46: [01:33:24] <Nightjar> TSQL
47: [01:33:51] <Nightjar> it's slow because it's fuck'n searching every single column
48: [01:34:11] <Nightjar> I think you want the geospatal field type
49: [01:34:20] <spronk> ughhh
50: [01:34:23] <Nightjar> oh wait hashmap
51: [01:34:25] <spronk> not only did these fucks decide to do that
52: [01:34:26] <Nightjar> err
53: [01:34:33] <Nightjar> KVstore field type
54: [01:34:40] <spronk> the docs are littered with "In practice this does not work reliably because jdoPostLoad does not get called every time"
55: [01:34:47] <spronk> FFFFFFFFFFFF
56: [01:34:54] <spronk> i'd be ok with it if it was just useless document metadata
57: [01:35:01] <Nightjar> In practice hire someone competent
58: [01:35:05] <spronk> ikr
59: [01:35:17] <spronk> and fucking java, jdo, mssql, so hard to find good docs
60: [01:37:50] <spronk> FUCK THIS
61: [01:37:53] <spronk> im going home.
62: [01:37:53] <spronk> bbl
63: [01:38:23] * spronk quit (Quit: I may need a longer sleep timer...)
64: [01:42:47] * Bollig|DesignCty has joined #silverstripe
65: [01:51:11] <Nightjar> Michael!
66: [01:51:17] <Nightjar> long time
67: [02:05:38] * cheddam_ has joined #silverstripe
68: [02:05:49] * slievr1 has joined #silverstripe
69: [02:07:01] * cheddam quit (Ping timeout: 248 seconds)
70: [02:07:44] * slievr quit (Ping timeout: 258 seconds)
71: [02:45:19] * cheddam_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
72: [02:46:55] * spronk has joined #silverstripe
73: [02:51:03] * cheddam has joined #silverstripe
74: [02:54:33] * Stomach quit (Quit: zzz)
75: [02:54:53] * Stomach has joined #silverstripe
76: [03:46:41] * Bollig|DesignCty quit (Read error: Connection reset by peer)
77: [03:47:17] * Bollig|DesignCty has joined #silverstripe
78: [03:53:38] * neilf__ has joined #silverstripe
79: [04:01:21] * muskie9 quit (Ping timeout: 250 seconds)
80: [04:24:21] * Azure quit (Read error: Connection reset by peer)
81: [04:35:13] * Azure has joined #silverstripe
82: [05:02:00] * janneklouman-- has joined #silverstripe
83: [05:05:58] * cheddam_ has joined #silverstripe
84: [05:06:46] * janneklouman-- quit (Ping timeout: 250 seconds)
85: [05:07:39] * cheddam quit (Ping timeout: 250 seconds)
86: [05:30:09] <ss-helper> Silverstripe 3 Blog - Selecting categories based on sub-categories - http://stackoverflow.com/questions/39970981/silverstripe-3-blog-selecting-categories-based-on-sub-categories
87: [05:42:19] * Stomach quit (Ping timeout: 250 seconds)
88: [05:46:14] * micmania1 quit (Quit: micmania1)
89: [05:52:46] * Shrike_Finland has joined #silverstripe
90: [06:08:32] * DarjusIT has joined #silverstripe
91: [06:11:15] * spronk quit (Quit: I may need a longer sleep timer...)
92: [06:13:42] * Programs34 has joined #silverstripe
93: [06:13:42] <ss-helper> Programs34: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
94: [06:15:01] <Programs34> Hi. Don't know where to start, so I'll try here. We've taken over a SilverStripe project and got a working copy of it (on a crappy XAMPP stack), when I transfer the exact same files and db to an online provider, I get this error message: Any ideas on what could be wrong? Fatal error: Class 'Page' not found in /home/3/a/atenti/www/blog/code/BlogEntry.php on line 7
95: [06:16:13] * spronk has joined #silverstripe
96: [06:17:09] * pweh has joined #silverstripe
97: [06:17:12] <Programs34> I have tried different permissions, different modifications to the .htaccess files, but I don't know.
98: [06:18:21] * pweh quit (Client Quit)
99: [06:19:14] * pweh has joined #silverstripe
100: [06:21:37] <Programs34> Can give access to FTP and even pay some beers :D
101: [06:27:12] <Programs34> ?flush=all did it.... Will drink beers.
102: [06:31:02] * DimiStripe has joined #silverstripe
103: [06:43:10] * Nightjar quit (Read error: Connection reset by peer)
104: [06:43:51] * Nightjar has joined #silverstripe
105: [06:48:01] * janneklouman-- has joined #silverstripe
106: [06:48:49] * cheddam_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
107: [06:50:29] * neilf__ quit (Quit: Connection closed for inactivity)
108: [06:51:05] * Shrike_Finland quit (Quit: Leaving.)
109: [06:52:47] * cheddam has joined #silverstripe
110: [06:52:48] * janneklouman-- quit (Ping timeout: 260 seconds)
111: [06:57:20] * cheddam quit (Client Quit)
112: [07:00:37] * wmk has joined #silverstripe
113: [07:01:43] * adrexia_phone has joined #silverstripe
114: [07:05:10] * adrexia_phone quit (Remote host closed the connection)
115: [07:08:06] * marvanni has joined #silverstripe
116: [07:09:09] * janneklouman-- has joined #silverstripe
117: [07:13:45] * janneklouman-- quit (Ping timeout: 250 seconds)
118: [07:14:12] * pweh quit (Ping timeout: 260 seconds)
119: [07:17:01] * marvanni quit (Read error: Connection reset by peer)
120: [07:23:48] * marvanni has joined #silverstripe
121: [07:25:06] * spronk quit (Quit: I may need a longer sleep timer...)
122: [07:37:54] * pweh has joined #silverstripe
123: [08:04:39] * Shrike_Finland has joined #silverstripe
124: [08:04:58] * kinglozzer has joined #silverstripe
125: [08:08:46] * janneklouman-- has joined #silverstripe
126: [08:22:48] * pweh quit (Ping timeout: 260 seconds)
127: [08:31:14] * Shrike_Finland quit (Quit: Leaving.)
128: [08:31:36] * guci0 has joined #silverstripe
129: [08:31:37] <guci0> Hello World!
130: [08:32:43] * Azure quit (Read error: Connection reset by peer)
131: [08:33:22] * Azure has joined #silverstripe
132: [08:35:28] * TRB143_ has joined #silverstripe
133: [08:38:19] * pweh has joined #silverstripe
134: [08:40:54] * Hailwood has joined #silverstripe
135: [08:41:26] * Hailwood_Ghost quit (*.net *.split)
136: [08:41:27] * Zauberfisch quit (*.net *.split)
137: [08:41:28] * keroberos quit (*.net *.split)
138: [08:41:30] * TRB143 quit (*.net *.split)
139: [08:41:31] * tmro has joined #silverstripe
140: [08:49:53] * Zauberfisch has joined #silverstripe
141: [08:56:00] * Bollig|DesignCty quit (Ping timeout: 260 seconds)
142: [09:01:46] * Hailwood quit (Disconnected by services)
143: [09:02:10] * Hailwood_Ghost has joined #silverstripe
144: [09:07:02] * Shrike_Finland has joined #silverstripe
145: [09:11:20] * pweh quit (Ping timeout: 260 seconds)
146: [09:15:23] * cheddam has joined #silverstripe
147: [09:20:34] * agent44 has joined #silverstripe
148: [09:29:19] * pweh has joined #silverstripe
149: [09:29:37] * cheddam quit (Ping timeout: 240 seconds)
150: [09:30:08] * cheddam has joined #silverstripe
151: [09:37:09] * ss_geek has joined #silverstripe
152: [09:37:09] <ss-helper> ss_geek: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
153: [09:37:12] <ss_geek> hello everyone
154: [09:37:40] <ss_geek> I am using dropdownfield, but I want to show icons in that dropdown, how can I do so
155: [10:15:30] * lerni has joined #silverstripe
156: [10:17:39] <lerni> ss_geek: use icon-font?
157: [10:29:48] <ss_geek> how can I use that?
158: [10:57:13] * ss_geek quit (Quit: Page closed)
159: [11:05:03] * wmk quit (Read error: Connection reset by peer)
160: [11:12:12] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
161: [11:38:25] * marvanni quit (Quit: marvanni)
162: [11:39:31] * pweh quit (Read error: Connection reset by peer)
163: [11:45:30] * darianno has joined #silverstripe
164: [11:46:32] <lerni> ss_geek: it's just about style.
165: [11:47:13] * slievr1 is now known as slievr
166: [11:47:21] <slievr> lerni: I think he's gone
167: [11:48:46] <lerni> slievr: mhh, just found the code I wrote for this :(
168: [11:51:11] * Shrike_Finland quit (Quit: Leaving.)
169: [12:03:57] * marvanni has joined #silverstripe
170: [12:04:17] * marvanni quit (Client Quit)
171: [12:10:22] * marvanni has joined #silverstripe
172: [12:16:23] * marvanni quit (Quit: marvanni)
173: [12:32:05] * marvanni has joined #silverstripe
174: [12:32:38] * UndefinedOffset has joined #silverstripe
175: [12:33:45] * marvanni quit (Client Quit)
176: [12:44:27] * marvanni has joined #silverstripe
177: [12:58:18] * Bollig|DesignCty has joined #silverstripe
178: [13:01:43] * Nightjar quit (Read error: Connection reset by peer)
179: [13:01:56] * marvanni quit (Quit: marvanni)
180: [13:08:59] * ss23 quit (Ping timeout: 258 seconds)
181: [13:09:20] * Kapdap_ quit (Ping timeout: 260 seconds)
182: [13:09:28] * Kapdap has joined #silverstripe
183: [13:10:54] * wmk has joined #silverstripe
184: [13:12:33] * Nightjar has joined #silverstripe
185: [13:13:42] <wmk> hey Nightjar
186: [13:16:15] * ss23 has joined #silverstripe
187: [13:29:08] * Shrike_Finland has joined #silverstripe
188: [13:29:23] * Shrike_Finland quit (Client Quit)
189: [13:33:32] * agent44 quit (Quit: zzz)
190: [13:33:53] * agent44 has joined #silverstripe
191: [13:36:09] * wmk quit (Quit: Leaving)
192: [14:14:25] * muskie9 has joined #silverstripe
193: [14:29:33] * lerni quit ()
194: [14:34:39] * Shrike_Finland has joined #silverstripe
195: [14:40:14] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
196: [15:00:20] <ss-helper> Update silverstripe-linkable Object after import - http://stackoverflow.com/questions/39980025/update-silverstripe-linkable-object-after-import
197: [15:37:51] * DimiStripe quit (Quit: DimiStripe)
198: [16:10:44] * darianno quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
199: [16:31:24] * TRB143_ is now known as TRB143
200: [16:31:36] * TRB143 quit (Changing host)
201: [16:31:36] * TRB143 has joined #silverstripe
202: [16:32:00] * kinglozzer quit ()
203: [16:53:23] * Shrike_Finland quit (Quit: Leaving.)
204: [17:05:42] * gelignite has joined #silverstripe
205: [17:12:55] * agent44 quit (Quit: zzz)
206: [17:27:01] * muskie9 quit (Ping timeout: 260 seconds)
207: [17:56:47] * BrewNaked has joined #silverstripe
208: [18:13:36] * r3v3rb has joined #silverstripe
209: [18:13:47] <r3v3rb> mr Nightjar
210: [18:21:13] * muskie9 has joined #silverstripe
211: [18:30:49] * UndefinedOffset quit (Quit: Leaving.)
212: [18:40:54] * r3v3rb quit (Ping timeout: 268 seconds)
213: [18:41:12] * UndefinedOffset has joined #silverstripe
214: [18:58:28] * Stomach has joined #silverstripe
215: [18:58:46] * wmk has joined #silverstripe
216: [18:58:46] * Programs34 quit (Ping timeout: 260 seconds)
217: [19:12:14] * UndefinedOffset quit (Quit: Leaving.)
218: [19:36:45] * Phlunk3 has joined #silverstripe
219: [19:39:07] * r3v3rb has joined #silverstripe
220: [19:44:02] <r3v3rb> quiet evening?
221: [19:52:50] * BrewNaked quit (Remote host closed the connection)
222: [19:57:59] <r3v3rb> why is routing such an arduous task moving a 3.2 site to 3.4 where /system/$Action/$ID/$OtherID : AdminSecurity and /system/login/$ID : AdminController worked in 3.2 but not in 3.4
223: [20:00:16] <wmk> r3v3rb, i guess you need to take care of the order
224: [20:06:27] <r3v3rb> wmk, tried both ways dev/build makes no difference
225: [20:07:03] <wmk> weird
226: [20:10:02] <r3v3rb> indeed
227: [20:10:07] * BrewNaked has joined #silverstripe
228: [20:14:29] * UndefinedOffset has joined #silverstripe
229: [20:17:18] * micmania1 has joined #silverstripe
230: [20:19:00] * UndefinedOffset quit (Client Quit)
231: [20:30:22] * darjusIT1 has joined #silverstripe
232: [20:31:16] <darjusIT1> Hi all can I make routes.yml in diffrent modules in _config folders, or I must make in one file?
233: [20:31:24] <r3v3rb> wmk, interesting I removed the AdminController and moved the function I was wanting to reach to AdminSecurity and its all sorted...
234: [20:31:47] <r3v3rb> darjusIT1, afaik you can have a routes.yml in your module
235: [20:32:06] <darjusIT1> in serveral modules same file?
236: [20:32:16] <r3v3rb> same file?
237: [20:32:35] <darjusIT1> yes same file but inside diffrent content
238: [20:33:01] <r3v3rb> why would you need the same route.yml more than once?
239: [20:34:22] <darjusIT1> my project is very big I make all module based so I what every module have his routes file with only his routes inside, for better managment
240: [20:36:20] <r3v3rb> yep, that should be fine, but you might get caught by priorities of the routes being loaded
241: [20:41:41] <darjusIT1> r3v3rb thx
242: [20:43:31] <r3v3rb> np, trust me though routing is 'fun'...
243: [20:47:07] * wmk quit (Ping timeout: 250 seconds)
244: [21:07:16] * vitaly_ has joined #silverstripe
245: [21:24:04] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
246: [21:28:45] * janneklouman-- quit (Ping timeout: 260 seconds)
247: [21:35:21] * Stomach quit (Quit: zzz)
248: [21:35:59] * micmania1 quit (Quit: micmania1)
249: [21:36:07] * Stomach has joined #silverstripe
250: [21:43:08] * darjusIT1 quit (Quit: Leaving)
251: [21:53:31] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
252: [22:02:01] * cheddam has joined #silverstripe
253: [22:08:53] * micmania1 has joined #silverstripe
254: [22:09:31] * janneklouman-- has joined #silverstripe
255: [22:12:09] * cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
256: [22:14:12] * cheddam has joined #silverstripe
257: [22:23:00] * r3v3rb quit (Quit: Leaving)
258: [22:28:21] <BrewNaked> o/ all...
259: [22:29:23] <BrewNaked> Anyone able to point me in the direction of a prebuilt module that allows maxlength to be applied to HTMLEditorFields?
260: [22:29:54] <BrewNaked> Looks like the Silverstripe-HTMLEditorField-Extras functionality isn't working 3.4.x.
261: [22:38:14] * micmania1 quit (Quit: micmania1)
262: [22:39:57] * micmania1 has joined #silverstripe
263: [22:58:45] * janneklouman-- quit (Ping timeout: 248 seconds)
264: [22:58:45] * Hailwood_Ghost quit (Ping timeout: 248 seconds)
265: [23:00:02] * ss-helper quit (Remote host closed the connection)
266: [23:00:19] * ss-helper has joined #silverstripe
267: [23:03:40] * spronk has joined #silverstripe
268: [23:15:04] * Hailwood_Ghost has joined #silverstripe
269: [23:35:08] <vitaly_> Hi, I have couple of ModelAdmin pages. When I try to Export to CSV I get blank page with "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again." Does anyone know what might cause this behaviour?
270: [23:43:08] * micmania1 quit (Quit: micmania1)
271: [23:48:03] * BrewNaked quit ()
272: [23:52:34] <Hailwood_Ghost> vitaly_, Version of PHP? And are you running the suhosin patch perchance?
273: [23:54:45] * Zauberfisch quit (Write error: Connection reset by peer)
274: [23:55:10] * Zauberfisch has joined #silverstripe
275: [23:56:25] <vitaly_> Hailwood_Ghost: 5.5.26+dfsg-1+deb.sury.org~precise+1
276: [23:56:35] <vitaly_> Hailwood_Ghost: not sure about suhosin patch
277: [23:57:53] * Hailwood_Ghost is now known as Hailwood
278: [23:58:31] <Hailwood> vitaly_, It would list there if you had the patch. Well that's me out of ideas.
279: [23:58:44] <Hailwood> It is possible that your "state" is too long for the query string
280: [23:59:53] <vitaly_> Hailwood: Is there a way to fix this problem?

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