#silverstripe IRC Log

IRC log for 9 September 2016

All timestamps are in UTC.

1: [00:00:00] <Nightjar> Cron is made for unix tasks.
2: [00:00:01] * ss-helper quit (Remote host closed the connection)
3: [00:00:02] <DanaeNZ> I only realised something was up when suddenly received emails with a "call timed out"
4: [00:00:08] <DanaeNZ> looked at crons
5: [00:00:13] <Nightjar> ie. OUTPUT WHEN SHIT GOES WRONG.
6: [00:00:17] * ss-helper has joined #silverstripe
7: [00:00:27] <Nightjar> otherwise quietly do what do.
8: [00:00:30] <DanaeNZ> there's a couple running every three minutes, while the task it runs is like a 10 minute job
9: [00:00:39] <DanaeNZ> i crie
10: [00:00:52] <Nightjar> semaphore all the things
11: [00:03:30] <Nightjar> [![ -e /tmp/datTask.lock ]]
12: [00:03:39] <Nightjar> in the simplest form
13: [00:06:32] <Nightjar> DanaeNZ, It's kinda similar to my issue today DanaeNZ - try{allTheThings()}catch(e){tellNoOne()}andCarryOn()
14: [00:06:49] <DanaeNZ> hahah yes
15: [00:10:16] * Stomach quit (Quit: zzz)
16: [00:11:25] * spronk has joined #silverstripe
17: [00:20:18] * Stomach has joined #silverstripe
18: [00:32:57] * micmania1 quit (Quit: micmania1)
19: [00:41:18] <Tron> Hi guys. Does anyone know how to prevent files(filename) from containing trailing dots when renamed in the backend? e.g. test.kml to test.html.
20: [00:47:17] <willr> Tron could do an extension on File and override onBeforeWrite() to remove the trailing dot.
21: [00:52:13] * DanaeNZ quit (Remote host closed the connection)
22: [00:52:51] * DanaeNZ has joined #silverstripe
23: [00:56:57] * DanaeNZ quit (Ping timeout: 244 seconds)
24: [00:57:49] <Tron> @willr thats what I initially thought, I made a SecureDotFile which extends extension and put a die() in the onBeforeWrite() function... the cms just continued as usual. Am i missing something
25: [00:59:30] <willr> You’ll need to extend DataExtension and make sure that the extension has been added to File, do a flush as well
26: [01:04:21] <Tron> @willr i put this in my yaml file --- File: extensions: - SecureFile
27: [01:05:02] <Tron> and this is the custom file <?php class SecureFile extends DataExtension { public function onBeforeWrite() { die('please die'); } }
28: [01:05:03] * Stomach quit (Quit: zzz)
29: [01:05:09] * Nightjar quit (Ping timeout: 265 seconds)
30: [01:06:28] <willr> Can double check that the extension has been added by doing ($file = new File(); print_r($file->getExtensionInstances())
31: [01:06:39] <willr> check securefile is in there.
32: [01:10:08] * DanaeNZ has joined #silverstripe
33: [01:11:53] * Hailwood has joined #silverstripe
34: [01:29:56] * Stomach has joined #silverstripe
35: [01:36:26] * Nightjar has joined #silverstripe
36: [01:52:07] * Stomach quit (Quit: zzz)
37: [02:03:26] * Tron quit (Ping timeout: 264 seconds)
38: [02:13:28] * micmania1 has joined #silverstripe
39: [02:18:48] <Nightjar> hurr durr race condition. fucker.
40: [02:19:20] <Nightjar> On your marks, set; fuck you!
41: [02:20:19] <Nightjar> Then catch the error, tell no one, and fuck everyone off for weeks on end.
42: [02:26:59] <Nightjar> GG, eh DanaeNZ ?
43: [02:27:06] <DanaeNZ> so much gg
44: [02:27:09] <DanaeNZ> definitely no re
45: [02:33:00] * Stomach has joined #silverstripe
46: [02:38:43] <Nightjar> DanaeNZ, re?
47: [02:38:48] <DanaeNZ> rematch
48: [02:38:54] <DanaeNZ> gg no re
49: [02:39:05] <Nightjar> Re: Re: Re: Re: Re: FW: lol czech this out
50: [02:39:56] <Nightjar> DanaeNZ, re? Fuk, my match still going. It's all over but the cry'n, still we gotta get to the finish :/
51: [03:05:16] * Stomach quit (Quit: zzz)
52: [03:26:35] * Stomach has joined #silverstripe
53: [04:01:37] * Stomach quit (Quit: zzz)
54: [04:03:58] * Stomach has joined #silverstripe
55: [04:09:47] * micmania1 quit (Quit: micmania1)
56: [04:17:51] * jaydenseric has joined #silverstripe
57: [04:21:11] * Stomach quit (Quit: zzz)
58: [04:23:01] * Nightjar quit (Quit: Leaving)
59: [04:24:42] <jaydenseric> pulled the latest dev-master, and ran silverstripe-upgrader. The build works, and the admin works, but I get an view my pages in browser it gets stuck on "[Emergency] Uncaught BadMethodCallException: Object->__call(): the method 'Favicon' does not exist on 'SilverStripe\SiteConfig\SiteConfig'"
60: [04:25:07] <jaydenseric> an an extension of Page, can you not do this sort of thing anymore? $this->SiteConfig->Favicon()->Link()
61: [04:25:19] * Phlunk3 quit (Quit: Leaving)
62: [04:32:14] <DanaeNZ> jaydenseric: DataExtension or plain PHP extension?
63: [04:32:47] <jaydenseric> class ModularPage extends Page {
64: [04:33:46] <jaydenseric> class Page extends SiteTree {
65: [04:34:02] <jaydenseric> the error is in the modular page
66: [04:35:04] <DanaeNZ> jaydenseric: where does Favicon sit?
67: [04:35:12] <DanaeNZ> Is it an Image?
68: [04:35:49] <jaydenseric> its a file assets uploaded via class CustomSiteConfig extends DataExtension {
69: [04:36:21] <jaydenseric> So, the CustomSiteConfig has_one Favicon
70: [04:36:39] <DanaeNZ> hmm, I haven't really played around with that on SS 3.4
71: [04:41:05] <jaydenseric> hmm, looks like my CustomSiteConfig extension is no longer working
72: [04:41:23] <jaydenseric> the fields do not appear in the setting pane anymore
73: [04:41:37] <jaydenseric> there must be a new api for customizing site settings
74: [04:45:31] <ss-helper> Re: [silverstripe-dev] "Supported modules" and github.com/silverstripe-labs - https://groups.google.com/d/msg/silverstripe-dev/vgQZpUnxrI4/2DXOUeoKCAAJ
75: [04:57:32] * Stomach has joined #silverstripe
76: [05:03:49] <jaydenseric> Perhaps we have to somehow namespace extensions in config.yml now?
77: [05:04:00] <jaydenseric> SiteConfig:
78: [05:04:00] <jaydenseric> extensions:
79: [05:04:00] <jaydenseric> - CustomSiteConfig
80: [05:08:46] * micmania1 has joined #silverstripe
81: [05:09:32] <jaydenseric> OMG! that was it! Note namespacing in the YML works with single backslashes:
82: [05:09:33] <jaydenseric> SilverStripe\SiteConfig\SiteConfig:
83: [05:09:34] <jaydenseric> extensions:
84: [05:09:35] <jaydenseric> - CustomSiteConfig
85: [05:12:17] * ads_ has joined #silverstripe
86: [05:12:17] <ss-helper> ads_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
87: [05:13:10] * Stomach quit (Quit: zzz)
88: [05:16:56] * ben_w has joined #silverstripe
89: [05:18:05] <ben_w> hi guys, has anyone tried out the SilverStripe 4.0 yet?
90: [05:18:08] * Stomach has joined #silverstripe
91: [05:18:24] * janneklouman-- has joined #silverstripe
92: [05:19:20] * micmania1 quit (Quit: micmania1)
93: [05:23:12] * janneklouman-- quit (Ping timeout: 244 seconds)
94: [05:24:32] * Shrike_Finland has joined #silverstripe
95: [05:29:15] * Stomach quit (Quit: zzz)
96: [05:31:02] * ads_ quit (Ping timeout: 264 seconds)
97: [05:44:54] * Shrike_Finland quit (Read error: Connection reset by peer)
98: [05:45:05] * Shrike_Finland has joined #silverstripe
99: [06:10:34] * lerni has joined #silverstripe
100: [06:13:19] * Shrike_Finland quit (Quit: Leaving.)
101: [06:14:58] * Hailwood quit (Remote host closed the connection)
102: [06:32:56] * DanaeNZ quit (Quit: TIME TO FEED)
103: [06:56:11] * darianno has joined #silverstripe
104: [06:58:05] * wmk has joined #silverstripe
105: [07:06:35] * ben_w quit ()
106: [07:15:09] <ss-helper> Silverstripe could not update record - http://stackoverflow.com/questions/39405731/silverstripe-could-not-update-record
107: [07:16:37] * spronk quit (Quit: I may need a longer sleep timer...)
108: [07:35:46] * Shrike_Finland has joined #silverstripe
109: [07:48:37] * agent44 has joined #silverstripe
110: [07:53:48] * willr quit (Quit: willr)
111: [08:05:05] * janneklouman-- has joined #silverstripe
112: [08:06:24] * Mike123 has joined #silverstripe
113: [08:06:28] <Mike123> Hey
114: [08:06:39] * Shrike_Finland quit (Quit: Leaving.)
115: [08:07:20] <Mike123> my client wants to know what cookies will be used on website, actually i dont know how can i get the list of used cookies
116: [08:18:04] * Stomach has joined #silverstripe
117: [08:18:25] * Stomach quit (Client Quit)
118: [08:24:52] * swaiba has joined #silverstripe
119: [08:35:45] * Shrike_Finland has joined #silverstripe
120: [08:43:02] * Mike123 quit (Ping timeout: 264 seconds)
121: [08:44:32] <wmk> cookies? ask the cookie monster...
122: [09:17:33] * agent44 quit (Quit: zzz)
123: [09:17:46] * pweh has joined #silverstripe
124: [09:18:11] * agent44 has joined #silverstripe
125: [09:23:05] * Shrike_Finland quit (Quit: Leaving.)
126: [09:52:19] * pweh quit (Ping timeout: 252 seconds)
127: [10:25:34] * Shrike_Finland has joined #silverstripe
128: [10:26:53] * pweh has joined #silverstripe
129: [10:53:08] * DarjusIT has joined #silverstripe
130: [10:53:53] * Shrike_Finland quit (Quit: Leaving.)
131: [10:54:24] * agent44 quit (Quit: zzz)
132: [10:54:56] * agent44 has joined #silverstripe
133: [11:14:58] * agent44 quit (Quit: zzz)
134: [11:15:27] * agent44 has joined #silverstripe
135: [11:18:43] * Shrike_Finland has joined #silverstripe
136: [11:42:31] * Shrike_Finland quit (Quit: Leaving.)
137: [12:03:02] * Shrike_Finland has joined #silverstripe
138: [12:21:33] * UndefinedOffset has joined #silverstripe
139: [12:37:34] * spronka has joined #silverstripe
140: [12:55:18] * Shrike_Finland quit (Quit: Leaving.)
141: [13:05:18] * agent44 quit (Quit: zzz)
142: [13:05:39] * agent44 has joined #silverstripe
143: [13:14:18] * pweh quit (Read error: Connection reset by peer)
144: [13:29:27] * Eliseth has joined #silverstripe
145: [13:29:54] <Eliseth> Afternoon!
146: [13:30:38] <Eliseth> Does anyone has the YouTube link for that proof of concept editor thingy some awesome dev was building? The superfancy drag & drop content blocks in frontend view kinda thingy?
147: [13:37:34] <swaiba> Eliseth afternoon
148: [13:37:42] <swaiba> crikey it's busy all of a sudden
149: [13:37:54] <Eliseth> Hey swaiba \o/
150: [13:38:18] <swaiba> hmmm I've seen a few content block modules, personally if I could start now I'd go for sheadawsons
151: [13:38:45] <Eliseth> I don't think it was a finished thing, just a "look at how cool this would be" kinda experimental stage thingy
152: [13:38:49] <swaiba> other than that if it was presented at stripecon last year then all those videos are uploaded
153: [13:38:58] <Eliseth> Really fancy, with elastic blocks and such
154: [13:39:17] <swaiba> fair enough, we have a drag and drop doesn't it look cool, but I'd choose one with a solid founcation
155: [13:39:27] <swaiba> (yes I'm an endingeer not a designer!)
156: [13:39:40] <Eliseth> Haha, yes, for actually using, but this is purely an inspirational thing I need it for
157: [13:39:45] <swaiba> in the recent list of http://addons.silverstripe.org/ or a ss blog?
158: [13:41:02] <Eliseth> Nah, don't think it was ever released, maybe on github. As I said, it was a concept, not a finished thing
159: [13:41:11] <swaiba> ah ok
160: [13:41:26] <Eliseth> and it was all editing inside the actual content, drag and dropping stuff inside the page, not backend view
161: [13:41:39] <Eliseth> Thought maybe someone here would remember it :D
162: [13:41:46] <swaiba> if it was mentioned on IRC then you can search the logs...
163: [13:41:59] <swaiba> https://silverstripe.logged.nz/
164: [13:42:16] <swaiba> but some days logger isn't turned on :(
165: [13:43:18] <Eliseth> Thanks for the input though! :)
166: [13:46:23] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
167: [14:02:21] * micmania1 has joined #silverstripe
168: [14:06:36] * micmania1 quit (Ping timeout: 244 seconds)
169: [14:29:36] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
170: [14:31:38] * kinglozzer has joined #silverstripe
171: [14:57:05] * shellbackpacific quit (Ping timeout: 250 seconds)
172: [15:00:08] * darianno quit (Quit: Textual IRC Client: www.textualapp.com)
173: [15:00:11] * shellbackpacific has joined #silverstripe
174: [15:24:04] <lerni> Eliseth: https://vimeo.com/122740856
175: [15:24:43] <lerni> Eliseth: https://github.com/wolfv/silverstripe-livingdocsfield
176: [15:25:15] <lerni> but you are offline and so am I now :( bye
177: [15:25:40] * lerni quit ()
178: [15:37:00] * swaiba quit (Remote host closed the connection)
179: [15:58:52] * janneklouman-- quit (Ping timeout: 240 seconds)
180: [16:08:05] * kinglozzer quit ()
181: [17:00:49] <ss-helper> Re: [silverstripe-dev] "Supported modules" and github.com/silverstripe-labs - https://groups.google.com/d/msg/silverstripe-dev/vgQZpUnxrI4/EoqiKAQzCAAJ
182: [17:04:07] * micmania1 has joined #silverstripe
183: [17:08:50] * micmania1 quit (Ping timeout: 265 seconds)
184: [17:15:49] <ss-helper> Re: Looking for SilverStripe freelance - https://groups.google.com/d/msg/silverstripe-dev/yi1wZpubEq8/P9y0xFczCAAJ
185: [17:15:50] <ss-helper> Re: [silverstripe-dev] More helpful exceptions/warnings - https://groups.google.com/d/msg/silverstripe-dev/14lJBw13jQI/qXEPITgzCAAJ
186: [17:26:25] * agent44 quit (Quit: zzz)
187: [17:49:03] * wmk quit (Ping timeout: 240 seconds)
188: [18:14:56] * wmk has joined #silverstripe
189: [18:29:10] * wmk quit (Read error: Connection reset by peer)
190: [18:29:15] * wmk_ has joined #silverstripe
191: [18:36:19] * lerni has joined #silverstripe
192: [18:54:24] * Stomach has joined #silverstripe
193: [19:16:46] * catcherdev has joined #silverstripe
194: [19:16:59] * catcherdev quit (Changing host)
195: [19:16:59] * catcherdev has joined #silverstripe
196: [19:18:29] <catcherdev> Hey SS! Has anyone seen a missing ‘LastEdited’ column before? I get this when I try to drag/drop reorder something in the CMS:
197: [19:18:44] <catcherdev> DBConnector->databaseError(Unknown column 'LastEdited' in 'field list',256,UPDATE “HPGliderBlock" SET "SortOrder" = 7, "LastEdited" = NOW() WHERE "ID" = 11)
198: [19:19:14] * wmk_ is now known as wmk
199: [19:19:24] <wmk> catcherdev, did you try a dev/build ?
200: [19:19:46] <wmk> seems you last dev/build didn't run properly and threw an error.
201: [19:19:51] <wmk> Or the module code is buggy
202: [19:22:51] <catcherdev> wmk: I did indeed dev/build. The object inherits from DataObject, so I’m really confused as to how it could be missing LastEdited
203: [19:23:04] <wmk> yup. sounds confusing
204: [19:23:13] <wmk> but did your dev/build terminate with "done" ?
205: [19:23:21] <wmk> or is there an error when you scroll down?
206: [19:23:56] <catcherdev> No errors, build successful
207: [19:30:45] <DarjusIT> Hi all maybe some one know if is any image packs for dummy data?
208: [19:31:43] <catcherdev> DarjusIT: placekitten.com has an api that responds to url params
209: [19:35:49] <DarjusIT> I need upload it from cms
210: [19:36:04] <DarjusIT> so links not suitable
211: [19:36:08] <DarjusIT> but thx :)
212: [19:36:54] * MichalKleiner quit ()
213: [19:38:29] <catcherdev> wmk or anyone else, any ideas?
214: [19:40:36] <wmk> catcherdev, not really... typical debug stack
215: [19:40:53] <wmk> do you have a backtrace of that error?
216: [19:41:52] * TheVoid quit (Ping timeout: 240 seconds)
217: [19:47:51] <catcherdev> yes, 1 sec
218: [19:52:05] * TheVoid has joined #silverstripe
219: [19:57:02] * catcherdev quit (Quit: catcherdev)
220: [19:59:12] * catcherdev has joined #silverstripe
221: [20:06:39] * micmania1 has joined #silverstripe
222: [20:11:21] * micmania1 quit (Ping timeout: 276 seconds)
223: [20:15:54] <ss-helper> Re: [silverstripe-dev] "Supported modules" and github.com/silverstripe-labs - https://groups.google.com/d/msg/silverstripe-dev/vgQZpUnxrI4/aMioQbs9CAAJ
224: [20:27:08] * UndefinedOffset quit (Quit: Leaving.)
225: [20:37:16] * catcherdev quit (Quit: catcherdev)
226: [20:45:28] * catcherdev has joined #silverstripe
227: [20:51:31] * TheVoid quit (Remote host closed the connection)
228: [21:11:59] * gelignite has joined #silverstripe
229: [21:13:07] * janneklouman-- has joined #silverstripe
230: [21:37:48] * catcherdev quit (Quit: catcherdev)
231: [21:40:25] * lerni quit (Remote host closed the connection)
232: [21:43:18] <DarjusIT> I will ask silly question but I need answer :) what is better html in form _contructor or html in form template ss? :)
233: [21:44:27] * janneklouman-- quit (Ping timeout: 250 seconds)
234: [22:12:33] * wmk quit (Ping timeout: 240 seconds)
235: [22:17:45] * Stomach quit (Quit: zzz)
236: [22:23:22] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
237: [22:38:32] * Stomach has joined #silverstripe
238: [22:45:57] <ss-helper> Re: Support Timeline and LTS (draft) - https://groups.google.com/d/msg/silverstripe-dev/3lEgTZfT4Og/UiWNC4ZFCAAJ
239: [22:47:56] * lerni has joined #silverstripe
240: [22:53:52] * Stomach quit (Quit: zzz)
241: [23:09:04] * micmania1 has joined #silverstripe
242: [23:13:33] * micmania1 quit (Ping timeout: 240 seconds)
243: [23:36:27] * DarjusIT quit (Read error: Connection reset by peer)
244: [23:52:18] * janneklouman-- has joined #silverstripe
245: [23:56:37] * janneklouman-- quit (Ping timeout: 244 seconds)

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