#silverstripe IRC Log

IRC log for 26 February 2013

All timestamps are in UTC.

1: [00:00:00] <nimeso> This system needs to be as secure as pos
2: [00:00:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
3: [00:01:00] <nimeso> anyway frozen... go do some work and pay the bills, thank you so much for help/advice
4: [00:01:00] <nimeso> I'll let ya know if I crash and burn!
5: [00:01:00] <FrozenFire> Hehe. Happy to help.
6: [00:02:00] * UncleCheese_ has joined #silverstripe
7: [00:03:00] <FrozenFire> Heh
8: [00:03:00] * UncleCheese quit (Ping timeout: 245 seconds)
9: [00:03:00] <Pyromanik> nimeso: vendhq.com
10: [00:04:00] <Pyromanik> ?
11: [00:04:00] <Pyromanik> oh
12: [00:04:00] <Pyromanik> ic
13: [00:04:00] <Pyromanik> Point Of Sale
14: [00:04:00] <Pyromanik> lol
15: [00:04:00] <Pyromanik> fantastic moustache
16: [00:04:00] <Pyromanik> watched a presentation from the CEO at the last WDCNZ
17: [00:04:00] <Pyromanik> nimeso: nope
18: [00:04:00] <Pyromanik> afaik America missed out on it, wondering if that extends to the Americas
19: [00:04:00] <nimeso> lol... looks super awesome thou... did you make it Pyro?
20: [00:04:00] <Pyromanik> do you have Electronic Funds Transfer at it?
21: [00:04:00] <Pyromanik> FrozenFire:
22: [00:04:00] <FrozenFire> "pos" == "possible"
23: [00:05:00] <FrozenFire> Interesting.
24: [00:05:00] <Pyromanik> like
25: [00:05:00] <Pyromanik> he could have just talked about that instead of web dev
26: [00:05:00] <Pyromanik> http://vimeo.com/50416565
27: [00:06:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
28: [00:06:00] <FrozenFire> It'd be interesting to build a POS based on SpeckCommerce
29: [00:06:00] <FrozenFire> I wonder how it compares to OpenBravo
30: [00:06:00] <Pyromanik> nfi
31: [00:06:00] <nimeso> I hate POS... dude just spent the last 4 weeks trying to get ANYONE to tell me if pos to integrate Microsoft RMS somehow... nobody knows anything!!! the guys on selling the MS RMS don't know nothing about their own software!
32: [00:07:00] <Pyromanik> nimeso: you'll find that's pretty common with most MS tech.
33: [00:08:00] <nimeso> lol]
34: [00:08:00] <Pyromanik> "Use it for this"
35: [00:08:00] <Pyromanik> outside that square?
36: [00:08:00] <Pyromanik> BETTER BE A WIZARD
37: [00:08:00] <FrozenFire> Indeed.
38: [00:08:00] <nimeso> is SpeckCommerce a cart system?
39: [00:08:00] <FrozenFire> When MS was bringing out their cloud-based office systems, they tried to foist it on our company.
40: [00:08:00] <Pyromanik> nfi
41: [00:08:00] <nimeso> poor ms
42: [00:08:00] <Pyromanik> ZF2 e-commerce platform.
43: [00:08:00] <FrozenFire> Didn't work for shit.
44: [00:08:00] <FrozenFire> SpeckCommerce is a ZF2-based ecommerce system
45: [00:09:00] <Pyromanik> can't remember
46: [00:09:00] <Pyromanik> swipestripe.com
47: [00:09:00] <Pyromanik> or .com
48: [00:09:00] <Pyromanik> ss-shop.org
49: [00:09:00] <Pyromanik> if you want silverstripe
50: [00:09:00] <FrozenFire> Well, kinda-sorta
51: [00:09:00] <Pyromanik> yes, I'd say speccommerce is a cart system
52: [00:09:00] <Pyromanik> iirc
53: [00:09:00] <Pyromanik> and silverstripe-commerce.co.nz
54: [00:10:00] <nimeso> right... zend.... outta my league :(
55: [00:10:00] <Pyromanik> cool
56: [00:10:00] <nimeso> :)
57: [00:10:00] <Pyromanik> does this mean no PDO extension installed?
58: [00:10:00] <nimeso> I've helpd jeremy work on SS shop mod
59: [00:10:00] <Pyromanik> [User Error] Uncaught PDOException: could not find driver
60: [00:11:00] <Pyromanik> FFFFFFFFFFFFFFFFFFF, but it is!
61: [00:11:00] <Pyromanik> I'm trying to get tests running
62: [00:11:00] <nimeso> LOL... wish I could help
63: [00:11:00] <nimeso> Whaaaaa... lol... lost me man
64: [00:11:00] * UncleCheese has joined #silverstripe
65: [00:11:00] <Pyromanik> as it would happen, yes, no pdo_sqlite
66: [00:11:00] <Pyromanik> Please install PHPUnit using pear
67: [00:12:00] * guci0 quit (Ping timeout: 245 seconds)
68: [00:12:00] <FrozenFire> Pyromanik, include_path?
69: [00:12:00] <Pyromanik> FrozenFire: probably, although I thought I had set that
70: [00:12:00] <Pyromanik> FrozenFire: do I need to update it for phpunit?
71: [00:12:00] <FrozenFire> I never thought it'd be possible to say this, but the SS docs have gotten worse...
72: [00:12:00] <Pyromanik> or jsut for pear?
73: [00:12:00] <Pyromanik> beacuse I did the pear one
74: [00:12:00] <FrozenFire> Nfc
75: [00:13:00] <FrozenFire> It doesn't. :P
76: [00:13:00] * terryapodaca has joined #silverstripe
77: [00:13:00] <FrozenFire> Just making suggestions
78: [00:13:00] <Pyromanik> clue?
79: [00:13:00] <FrozenFire> No fucking clue
80: [00:13:00] <Pyromanik> mmm
81: [00:13:00] <Pyromanik> I usually go for i
82: [00:13:00] <Pyromanik> idea
83: [00:13:00] <FrozenFire> Nff
84: [00:13:00] <FrozenFire> No fucking fathoming.
85: [00:13:00] <Pyromanik> no fucking fucks
86: [00:13:00] <nimeso> Jeremy is using http://about.travis-ci.org/ I think if that helps... :/
87: [00:13:00] <nimeso> FUCKKKK!!!!
88: [00:13:00] <Pyromanik> nimeso: nah, not really
89: [00:13:00] <Pyromanik> c?
90: [00:14:00] <FrozenFire> Travis is a build-checking bot
91: [00:14:00] <Pyromanik> lol, fbombs ALL the things!
92: [00:14:00] <terryapodaca> how can I set the default folder for ImageUploadField (2.4)
93: [00:14:00] <Pyromanik> ->setFolder?
94: [00:14:00] <nimeso> lol.. right gotta dash... thanks everyone
95: [00:15:00] <FrozenFire> FileField::setFolderName, iirc
96: [00:15:00] <terryapodaca> I don't want to do it site wide, just this individual ImageUploadField
97: [00:15:00] * nimeso quit (Quit: Page closed)
98: [00:16:00] <FrozenFire> I'm always amazed when PHP programmers lack an understanding of basic method referencing notation.
99: [00:17:00] <FrozenFire> ImageUploadField extends FileField
100: [00:17:00] <FrozenFire> FileField has a method called setFolderName
101: [00:17:00] <FrozenFire> FileField::setFolderName is a way of saying, "Call setFolderName on your object which is a descendant of FileField"
102: [00:18:00] <FrozenFire> Pyromanik, It really does not.
103: [00:18:00] <Pyromanik> yes FrozenFire, but :: implies static
104: [00:18:00] <terryapodaca> well no shit
105: [00:18:00] <Pyromanik> although it doesn't really, when used literally in php it does
106: [00:19:00] <FrozenFire> Where do I look for the documentation for what you're calling?
107: [00:19:00] <FrozenFire> That's more confusing.
108: [00:19:00] <Pyromanik> tis why I use -> to try and remove confusing
109: [00:19:00] <FrozenFire> What are you calling on?
110: [00:20:00] <Pyromanik> a phpness
111: [00:20:00] <Pyromanik> $fileField->setFolderName()
112: [00:20:00] <Pyromanik> xD
113: [00:20:00] <FrozenFire> :P
114: [00:20:00] <FrozenFire> WAAAAHHH
115: [00:20:00] <FrozenFire> I'm using an ImageUploadField
116: [00:20:00] <FrozenFire> I'm not using a FileField
117: [00:20:00] <FrozenFire> What is $fileField?
118: [00:21:00] <FrozenFire> Not shitting on you, by the way, terryapodaca
119: [00:21:00] <Pyromanik> no idea what ImageUploadField is
120: [00:21:00] <Pyromanik> ImageUploadField
121: [00:21:00] <Pyromanik> ImageField
122: [00:21:00] <Pyromanik> say, then example
123: [00:21:00] <Pyromanik> in order to
124: [00:21:00] <Pyromanik> usually just do both
125: [00:21:00] <FrozenFire> Just remarking
126: [00:21:00] <Pyromanik> I ususally use ::, but sometimes use -> alternatively
127: [00:21:00] <Pyromanik> indeed
128: [00:21:00] <FrozenFire> Developers need to simply learn how to talk about the language.
129: [00:22:00] <FrozenFire> It's part of the Uploadify stuff
130: [00:22:00] <FrozenFire> 2.4
131: [00:23:00] <Pyromanik> urgh
132: [00:23:00] <Pyromanik> nfi then
133: [00:23:00] <terryapodaca> yeah, I shouldn't be using it...but the client is use to it
134: [00:23:00] <FrozenFire> Hrmm
135: [00:24:00] <Marvanni> Does somebody knows if there is a CMS module to edit yaml translation files?
136: [00:24:00] <FrozenFire> ImageUploadField extends FileUploadField extends UploadifyField... extends FormField
137: [00:24:00] <Pyromanik> bummer
138: [00:24:00] <Pyromanik> Marvanni: I think there is, no idea what who or where though
139: [00:24:00] <FrozenFire> https://github.com/unclecheese/Uploadify/blob/master/code/UploadifyField.php#L266
140: [00:25:00] <FrozenFire> setUploadFolder, apparently...
141: [00:25:00] <terryapodaca> and I built this site (or started) before 3 came out and I really liked the DOM at the time
142: [00:28:00] <Pyromanik> goddamn wamp
143: [00:28:00] <Pyromanik> urgh
144: [00:28:00] <Pyromanik> php.inis everywhere
145: [00:29:00] <FrozenFire> XD
146: [00:29:00] <FrozenFire> Or, more appropriately, use a VM
147: [00:29:00] <FrozenFire> php --ini
148: [00:30:00] <FrozenFire> Running a webserver on your desktop userspace is a bad idea
149: [00:30:00] * markeaston has joined #silverstripe
150: [00:31:00] <terryapodaca> so I tried $upload->uploadFolder = 'Uploads/Success'; and that worked
151: [00:31:00] <terryapodaca> setUploadFolder busted the site...I have no idea why
152: [00:31:00] <FrozenFire> Bug UncleCheese
153: [00:31:00] <FrozenFire> :P
154: [00:31:00] * FrozenFire hates CMS scaffolding
155: [00:32:00] <terryapodaca> nah, it works now with my second try
156: [00:32:00] <FrozenFire> He shall forever-more be subject to harassment by those who refuse to update their projects to 3.x
157: [00:33:00] <Pyromanik> FrozenFire: why is that?
158: [00:34:00] <Pyromanik> 01:30 FrozenFire Running a webserver on your desktop userspace is a bad idea
159: [00:34:00] <Pyromanik> sorry
160: [00:34:00] <Pyromanik> no
161: [00:34:00] <FrozenFire> Because 1000 reasons
162: [00:34:00] <FrozenFire> Because he wrote the uploadify module for 2.4
163: [00:34:00] <Pyromanik> I mean
164: [00:35:00] <Pyromanik> I don't see how either of those happens
165: [00:35:00] * tankr has joined #silverstripe
166: [00:35:00] <Pyromanik> dev server -.-
167: [00:35:00] <FrozenFire> Running a webserver on a Windows desktop system is also inherently stupid.
168: [00:35:00] <Pyromanik> under normal use
169: [00:35:00] <FrozenFire> Fucking with your webserver breaks your desktop. Fucking with your desktop breaks your webserver.
170: [00:35:00] <Pyromanik> a few of which are?
171: [00:36:00] <FrozenFire> Use a VM
172: [00:36:00] <Pyromanik> wtf
173: [00:36:00] <Pyromanik> Use of undefined constant E_DEPRECATED - assumed 'E_DEPRECATED'
174: [00:36:00] <FrozenFire> Hahahahahahahaahah
175: [00:36:00] * tankr quit (Client Quit)
176: [00:37:00] <FrozenFire> HAHAHAHAHAHAHAHAHAHAHAHAHAHA
177: [00:37:00] <Pyromanik> does job
178: [00:37:00] <Pyromanik> yeah right well I know but lazy so meh
179: [00:37:00] <FrozenFire> Or "BAMP"
180: [00:37:00] <FrozenFire> Or "MAMP"
181: [00:37:00] <FrozenFire> Or "LAMP"
182: [00:37:00] <FrozenFire> Well away from Windows and any sort of packaged "WAMP"
183: [00:37:00] <FrozenFire> You run your web server in a VM
184: [00:37:00] <Pyromanik> what do plz?
185: [00:38:00] <FrozenFire> On both counts.
186: [00:38:00] <FrozenFire> Apparently not.
187: [00:38:00] <Pyromanik> what do with constant undefined?
188: [00:38:00] <FrozenFire> I can't think of a more not-lazy way of running a dev server than trying to run it in your userspace.
189: [00:38:00] <FrozenFire> So much work.
190: [00:38:00] <Pyromanik> urgh, it's 5.3 isn't it
191: [00:38:00] <Pyromanik> ?
192: [00:38:00] <FrozenFire> Pop a Ubuntu Server image into VirtualBox.
193: [00:38:00] <FrozenFire> Installs.
194: [00:38:00] <Pyromanik> FrozenFire: hence the pre-packaged ness
195: [00:38:00] <Pyromanik> clickclick done
196: [00:39:00] <FrozenFire> Like, ridiculously hard.
197: [00:39:00] <FrozenFire> GUI == hard
198: [00:39:00] <Pyromanik> also apt-get is stuipd so before you... fuck
199: [00:39:00] <FrozenFire> sudo apt-get install php5 mysql-server openssl-server apache2 php5-xcache php5-mysqlnd mysql-client
200: [00:39:00] <FrozenFire> DONE
201: [00:39:00] <FrozenFire> Or something liek that.
202: [00:40:00] * aznain has joined #silverstripe
203: [00:40:00] <FrozenFire> Makes debugging anything impossible.
204: [00:41:00] <Pyromanik> yes and no
205: [00:42:00] * LoveDuckie quit (Ping timeout: 246 seconds)
206: [00:42:00] <FrozenFire> Yes and no
207: [00:42:00] <Pyromanik> yes, actually
208: [00:42:00] <Pyromanik> that pop up in consoles
209: [00:42:00] <FrozenFire> Nope
210: [00:42:00] <Pyromanik> mostly the package gui tools are generally just shortcuts to cli commands
211: [00:42:00] <FrozenFire> Yes and yes.
212: [00:42:00] <Pyromanik> mostly yes
213: [00:43:00] <Pyromanik> yes well plesk isn't really on the same level as wampserver, is it?
214: [00:43:00] <FrozenFire> If you're using PHP < 5.3, fuck you.
215: [00:43:00] <FrozenFire> They are basically just hardcoded commands that do whatever they're supposed to do in the shittiest, most ill-configured way possible.
216: [00:43:00] <Pyromanik> and these errors I'm getting are because the constants were introduced in php 5.3
217: [00:43:00] <FrozenFire> See: MySQL Workbench, WAMP, cPanel, Plesk, and any number of other ill-conceived GUI administration tools.
218: [00:44:00] <FrozenFire> Yes. It really is.
219: [00:44:00] <Pyromanik> nope
220: [00:44:00] <aznain> [SilverStripe 2.4]: In "Results" Array , I have pushed DataObjectSet which contains multiple objects (a , b) which in turn has ID, FirstName, Surname ..... In template , I am using <% control Results %> .. how can I get a->FirstName from that
221: [00:44:00] <FrozenFire> Everything breaks.
222: [00:44:00] <FrozenFire> Plesk tries to install a bunch of shit on a server in an "easy" way.
223: [00:44:00] <FrozenFire> You install it, hit a few buttons, it does its shit.
224: [00:44:00] <Pyromanik> well that I can't argue with
225: [00:44:00] * travis-ci has joined #silverstripe
226: [00:44:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#246 (3.1 - b7b62e5 : Sam Minnee): The build passed.
227: [00:44:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/91b602c768dc...b7b62e5aeaab
228: [00:44:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5057464
229: [00:44:00] * travis-ci has left #silverstripe
230: [00:44:00] <Pyromanik> haha
231: [00:45:00] <FrozenFire> Don't try to use it as a fixed set
232: [00:45:00] <FrozenFire> A numerically-indexed array, that is.
233: [00:45:00] <Pyromanik> aznain: $Me.FirstName
234: [00:45:00] <Pyromanik> or just $FirstName
235: [00:45:00] <FrozenFire> aznain, DataObjectSet is like an array.
236: [00:46:00] <Pyromanik> oh, right, yes.
237: [00:46:00] <Pyromanik> aznain: you don't want an array of a dataobjectset
238: [00:46:00] <FrozenFire> It's not like array("a" => Member, "b" => Member);
239: [00:46:00] <FrozenFire> It's like array(Member, Member)
240: [00:46:00] * UncleCheese quit (Quit: UncleCheese)
241: [00:47:00] <Pyromanik> you just want to return the dataobjectset
242: [00:48:00] * ccburns has joined #silverstripe
243: [00:48:00] <FrozenFire> Alternatively, you've explained your question poorly.
244: [00:49:00] <Pyromanik> mmm
245: [00:49:00] <Pyromanik> a bit
246: [00:51:00] <Pyromanik> how to tell if we're running a test in 2.4?
247: [00:54:00] * Andi_de_ has joined #silverstripe
248: [00:54:00] <FrozenFire> Might work to do something like if(class_exists("DataList"))
249: [00:54:00] <FrozenFire> Like, how to detect 2.4.x versus 3.x?
250: [00:55:00] <Pyromanik> $isRunningTests = (class_exists('SapphireTest', false) && SapphireTest::is_running_test());
251: [00:55:00] <Pyromanik> s'ok, I just copy pasta'd from Upload.php
252: [00:57:00] <aznain> Pyromanik , FrozenFire: thanks
253: [01:00:00] * FrozenFire wonders why ValidationResult isn't an extension of ViewableData
254: [01:01:00] <Pyromanik> orly?
255: [01:01:00] <FrozenFire> That shit's very annoying.
256: [01:01:00] <Pyromanik> you have a point I guess
257: [01:02:00] <FrozenFire> In any number of situations
258: [01:02:00] <Pyromanik> not DO validation?
259: [01:02:00] <FrozenFire> Using ValidationResult for something else, like logging issues in a payment transaction? Can't use it in a template.
260: [01:02:00] <Pyromanik> :/
261: [01:02:00] <Pyromanik> oh you mean form validation?
262: [01:02:00] <Pyromanik> I suppose you're supposed to catch it and generate some viewable stuffs
263: [01:02:00] <FrozenFire> Failed form validation, and want to show the result on a custom page? Can't use it.
264: [01:03:00] <Pyromanik> mmm
265: [01:03:00] <Pyromanik> make a controller for it :p
266: [01:03:00] <FrozenFire> ValidationResult's supposed to be a general-purpose processing error logger.
267: [01:03:00] <FrozenFire> So you can pass that shit around and log errors into it as you go
268: [01:03:00] <Pyromanik> point*
269: [01:03:00] <Pyromanik> I see your opint
270: [01:04:00] * travis-ci has joined #silverstripe
271: [01:04:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b7b62e5aeaab...85dcceb6df90
272: [01:04:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#247 (3.1 - 85dcceb : Sam Minnee): The build passed.
273: [01:04:00] * travis-ci has joined #silverstripe
274: [01:04:00] <FrozenFire> And use a separate name for its validity
275: [01:04:00] <FrozenFire> I'll have to load the messageList from the result into an ArrayData or something
276: [01:04:00] * travis-ci has left #silverstripe
277: [01:04:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5057759
278: [01:04:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/efb4760244a3...fc3239e2d6f4
279: [01:04:00] <travis-ci> [travis-ci] silverstripe/sapphire#1516 (3.1 - fc3239e : Sam Minnee): The build passed.
280: [01:04:00] <Pyromanik> mm
281: [01:04:00] * travis-ci has left #silverstripe
282: [01:04:00] <FrozenFire> Right now I'm trying to pass one around to log errors on the renewal of a subscription of a membership
283: [01:04:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5057766
284: [01:06:00] <FrozenFire> Meaning FACK U VALIDATIONRESULT
285: [01:06:00] <FrozenFire> It's a step forward, but also a huge pain in the ass at present.
286: [01:06:00] <FrozenFire> :P
287: [01:06:00] <FrozenFire> Also, FACK U NEW DOCUMENTATION VIEWER
288: [01:07:00] <FrozenFire> http://api.silverstripe.org/master/class-FunctionalTest.html
289: [01:07:00] <Pyromanik> is FunctionalTest an SS class?
290: [01:08:00] <Pyromanik> lol, new docs viewer plunges over the edge of my viewport
291: [01:08:00] * terryapodaca has left #silverstripe
292: [01:08:00] <Pyromanik> I cannot see the bottoms of pages
293: [01:09:00] <Pyromanik> I just see white space
294: [01:09:00] <FrozenFire> Now try clicking on a method
295: [01:09:00] <Pyromanik> thank you FrozenFire
296: [01:09:00] <FrozenFire> Confusing as shit.
297: [01:09:00] <Pyromanik> ??
298: [01:09:00] <FrozenFire> The "long" description is style such that you cannot see it
299: [01:09:00] <FrozenFire> And you can't toggle it back to a short description
300: [01:09:00] <Pyromanik> no text at all :<
301: [01:09:00] <FrozenFire> And the methods aren't sorted any which way
302: [01:09:00] <Pyromanik> and yea, no retoggle
303: [01:09:00] <FrozenFire> There's text.
304: [01:09:00] <Pyromanik> FrozenFire: pull request time
305: [01:09:00] <FrozenFire> It's just... white
306: [01:09:00] <Pyromanik> LOL
307: [01:09:00] <FrozenFire> Or something
308: [01:10:00] <Pyromanik> it's all on github now
309: [01:10:00] <FrozenFire> :P
310: [01:10:00] <FrozenFire> I'm sick today, so no doc fixing for me.
311: [01:10:00] <Pyromanik> https://github.com/silverstripe/api.silverstripe.org
312: [01:10:00] <Pyromanik> haha, fair enough :P
313: [01:10:00] <Pyromanik> also, no, no white text
314: [01:10:00] <Pyromanik> select shows nothing
315: [01:10:00] <FrozenFire> I know it is. I prefer to complain at chillu instead
316: [01:10:00] <Pyromanik> just big white empty square
317: [01:11:00] <FrozenFire> Believe me, it's there
318: [01:11:00] <FrozenFire> Lolol
319: [01:11:00] <FrozenFire> visibility: hidden;
320: [01:12:00] <Pyromanik> why does my phpunit_testcase thinggy not have ->assertInstanceOf() ? L<
321: [01:12:00] <Pyromanik> FrozenFire: possible it's an issue with apigen rather than the SS.org theme
322: [01:12:00] <FrozenFire> Nah
323: [01:12:00] <FrozenFire> It's the way they have it styled.
324: [01:13:00] <FrozenFire> The short description starts out with display: block;
325: [01:13:00] <Pyromanik> would think it's JS controlled
326: [01:13:00] <irogue> lolol
327: [01:13:00] <FrozenFire> And the long description with display: none; and a "hidden" class.
328: [01:13:00] <irogue> just overheard bosses discussing one of our suppliers
329: [01:13:00] <FrozenFire> And then when you click on it, it switches short to display: none
330: [01:13:00] <FrozenFire> And long to display: block
331: [01:13:00] <FrozenFire> But doesn't remove the hidden class from the long description
332: [01:13:00] <FrozenFire> So it shows, but is not visible.
333: [01:13:00] <irogue> "he's as dodgy as you can get, half australian half chinese"
334: [01:14:00] * FrozenFire wants Member::removeFromGroupByCode
335: [01:16:00] <FrozenFire> Instead, I figure it's Member::Groups()->remove(Group::get()->filter("Code", $code)->First());
336: [01:18:00] <FrozenFire> Or DirectGroups, rather?
337: [01:18:00] <FrozenFire> Hard to tell
338: [01:18:00] <FrozenFire> Yeah... DirectGroups
339: [01:18:00] <irogue> nasty
340: [01:21:00] * travis-ci has joined #silverstripe
341: [01:21:00] <travis-ci> [travis-ci] silverstripe/sapphire#1517 (3.1.0-beta2 - 30102de : Sam Minnee): The build has errored.
342: [01:21:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/fc3239e2d6f4...30102de5315f
343: [01:21:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5058159
344: [01:21:00] * travis-ci has left #silverstripe
345: [01:23:00] <irogue> member.entry_set.remove(Group.objects.get(code=mycode))
346: [01:24:00] <ss23> irogue: My condolences.
347: [01:24:00] <irogue> a little tidier
348: [01:24:00] <irogue> (i'm learning django right now so wondered how they'd do it)
349: [01:24:00] <FrozenFire> Heh
350: [01:24:00] <FrozenFire> Wat
351: [01:25:00] <irogue> i'm actually *loving* it
352: [01:27:00] <irogue> if that makes sense
353: [01:27:00] <irogue> very similar to sapphire, but more... finished feeling
354: [01:29:00] <FrozenFire> It really does.
355: [01:29:00] <FrozenFire> Probably better release management.
356: [01:29:00] <FrozenFire> Features not released unless they're done.
357: [01:29:00] * SightUnseen has joined #silverstripe
358: [01:29:00] <FrozenFire> :P
359: [01:31:00] <irogue> yeah
360: [01:31:00] * SightUnseen has left #silverstripe
361: [01:32:00] <irogue> plus, bigger, so more eyes on code to ensure things like method naming etc are consistent
362: [01:33:00] <Pyromanik> everything is consistent access, name, etc.
363: [01:33:00] <Pyromanik> or so I'm told
364: [01:33:00] <Pyromanik> that's a python thing in general
365: [01:34:00] <irogue> yeah
366: [01:35:00] * Colin[pi] has joined #silverstripe
367: [01:35:00] <irogue> this is my favourite bit so far: https://docs.djangoproject.com/en/1.4/topics/db/models/#extra-fields-on-many-to-many-relationships
368: [01:38:00] <irogue> no controller code
369: [01:38:00] <irogue> but thus far i've only made models and set up ModelAdmins
370: [01:41:00] <irogue> new bleeding edge
371: [01:41:00] * sminnee changed the topic to 'Welcome to #silverstripe discussion - IRC logs available at http://logs.silverstripe.org || 3.1.0-beta2 (bleeding edge) released 26/02/2013: http://www.silverstripe.org/pre-releases/ || 3.0.5 released 20/02/2013: http://ss.org.nz/3.0.5 || 2.4.10 security release 18/02/2013: http://ss.org.nz/2.4.10 || Development mailing list: http://ss.org.nz/ss-dev'
372: [01:41:00] <irogue> ohh yeah
373: [01:41:00] <sminnee> Look at that.
374: [01:42:00] <Pyromanik> how many actually use composer though...
375: [01:42:00] <Pyromanik> yus, moar reverse engineering
376: [01:42:00] * howardgrigg has joined #silverstripe
377: [01:42:00] <sminnee> Although everyone using composer probably just installs 3.1.x-dev
378: [01:43:00] <Pyromanik> Fatal error: Call to undefined method ClassName::assertInstanceOf()
379: [01:43:00] <Pyromanik> which extends FunctionalTest
380: [01:43:00] * t|m has joined #silverstripe
381: [01:43:00] <Pyromanik> sminnee: why does my phpunit appear to not have assertInstanceOf() ?
382: [01:44:00] <sminnee> lol
383: [01:44:00] * t|m quit (Client Quit)
384: [01:44:00] <Pyromanik> HUUUURRRGGGGGGGNNNNNHHHHHHHH
385: [01:44:00] <Pyromanik> oh because phpunit 3.4 :<
386: [01:45:00] <Pyromanik> replacement for phpunit?
387: [01:45:00] <Pyromanik> sminnee: what is behat?
388: [01:46:00] <Pyromanik> cool
389: [01:46:00] <sminnee> It's getting there.
390: [01:46:00] <sminnee> Pyromanik: we've had 683 installs of https://packagist.org/packages/silverstripe/framework this month vs. 4,990 stable downloads and 742 WebPI sintalls.
391: [01:46:00] <Pyromanik> mmm
392: [01:46:00] <Pyromanik> so about 11%
393: [01:47:00] <Pyromanik> 742 people using windows though
394: [01:47:00] <Pyromanik> though hard to judge, as each time someone composers it fetches afresh
395: [01:47:00] <ss23> Likely people using composer are hacking on it and refresh often too, rather than the tars which might be used more for live sites, right?
396: [01:47:00] <sminnee> The downloads are still v popular.
397: [01:47:00] <Pyromanik> where as people who get tarballs tend to keep them and reuse them
398: [01:47:00] <sminnee> yeah.
399: [01:48:00] <Pyromanik> that's quite wow
400: [01:48:00] <Pyromanik> until composer install afaik
401: [01:48:00] <Pyromanik> ss23: but it doesn't re-get the package from packagist
402: [01:51:00] * ccburns quit (Quit: ccburns)
403: [01:52:00] * ccburns has joined #silverstripe
404: [01:54:00] <irogue> https://dl.dropbox.com/u/4618071/django-modeladmin.html
405: [01:55:00] <Pyromanik> wow that looks horrible
406: [01:55:00] <irogue> not much code required for some modeladmin goodness ^_^
407: [01:56:00] <irogue> need to theme
408: [01:56:00] <Pyromanik> python so unreadable.
409: [01:56:00] <irogue> yeah, lol
410: [01:57:00] <ss23> Yeah, I have to say, I don't like Pythons OOP
411: [01:57:00] <ss23> yeah, perl for lyfe
412: [01:58:00] <spronk> but idiomatic python is all
413: [01:58:00] <spronk> i know SS does this
414: [01:58:00] <spronk> more than one class per file = gaaay
415: [01:58:00] <spronk> ugh
416: [01:58:00] <irogue> there are a few oddities i'm not keen on
417: [01:58:00] <ss23> Boom.
418: [01:58:00] <ss23> WELL YOU THINK It'S UGLY CAUSE YOU'RE UGLY
419: [01:58:00] <ss23> foff
420: [01:58:00] <Pyromanik> yeah but that's because you can't OOP
421: [01:58:00] <irogue> e.g. ClassName(ParentClass) instead of ClassName extends ParentClass
422: [01:58:00] <spronk> STICK EVERYTHING IN THIS FILE
423: [01:58:00] <spronk> and i hate it
424: [01:59:00] <irogue> heh
425: [01:59:00] <irogue> i've got seperate files for each "bit"
426: [02:00:00] <irogue> i prefer keeping all my directly related classes together
427: [02:00:00] <irogue> but i have an admin.py for events, one for discussions, one for users, etc
428: [02:09:00] <pippy> Hello UncleCheese
429: [02:09:00] * UncleCheese has joined #silverstripe
430: [02:11:00] <irogue> its even called ModelAdmin :P
431: [02:11:00] <sminnee> irogue: yeah Django's admin scaffolder is quite similar in concept to ModelAdmin
432: [02:12:00] <sminnee> irogue: oh is it? :P
433: [02:12:00] <ss23> So what you're saying is... Python sucks so bad they had to steal from PHP?
434: [02:13:00] <irogue> not really looking forward to it cos the site is full of hacks
435: [02:13:00] <sminnee> "spare time" - what's that?
436: [02:13:00] <ss23> lol, writing some OWASP labs for someone
437: [02:13:00] <irogue> but it's gonna be the best way to learn SS3
438: [02:13:00] * UncleCheese quit (Ping timeout: 245 seconds)
439: [02:13:00] <sminnee> true dat
440: [02:13:00] <irogue> sminnee: yeah, i know, it's gonna take quite some time...
441: [02:13:00] <ss23> Thats what I'm getting here.
442: [02:13:00] <irogue> ss23: hahaha
443: [02:13:00] <irogue> sminnee: i'm about to start porting our site to SS3 in my "spare time"
444: [02:13:00] <sminnee> nice.
445: [02:13:00] * UncleCheese_ has joined #silverstripe
446: [02:14:00] <irogue> am finally actually using a git branch :P
447: [02:14:00] <irogue> (sole dev, pretty much always just dev on master)
448: [02:14:00] <Colin[pi]> if someone finds some spare time, can they give it to me please?
449: [02:14:00] <ss23> "please don't say you can exploit sqli to make money... we don't wanna get sued"
450: [02:14:00] <ss23> bitchin'
451: [02:15:00] <Colin[pi]> THANKS
452: [02:15:00] <ss23> I found it, Colin[pi]
453: [02:15:00] <ss23> You're using it on IRC.
454: [02:16:00] * UncleCheese has joined #silverstripe
455: [02:17:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
456: [02:18:00] <travis-ci> [travis-ci] silverstripe/sapphire#1517 (3.1.0-beta2 - 30102de : Sam Minnee): The build has errored.
457: [02:18:00] * travis-ci has joined #silverstripe
458: [02:18:00] * travis-ci has left #silverstripe
459: [02:18:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/fc3239e2d6f4...30102de5315f
460: [02:18:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5058159
461: [02:19:00] * UncleCheese_ has joined #silverstripe
462: [02:20:00] * UncleCheese quit (Ping timeout: 245 seconds)
463: [02:20:00] * ccburns quit (Quit: ccburns)
464: [02:23:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
465: [02:23:00] * UncleCheese has joined #silverstripe
466: [02:23:00] <Pyromanik> irogue: 'spare time'
467: [02:23:00] <Pyromanik> that 3pm - 6pm dev window?
468: [02:24:00] <irogue> nah
469: [02:26:00] <irogue> gotta keep doing actual "moving forward" dev during that time
470: [02:26:00] * UncleCheese_ has joined #silverstripe
471: [02:27:00] <ss23> You mean the 9-5pm window?
472: [02:27:00] <ss23> :D
473: [02:27:00] * UncleCheese quit (Ping timeout: 245 seconds)
474: [02:27:00] <Colin[pi]> I find I am most productive if I get up early with no distractions, 7:30-10am... helps I have a home office though :D
475: [02:28:00] <ss23> I can't imagine what on earth these people could have to ask about Silverstripe
476: [02:28:00] <Pyromanik> ss23: govt talks about all kinds of shit it knows nothing about
477: [02:28:00] <ss23> seems about it...
478: [02:28:00] <ss23> "WILL HACKERS GET US?"
479: [02:28:00] <xyphoid> it's when the government asks itself questions to get it on record
480: [02:28:00] <Pyromanik> xyphoid: patsy?
481: [02:28:00] <xyphoid> yeah i listen to question time when it sounds dramatic
482: [02:28:00] <Pyromanik> irogue: sounds like a balls setup
483: [02:28:00] <ss23> xyphoid: You watching live?
484: [02:28:00] <Colin[pi]> o rly?
485: [02:28:00] <xyphoid> haha patsy questions about silverstripe in parliament right now
486: [02:29:00] * UncleCheese has joined #silverstripe
487: [02:29:00] <ss23> True
488: [02:29:00] <Pyromanik> it's never stopped them before
489: [02:30:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
490: [02:33:00] <Colin[pi]> speaking of politics, our PM will move her office next week to west Sydney
491: [02:33:00] <Colin[pi]> lulz
492: [02:33:00] <Colin[pi]> in a bid to be closer to the voters that count
493: [02:33:00] * UncleCheese_ has joined #silverstripe
494: [02:34:00] * UncleCheese quit (Ping timeout: 245 seconds)
495: [02:36:00] * UncleCheese has joined #silverstripe
496: [02:37:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
497: [02:38:00] <Colin[pi]> O HAI I am having an election, let me just move my office to show how much I care about all of you Westies
498: [02:38:00] <Pyromanik> west sydney: pretty much all of Australia.
499: [02:38:00] <Colin[pi]> LOL
500: [02:38:00] <Pyromanik> ROFLWUT
501: [02:39:00] <Pyromanik> Does Westies in Sydney mean what it means in Auckland too?
502: [02:39:00] * UncleCheese_ has joined #silverstripe
503: [02:40:00] <irogue> lol
504: [02:40:00] <Colin[pi]> bogans
505: [02:40:00] <Colin[pi]> lower economic class
506: [02:40:00] * UncleCheese quit (Ping timeout: 245 seconds)
507: [02:40:00] <Colin[pi]> hehe
508: [02:40:00] <irogue> it does
509: [02:40:00] <irogue> wow
510: [02:41:00] <irogue> in New Zealand, the term is ???bogans???.
511: [02:41:00] <irogue> A ???Westie??? is someone living in West Auckland. The stereotype is a male working-class P??keh??, who is macho, lawless, and lacks taste. Westies are often identified by their mullet haircut ??? short on the sides and long at the back. Many are car-obsessed. The Westie dream-machine is a Holden V8 ute, ideal for construction work and taking surf boards to the west coast beaches. Elsewhere
512: [02:42:00] <irogue> ^ from the government's "Encyclopedia of New Zealand"
513: [02:42:00] <Guest70166> their*
514: [02:42:00] <Colin[pi]> or booners as they can be called in canberra sometimes
515: [02:42:00] <Guest70166> what is the best way to require users verify there email when signing up in SS 3.0?
516: [02:42:00] * liam_ is now known as Guest70166
517: [02:42:00] <Colin[pi]> yep, that's a bogan
518: [02:42:00] * liam_ has joined #silverstripe
519: [02:43:00] <Pyromanik> Guest70166: install member profiles
520: [02:43:00] <Pyromanik> or otherwise look at the code on github
521: [02:44:00] <Pyromanik> his module doe that
522: [02:44:00] <Pyromanik> does*
523: [02:44:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
524: [02:44:00] * UncleCheese has joined #silverstripe
525: [02:44:00] <Pyromanik> http://github.com/ajshort
526: [02:47:00] <aznain> How can I pass ID of object from template to method ?
527: [02:48:00] <aznain> I am getting data in temaplate ... I want to pass ID to page url ... at the moment am using $Link to get url
528: [02:48:00] * UncleCheese_ has joined #silverstripe
529: [02:49:00] <Pyromanik> $Link/$ID ?
530: [02:49:00] * UncleCheese quit (Ping timeout: 245 seconds)
531: [02:50:00] <Colin[pi]> you mean like a parameter into a method call within the template?
532: [02:51:00] <aznain> Colin[pi] any thing with which I can get ID in the method
533: [02:51:00] * UncleCheese has joined #silverstripe
534: [02:52:00] <aznain> In B there is method b() which is creating form and will populate data from dataobject using ID
535: [02:52:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
536: [02:52:00] <Colin[pi]> how is the ID obtained though, via the URL?
537: [02:52:00] <aznain> I am using 2.4, I am search for objects .... objects are coming but their url is generic ... url/A/B/
538: [02:53:00] <Colin[pi]> ah
539: [02:53:00] <aznain> But how to pass ID from template to that function ... $_REQUEST object contains only one parameter [url]
540: [02:53:00] <Colin[pi]> i'm confused
541: [02:54:00] <Pyromanik> FFFFFFFFFFFFFFFFFFFFFFFFFFFFF
542: [02:54:00] <Pyromanik> FUCK YOU PEAR
543: [02:54:00] <aznain> tell me a bit about url handler
544: [02:54:00] <Pyromanik> You're shit at life
545: [02:54:00] <Colin[pi]> have you set up your url handlers?
546: [02:54:00] <aznain> Colin[pi]: There is search form , I search for dataobject giving criteria
547: [02:55:00] * UncleCheese_ has joined #silverstripe
548: [02:55:00] <Colin[pi]> aznain: read here http://doc.silverstripe.com/framework/en/2.4/topics/controller
549: [02:55:00] <Colin[pi]> essentially you set up your url handlers like this:
550: [02:55:00] <Colin[pi]> 'drivethrough/$Action/$ID/$Name' => 'order'
551: [02:55:00] <Colin[pi]> that URL will be routed to order()
552: [02:55:00] * UncleCheese quit (Ping timeout: 245 seconds)
553: [02:56:00] <Colin[pi]> and you can then access the params using $request->param('Name')
554: [02:56:00] <Colin[pi]> order receives a request object like so:
555: [02:56:00] <Colin[pi]> function order(SS_HTTPRequest $request)
556: [02:56:00] <Colin[pi]> i.e. $ID = $request->param('ID');
557: [02:57:00] <aznain> what will be form in template to send id ?
558: [02:57:00] <Colin[pi]> you just need to make the URL in the template match the URL handler
559: [02:57:00] <aznain> given ur example, suppose u r in template , how you will pass ID then ?
560: [02:58:00] <Colin[pi]> actually
561: [02:58:00] <Colin[pi]> will match url handler 'action/$ID'
562: [02:58:00] <Pyromanik> lame.
563: [02:58:00] <aznain> ok let me try that
564: [02:58:00] <Pyromanik> so pear isn't portable at all
565: [02:58:00] * UncleCheese has joined #silverstripe
566: [02:58:00] <Colin[pi]> href="/controller/action/1234"
567: [02:58:00] <Colin[pi]> e.g. href="/controller/1234"
568: [02:59:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
569: [02:59:00] <Colin[pi]> just read that page, it explains all
570: [03:01:00] * UncleCheese_ has joined #silverstripe
571: [03:02:00] * UncleCheese quit (Ping timeout: 245 seconds)
572: [03:03:00] <Colin[pi]> oh jeez, these generated signatures are getting silly
573: [03:03:00] <Colin[pi]> got an email with "Correct" as the message, and the sig "Sent from my HTC One XL on the Telstra 4G network"
574: [03:03:00] <Colin[pi]> sig is longer than message hehe
575: [03:05:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
576: [03:05:00] * UncleCheese has joined #silverstripe
577: [03:05:00] * simon_w|air has joined #silverstripe
578: [03:08:00] * UncleCheese_ has joined #silverstripe
579: [03:09:00] * UncleCheese quit (Ping timeout: 245 seconds)
580: [03:11:00] * UncleCheese has joined #silverstripe
581: [03:12:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
582: [03:12:00] <simon_w|air> sminnee, is there going to be a blog post for b2?
583: [03:13:00] <aznain> Colin[pi]: Do i need to set Director rule as well ?
584: [03:14:00] <Colin[pi]> and add the method to $allowed_actions
585: [03:14:00] <Colin[pi]> you can just define $url_handlers in your class
586: [03:15:00] * UncleCheese quit (Ping timeout: 245 seconds)
587: [03:15:00] * UncleCheese_ has joined #silverstripe
588: [03:18:00] * UncleCheese has joined #silverstripe
589: [03:19:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
590: [03:21:00] * UncleCheese_ has joined #silverstripe
591: [03:22:00] * UncleCheese quit (Ping timeout: 245 seconds)
592: [03:22:00] <Pyromanik> oh pear, y u so shit
593: [03:23:00] <Pyromanik> extrme
594: [03:23:00] <Pyromanik> each instance is not flying solo
595: [03:23:00] <Colin[pi]> true
596: [03:23:00] <Pyromanik> windows command prompt is shit
597: [03:23:00] <Pyromanik> to be fair
598: [03:23:00] <Pyromanik> well
599: [03:23:00] <Colin[pi]> pear is a piece of crap
600: [03:23:00] <Pyromanik> yes
601: [03:23:00] <ss23> Pyromadiak
602: [03:23:00] <Colin[pi]> haha
603: [03:23:00] <ss23> so mad
604: [03:23:00] <ss23> lol
605: [03:23:00] <Pyromanik> SO MAD
606: [03:23:00] <Pyromanik> setting env vars from script
607: [03:23:00] <Pyromanik> so env vars persist between sessions
608: [03:24:00] * Error404NotFound quit (Max SendQ exceeded)
609: [03:24:00] <Pyromanik> not the calling env.
610: [03:24:00] * Error404NotFound has joined #silverstripe
611: [03:24:00] <Pyromanik> .bat, y u so .bat shit insane?
612: [03:24:00] <Pyromanik> not like bash scripts, where when a script is executed the env vars set inside it only exist inside it
613: [03:25:00] * UncleCheese has joined #silverstripe
614: [03:25:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
615: [03:25:00] * Error404NotFound has joined #silverstripe
616: [03:26:00] <ss23> For maximum power!
617: [03:26:00] <Pyromanik> omg finally
618: [03:26:00] <sminnee> simon_w|air: yeah we're waiting on the video from the meetup
619: [03:26:00] <ss23> Pyromanik: Powershell!
620: [03:26:00] <ss23> He flew
621: [03:26:00] <Pyromanik> wait what, when did simon_w|air get here?
622: [03:27:00] <ss23> :3
623: [03:27:00] <ss23> Get it!
624: [03:27:00] * Error404NotFound quit (Disconnected by services)
625: [03:27:00] <Pyromanik> problamez solaved
626: [03:27:00] <Pyromanik> aren't you on holiday?
627: [03:27:00] <Pyromanik> ss23: no, edit .bat to just straight up set env var instead of checking ifnset
628: [03:28:00] * UncleCheese_ has joined #silverstripe
629: [03:28:00] <Colin[pi]> he's here in canberra, there is literally nothing to do except IRC
630: [03:28:00] * Zauberfisch has joined #silverstripe
631: [03:28:00] * Zauberfisch quit (Read error: Connection reset by peer)
632: [03:28:00] * Err404NotFound has joined #silverstripe
633: [03:28:00] <Pyromanik> lol
634: [03:28:00] <spronk> lul
635: [03:29:00] <Colin[pi]> I had to pick one 22 hours
636: [03:29:00] <Pyromanik> iirc he went to see a lady
637: [03:29:00] <Pyromanik> so I guess he could be doing that.
638: [03:29:00] <Colin[pi]> yep, sly dog
639: [03:29:00] * UncleCheese quit (Ping timeout: 245 seconds)
640: [03:29:00] <Pyromanik> PUN INTENDED
641: [03:29:00] <Pyromanik> WOOOOOOOO
642: [03:29:00] <Colin[pi]> ZING
643: [03:29:00] <Colin[pi]> at least his is a three hour flight away
644: [03:29:00] <Colin[pi]> sorry three hour flight + travel to canberra from sydney :P
645: [03:30:00] <ss23> What kind of lady?
646: [03:30:00] <ss23> I thought the only lady simon_w|air had eyes for was the Virgin Mary!
647: [03:30:00] <ss23> Woah, a lady?
648: [03:31:00] <Colin[pi]> Mrs Palmer and her five daughters?
649: [03:31:00] <ss23> lol
650: [03:31:00] <ss23> simon_w|air!? Never.
651: [03:31:00] <Colin[pi]> God got biz-ay
652: [03:31:00] <Pyromanik> The virgin Mary wasn't a virgin her whole life.
653: [03:31:00] <ss23> Damn right she wasn't. "I swear Joseph... uh uh, it was God!"
654: [03:31:00] * UncleCheese has joined #silverstripe
655: [03:32:00] <ss23> Joseph hired "Wise men" to come to catch her out and shie
656: [03:32:00] <ss23> shit*
657: [03:32:00] <ss23> Bet neither of them believed it, but it just turned into a game
658: [03:32:00] <ss23> She refused to give up and kept up the charade
659: [03:32:00] <Colin[pi]> IT WAS THE MIDICLORIANS
660: [03:32:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
661: [03:33:00] <Pyromanik> ...
662: [03:33:00] <Pyromanik> Were Mary and Joseph already married?
663: [03:33:00] <ss23> I bet her gave her horse a trojan (I'm sure there's a bestiality joke somewhere there...)
664: [03:33:00] <ss23> Pyromanik: Thats what makes it worse to cheat!
665: [03:33:00] <Pyromanik> ss23: yeah but...
666: [03:33:00] <Pyromanik> custom in thems days was to get knocked up on wedding night right?
667: [03:34:00] <ss23> Probably very submissive, willing to believe anything, cries after masturbating etc
668: [03:34:00] <Pyromanik> see where I'm going with this?
669: [03:34:00] <ss23> If a guy is willing to accept that she was impregnated by God, rather than just admit she was cheating, chances are he wasn't all that awesome in the bed, yeah?
670: [03:34:00] <ss23> You know the kind of guy!
671: [03:35:00] * UncleCheese_ has joined #silverstripe
672: [03:35:00] * UncleCheese quit (Ping timeout: 245 seconds)
673: [03:35:00] <Pyromanik> you?
674: [03:35:00] <ss23> AW SNAP
675: [03:35:00] <ss23> I can't help it, when I think if your face, Pyromanik, I cry, because it's so beautiful <3
676: [03:36:00] <Pyromanik> sounds like a botanical garden, only inside
677: [03:36:00] <Colin[pi]> the tree place? oh the arboretum?
678: [03:36:00] <simon_w|air> yeah
679: [03:36:00] <Colin[pi]> thoughts? is it stupid?
680: [03:36:00] <simon_w|air> Colin[pi], we went to the tree place
681: [03:37:00] <simon_w|air> Also I'm not Simon now, I'm a laptop stealer
682: [03:37:00] <simon_w|air> It's not inside, except for the visitor centre
683: [03:37:00] <simon_w|air> It was like being in a warm cloud :p
684: [03:38:00] <Colin[pi]> you're in Australia now, we're all convicts
685: [03:38:00] <simon_w|air> Ha
686: [03:38:00] <simon_w|air> That's me, yeah
687: [03:38:00] <ss23> Is it this girl?
688: [03:38:00] <ss23> help is someone stealing simon_w|air's computer and is someone else
689: [03:38:00] <simon_w|air> We noticed.
690: [03:38:00] * UncleCheese has joined #silverstripe
691: [03:38:00] <Colin[pi]> yeah it's really humid here atm
692: [03:38:00] <simon_w|air> Apparently NZ wasn't a convict colony
693: [03:38:00] <simon_w|air> I tried to take him for a picnic there and it put on this lovely gross muggy weather
694: [03:38:00] <Colin[pi]> or was NZ too?
695: [03:39:00] <simon_w|air> Teeerrriible.
696: [03:39:00] <Colin[pi]> wat
697: [03:39:00] <simon_w|air> Yes :p
698: [03:39:00] <ss23> So, simon_w|air ;)
699: [03:39:00] <ss23> You like NZ men huh...?
700: [03:39:00] <ss23> :D
701: [03:39:00] <simon_w|air> He loves them.
702: [03:39:00] <simon_w|air> Almost as much as the sheep.
703: [03:39:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
704: [03:39:00] <ss23> hahaha
705: [03:39:00] <ss23> simon_w|air: You know, recent studies have shown that New Zealanders don't actually have consenual sex with sheep
706: [03:39:00] <ss23> THEY JUST RAM IT IN.
707: [03:39:00] <Colin[pi]> BOOM
708: [03:39:00] <simon_w|air> That's terrible.
709: [03:39:00] <ss23> hahaha
710: [03:39:00] <ss23> I especially like how "ram" is nearing a pun in this context
711: [03:40:00] <simon_w|air> Careful, you'll seduce him doing that.
712: [03:40:00] <simon_w|air> Uh
713: [03:40:00] <ss23> simon_w|air: baaaa
714: [03:40:00] <ss23> XD
715: [03:40:00] <ss23> Can he read the screen?
716: [03:40:00] <simon_w|air> Yeah :p
717: [03:40:00] <ss23> Better be careful what I say, then
718: [03:40:00] <simon_w|air> He isn't even trying to wrestle the laptop back or anything :p
719: [03:40:00] <irogue> sminnee: i hereby point out what seems to be a problem with b2 that wasn't in b1
720: [03:40:00] <simon_w|air> Just sitting there and laughing.
721: [03:40:00] <sminnee> irogue: great.
722: [03:40:00] <Pyromanik> simon_w|air He loves them. BAHAHAHAHAHAHAHA
723: [03:41:00] * UncleCheese_ has joined #silverstripe
724: [03:41:00] <sminnee> irogue: what's that?
725: [03:41:00] <Pyromanik> this guy... I like this guy.
726: [03:41:00] <irogue> the instructions at http://doc.silverstripe.org/framework/en/installation/nginx do "try_files $uri @silverstripe"
727: [03:41:00] <irogue> so if the file exists it loads it direct, otherwise pushes it through framework/main
728: [03:42:00] <irogue> which of course downloads as the file exists
729: [03:42:00] <irogue> something is doing a redirect to /install.php if not installed
730: [03:43:00] * UncleCheese quit (Ping timeout: 245 seconds)
731: [03:44:00] <irogue> i'm not actually *100%* sure it was introduced in b2 though, because i can't remember if i implemented the wiki's nginx instructions before or after install.php-ing b1
732: [03:45:00] * UncleCheese has joined #silverstripe
733: [03:45:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
734: [03:46:00] <ajshort> do you want to to start with 2.4, get that merged in, and then cherry-pick upwards until we get to master?
735: [03:46:00] <ajshort> sminnee: with the travis/composer build changes
736: [03:47:00] <simon_w|air> Pyromanik, Colin[pi], ss23, you made the lady bored when you stopped making fun of me. She is disappoint.
737: [03:48:00] <ss23> lol simon_w|air, I figured we would, but my insults were nearing the terroiroty of scarying off any nice lady
738: [03:48:00] <ss23> simon_w|air: And I'm sure given she knows you, she's far too nice for us to scare her off :P
739: [03:48:00] <Colin[pi]> :C
740: [03:48:00] <Colin[pi]> tried and failed
741: [03:48:00] * UncleCheese_ has joined #silverstripe
742: [03:48:00] * howardgrigg quit (Remote host closed the connection)
743: [03:49:00] * UncleCheese quit (Ping timeout: 245 seconds)
744: [03:49:00] * howardgrigg has joined #silverstripe
745: [03:49:00] <simon_w|air> ss23, she laughed.
746: [03:50:00] <ss23> xD
747: [03:52:00] * UncleCheese has joined #silverstripe
748: [03:53:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
749: [03:55:00] <sminnee> ajshort: not too fussed about starting with 2.4 or 3.0. However, with 3.0 / 3.1 / master, the way we approach that is just to run "git checkout 3.1 && git merge 3.0 && git checkout master && git mere 3.1". that way we're pulling *all* fixes forward.
750: [03:55:00] <ss23> HARD STUFF
751: [03:55:00] <ss23> Some of us have to work really hard, we have to switch windows on irssi often enough that no one can read it and know that it's not work
752: [03:55:00] <ss23> ^^^
753: [03:55:00] * UncleCheese_ has joined #silverstripe
754: [03:55:00] <Pyromanik> simon_w|air: some of us are still at work!
755: [03:56:00] <sminnee> irogue: yeah, this is a bit of an edge-case that involves server configs that we don't really run with. are you able to diagnose and report back?
756: [03:56:00] <ajshort> sminnee: i'll need to make intermediate changes to each branch though, so it might be a bit more complicated
757: [03:56:00] <ajshort> sminnee: ok cool
758: [03:56:00] * UncleCheese quit (Ping timeout: 245 seconds)
759: [03:58:00] * Pyromanik quit (Quit: Pyromanik)
760: [03:58:00] <Pyromanik> woop
761: [03:58:00] <sminnee> irogue: from the sounds of things this configuration would also have issues if you visited /framework/main.php. That is, it's not set up to serve regular PHP files? It seems a bit brittle to do that.
762: [03:58:00] <Pyromanik> Home time!
763: [03:59:00] <ss23> :D
764: [03:59:00] <irogue> ss23: is only on local dev box ;)
765: [03:59:00] <irogue> let me play with it and see if i can figure out a way around that
766: [03:59:00] * ss23 hckas irogue via this bug
767: [03:59:00] * UncleCheese_ quit (Ping timeout: 245 seconds)
768: [03:59:00] <irogue> sminnee: yeah, that's right. any direct access to php files will break
769: [04:00:00] * ss23 is glad he pre-hacked your dev box then
770: [04:00:00] <ss23> :D
771: [04:01:00] <spronk> oh wow
772: [04:01:00] <sminnee> irogue: The redirection to install.php happens if your database config isn't set. I'd recommend building some way of running PHP files directly into the Nginx. Or at least whitelisting install.php.
773: [04:02:00] <spronk> employer*
774: [04:02:00] <irogue> that config already has protection against directly accessing php files in the core folders, so i see no reason not to direct any other .php files toward PHP
775: [04:02:00] <irogue> yeah
776: [04:02:00] <spronk> old employee has signed up for another showcase account, and submitted sites again
777: [04:06:00] * UncleCheese has joined #silverstripe
778: [04:07:00] <irogue> oh hai, a beetle from china
779: [04:07:00] * DigNZ quit (Quit: DigNZ)
780: [04:09:00] * mirrors has joined #silverstripe
781: [04:10:00] <mirrors> Hey guys....its seems as tho a bot is spamming a site of mine and i keep getting emails like the following Warning: popCurrent called on ModelAsController controller, but it wasn't at the top of the stack
782: [04:11:00] <mirrors> Warning at sapphire/core/control/Controller.php line 454 (http://mysite.com.au/find-a-club/themes/circulus/images/ico/%3f.jsp)
783: [04:12:00] <mirrors> how can I make it just return a 404 or something
784: [04:19:00] * cloph_away1 quit (Ping timeout: 256 seconds)
785: [04:20:00] <aznain> When in function i type /echo "<PRE>"; print_r($request->param('ID')); echo "</PRE>"; exit; then it is showing the value of ID ... but when i write $id = $request->param('ID'); then Notice] Undefined variable: request is thrown
786: [04:23:00] * howardgrigg quit (Remote host closed the connection)
787: [04:23:00] * cloph_away has joined #silverstripe
788: [04:25:00] * UncleCheese quit (Quit: UncleCheese)
789: [04:27:00] <aznain> anybody ?
790: [04:28:00] <ss23> I've been like singing and stuff
791: [04:28:00] <ss23> there's a guy in the labs
792: [04:28:00] <ss23> I don't know when the fuck he came in
793: [04:31:00] <FrozenFire> Hahaha
794: [04:40:00] * ccburns has joined #silverstripe
795: [04:44:00] <mirrors> can anyone help me?
796: [04:46:00] <FrozenFire> Probably not
797: [04:47:00] * simon_w|air changed the topic to 'Welcome to #silverstripe discussion - IRC logs available at http://logs.silverstripe.org || 3.1.0-beta2 (bleeding edge) released 26/02/2013: http://ss.org.nz/3.1.0b2 || 3.0.5 released 20/02/2013: http://ss.org.nz/3.0.5 || 2.4.10 security release 18/02/2013: http://ss.org.nz/2.4.10 || Development mailing list: http://ss.org.nz/ss-dev'
798: [04:48:00] <ss23> HE LEFT
799: [04:48:00] <ss23> mirrors: If no one answers soon, ask again in an hour. Unfortunatly, most of the devs who work in NZ have gone home now, so if you can't get an anaswer tonight, asking tomorrow (say in ~14-18 hours from now) could help
800: [04:48:00] <ss23> Oh simon_w|air is here, maybe he'll stop being on holiday for long enough to help
801: [04:48:00] * ss23 looks at simon_w|air :)
802: [04:48:00] <simon_w|air> Nope. No thinking :p
803: [04:48:00] <ss23> Awww
804: [04:48:00] * simon_w|air quit (Quit: Leaving)
805: [04:56:00] * Colin[pi] quit (Ping timeout: 276 seconds)
806: [04:59:00] * ccburns has left #silverstripe
807: [05:10:00] <mirrors> damn
808: [05:10:00] <mirrors> this error is killing me
809: [05:40:00] * Guest70166 has left #silverstripe
810: [05:51:00] * MichaelDesignerX has joined #silverstripe
811: [05:53:00] * DesignerX quit (Ping timeout: 272 seconds)
812: [06:10:00] * MichaelDesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
813: [06:10:00] * markeaston quit (Quit: markeaston)
814: [06:24:00] * Liquide quit ()
815: [06:25:00] <mirrors> how can I make it just return a 404 or something
816: [06:25:00] <mirrors> Hey guys....its seems as tho a bot is spamming a site of mine and i keep getting emails like the following Warning: popCurrent called on ModelAsController controller, but it wasn't at the top of the stack
817: [06:25:00] <mirrors> Warning at sapphire/core/control/Controller.php line 454 (http://mysite.com.au/find-a-club/themes/circulus/images/ico/%3f.jsp)
818: [06:32:00] * SightUnseen has left #silverstripe
819: [06:32:00] * SightUnseen has joined #silverstripe
820: [06:42:00] * Shrike_Finland has joined #silverstripe
821: [06:55:00] * aznain quit (Ping timeout: 245 seconds)
822: [07:01:00] * mirrors quit (Quit: Page closed)
823: [07:01:00] * C10ne has joined #silverstripe
824: [07:02:00] * LoveDuckie has joined #silverstripe
825: [07:05:00] <C10ne> hi, I need a quick help.
826: [07:05:00] <C10ne> I'm trying to test for homepage link in template using <% if $Link = $BaseHref %>
827: [07:06:00] <C10ne> Is there a variable or method to get the relative BaseHref?
828: [07:06:00] <C10ne> but $Link returns relative link, and $BaseHref absolute
829: [07:10:00] * Error404NotFound has joined #silverstripe
830: [07:11:00] * Err404NotFound quit (Ping timeout: 252 seconds)
831: [07:12:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
832: [07:33:00] * priithansen has joined #silverstripe
833: [07:37:00] * MattSS_ has joined #silverstripe
834: [07:37:00] * MattSS quit (Read error: Operation timed out)
835: [07:38:00] * Error404NotFound quit (Ping timeout: 245 seconds)
836: [07:51:00] * Error404NotFound has joined #silverstripe
837: [08:04:00] * g4b0 has joined #silverstripe
838: [08:04:00] * zfmf has joined #silverstripe
839: [08:05:00] * chillu has joined #silverstripe
840: [08:12:00] * guci0 has joined #silverstripe
841: [08:13:00] <guci0> Hi there!
842: [08:19:00] <g4b0> how can I have the beta2?
843: [08:19:00] <g4b0> hi all
844: [08:19:00] <g4b0> trying to install SS 3.1.0-beta2 through composer
845: [08:19:00] <g4b0> composer create-project silverstripe/installer ~/Sites/newproject 3.1.0-beta2
846: [08:19:00] <g4b0> it install 3.0.5
847: [08:20:00] <ocm> howdy!
848: [08:20:00] * ocm has joined #silverstripe
849: [08:23:00] * r3v3rb has joined #silverstripe
850: [08:24:00] <g4b0> ok, I solved by myself
851: [08:24:00] <g4b0> composer create-project silverstripe/installer SilverStripe-cms-v3.1.0-beta2/ 3.1.0-beta2
852: [08:28:00] * r3v3rb quit (Ping timeout: 252 seconds)
853: [08:36:00] <ocm> a widget that should loop through members, however it doesnt return anything at all in a widget :(
854: [08:36:00] <ocm> anyone able to help me out with this? http://www.silverstripe.org/widgets-2/show/22718
855: [08:56:00] * kinglozzer has joined #silverstripe
856: [08:57:00] <ocm> yers
857: [08:57:00] <ocm> the funny thing is
858: [08:57:00] <g4b0> ocm: are you shure that the ss you posted is the one that is processed?
859: [08:57:00] <g4b0> it seems ok
860: [08:57:00] <g4b0> try putting some text
861: [08:57:00] <ocm> when I put the function in page.php for example
862: [08:57:00] <g4b0> and then flush=1
863: [08:57:00] <ocm> and the loop in page.ss
864: [08:57:00] <ocm> it works perfecly normal
865: [08:57:00] <ocm> some text how?
866: [08:58:00] <ocm> and that is displaying
867: [08:58:00] <ocm> I can even put a title in it, from the widget tab
868: [08:58:00] <ocm> that works perfectly fine
869: [08:58:00] <g4b0> shuld apper
870: [08:58:00] <g4b0> AAAA
871: [08:58:00] <g4b0> <div class="widget-content">AAAA
872: [08:58:00] <ocm> just not the members
873: [08:59:00] <g4b0> have you tried to put the function into the controller?
874: [08:59:00] <ocm> these work perfectly
875: [08:59:00] <ocm> new TextField("SubTitle", "Subtitel bij widget")
876: [08:59:00] <ocm> 09
877: [08:59:00] <ocm> new TextField("WidgetTitle", "Titel boven de tekst"),
878: [08:59:00] <ocm> hm, I have not
879: [09:00:00] <ocm> stays empty
880: [09:00:00] <ocm> I tried a var_dump aswell
881: [09:00:00] <g4b0> you will find the problem
882: [09:00:00] <g4b0> into the function
883: [09:00:00] <g4b0> and finally var_dump($members); exit;
884: [09:00:00] <g4b0> or try to return a simple string
885: [09:01:00] <ocm> thanks g4b0
886: [09:01:00] <ocm> but now that I put it in the controller
887: [09:01:00] <ocm> it works
888: [09:02:00] <g4b0> but I'm not so sure...
889: [09:02:00] <g4b0> no problem :)
890: [09:02:00] <g4b0> I think that's a widget bug
891: [09:02:00] <ocm> me neither, though I guess it might be
892: [09:02:00] <ocm> last week I had a chat about this issue here aswell
893: [09:03:00] <ocm> aye
894: [09:03:00] <ocm> though nobody suggested the 'put it in the controller' trick
895: [09:03:00] <ocm> haha
896: [09:03:00] <g4b0> for sure, widgets lakes documentation...
897: [09:03:00] <g4b0> ;)
898: [09:10:00] <g4b0> sorry
899: [09:10:00] <ocm> I am not sure, should I report it as an issue on github?
900: [09:10:00] <g4b0> not on git hub
901: [09:10:00] <g4b0> yes
902: [09:11:00] <g4b0> off course you can do it
903: [09:11:00] <g4b0> now widget is an external module
904: [09:11:00] <ocm> yes, haha
905: [09:11:00] <ocm> I could also report it on the forums, but the incubationtime before someone reads it will be much longer as on github
906: [09:13:00] <g4b0> I think so..
907: [09:20:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
908: [09:27:00] * ayush has joined #silverstripe
909: [09:30:00] * Colin[pi] has joined #silverstripe
910: [09:35:00] * ayush quit (Read error: Connection reset by peer)
911: [09:35:00] * akapi has joined #silverstripe
912: [09:35:00] <akapi> hello everybody )
913: [09:36:00] <ocm> hi
914: [09:37:00] * lx-berlin has joined #silverstripe
915: [09:38:00] <akapi> need some help on ss3: there is no $Menu data on login page.. cant figure out how to make it work
916: [09:41:00] <kinglozzer> Security_login.ss
917: [09:41:00] <kinglozzer> Works perfectly on my end :)
918: [09:41:00] <kinglozzer> <% loop Menu(1) %>
919: [09:41:00] <kinglozzer> ? Works for me
920: [09:42:00] * Motoservo quit (Quit: Motoservo)
921: [09:43:00] <akapi> not on mine. works on other pages..
922: [09:43:00] <kinglozzer> Though I don't really know how, as Security is an extension of Controller, not ContentController where Menu() is present
923: [09:45:00] <kinglozzer> For mine: templates/Security_login.ss has <% include Header %>, templates/Includes/Header.ss has <% loop Menu(1) %>
924: [09:47:00] <kinglozzer> Ah, the login() method in class Security loads the Page_Controller. So it should work out of the box.
925: [09:48:00] <kinglozzer> ?flush=1 ?
926: [09:48:00] <akapi> same idea here.. but: page.ss includes head.ss - everything works. copy/rename page.ss to security.ss or security_login.ss and menu dissapears )
927: [09:49:00] <akapi> didthat too, even that cache disabled for dev purposes
928: [09:49:00] <akapi> yup )
929: [09:49:00] <kinglozzer> You're copying /templates/Page.ss to /templates/Security_login.ss? Not templates/Layout/Page.ss or something else
930: [09:53:00] <guci0> "Composer successfully installed", oh yes! :)
931: [09:53:00] <akapi> i have several templates for diff. types of the pages in /templates/, then their "insides" in /layout/, with same_name.ss.. everything works. differnt pages show different layouts.. so, now im trying to implement custom look for login.. and everything works, except $Menu.
932: [09:57:00] <kinglozzer> akapi: Yes, I'm just making sure that you're not creating your Security_login.ss inside /Layout
933: [10:01:00] <C10ne> anybody know answer to my earlier question, is there a way (variable or method) to get relative part of $BaseHref, so i can compare it with $Link?
934: [10:01:00] <guci0> "composer: command not found" ah...
935: [10:02:00] <ajshort> guci0: composer.phar probably
936: [10:03:00] <akapi> actually, i'm ) becouse.. because if i dnt, then it's going to use layout/Page.ss, which i'm changing too. even if i use only file template/security.ss - $menu is not populated with data.
937: [10:03:00] * popeshoe quit (Quit: This computer has gone to sleep)
938: [10:05:00] <guci0> globally I think
939: [10:05:00] <ajshort> guci0: otherwise it installs itself in a composer.phar file
940: [10:05:00] <ajshort> guci0: if you install composer globally you can use the `composer` command
941: [10:05:00] <guci0> ajshort: what u mean?
942: [10:05:00] <ajshort> so you want to use ./composer.phar command
943: [10:06:00] <guci0> "curl -s https://getcomposer.org/installer | php"
944: [10:07:00] <ajshort> in the docs it says how to install it globally - basically move composer.phar into /usr/local/bin
945: [10:07:00] <guci0> ;]
946: [10:07:00] <ajshort> that's not globally
947: [10:08:00] <guci0> Sec.
948: [10:09:00] <guci0> done
949: [10:10:00] <kinglozzer> C10ne: Director::makeRelative($url);
950: [10:10:00] <guci0> same
951: [10:11:00] <guci0> works, I don't raname file ...
952: [10:12:00] <guci0> ajshort: Thanks!
953: [10:12:00] <guci0> Coffeee :)
954: [10:18:00] * howardgrigg has joined #silverstripe
955: [10:20:00] <guci0> I need git instal, now :)
956: [10:22:00] * g4b0 quit (Ping timeout: 245 seconds)
957: [10:28:00] <C10ne> kinglozzer, can it be used in template file like that?
958: [10:29:00] <kinglozzer> C10ne: Hmm not sure, don't think so, but you could try <% if makeRelative($url) = $Link %>
959: [10:31:00] <C10ne> tried something like that, but didn't work
960: [10:32:00] * howardgrigg quit (Remote host closed the connection)
961: [10:32:00] <C10ne> Generally, I'll make a method, my designer likes to give me such tasks, so I'll have to use it often.
962: [10:33:00] * howardgrigg has joined #silverstripe
963: [10:35:00] * webguest has joined #silverstripe
964: [10:36:00] * g4b0 has joined #silverstripe
965: [10:37:00] * howardgrigg quit (Remote host closed the connection)
966: [10:39:00] * samthejarvis has joined #silverstripe
967: [10:51:00] * ARNHOE has joined #silverstripe
968: [10:55:00] <kinglozzer> chillu, willr: Is 'data' a protected URL segment or something? If I visit /my-page/data I get "Action 'data' isn't allowed on class ParkLodgePage_Controller", but if I visit /my-page/datb, or any other invalid URL, I get a correct 404 page.
969: [11:04:00] <Colin[pi]> the controller blocks access to any action called 'data' it because it's an internal method
970: [11:04:00] <Colin[pi]> kinglozzer - it'd be because of the function data() in ContentController
971: [11:07:00] <kinglozzer> I see. Not major, just that Bing/Google are trying to parse a link with /data/ as an action, must be something that was hotlinked to the old site
972: [11:08:00] <ARNHOE> chillu: Any news on getlocalization.com working
973: [11:08:00] <ARNHOE> agian? so there is a possiblity that you could merge it into 3.0?
974: [11:19:00] <guci0> Hmm... how to join composer.json files?
975: [11:19:00] <guci0> For example. I neeed to set qooglesitemap module
976: [11:20:00] <guci0> I have json parser error, hmmm...
977: [11:20:00] * C10ne quit (Ping timeout: 245 seconds)
978: [11:20:00] <webguest> can i add a DOM on a DataObject in ModelAdmin
979: [11:21:00] * chillu quit (Quit: chillu)
980: [11:21:00] <samthejarvis> webguest: what version of SS are you using
981: [11:21:00] * chillu has joined #silverstripe
982: [11:21:00] <samthejarvis> you certainly can, webguest
983: [11:22:00] <ajshort> you don't "join" them
984: [11:22:00] <ajshort> guci0: read up about how composer works. you just specify the sitemaps module as a requirement/dependency
985: [11:23:00] <webguest> 2,4,9
986: [11:24:00] <guci0> ajshort: reading, trying I'am a little closer, now...
987: [11:24:00] <webguest> i thoughed i had to create something like this
988: [11:24:00] <webguest> http://paste2.org/p/2989843
989: [11:24:00] <webguest> samthejarvis
990: [11:24:00] * DesignerX has joined #silverstripe
991: [11:25:00] <webguest> samthejarvis, should i create a PaymentLinks_ControllerDecorator ?
992: [11:26:00] <webguest> or can i update the fields inside my DataObject?
993: [11:26:00] <guci0> Hmm...
994: [11:31:00] * r3v3rb has joined #silverstripe
995: [11:32:00] * r3v3rb quit (Client Quit)
996: [11:36:00] <DesignerX> hi, how many nested tabs can I have on a page in the backend ?
997: [11:38:00] * Error404NotFound quit (Disconnected by services)
998: [11:38:00] <ajshort> ONE BILLION
999: [11:38:00] <Colin[pi]> try it and see :D
1000: [11:38:00] * Err404NotFound has joined #silverstripe
1001: [11:39:00] <DesignerX> $fields->addFieldToTab("Root.Layout.Footer.Footer_col1", new WidgetAreaEditor("Footer_col1"));
1002: [11:39:00] <DesignerX> at 4 its giving me error , i remember testing it 6+ levels deep & worked fine !
1003: [11:39:00] <Colin[pi]> tabception!
1004: [11:40:00] <DesignerX> oh
1005: [11:40:00] <ajshort> so if the footer tab doesn't already exist in your example, I think it will break
1006: [11:40:00] <ajshort> DesignerX: you need to build up the tab hierarchy piece by piece
1007: [11:41:00] <guci0> ajshort: may u have a little "chunk" composer.json with some module, I need one example. I think, repositories / type is the right way.
1008: [11:42:00] <DesignerX> ajmitch: could be that the Tab name is the same as a relation name I have ? I have has_one { footer => widgetarea } & I have footer tab .. once i comment out the footer tab it works !
1009: [11:43:00] <guci0> I think I should like json :)
1010: [11:47:00] * ajshort quit (Remote host closed the connection)
1011: [11:50:00] <webguest> how can i checkbox some DO's in the CMS on a has_one relation?
1012: [11:50:00] <webguest> what kinda tool / field do i need to load
1013: [11:51:00] <webguest> DO payment, has_one DO holiday
1014: [11:51:00] <webguest> so on DO payment, i want to check which holiday it belongs to
1015: [11:52:00] * howardgrigg has joined #silverstripe
1016: [11:52:00] * popeshoe has joined #silverstripe
1017: [12:03:00] * UncleCheese has joined #silverstripe
1018: [12:07:00] * howardgrigg quit (Remote host closed the connection)
1019: [12:11:00] * samthejarvis quit (Ping timeout: 245 seconds)
1020: [12:13:00] * akapi quit (Ping timeout: 260 seconds)
1021: [12:15:00] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
1022: [12:15:00] * Error404NotFound has joined #silverstripe
1023: [12:22:00] * travis-ci has left #silverstripe
1024: [12:22:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5068855
1025: [12:22:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/84231498196d...d888ea5e6784
1026: [12:22:00] <travis-ci> [travis-ci] silverstripe/sapphire#1519 (3.0 - d888ea5 : Ingo Schommer): The build passed.
1027: [12:22:00] * travis-ci has joined #silverstripe
1028: [12:24:00] * howardgrigg has joined #silverstripe
1029: [12:26:00] <chillu> ARNHOE: The translations-sync build should be running again, was a bogus issue with outdated composer dependencies. I've also merged back the translations to 3.0
1030: [12:27:00] <ARNHOE> Jup, I saw chillu. Thanks! Hopefully soon you will merge it into 3.1 aswell. But glad it is in 3.0 now!
1031: [12:30:00] * Colin[pi] quit (Ping timeout: 256 seconds)
1032: [12:31:00] <chillu> ARNHOE: Done :)
1033: [12:32:00] <ARNHOE> chillu: haha thanks for the service :D
1034: [12:32:00] <chillu> OK, now I really need to get back to client work heh - this took nearly an hour to resolve
1035: [12:33:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5069023
1036: [12:33:00] * travis-ci has joined #silverstripe
1037: [12:33:00] * travis-ci has left #silverstripe
1038: [12:33:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/1ef155fc188a...306b0d77e49f
1039: [12:33:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#248 (3.0 - 306b0d7 : Ingo Schommer): The build passed.
1040: [12:35:00] * howardgrigg quit (Quit: Colloquy for iPad - http://colloquy.mobi)
1041: [12:38:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5069092
1042: [12:38:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/fc3239e2d6f4...bea1b9002d38
1043: [12:38:00] <travis-ci> [travis-ci] silverstripe/sapphire#1520 (3.1 - bea1b90 : Ingo Schommer): The build passed.
1044: [12:38:00] * travis-ci has left #silverstripe
1045: [12:38:00] * travis-ci has joined #silverstripe
1046: [12:39:00] * travis-ci has left #silverstripe
1047: [12:39:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5069099
1048: [12:39:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/85dcceb6df90...1e3473db0dfd
1049: [12:39:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#249 (3.1 - 1e3473d : Ingo Schommer): The build passed.
1050: [12:39:00] * travis-ci has joined #silverstripe
1051: [12:41:00] * lx-berlin quit (Quit: lx-berlin)
1052: [12:43:00] * webguest quit (Quit: Page closed)
1053: [12:55:00] * ajshort has joined #silverstripe
1054: [12:56:00] * bummzack has joined #silverstripe
1055: [12:57:00] <bummzack> ???should probably be removed?
1056: [12:57:00] <bummzack> Not sure if this is something that should be reported over at Zend or at the SilverStripe Bugtracker?
1057: [12:57:00] <bummzack> This will show up in a Country Dropdown list
1058: [12:57:00] * travis-ci has left #silverstripe
1059: [12:57:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5069555
1060: [12:57:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/56ad1d027ed9...a8a10f8a1a55
1061: [12:57:00] <travis-ci> [travis-ci] silverstripe/sapphire#1521 (2.4 - a8a10f8 : Ingo Schommer): The build passed.
1062: [12:57:00] * travis-ci has joined #silverstripe
1063: [12:57:00] <bummzack> Hi all. I just noticed that the Zend territory list contains an entry labelled "East Germany"
1064: [12:58:00] * lx-berlin has joined #silverstripe
1065: [12:59:00] <ajshort> That's the first of the incoming pull requests for travis/composer integration
1066: [12:59:00] <ajshort> chillu, sminnee: https://github.com/silverstripe/sapphire/pull/1236
1067: [13:00:00] <ajshort> I think it should be the same for those, just need to modify the .travis.yml file with the correct versions
1068: [13:00:00] <ajshort> The tests failing isn't due to that pull request - they were failing before. However if you look at the build up until then it seems function properly
1069: [13:00:00] <ajshort> If you're happy with that setup, I'll go ahead and make requests for the 3.x series
1070: [13:04:00] * UndefinedOffset has joined #silverstripe
1071: [13:07:00] <bummzack> ok.. I guess I'm going to open a ticket then?
1072: [13:17:00] <g4b0> How can I execute mi task in SS 3.1.0-beta2 with QuarterHourlyTask & company deprecated?
1073: [13:17:00] * Zauberfisch quit (Read error: Connection reset by peer)
1074: [13:17:00] * Zauberfisch has joined #silverstripe
1075: [13:22:00] <ajshort> g4b0: /dev/tasks/MyTaskName
1076: [13:23:00] * bummzack quit (Quit: bummzack)
1077: [13:25:00] <g4b0> ajshort ???
1078: [13:25:00] <ajshort> g4b0: what's confusing about that?
1079: [13:25:00] <ajshort> instead of /dev/tasks/QuarterHourlyTask
1080: [13:26:00] <ajshort> you just run /dev/tasks/MyTaskClassName directly
1081: [13:26:00] <g4b0> php cli-script.php TaskName
1082: [13:26:00] <g4b0> it seems to work...
1083: [13:27:00] <g4b0> ok, thanks :)
1084: [13:27:00] <ajshort> g4b0: that functionality will be removed
1085: [13:27:00] <ajshort> use php cli-script.php /dev/tasks/MyTaskClassName
1086: [13:28:00] <g4b0> where do I can see a list of all deprecation in 3.1 ?
1087: [13:29:00] <ajshort> it's removed in 3.2 I think though
1088: [13:29:00] <ajshort> http://doc.silverstripe.org/framework/en/changelogs/
1089: [13:30:00] <g4b0> ok, it's better to know it before goin in production :D
1090: [13:30:00] <DesignerX> hi, anyone using the widget plugin? The widgets are showing on the front end in the opposite order to the cms
1091: [13:32:00] * lightmind has joined #silverstripe
1092: [13:34:00] <g4b0> ajshort: there's no deprecation fot CliController, right?
1093: [13:35:00] <ajshort> no. it's largely useless though
1094: [13:38:00] <g4b0> so now my tasks will inehrit by BuildTask
1095: [13:38:00] <g4b0> ok, thanks
1096: [13:42:00] * ajshort quit (Quit: Leaving)
1097: [13:45:00] <g4b0> in http://doc.silverstripe.org/framework/en/3.1/changelogs/beta/3.1.0-beta2
1098: [13:45:00] <g4b0> there's no mention about old way to manage Tasks deprecation
1099: [13:45:00] <g4b0> workflow*
1100: [13:45:00] <g4b0> chillu: a question about SS relase workfolo
1101: [13:46:00] <g4b0> how can we know all deprecation in order to be prepared to upgrade to new versions?
1102: [13:47:00] <chillu> g4b0: http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0 plus anything under "API" in the various pre-releases
1103: [13:47:00] <ARNHOE> g4b0: I could be totally wrong, and totally stupid. But http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0 scroll to the end
1104: [13:49:00] <g4b0> I was looking at 3.1.0-beta2 change log :)
1105: [13:57:00] * lightmind quit (Ping timeout: 245 seconds)
1106: [14:29:00] * UncleCheese quit (Quit: UncleCheese)
1107: [14:30:00] * Shrike_Finland quit (Quit: Leaving.)
1108: [14:31:00] * lx-berlin has left #silverstripe
1109: [14:39:00] * UncleCheese has joined #silverstripe
1110: [14:40:00] * UncleCheese quit (Client Quit)
1111: [14:44:00] <kinglozzer> What does the 3.1 HTML5 lib do exactly?
1112: [14:46:00] <kinglozzer> Yeah, just noticed it's adding some overhead in 3.1b2 compared to 3.1b1, wondered what the advantage was
1113: [14:46:00] <discorpia> kinglozzer: sounds like an html parser
1114: [14:48:00] <discorpia> i think it was the shortcode handling, or how it handles broken html when trying to find shortcodes to be more specific
1115: [14:48:00] <discorpia> might be this one; https://github.com/silverstripe/sapphire/commit/db56d17056b52c09fdf1e39641a268bcac3c9eac#commitcomment-2644262
1116: [14:49:00] <kinglozzer> Ah so it's not actually a new feature, just a new library to do it?
1117: [15:02:00] * zfmf has left #silverstripe
1118: [15:02:00] * kraigy has joined #silverstripe
1119: [15:03:00] * zfmf has joined #silverstripe
1120: [15:04:00] <kraigy> anyone know how to get dataobjects (DataObjects::get_one) from sitetree and not from sitetree_live? DataObjects::get_one seem to be querying from sitetree_live
1121: [15:06:00] * MichaelDesignerX has joined #silverstripe
1122: [15:07:00] * DesignerX quit (Ping timeout: 260 seconds)
1123: [15:12:00] * popeshoe quit (Quit: This computer has gone to sleep)
1124: [15:29:00] <priithansen> In SS yaml config http://www.sspaste.com/paste/show/512cd455df77a it looks like I can't get an array of standard's but only the first one is returned. Is it because of config overwriting system logic thing or my yaml being wrong?
1125: [15:44:00] <priithansen> seems to be ss config system thing
1126: [15:48:00] * catcher has joined #silverstripe
1127: [16:37:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#250 (post-2.4 - 4b650df : Ingo Schommer): The build was broken.
1128: [16:37:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5075306
1129: [16:37:00] * travis-ci has left #silverstripe
1130: [16:37:00] * travis-ci has joined #silverstripe
1131: [16:37:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3aef9fef1edb...4b650df61889
1132: [16:38:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5075318
1133: [16:38:00] * travis-ci has joined #silverstripe
1134: [16:38:00] <travis-ci> [travis-ci] silverstripe/sapphire#1525 (post-2.4 - c257fa7 : Ingo Schommer): The build is still failing.
1135: [16:38:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/13dbdbfd2e18...c257fa799f1a
1136: [16:38:00] * travis-ci has left #silverstripe
1137: [17:02:00] * g4b0 quit (Quit: Sto andando via)
1138: [17:03:00] * Motoservo has joined #silverstripe
1139: [17:15:00] * kinglozzer quit (Remote host closed the connection)
1140: [17:21:00] * kraigy quit (Ping timeout: 245 seconds)
1141: [17:23:00] * MichaelDesignerX quit (Ping timeout: 255 seconds)
1142: [17:25:00] * UncleCheese has joined #silverstripe
1143: [17:30:00] * UncleCheese quit (Quit: UncleCheese)
1144: [17:48:00] * ocm quit ()
1145: [18:30:00] * Shrike_Finland has joined #silverstripe
1146: [18:30:00] * gelignite has joined #silverstripe
1147: [18:37:00] * SightUnseen has joined #silverstripe
1148: [18:43:00] <FrozenFire> What'd be the composer version string for 3.1.*@dev?
1149: [18:43:00] <FrozenFire> Because I tried that.
1150: [18:48:00] * SightUnseen has left #silverstripe
1151: [18:56:00] * Nivery has joined #silverstripe
1152: [19:00:00] <UndefinedOffset> via https://packagist.org/packages/silverstripe/framework FrozenFire
1153: [19:00:00] <UndefinedOffset> 3.1.x-dev ?
1154: [19:01:00] <FrozenFire> Ah. Thanks
1155: [19:01:00] * popeshoe has joined #silverstripe
1156: [19:01:00] <FrozenFire> I usually end up just going into my composer.json after creating the project, changing the requirements, and then updating. :P
1157: [19:01:00] * Andi_de_ quit (Quit: ~ Trillian - www.trillian.im ~)
1158: [19:21:00] * Bollig|DesignCty has joined #silverstripe
1159: [19:22:00] <ss23> So I turn on the radio this morning and just caught the ending of the news, but I shit you not, the presentor said something along the lines of, "The only thing worse than the Wellington Phoenix defense is Telecoms internet security" (didn't catch the very first part). Made me rofl
1160: [19:22:00] <ss23> Especially cause it was The Sound
1161: [19:27:00] * DigNZ has joined #silverstripe
1162: [19:27:00] * DigNZ quit (Remote host closed the connection)
1163: [19:27:00] * DigNZ has joined #silverstripe
1164: [19:31:00] * Pyromanik has joined #silverstripe
1165: [19:37:00] * joelpittet has joined #silverstripe
1166: [19:37:00] <joelpittet> What would cause a 2.4 site to redirect all pages to the login screen?
1167: [19:39:00] <joelpittet> When not logged in
1168: [19:39:00] <joelpittet> like the public facing pages
1169: [19:39:00] <joelpittet> I just made some small changes to a site and now the public site is redirecting to Security/login
1170: [19:39:00] <Pyromanik> Because someone has locked the site to logged in people.
1171: [19:39:00] <Pyromanik> not being logged in.
1172: [19:39:00] <Pyromanik> only.
1173: [19:40:00] <joelpittet> I have done dev/build and pretty sure the permissions haven't changed
1174: [19:40:00] <Pyromanik> dev/build
1175: [19:40:00] <joelpittet> I double checked them on site and home
1176: [19:40:00] <Pyromanik> error
1177: [19:40:00] <Pyromanik> ?isDev=1
1178: [19:40:00] <joelpittet> I did change php
1179: [19:40:00] <Pyromanik> did you change php?
1180: [19:41:00] <Pyromanik> on screen
1181: [19:41:00] <Pyromanik> make sure site is in dev mode to get error messages
1182: [19:41:00] <Pyromanik> on any page really
1183: [19:41:00] <Pyromanik> maybe
1184: [19:41:00] <joelpittet> on dev build?
1185: [19:42:00] <Pyromanik> or the access settings on any of the pages?
1186: [19:42:00] <Pyromanik> you're sure no one has changed the settings -> access tab?
1187: [19:42:00] <Pyromanik> 2.4 does this sometiems, I don't particularly remember why, or how to fix
1188: [19:43:00] <FrozenFire> Doesn't hurt to try, though
1189: [19:43:00] <FrozenFire> It will, but that's probably not the issue
1190: [19:43:00] <Pyromanik> should
1191: [19:43:00] <joelpittet> if I wipe out silverstripe-cache will it rebuild?
1192: [19:43:00] <Pyromanik> ^
1193: [19:44:00] <joelpittet> after logging it it acts normal
1194: [19:44:00] <FrozenFire> Did you happen to change Page::canView?
1195: [19:44:00] <Pyromanik> sounds like access tab
1196: [19:44:00] <Pyromanik> it works?
1197: [19:44:00] <Pyromanik> joelpittet: what happens when you log in?
1198: [19:44:00] <joelpittet> just a redirect of anon to the login on all pages
1199: [19:45:00] * catcher quit (Quit: Leaving)
1200: [19:45:00] <joelpittet> I didn't change that no
1201: [19:45:00] <joelpittet> checking the access tab
1202: [19:47:00] <joelpittet> does the access tab settings change usually without someone doing it through the admin?
1203: [19:47:00] <Pyromanik> (although I shrugged it off as derp client)
1204: [19:47:00] <Pyromanik> not usually, but I have had it happen before
1205: [19:48:00] <joelpittet> It has no checkboxes checked on the access page:S
1206: [19:48:00] <Pyromanik> but...
1207: [19:48:00] <Pyromanik> no idea why
1208: [19:48:00] <Pyromanik> was it that?
1209: [19:49:00] <joelpittet> radios
1210: [19:49:00] <Pyromanik> yeh, I getcha
1211: [19:49:00] <Pyromanik> something went null in DB
1212: [19:49:00] <Pyromanik> there are NO checkboxes on the access page
1213: [19:49:00] <joelpittet> radios are not checked
1214: [19:49:00] <Pyromanik> mm
1215: [19:50:00] <Pyromanik> reload the admin page
1216: [19:50:00] <Pyromanik> is it actually saving?
1217: [19:50:00] <Pyromanik> yeah
1218: [19:50:00] <joelpittet> even after checking them back to what they were the pages are redirecting
1219: [19:50:00] <joelpittet> Sorry just stressing trying to get it working again
1220: [19:50:00] <Pyromanik> whichever
1221: [19:50:00] <Pyromanik> click the globe again
1222: [19:51:00] <joelpittet> it's working on safari... no wonder my client isn't calling!
1223: [19:51:00] <Pyromanik> $Login... oh, no
1224: [19:51:00] <FrozenFire> Is there a template method for getting the login link?
1225: [19:51:00] <joelpittet> Oh I think chrome cached the redirect!
1226: [19:51:00] <Pyromanik> try changing something else on the page
1227: [19:51:00] <Pyromanik> if they're not saving
1228: [19:51:00] <Pyromanik> t that I know of
1229: [19:51:00] <FrozenFire> joelpittet, Even more unlikely.
1230: [19:52:00] <Pyromanik> how DOES one 301?
1231: [19:52:00] <FrozenFire> do**
1232: [19:52:00] <Pyromanik> in init
1233: [19:52:00] <joelpittet> NO idea but now it's working on a different browser that hasn't seen it so the problem is fixed, just need to get chrome to pick up
1234: [19:52:00] <FrozenFire> The question is how you got a 301.
1235: [19:52:00] <FrozenFire> That's because 301 is supposed to be cached
1236: [19:52:00] <Pyromanik> checking dev modifying live, or something
1237: [19:52:00] <joelpittet> It's happened to me before with 301s being cached in some browsers
1238: [19:52:00] <Pyromanik> joelpittet: seems more like you're tapping the wrong site
1239: [19:52:00] <FrozenFire> :P
1240: [19:52:00] <Pyromanik> yes indeed
1241: [19:52:00] <FrozenFire> You can to Controller::redirect($link, 301);
1242: [19:53:00] <joelpittet> That's the site
1243: [19:53:00] <Pyromanik> or index
1244: [19:53:00] <FrozenFire> Wherever.
1245: [19:53:00] <Pyromanik> yeh, wherever
1246: [19:53:00] <FrozenFire> $this->redirect($link, 301);
1247: [19:53:00] <joelpittet> http://www.sun-rich.com/
1248: [19:53:00] <Pyromanik> joelpittet: you should still check that the info is saving in the CMS
1249: [19:54:00] <Pyromanik> looks nice
1250: [19:54:00] <joelpittet> Thanks, I work with pretty cool designers
1251: [19:56:00] <joelpittet> I only have one page that deals with mucking around with the redirects and that's the broker login
1252: [19:56:00] <joelpittet> FrozenFire: They are big and do B2B
1253: [19:56:00] <FrozenFire> Interesting. They're in BC, but I've never heard of them
1254: [19:56:00] <FrozenFire> Or at least, I assume they are.
1255: [19:57:00] <joelpittet> If you run an airline you may deal with them buying packaged fruit for the plane
1256: [19:57:00] <FrozenFire> So it wouldn't be unlikely for me to hear of them
1257: [19:57:00] <FrozenFire> Yeah. My mother works for Crossmark Canada.
1258: [19:58:00] <Pyromanik> cool man
1259: [19:58:00] <joelpittet> ah yeah
1260: [19:58:00] <joelpittet> Are you van?
1261: [19:58:00] <Pyromanik> are we talking about sun rich or the design firm?
1262: [19:58:00] <joelpittet> sun rich
1263: [19:58:00] <FrozenFire> I'm on Vancouver Island. Bowser
1264: [19:58:00] <Pyromanik> he's not a van, he's a human!
1265: [19:58:00] <joelpittet> Design firm is Karo.com
1266: [19:58:00] <Pyromanik> :P
1267: [19:58:00] * akapi has joined #silverstripe
1268: [19:59:00] <joelpittet> this is last years site
1269: [19:59:00] <Pyromanik> :D
1270: [19:59:00] <akapi> hello eve1
1271: [19:59:00] <joelpittet> Love it
1272: [19:59:00] <joelpittet> They do quite a few silverstripe sites
1273: [19:59:00] <Pyromanik> I don't play eve
1274: [19:59:00] <FrozenFire> Hello individual person
1275: [19:59:00] <Pyromanik> joelpittet: tell them to up the game to v3.0
1276: [19:59:00] <Pyromanik> :P
1277: [19:59:00] <joelpittet> They have...
1278: [20:00:00] * Pyromanik admits he's working on a 'last years site' atm too
1279: [20:00:00] <FrozenFire> :P
1280: [20:00:00] <Pyromanik> yeh, figured it probably was
1281: [20:00:00] <joelpittet> just adding a couple of fields
1282: [20:00:00] <joelpittet> g2g
1283: [20:00:00] <FrozenFire> You must admit that up until not long ago you hadn't even touched 3.0
1284: [20:01:00] <Pyromanik> 3.0.1
1285: [20:01:00] <akapi> hey people, sorry to interrupt, but i need some help with ss3.0.5 - when using Security_login.ss - there is no $Menu data. but everything works on other pages
1286: [20:01:00] <Pyromanik> end of last year it was
1287: [20:01:00] <Pyromanik> when I finally jumped
1288: [20:01:00] <Pyromanik> iirc
1289: [20:02:00] * FrozenFire recalls having that problem
1290: [20:02:00] <FrozenFire> But not the solution
1291: [20:03:00] <Pyromanik> as in, $Menu does not appear, or $Menu() returns nothing?
1292: [20:05:00] <akapi> $Menu is NULL, $Menu() - cant recall if i tried.. but somehow i think i did - and didnt work. "strange" is good enough.. let's say Page.ss has $Menu, and everything works, but as soon as i make a copy of it in Security_login.ss (whole file) - it stops working :-|
1293: [20:06:00] <Pyromanik> I meant the controller method
1294: [20:06:00] <Pyromanik> if it's returning null
1295: [20:07:00] <Pyromanik> or if maybe the template is just missing $Menu or something
1296: [20:08:00] <Pyromanik> oh, you're theming the login?
1297: [20:08:00] <Pyromanik> on the default
1298: [20:08:00] <Pyromanik> see if the menu shows
1299: [20:08:00] <Pyromanik> try removing the login template and flushing
1300: [20:11:00] * markeaston has joined #silverstripe
1301: [20:20:00] <akapi> $menu is not missing, flushing dont help. changed back to stock 'simple' theme.. doesnt work even there..
1302: [20:21:00] * guci0 quit (Ping timeout: 245 seconds)
1303: [20:22:00] <Pyromanik> call from your controller
1304: [20:22:00] <Pyromanik> so
1305: [20:22:00] <Pyromanik> oh wait
1306: [20:22:00] <Pyromanik> shit
1307: [20:22:00] <Pyromanik> hmm
1308: [20:24:00] * ARNHOE quit (Remote host closed the connection)
1309: [20:42:00] <Nivery> GridField doesn't have a modelClassName, so it doesn't know the columns of this grid error??? anyone resolved this error?
1310: [20:42:00] * SphereSilver has joined #silverstripe
1311: [20:43:00] <SphereSilver> Sorry to ask, but are you giving it the classname?
1312: [20:44:00] <pippy> Nivery: sounds like you're giving it an ArrayList
1313: [20:44:00] <pippy> it has to be a DataObject or DataList
1314: [20:44:00] * Stomach has joined #silverstripe
1315: [20:44:00] <SphereSilver> Good news!
1316: [20:44:00] <SphereSilver> And... Hi guys!
1317: [20:45:00] <pippy> it can be tricky if you've built up an array list for reuse in the template
1318: [20:45:00] <SphereSilver> could you give us a snippet of your gridfield::create()?
1319: [20:48:00] <Nivery> $gridFieldLetter = new GridField('LetterFromEditor', 'Letter From Editor', $this->LetterFromEditor(), $gridFieldConfigLetter);
1320: [20:48:00] <Nivery> $gridFieldConfigLetter = GridFieldConfig_RelationEditor::create();
1321: [20:49:00] <SphereSilver> Are you sure LetterFromEditor exists?
1322: [20:49:00] <Nivery> shows up as a database table when i dev/build
1323: [20:50:00] <SphereSilver> I guess the object is there then. Hmmm...
1324: [20:51:00] <SphereSilver> Does the relation exists on the object?
1325: [20:52:00] * UndefinedOffset quit (Quit: Leaving.)
1326: [20:53:00] <Pyromanik> what IS $this->LetterFormEdtior()
1327: [20:54:00] <Nivery> SphereSilver: it does
1328: [20:54:00] <Pyromanik> SphereSilver: what is your good news?
1329: [20:55:00] <Pyromanik> has_many 'LetterFormEditor' => 'ActualClassName'
1330: [20:55:00] * DesignerX has joined #silverstripe
1331: [20:55:00] <SphereSilver> Hmmmm, I haven't encountered it, nor have I seen it before.
1332: [20:55:00] <Pyromanik> Nivery: and it's a has_many?
1333: [20:56:00] <Pyromanik> because if you've had a mind slip and put something other than the classname then that'd about do it I reckon
1334: [20:56:00] <Nivery> Pyromanik: it's actually one-to-one -- i guess i'm not supposed to use a grid field for that, huh
1335: [20:57:00] <Pyromanik> you can create a method to put the has_one INTO a list, then pass it to gridfield.
1336: [20:57:00] <Pyromanik> you're giving it an object, not a list
1337: [20:57:00] <Pyromanik> no
1338: [20:57:00] <Pyromanik> I think
1339: [20:57:00] <Pyromanik> that'd work.
1340: [20:58:00] <Nivery> thanks guys
1341: [20:58:00] <Nivery> SphereSilver: heh, Pyro beat you to it :)
1342: [20:58:00] <Pyromanik> heh
1343: [20:58:00] <SphereSilver> Except in marriage, but even then, there are exceptions :)
1344: [20:58:00] <Pyromanik> SphereSilver: into the open kind are we?
1345: [20:58:00] <SphereSilver> You're having a one-to-one relation??? That's close to impossible if you ask me...
1346: [20:58:00] <SphereSilver> I WAS STILL TYPING!
1347: [20:59:00] <Pyromanik> Not big on swinging myself...
1348: [20:59:00] <SphereSilver> Pyromanik: I was, personally, talking about kids ;) As a parent, you have a one-to-many relation to "other-parent-kid-kid-kid" ;)
1349: [20:59:00] <Pyromanik> :P
1350: [20:59:00] <Pyromanik> 1 woman is too much trouble, why would I want more?
1351: [20:59:00] <SphereSilver> And thinking of my joke :P
1352: [21:00:00] <Pyromanik> What if you're a family of only children?
1353: [21:00:00] <Pyromanik> right
1354: [21:00:00] <Pyromanik> I see.
1355: [21:00:00] <Pyromanik> your child has no uncles, no aunts, no brothers, no sisters.
1356: [21:00:00] <SphereSilver> You have a one-to-many with your brothers and sisters
1357: [21:01:00] <SphereSilver> It's an isolated object with one-to-many friends
1358: [21:01:00] <Pyromanik> pool o'clock
1359: [21:01:00] <SphereSilver> I read it wrong ;)
1360: [21:01:00] <Pyromanik> yes, but friends aren't relations! :P
1361: [21:01:00] <Pyromanik> SphereSilver: having brothers and sisters by definition does not make you an only child.
1362: [21:02:00] <SphereSilver> 2. My NewsSlideshow is 90% done! :D
1363: [21:02:00] <SphereSilver> Heh, you're gonna have a poolgame? enjoy :D
1364: [21:02:00] <SphereSilver> Ow, yes, I got good news!
1365: [21:02:00] <SphereSilver> 1. I'm fired! :D
1366: [21:05:00] <SphereSilver> (And yes, I'm serious, me being "fired", actually, my contract won't be prolonged due to financial reasons, is a good thing)
1367: [21:14:00] * UndefinedOffset has joined #silverstripe
1368: [21:15:00] <SphereSilver> Please don't say no?
1369: [21:15:00] <SphereSilver> Is it possible to define $Image.setSize($width,$height) in the template?
1370: [21:15:00] <SphereSilver> Hey UndefinedOffset
1371: [21:16:00] * UndefinedOffset quit (Client Quit)
1372: [21:17:00] <SphereSilver> Bye UndefinedOffset :(
1373: [21:18:00] <SphereSilver> Well, no :)
1374: [21:18:00] <Pyromanik> your position has been closed
1375: [21:18:00] <Pyromanik> they call that being made redundant
1376: [21:18:00] <Pyromanik> not re-hired
1377: [21:18:00] <Pyromanik> just
1378: [21:18:00] <Pyromanik> SphereSilver: so you're not actually fired
1379: [21:19:00] <SphereSilver> I'm just having fun :D
1380: [21:19:00] <Pyromanik> if they do, they have to hire you back.
1381: [21:19:00] <SphereSilver> Hmmm, that sounds interesting :D
1382: [21:19:00] <Pyromanik> in NZ if an employer makes someone redundant they're not allowed to hire someone else to fill your position
1383: [21:19:00] <SphereSilver> Fun thing is, THEY have a problem without me ;)
1384: [21:19:00] <Pyromanik> exactly
1385: [21:19:00] <SphereSilver> They just can't afford me anymore, but decided to add another manager to fix it at de expense of me.
1386: [21:20:00] <Pyromanik> :P
1387: [21:20:00] <Pyromanik> "SphereCube"
1388: [21:20:00] * SphereSilver is now known as CubeSilver
1389: [21:20:00] <CubeSilver> Gotcha :D
1390: [21:20:00] <akapi> Sphere : they have a problem of stacking problems over spheres :) cubes are more versatile )))
1391: [21:20:00] <Pyromanik> rofl
1392: [21:20:00] * Pyromanik detects an upcoming name change
1393: [21:20:00] <SphereSilver> I know they can't afford me at this point, but the concept of such a contract sounds interesting :D
1394: [21:21:00] <Pyromanik> so job hunting time is it?
1395: [21:21:00] <Pyromanik> or gonna go freelance?
1396: [21:21:00] <akapi> dont know about NZ.. know some about RU.. this is reall sh--hole ) currently work over here.. and it is NUTS. in every aspect
1397: [21:22:00] <CubeSilver> I got 4 job offers at the moment ;) So I'm not worried :D
1398: [21:22:00] <Pyromanik> akapi: vi russki?
1399: [21:23:00] <akapi> pyro : nope.. just a fate that ended up here.. used to live in US, before that - mexico, canada )
1400: [21:23:00] <Pyromanik> CubeSilver: all good then :P
1401: [21:23:00] <Pyromanik> so you're... canadian?
1402: [21:24:00] <akapi> swedish )
1403: [21:24:00] <Pyromanik> haha, nice
1404: [21:24:00] * CubeSilver is now known as SphereSilver
1405: [21:24:00] <CubeSilver> No, I think he means to say he's mexUSianish
1406: [21:24:00] * Pyromanik is moving to either Sweden or England.
1407: [21:24:00] <SphereSilver> This feels better :'(
1408: [21:24:00] <Pyromanik> maybe
1409: [21:24:00] <SphereSilver> Sweden! Go Sweden!
1410: [21:25:00] <akapi> my sister is married to englishman. nice man, but.. cant stand bunch of brits around me for longer then 15 min )
1411: [21:25:00] <Pyromanik> Stockholm is f'n expensive :<
1412: [21:25:00] <SphereSilver> https://www.youtube.com/watch?v=3yYohRpmQeY
1413: [21:26:00] <SphereSilver> Watch that, and never look back.
1414: [21:26:00] <SphereSilver> but no Stockholm.
1415: [21:26:00] <SphereSilver> :'(
1416: [21:26:00] <SphereSilver> I frikkin WISH! I have offers from all over Europe (Berlin, Delft, Vienna, for example)
1417: [21:27:00] <SphereSilver> Do you know any jobs in Stockholm?
1418: [21:27:00] <Pyromanik> just ring them up and be all "look mate, I'll come and work for you, I'll start on monday and I'll be paid *** per hour"
1419: [21:27:00] <SphereSilver> I guess, Sweden it is Pyro?
1420: [21:27:00] <Pyromanik> akapi: hahaha
1421: [21:27:00] <akapi> sphere : u r not a cube anymore :) u r free 2 roll anywhere u want
1422: [21:27:00] <Pyromanik> SphereSilver: just make an offer TO stockholm
1423: [21:28:00] <Pyromanik> no, but that's common knowledge
1424: [21:28:00] <Pyromanik> SphereSilver: nope :<
1425: [21:28:00] <SphereSilver> Have you seen the movie I posted? ;)
1426: [21:28:00] * MichaelDesignerX has joined #silverstripe
1427: [21:28:00] <Pyromanik> lol no @ work, can't
1428: [21:28:00] <SphereSilver> bummer :(
1429: [21:28:00] <Pyromanik> just get on the offencive
1430: [21:28:00] <SphereSilver> Did I mention Swedish girls are gorgious?
1431: [21:29:00] <SphereSilver> Unless you work at a picky office :(
1432: [21:29:00] <SphereSilver> Sure you can :D If your boss is a male, he'll be ok with it :D
1433: [21:29:00] * DesignerX quit (Ping timeout: 248 seconds)
1434: [21:29:00] <Pyromanik> I'm sure he would
1435: [21:29:00] <Pyromanik> but
1436: [21:30:00] <Pyromanik> shh
1437: [21:30:00] <Pyromanik> it means I'm not working
1438: [21:30:00] <SphereSilver> and.... talking on IRC does....
1439: [21:30:00] <SphereSilver> }:|
1440: [21:31:00] <akapi> thats irccoding, not talking )
1441: [21:31:00] <Pyromanik> It's much more multitasky than stopping all code to watch birds
1442: [21:32:00] <Pyromanik> right now I'm thinking about how to refactor code to allow a form that repeats itself twice (2 people fill it out) to make the second set of fields optionally required depending on the setting of a previous field.
1443: [21:32:00] <Pyromanik> not so hard in itself
1444: [21:32:00] <Pyromanik> but
1445: [21:32:00] <Pyromanik> 1: 2.4
1446: [21:32:00] <Pyromanik> 2: most of these fields are already conditionally required, wondering if there's an easier way
1447: [21:32:00] <SphereSilver> Ehm, if($this->getRequest()->postVar('var you want to check'))
1448: [21:32:00] <SphereSilver> doesn't work?
1449: [21:33:00] <Pyromanik> but that's not how you do it
1450: [21:33:00] <Pyromanik> RequiredFields
1451: [21:33:00] <SphereSilver> but it should work...
1452: [21:33:00] <SphereSilver> It's not clean, I admit :)
1453: [21:33:00] <Pyromanik> well yes
1454: [21:34:00] <SphereSilver> ow, wait, ehmm...
1455: [21:34:00] <Pyromanik> CustomRequiredFields
1456: [21:34:00] <SphereSilver> Yes, but push the RequiredFields into an array.
1457: [21:34:00] <Pyromanik> CustomRequiredFields
1458: [21:34:00] <Pyromanik> can't trust jquery
1459: [21:34:00] <SphereSilver> then, you're stuck to checking the requestvars mate.
1460: [21:34:00] <Pyromanik> must be php side
1461: [21:34:00] <Pyromanik> nope
1462: [21:34:00] <SphereSilver> I guess you're off to jQuery.validate
1463: [21:34:00] <Pyromanik> mmm
1464: [21:34:00] <SphereSilver> After that, set the required fields.
1465: [21:35:00] <Pyromanik> \o/
1466: [21:35:00] <Pyromanik> haahaha
1467: [21:35:00] <Pyromanik> SO RUSSIAN!
1468: [21:35:00] <SphereSilver> and build some logic in that, then create an if-statement fixing that requirement (Do not forget to check at what step you are, otherwise, it'll fail ;) )
1469: [21:35:00] <Pyromanik> ROFL
1470: [21:35:00] * liam__ has joined #silverstripe
1471: [21:35:00] <akapi> dudes at my work simply run PuTTY client expanded over whole screen and go smoke - up to 1h sometimes - if anybody checksup - they see pretty screen and think - dudes a really working :)
1472: [21:35:00] <Pyromanik> akapi: what is it like working in the RU atm?
1473: [21:36:00] <liam__> I need to implement an api for a mobile app into my ss site. Any ideas which module is best for this? I know there is restfulserver https://github.com/silverstripe/silverstripe-restfulserver/ and restassured https://github.com/silverstripe-labs/restassured
1474: [21:36:00] <akapi> hell yeah.. none of the current bosses can comprehend a simple line from command line..
1475: [21:37:00] <Pyromanik> akapi: sounds a bit like NZ :<
1476: [21:39:00] <akapi> got only one exception, but he went to another company couple of months ago.. he KNEW EVERY line in cisco-os and such.. and every config. line from 10+ locations with 10+ networks inside them.. he simply was calling mobile phone when he couldnot find a person he was looking and telling them - that he is going to wipe all configs, if they want show up at workplace in 1 minute
1477: [21:41:00] <Pyromanik> haha
1478: [21:47:00] * SightUnseen has joined #silverstripe
1479: [21:48:00] * SightUnseen has left #silverstripe
1480: [21:52:00] * liam__ quit (Read error: Connection reset by peer)
1481: [21:52:00] * liam___ has joined #silverstripe
1482: [21:56:00] * markeaston quit (Quit: markeaston)
1483: [21:58:00] * akapi quit ()
1484: [21:58:00] <Pyromanik> bye
1485: [21:58:00] <akapi> oh well.. cya every1. gtg
1486: [22:20:00] * markeaston has joined #silverstripe
1487: [22:21:00] * aznain has joined #silverstripe
1488: [22:21:00] * toebu has joined #silverstripe
1489: [22:23:00] * DesignerX has joined #silverstripe
1490: [22:24:00] * zfmf has left #silverstripe
1491: [22:24:00] <aznain> In 2.4, Can we show complextablefield with relations on frontend for dataobject like we see at backend ?
1492: [22:24:00] * SightUnseen1 has joined #silverstripe
1493: [22:25:00] * MichaelDesignerX quit (Ping timeout: 264 seconds)
1494: [22:25:00] * zfmf has joined #silverstripe
1495: [22:25:00] * newbie has joined #silverstripe
1496: [22:25:00] * newbie is now known as Guest56336
1497: [22:26:00] <Pyromanik> I think you can hack it into working, but it's really not worth it.
1498: [22:26:00] <Pyromanik> aznain: not really, no.
1499: [22:28:00] * DesignerX quit (Ping timeout: 276 seconds)
1500: [22:28:00] <aznain> If i get one dataobject with DataObject::get and I want to populate data ... how to do that
1501: [22:29:00] <aznain> on front end ...
1502: [22:29:00] <aznain> Sorry populate data in the form
1503: [22:30:00] <Pyromanik> difficult
1504: [22:30:00] <Pyromanik> oh it's in a form?
1505: [22:30:00] <Pyromanik> hmm
1506: [22:31:00] <Pyromanik> perhaps a multiselectfield?
1507: [22:32:00] * SightUnseen1 quit (Ping timeout: 260 seconds)
1508: [22:32:00] * DesignerX has joined #silverstripe
1509: [22:33:00] * DesignerX quit (Read error: No route to host)
1510: [22:33:00] <FrozenFire> So I have found the most obscure bug every possible.
1511: [22:33:00] <FrozenFire> ever**
1512: [22:34:00] * Guest56336 quit (Ping timeout: 240 seconds)
1513: [22:34:00] <FrozenFire> Nothing to do with SS. Just made me laugh.
1514: [22:34:00] <FrozenFire> If an image's src contains "_120x60." and you're running Chrome with Adblock, it will not work.
1515: [22:34:00] * DesignerX has joined #silverstripe
1516: [22:34:00] <liam___> has silverstripe 3.1 been released yet?
1517: [22:34:00] <ss23> 11:35:35 < FrozenFire> So I have found the most obscure bug every possible.
1518: [22:34:00] <ss23> no way
1519: [22:34:00] <zfmf> :D
1520: [22:34:00] <ss23> Thats nothing compared to the bug I found with CSS animations
1521: [22:34:00] <FrozenFire> Nothing but exactly that string.,
1522: [22:35:00] * SightUnseen has joined #silverstripe
1523: [22:35:00] <ss23> It was the most horrible bug to track down ever, and to think the fix is just a timeout with no time... horrible
1524: [22:35:00] * Colin[pi] has joined #silverstripe
1525: [22:35:00] <Colin[pi]> morning all
1526: [22:35:00] <ss23> To make them render, you need to do a setTimeOut(0, css_thing_here);
1527: [22:35:00] <FrozenFire> That's a bug that happens in probably a number of cases.
1528: [22:35:00] <FrozenFire> This one required a very, very specific string.
1529: [22:35:00] <FrozenFire> In a very specific attribute
1530: [22:35:00] <FrozenFire> Of a very specific element
1531: [22:36:00] <FrozenFire> In a very specific browser.
1532: [22:36:00] * zfmf has left #silverstripe
1533: [22:36:00] <FrozenFire> With a very specific extension.
1534: [22:36:00] <FrozenFire> :P
1535: [22:37:00] * SightUnseen quit (Read error: Connection reset by peer)
1536: [22:37:00] <Pyromanik> Chrome is rubbish.
1537: [22:38:00] * SightUnseen has joined #silverstripe
1538: [22:38:00] <ss23> FrozenFire: Sure, and this one had specific circumstances too
1539: [22:38:00] * SightUnseen has left #silverstripe
1540: [22:38:00] <ss23> The only difference between what oyu said and mine is that mine didn't require an extension
1541: [22:39:00] <ss23> <3
1542: [22:39:00] <FrozenFire> I'M A SPECIAL AND UNIQUE FLOWER, OKAY?
1543: [22:39:00] <ss23> lol
1544: [22:39:00] <FrozenFire> Perhaps a bit more special than unique.
1545: [22:41:00] <ss23> Yeah, relatedly, I want to calculate the probabilty of more than one person on earth having the same fingerprint (that is, same as in would be identified as the same by standard police procedures)
1546: [22:41:00] <ss23> And if the chance of duplicates is low, then change it to the required population to have a 50% chance of duplication
1547: [22:41:00] <Colin[pi]> o_O
1548: [22:41:00] * MichaelDesignerX has joined #silverstripe
1549: [22:42:00] <ss23> I think mainly it would involve looking at the area of a finger print, then looking at how much area needs to be "different" for it to count as a different print, that is, if you change one ridge by 1mm, does it count as a differnet fingerprint? Then simple math and pidgeon hole theory/birthday attack
1550: [22:43:00] * DesignerX quit (Ping timeout: 248 seconds)
1551: [22:44:00] * DesignerX has joined #silverstripe
1552: [22:46:00] * MichaelDesignerX quit (Ping timeout: 246 seconds)
1553: [22:48:00] <ss23> what a what
1554: [22:48:00] <Pyromanik> what a sec dork
1555: [22:49:00] * ss23 adds Pyromanik to an array
1556: [22:49:00] <Pyromanik> u
1557: [22:49:00] <aznain> when we use url_handlers then in order to render form, we must have to specify renderwith ? simply return $form will not work ?
1558: [22:49:00] <ss23> WAT
1559: [22:49:00] <ss23> wat
1560: [22:50:00] * DesignerX quit (Ping timeout: 256 seconds)
1561: [22:51:00] <Pyromanik> brb, refactoring 300 lines of array
1562: [22:51:00] <FrozenFire> Form extends RequestHandler
1563: [22:52:00] * Nivery quit (Quit: Nivery)
1564: [22:59:00] <aznain> how to solve this ... i spent too much time on that
1565: [22:59:00] <aznain> the method 'handleaction' does not exist on 'Form'
1566: [23:00:00] <FrozenFire> Not sure what you're asking.
1567: [23:00:00] <FrozenFire> AJAX loading of the form?
1568: [23:00:00] <FrozenFire> Why do you need the form rendered by an action?
1569: [23:01:00] <FrozenFire> if($request && $request->isAjax()) return $form->renderWith("Form"); else return $form;
1570: [23:01:00] <aznain> I am trying to get member data and populate form with member data to edit ...
1571: [23:02:00] <FrozenFire> Okay? $form->loadDataFrom($member);
1572: [23:02:00] <aznain> let me sspaste
1573: [23:04:00] <aznain> http://www.sspaste.com/paste/show/512d3f68c76f8
1574: [23:05:00] <FrozenFire> Okay.
1575: [23:09:00] <aznain> If i use ur code then bare bone form ( without any style shown ) but when i try to save data nothing happens ... just page refresh and redo any changes in the form
1576: [23:12:00] <FrozenFire> Probably because I haven't a clue what you're trying to do.
1577: [23:13:00] * djd4ws0n has joined #silverstripe
1578: [23:17:00] <aznain> I am searching for members on the front end page
1579: [23:18:00] <SphereSilver> push the currentmember to the init?
1580: [23:18:00] <aznain> result comes with link to the memberprofile page ... from there , i am sending member id to EditProfileForm so that I can get member data and populate form ... and trying to save changes back in the database
1581: [23:18:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
1582: [23:19:00] <SphereSilver> I'm back :P but off to bed in a few :P
1583: [23:21:00] <aznain> FrozenFire: not clear yet ?
1584: [23:21:00] <djd4ws0n> When clicking on "From files" on an UploadField, I get the following message: "Call to undefined method Folder::find_or_make()"
1585: [23:21:00] <djd4ws0n> Hey all, wondering if someone might be able to help me...
1586: [23:22:00] <FrozenFire> djd4ws0n, Framework and CMS version?
1587: [23:22:00] <FrozenFire> Seems right
1588: [23:22:00] <djd4ws0n> Have tried on 3.0.3 and 3.0 versions as well
1589: [23:22:00] <djd4ws0n> I've checked and the file (and method) are there. Both versions are 3.0.5
1590: [23:23:00] <FrozenFire> Does that function exist in that file in your install?
1591: [23:23:00] <FrozenFire> https://github.com/silverstripe/sapphire/blob/3.0.5/filesystem/Folder.php#L56
1592: [23:23:00] <djd4ws0n> "framework\forms\UploadField.php on line 956" is the call
1593: [23:24:00] <djd4ws0n> Yeah, that's what I can't understand. It's as if the file isn't being loaded
1594: [23:25:00] <FrozenFire> Have you tried running /dev/build?flush=all
1595: [23:25:00] <FrozenFire> ?
1596: [23:25:00] <FrozenFire> Also, is your cache_dir writeable?
1597: [23:26:00] <FrozenFire> Though it's weird that you encounter the issue this late in the loading game.
1598: [23:26:00] <FrozenFire> This sounds a bit like an autoloading issue
1599: [23:26:00] <djd4ws0n> A couple of times, I've moved the cache dir from system path to the folder inside www
1600: [23:26:00] <djd4ws0n> Neither of the paths made a difference
1601: [23:27:00] <FrozenFire> If you have a folder in your web root called "silverstripe-cache", delete it
1602: [23:27:00] <FrozenFire> dev/build**
1603: [23:27:00] <FrozenFire> Then run /dev/buile
1604: [23:27:00] <FrozenFire> Is it writeable by your web user?
1605: [23:27:00] <FrozenFire> Moving it is also a bad idea.
1606: [23:27:00] <FrozenFire> Then re-create it and set it writeable by your web user
1607: [23:28:00] <djd4ws0n> but it didn't make a difference
1608: [23:28:00] * liam___ quit (Quit: liam___)
1609: [23:28:00] <djd4ws0n> It was created as the web user, so it was writeable by that user
1610: [23:29:00] <FrozenFire> Yeah. My other concern is that you copied the cache dir at all
1611: [23:29:00] <djd4ws0n> Ahh no, no copies were made
1612: [23:29:00] <FrozenFire> By copy, I mean moved it from its original path in any way, with the files still present
1613: [23:30:00] <djd4ws0n> Hmm, I'm going to try a fresh install, see if it shows the same problems
1614: [23:30:00] <djd4ws0n> Or that ;)
1615: [23:30:00] <FrozenFire> I don't know how the manifest writes its stuff, but if it hardcodes any paths, that might cause issues
1616: [23:30:00] <djd4ws0n> I created a brand new folder in the web root called 'silverstripe-cache'
1617: [23:30:00] <djd4ws0n> Will post my findings shortly
1618: [23:31:00] * nimeso has joined #silverstripe
1619: [23:31:00] <FrozenFire> That probably shouldn't affect it, unless you really buggered something up.
1620: [23:31:00] <FrozenFire> Do you have any modules installed?
1621: [23:32:00] <djd4ws0n> Yeah, it's late, so that could well be my official take on things too...
1622: [23:33:00] <djd4ws0n> only framework, cms and dashboard.
1623: [23:38:00] <djd4ws0n> I have a feeling that there may have been some kind of git failings involved that I missed
1624: [23:38:00] <FrozenFire> Odd.
1625: [23:38:00] <djd4ws0n> Looks like it was something in that setup. A fresh install has sorted it...
1626: [23:39:00] <djd4ws0n> possibly a merge conflict or otherwise
1627: [23:39:00] <FrozenFire> Did you install using composer?
1628: [23:39:00] * SphereSilver quit (Remote host closed the connection)
1629: [23:39:00] <FrozenFire> Possibly.
1630: [23:40:00] <djd4ws0n> Originally it was by git, though this time I used composer
1631: [23:45:00] <djd4ws0n> Thanks for the help FrozenFire :)
1632: [23:48:00] <aznain> If i want to see db query for DataObject::get() ... how can i do that
1633: [23:49:00] * markeaston quit (Quit: markeaston)
1634: [23:50:00] <djd4ws0n> You can see all of the current queries that are ran on a page by adding "?showqueries=1" at the end of your URL
1635: [23:51:00] <aznain> Will it work for form too ? because after click button page changes
1636: [23:52:00] <djd4ws0n> You could always modify the action parameter of your form to include it.
1637: [23:53:00] <aznain> How to search for more than one table fields against a keyword ... lets say i want to search 'aznain' in FirstName, SurName and Address .... what will be the statement
1638: [23:53:00] * liam_ has joined #silverstripe
1639: [23:54:00] <aznain> $members = DataObject::get("Member","MATCH (FirstName, Surname, Address) AGAINST ('$query' IN BOOLEAN MODE)");
1640: [23:54:00] <djd4ws0n> Are you working with SS3 or SS2.4?
1641: [23:54:00] * liam_ is now known as Guest66097
1642: [23:54:00] <aznain> It seems not working
1643: [23:59:00] <aznain> 2.4

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