#silverstripe IRC Log

IRC log for 19 September 2013

All timestamps are in UTC.

1: [00:00:53] * Colin[pi] has joined #silverstripe
2: [00:01:40] <Colin[pi]> good moin!
3: [00:03:51] * nickmolhoek has joined #silverstripe
4: [00:03:52] * nickmolhoek quit (Remote host closed the connection)
5: [00:04:00] <ss23> Stomach: Yeah, the busses aren't great there it looks like
6: [00:04:01] <ss23> :<
7: [00:04:06] * nickmolhoek has joined #silverstripe
8: [00:04:24] <Stomach> yeah they are every 20 minutes between 6-8 and 5-7pm
9: [00:04:34] <Stomach> but the bus route sucks unless you are on the golden mile
10: [00:07:57] <Pyromanik> ROFL ROFL ROFL ROFL
11: [00:08:00] <Pyromanik> firefox 25
12: [00:08:13] <Pyromanik> https://wiki.mozilla.org/images/thumb/e/e0/PanelMenu-i0_-Menu.jpg/600px-PanelMenu-i0_-Menu.jpg
13: [00:08:33] <Pyromanik> biggest update: menu.
14: [00:08:37] <Pyromanik> LOOK LIKE SOMETHING ELSE?
15: [00:09:30] * UncleCheese quit (Quit: UncleCheese)
16: [00:09:55] <ss23> 12:06:06 < Stomach> but the bus route sucks unless you are on the golden mile
17: [00:09:59] <ss23> I'll have to work down to courtney
18: [00:10:19] <Stomach> yeah thats okay, it just means a bit of a walk
19: [00:10:39] <Stomach> i work near the basin, so it was a bit more of an issue :D
20: [00:11:54] <Pyromanik> 11:56 < Stomach> i lived in brooklyn last year in a "student flat"
21: [00:11:59] <Pyromanik> that's because student flat.
22: [00:12:08] <Pyromanik> No matter where you live, they are always 100% shit.
23: [00:12:10] <Stomach> yeah totally
24: [00:12:17] <Stomach> i agree
25: [00:12:26] <Stomach> moving to a new city and moving into a flat sight unseen was a poor choice
26: [00:12:29] <Pyromanik> because landlords dont' give a fuck.
27: [00:13:26] <Pyromanik> pay no upkeep, do no rennovations, charge the fuck'n earth for a shitty damp 2 bedroom place turned into a 4 bedroom place by converting the toilet into a lounge and the lounge into 2 bedrooms and moving the lounge into the kitchen.
28: [00:14:20] <Pyromanik> Blame everything on students when they move out and use bond to fix shit that's happened because bad upkeep.
29: [00:14:34] <Pyromanik> to get back to barely lettable condition again.
30: [00:14:36] <Pyromanik> repeat.
31: [00:14:38] <Pyromanik> $$$$
32: [00:16:51] <Stomach> yeah, they suck
33: [00:17:12] <Pyromanik> Only ever lived in 1. 1 was enough.
34: [00:17:22] <Pyromanik> Was really nice when we moved in. The guy had actually rennovated.
35: [00:17:35] <Pyromanik> but he just stuck new carpet down and painted over old mould.
36: [00:17:40] <Pyromanik> turned out.
37: [00:17:48] <Pyromanik> because everything turned rotten as hell
38: [00:17:58] <Pyromanik> and we had to put the couch outside on fine weekends to dry it out.
39: [00:18:07] <Pyromanik> purely from moisture in our lounge.
40: [00:18:32] <Stomach> haha
41: [00:18:36] <Stomach> i lived in dunedin for 6 years
42: [00:18:41] <Stomach> so i was used to dingy shitholes
43: [00:22:23] <Pyromanik> guts
44: [00:29:19] <Colin[pi]> new iOS is very "happy"
45: [00:37:52] <Colin[pi]> rofl: http://metro.co.uk/2013/09/18/pay-per-view-bbc-news-presenter-goes-on-screen-with-wad-of-a4-sheets-after-mistaking-it-for-ipad-4047011/
46: [00:39:38] <ss23> rofl Colin[pi]
47: [00:40:56] <Colin[pi]> i mean... how
48: [00:41:07] <Colin[pi]> iPad suddenly gained a few pounds?
49: [00:45:32] * terryapodaca has left #silverstripe
50: [00:45:38] <ss23> simon_w|air: NOMS?!
51: [00:45:44] <ss23> Pj
52: [00:45:51] <ss23> Oh looks like he's just done court stuff
53: [00:46:00] <simon_w> That's right, I'm at home :p
54: [00:46:15] <ss23> simon_w|air: Coming in to work, or having lunch at home or what? :O
55: [00:46:33] <simon_w> ss23, look at what account I'm talking with
56: [00:46:43] <simon_w> Which one stays at work during the week?
57: [00:46:57] <ss23> simon_w: ....
58: [00:46:58] <ss23> .......
59: [00:47:00] <ss23> that one?
60: [00:47:00] <ss23> i,i
61: [00:47:03] <ss23> o.o
62: [00:47:06] <ss23> Why did you say you were at home?
63: [00:47:23] <simon_w> Notice the tongue face?
64: [00:47:36] <simon_w> You were trying to talk with the home laptop
65: [00:47:39] <ss23> I saw it, but I wasn't sure!!!!
66: [00:47:40] <ss23> Oh
67: [00:47:41] <ss23> I see
68: [00:47:44] <ss23> I just s*tab*
69: [00:47:50] <ss23> :<
70: [00:47:52] <ss23> simon_w: So noms?!
71: [00:47:53] <simon_w> excuses
72: [00:47:59] <simon_w> Might as well
73: [00:48:10] <Colin[pi]> BOIGER FOOL?
74: [00:48:40] <ss23> Colin[pi]: :3
75: [00:48:54] <ss23> spronk: Did you see Burger Fuel favorited my tweet?
76: [00:48:54] <ss23> :D
77: [00:49:16] <ss23> simon_w: Sweet , lemme know when
78: [00:52:33] * Bollig|DesignCty has joined #silverstripe
79: [01:07:09] * EasyCo quit (Quit: EasyCo)
80: [01:12:48] * nickmolhoek quit (Read error: Connection reset by peer)
81: [01:15:16] * nickmolhoek has joined #silverstripe
82: [01:15:17] * nickmolhoek quit (Read error: Connection reset by peer)
83: [01:15:31] * nickmolhoek has joined #silverstripe
84: [01:15:34] * nickmolhoek quit (Read error: Connection reset by peer)
85: [01:15:55] * nickmolhoek has joined #silverstripe
86: [01:19:20] <Stu_> Pyromanik: It's a weird direction to go design wise for firefox
87: [01:21:33] <Colin[pi]> I think they are losing the plot
88: [01:25:00] <ss23> simon_w: I am hungry :<
89: [01:25:02] * ss23 nibbles on simon_w
90: [01:25:33] <Stu_> Uservoice just had a really neat design update
91: [01:25:46] <Stu_> anyway, back to troubleshooting
92: [01:26:52] * Stomach quit (Quit: Leaving.)
93: [01:27:20] * Stomach has joined #silverstripe
94: [01:27:56] <simon_w> And I do actually do some work :p
95: [01:28:35] * UncleCheese has joined #silverstripe
96: [01:29:38] <ss23> I do too!
97: [01:29:52] <ss23> simon_w: I'm hungry now, so uh like... ;_; if you don't wanna get noms now, I just go now
98: [01:29:58] <ss23> Not forcing you to come!
99: [01:30:00] <ss23> just like
100: [01:30:01] <ss23> ima get it now
101: [01:30:08] <simon_w> ss23, 5 minutes
102: [01:30:18] <ss23> :D
103: [01:30:18] <ss23> kk
104: [01:47:49] * zippy__ has joined #silverstripe
105: [01:59:04] * Peavers_Opps has joined #silverstripe
106: [01:59:33] * UncleCheese quit (Ping timeout: 240 seconds)
107: [01:59:36] * Peavers quit (Ping timeout: 245 seconds)
108: [02:34:37] <zippy__> Pyromanik: Dominated indeed!
109: [02:35:28] <Pyromanik> indeed.
110: [02:36:51] <Pyromanik> GET <api-endpoint> Size: 80.8Kb, Timeline: 1m 52s onload.
111: [02:36:58] <Pyromanik> Fantasmic.
112: [02:54:13] <guzzlefry> So, Adding instructions for end-users regarding CMS fields, are literalfields the best method for this?
113: [03:10:52] * liam_ has joined #silverstripe
114: [03:11:09] <liam_> is it possible to have multiple extensions on the same object?
115: [03:11:16] * liam_ is now known as Guest96921
116: [03:11:21] <ss23> yes, Guest96921
117: [03:13:33] <guzzlefry> k so
118: [03:13:55] <guzzlefry> Field->setDescription() is what I wanted to set some type of description on CMS form fields. :P
119: [03:14:17] * guzzlefry makes sure to say that as verbosely as possible for log bot.
120: [03:21:17] <Pyromanik> guzzlefry: yes.
121: [03:21:30] <Pyromanik> good work.
122: [03:23:58] <guzzlefry> FrozenFir* helped. Asterisk included to not bug him further. :P
123: [03:29:55] <simon_w> Eh, you can bug FrozenFire as much as you want :p
124: [03:30:17] <FrozenFire> :P
125: [03:30:42] * simon_w pokes FrozenFire
126: [03:30:46] * simon_w pokes FrozenFire some more
127: [03:30:51] * FrozenFire prods simon_w
128: [03:31:19] <simon_w> So, it turns out I usually have my headphones at a level which means I can't hear my phone ring
129: [03:31:22] <simon_w> Oops
130: [03:32:17] * FrozenFire has stopped wearing headphones
131: [03:32:27] <FrozenFire> Apparently they coat the over-the-ear ones with latex
132: [03:32:59] <spronk> p+P
133: [03:33:00] <spronk> o_O
134: [03:33:09] <atmos> unless they're fabric ones
135: [03:33:23] * FrozenFire hasn't encountered decent fabric ones
136: [03:33:30] <atmos> neither :P
137: [03:33:36] <FrozenFire> Mine at Logitech G930s
138: [03:33:39] <spronk> ?!
139: [03:33:44] <spronk> sennheiser HD600
140: [03:33:45] <spronk> go
141: [03:34:00] <spronk> AKG k240s come with velour fabric earpads
142: [03:34:03] <spronk> anything beyerdynamic
143: [03:34:31] <guzzlefry> Are those the fancy Sennheisers with replaceable everything?
144: [03:34:43] <atmos> Bang and Olufsen ftw
145: [03:35:26] <spronk> hd600s are fantastic
146: [03:35:38] <spronk> you can basically buy the parts to build a new pair for less than the cost of a new paoir
147: [03:36:14] <FrozenFire> Beyerdynamic ones look to have latex padding
148: [03:36:37] <FrozenFire> Well, one of the two I've looked at definitely does
149: [03:36:39] <spronk> really? :S
150: [03:36:40] <simon_w> Just man up and wear latex
151: [03:36:46] <FrozenFire> Hard to tell from these tiny-ass pictures
152: [03:36:52] <FrozenFire> simon_w, I have a latex allergy. :P
153: [03:36:55] <spronk> wtf is latex padding anywayt
154: [03:37:01] <FrozenFire> I don't this persistent rash is sexy
155: [03:37:04] <simon_w> See the bit about manning up :p
156: [03:37:24] <atmos> you could always get those little slip covers they have when you try out new headphones :P
157: [03:37:37] <FrozenFire> I'd probably still have issues with those
158: [03:37:48] <spronk> unless it's latex foam
159: [03:37:51] <FrozenFire> A lot of it ends up being about perspiration carrying the latex around
160: [03:37:55] <ss23> HMM
161: [03:37:55] <spronk> then the beyers and sennheisers definitely don't have any latex in them
162: [03:38:00] <ss23> dev/build failing with SQL syntax errors
163: [03:38:03] <ss23> postgres yay.
164: [03:38:12] <spronk> they don't smell like latex, but.. hmm
165: [03:38:16] <FrozenFire> spronk, Beyers definitely do.
166: [03:38:22] <spronk> FrozenFire: grados?
167: [03:38:48] <FrozenFire> Those look somewhat better
168: [03:39:12] <FrozenFire> Not sure I want to spend many hundreds of dollars on headphones, though
169: [03:39:20] <spronk> get a pair of sr-60s
170: [03:39:32] <spronk> you can get them for like $79USD if you look hard enough, and they're way better than anything else at the price range
171: [03:39:40] <spronk> ...still, which is sad, because they're oooold
172: [03:39:51] <FrozenFire> Well, big thing for me is having a microphone
173: [03:40:03] <FrozenFire> We do all-day Google Hangouts where I work
174: [03:40:16] <spronk> :|
175: [03:40:28] <FrozenFire> I either have to have decent headphones with a decent microphone, or I need to get a unidirectional microphone
176: [03:42:34] * Guest96921 has left #silverstripe
177: [03:51:01] <ss23> postgres is hard
178: [03:51:14] <guzzlefry> pft
179: [03:51:20] <simon_w> You're just doing it wrong
180: [03:51:22] <ss23> I just wanna delete a database
181: [03:51:24] <guzzlefry> ss23: It made more sense to me than MySQL.
182: [03:51:26] <ss23> psql92: FATAL: role "sshkardoon" does not exist
183: [03:51:31] <guzzlefry> oh
184: [03:51:36] <ss23> psql92: FATAL: role "root" does not exist
185: [03:51:37] <ss23> how 2 fix
186: [03:51:40] <guzzlefry> I did find the role things confusing.
187: [03:51:41] <simon_w> ss23, dropdb
188: [03:51:51] <simon_w> instead of psql
189: [03:51:59] <ss23> how 2 get list of DBs?
190: [03:52:01] <ss23> idk its name
191: [03:52:03] <simon_w> \l
192: [03:52:08] <simon_w> psql postgres
193: [03:52:23] <ss23> silverstripes-iMac-2:nzxagri.com sshkardoon$ psql92 postgres
194: [03:52:23] <ss23> psql92: FATAL: role "sshkardoon" does not exist
195: [03:52:31] <simon_w> sudo -u postgres
196: [03:52:44] <ss23> :D
197: [03:52:44] <ss23> yay
198: [03:52:48] <ss23> I tried root and _www, not postgres
199: [03:53:55] <simon_w> Do you even lift?
200: [03:53:58] <ss23> lol
201: [03:54:08] <ss23> tfw dropdb isn't using the same socket as psql 92
202: [03:55:01] <simon_w> You've got multiple postgres installs?
203: [03:55:08] <ss23> idk
204: [03:55:09] <ss23> :O
205: [03:55:10] <simon_w> Got a dropdb92?
206: [03:55:13] <ss23> nope
207: [03:55:17] <ss23> But I just used psql dropdatabase;
208: [03:55:57] <simon_w> guzzlefry, roles are basically users
209: [03:56:50] <guzzlefry> simon_w: I'm used to MySQL's permission hell.
210: [03:56:57] * liam_ has joined #silverstripe
211: [03:57:09] <Stu_> My HD555's lasted for ages,hd600's look flimsier
212: [03:57:20] <guzzlefry> Something as simple and straight-forward as Postgres's system throws me off as I'm looking for gotchas.
213: [03:57:21] * liam_ is now known as Guest45139
214: [03:57:38] <simon_w> only gotcha I've had: forgetting to grant LOGIN
215: [03:57:47] <guzzlefry> heh
216: [03:58:19] <simon_w> Ooh, I can "afford" a new phone now...
217: [03:58:45] <guzzlefry> oooh
218: [03:58:57] <simon_w> Now I have to make the decision, pink or gold?
219: [03:59:15] * cloph has joined #silverstripe
220: [03:59:21] <guzzlefry> Do they have those "sign up for 2-years of overpriced service plans for a $99 iPhone" deals in NZ?
221: [03:59:29] <simon_w> Yes
222: [03:59:35] * cloph_away quit (Ping timeout: 245 seconds)
223: [03:59:37] <simon_w> That's how I got my first one
224: [03:59:52] <simon_w> Will just buy it outright this time though
225: [04:00:18] <Guest45139> just installed ss 3.1 and my theme isn't working… it just shows some default view with a dark blue header and grey content…. Any ideas why?
226: [04:00:37] <simon_w> Guest45139, flushed? Don't have the theme set properly?
227: [04:01:48] <Guest45139> simon_w: wow… it wasnt flushed properly because I only flushed on dev/build… cheers
228: [04:05:32] <guzzlefry> So, am I correct in thinking that you also have to flush for /dev/build/ to pick up on changes?
229: [04:05:46] <simon_w> Currently, yes
230: [04:06:08] <guzzlefry> Is that a new thing?
231: [04:08:13] <Colin[pi]> i thought flush was not necessary for /dev/build?
232: [04:08:33] <simon_w> With the changes to only allow flush to admins it's now necessary
233: [04:09:25] * cloph quit (Read error: Connection timed out)
234: [04:11:02] <simon_w> Woo, platinum visa coming
235: [04:11:33] * cloph_away has joined #silverstripe
236: [04:12:05] <Colin[pi]> yeah.. but.. isn't /dev/build just admins only?
237: [04:12:18] <simon_w> yes, but flushing has to happen before that check
238: [04:12:24] <Colin[pi]> oic
239: [04:12:40] <simon_w> Probably going to be fixed for 3.1.1
240: [04:17:22] <Guest45139> anyone know the best way to have different favicons for subsites?
241: [04:21:41] <Pyromanik> 15:53 <@simon_w> Do you even lift?
242: [04:21:46] <Pyromanik> smashed ss23
243: [04:21:52] <ss23> lol
244: [04:21:53] <ss23> m8
245: [04:21:56] <ss23> u mirin
246: [04:24:27] <simon_w> "All jurors for the week of 16 September 2013 you are no longer required to attend jury service and are dismissed for the week. "
247: [04:24:42] <ss23> nice
248: [04:24:42] <ss23> :D
249: [04:24:53] <simon_w> Work will be happy
250: [04:27:10] <Colin[pi]> yay
251: [04:27:20] * Jayden90 has joined #silverstripe
252: [04:31:39] * sam_ has joined #silverstripe
253: [04:32:16] <sam_> hi....
254: [04:32:21] <sam_> anybody please help...
255: [04:32:46] <sam_> Recaptcha not getting shown in firefox
256: [04:32:57] <sam_> http://planmytournament.com/plan-a-tournament?flush=1
257: [04:33:03] * DigNZ quit (Quit: DigNZ)
258: [04:34:39] <Colin[pi]> sam_: getting three JS errors in console, presume that might be to do with it
259: [04:34:56] <sam_> ok
260: [04:35:58] * nickmolhoek quit (Ping timeout: 240 seconds)
261: [04:39:03] <Pyromanik> yeh, shows fine if you turn JS off. Not an issue with SS.
262: [04:39:32] <Pyromanik> sam_: ^
263: [04:39:38] * atmos quit (Quit: Page closed)
264: [04:39:57] <sam_> ok
265: [04:41:51] * nickmolhoek has joined #silverstripe
266: [04:41:52] * nickmolhoek quit (Remote host closed the connection)
267: [04:42:36] * nickmolhoek has joined #silverstripe
268: [04:43:23] <spronk> anyone got any ideas as to why i might be able to upload an image fine, said image appears in files list in correct directory etc, but doesn't ever attach to whatever dataobject it's meant to?
269: [04:44:07] <Colin[pi]> is it an Image or an extension of Image ?
270: [04:44:16] <spronk> both
271: [04:44:28] <Colin[pi]> because I seem to remember something about extending it and putting a has_one on the extension
272: [04:44:41] <spronk> i've got one that's ProductImage extends DO { has_one Image => Image
273: [04:44:45] <spronk> and one that's a custom site config
274: [04:44:48] <spronk> has_one Image
275: [04:45:02] <Colin[pi]> how about has_one ProductImage ?
276: [04:45:04] <spronk> i'm pretty sure this worked at some point
277: [04:45:10] <spronk> productpage has one productimage
278: [04:45:13] <spronk> it saves the productimage
279: [04:45:13] <Colin[pi]> ProductImage extends Image (has has_one to Product)
280: [04:45:26] <Colin[pi]> or I might be talking out of my arse
281: [04:45:26] <spronk> see silverstripe used to ahve that thing where you'd have to save the DO before youi could upload any images
282: [04:45:40] <Colin[pi]> yea
283: [04:45:44] <spronk> that doesn't seem to be there anymore, which makes me wonder whether it's regression in 3.1b1 -> wherever the hell i'm at
284: [04:45:49] <Colin[pi]> hmm
285: [04:45:56] <simon_w> It's supposed to not be needed
286: [04:46:11] <simon_w> If you're having problems, blame tractorcow ;)
287: [04:46:11] <spronk> cms makes all the right noises
288: [04:46:17] <spronk> image saves
289: [04:46:19] <spronk> but... no attachy
290: [04:46:34] * nickmolhoek quit (Client Quit)
291: [04:46:38] <Colin[pi]> checked the db to see key values?
292: [04:46:47] <spronk> good point
293: [04:47:01] * nick86 has joined #silverstripe
294: [04:48:24] <spronk> k
295: [04:48:28] <spronk> this works on my local machine :/
296: [04:48:31] <spronk> but it isn't working on live
297: [04:48:31] <spronk> hmm
298: [04:48:37] <Colin[pi]> dev/build ?
299: [04:48:50] <spronk> uyeah i have..
300: [04:48:53] * spronk does it again for good measure
301: [04:49:32] <simon_w> Then light some things on fire
302: [04:50:20] <spronk> nothing in network log
303: [04:50:26] <spronk> product page id saves
304: [04:50:40] <Pyromanik> simon_w: cloning an object in php gives you access to it's private vars in the same scope?
305: [04:50:42] <spronk> it won't attach an existing image either
306: [04:50:55] <Pyromanik> eg, array list
307: [04:51:13] <Pyromanik> $list = clone $this; $list->items = $itemsToKeep;
308: [04:51:16] <Pyromanik> (on filter)
309: [04:51:27] <Pyromanik> $list->items is protected.
310: [04:51:29] <simon_w> Pyromanik, yes, also *its
311: [04:51:47] <Pyromanik> the private vars belong to that object, it's.
312: [04:52:10] <Pyromanik> posession, not contraction.
313: [04:52:23] <nick86> hey guys, just wondering if anyone has any experience using the multiple class gridfield extenion - I need to know how to build the GridField with multiple classes.
314: [04:52:37] <Pyromanik> nick86: just like the docs say.
315: [04:53:04] <Pyromanik> https://github.com/ajshort/silverstripe-gridfieldextensions/blob/master/docs/en/index.md#multi-class-adding
316: [04:53:16] <Pyromanik> $grid->getConfig()->removeComponentsByType('GridFieldAddNewButton')->addComponent(new GridFieldAddNewMultiClass());
317: [04:53:26] <simon_w> Pyromanik, yes, so its. it's is a contraction.
318: [04:53:32] <spronk> hmm [19-Sep-2013 03:38:47 UTC] PHP Warning: Module 'mailparse' already loaded in Unknown on line 0
319: [04:53:52] <Pyromanik> spronk's socks.
320: [04:54:00] <spronk> wow, whatever hosting company this is
321: [04:54:03] <Pyromanik> the socks are spronk's.
322: [04:54:05] <spronk> cna't even get php config right :|
323: [04:54:22] <simon_w> Pyromanik, you seriously don't know the difference between its and it's?
324: [04:54:28] <Pyromanik> I thought I did :<
325: [04:54:29] <Colin[pi]> oh crimney here we go on the grammar stuff
326: [04:54:32] <nick86> Hi Pyromanik, i have been following that doc, it is all working well i just need to know what to use as the third param in GridField::create
327: [04:54:36] <spronk> it's is short for it is
328: [04:54:56] <Colin[pi]> yeah the possession thing is bogus right
329: [04:54:57] <spronk> it's like... the one time in english that the possessive rule is broken
330: [04:54:59] <Colin[pi]> just its
331: [04:55:01] <Pyromanik> http://theoatmeal.com/comics/apostrophe
332: [04:55:40] <Pyromanik> nick86: GridField::create('Name', 'Title', $source);
333: [04:55:41] <simon_w> Pyromanik, scroll down to the its/it's bit
334: [04:55:55] <Pyromanik> guts
335: [04:55:57] <Pyromanik> oh well
336: [04:56:01] <Pyromanik> good refresher.
337: [04:56:18] <spronk> [client 116.199.220.250] client denied by server configuration: /home/xiaoshou/public_html/assets/images
338: [04:56:21] <spronk> the fuck
339: [04:56:28] <sam_> hi Pyromanik & Colin[pi] http://planmytournament.com/
340: [04:56:42] <sam_> in this page some character encoding error is coming...
341: [04:56:57] <nick86> My $source is no longer one class, how do i define multiple classes here?
342: [04:57:34] <Pyromanik> nick86: is it a relation?
343: [04:57:40] <spronk> ugh
344: [04:57:46] <spronk> why the fuck does phpmyadmin have a paged table list now :|
345: [04:57:49] <Colin[pi]> spronk: apache config denying access to that dir
346: [04:58:05] <spronk> hmm
347: [04:58:11] <spronk> but.. it's uploading the image
348: [04:58:12] <spronk> but
349: [04:58:13] <spronk> wtf
350: [04:58:13] <spronk> D:
351: [04:58:23] <spronk> this is why i try and stay away from hosting
352: [04:58:28] <Colin[pi]> lol
353: [04:58:44] <Pyromanik> nick86: if it's a relation then source is simply $this->relation()
354: [04:58:50] <nick86> in my $has_many i have the multiple classes for this grid field
355: [04:58:51] <spronk> yeah
356: [04:58:58] <spronk> all the latest ProductImages have ImageID of 0
357: [04:59:00] <nick86> ok, will try that out
358: [04:59:35] <nick86> sorry, pyro, that is what i currently have, i need this to work for multiple relations
359: [04:59:57] <spronk> ItemEditForm/field/Image/attach returned 200 OK
360: [05:00:59] <Pyromanik> nick86: oh, well then you're out of luck.
361: [05:01:07] <Pyromanik> that is not what that extension is for.
362: [05:01:09] <spronk> WHY IS NOT SAVING
363: [05:01:19] <spronk> also, this is absurdly hard to debug thanks to all the fucking javascript
364: [05:01:28] <Pyromanik> spronk: because deal with it.
365: [05:02:42] <Pyromanik> nick86: mulitclassadding is for allowing a gridfield to handle subclasses of the object the list it manages is using.
366: [05:02:58] <nick86> I have put a paste together showing what my current set up is http://www.sspaste.com/paste/show/523a83e7a0f18
367: [05:03:42] <Pyromanik> nick86: you want $has_many = array('Tiles' => 'Tile');
368: [05:04:01] * simon_w wants home time, so takes it
369: [05:04:14] <Pyromanik> where nick86 where small medium and large subclass Tile
370: [05:04:34] <nick86> oh k, that makes a bit more sense
371: [05:04:41] <nick86> will work from that
372: [05:04:59] <nick86> thanks for your help :)
373: [05:06:00] <Pyromanik> then you can GridField::create('Tiles', 'Featured Tiles', GridFieldConfig_RelationEditor::create()->removeComponentsByType('GridFieldAddNewButton')->addComponent(new GridFieldAddNewMultiClass()));
374: [05:06:47] <Pyromanik> nick86: but it sounds like there isn't much difference in your tile class, personally I'd have a single class with a dropdown to select size, rather than multiple subclasses.
375: [05:07:22] <sam_> Hi.... Pyromanik ....
376: [05:07:36] <ss23> hi....................................... sam.........................
377: [05:07:41] <sam_> Recaptcha is not working ptoperly
378: [05:07:48] <sam_> http://planmytournament.com/
379: [05:07:54] <nick86> each tile with have specific elements, some have icons, some have images and text, the distinction is needed
380: [05:07:57] <Pyromanik> nick86: you'll likely want accessors to get the different sizes, so you'll need something like getMediumTiles() { return $this->Tiles()->filter('ClassName', 'MediumTile');}
381: [05:08:21] <Pyromanik> sam_: I know, we told you you need to fix your javascript.
382: [05:08:30] <nick86> i am on the right track now i think
383: [05:09:10] <sam_> this is different
384: [05:09:14] <sam_> form
385: [05:09:31] <sam_> the previous one is almost fixed
386: [05:10:50] <spronk> ARGH
387: [05:10:56] <spronk> what else do i need to check with my uploadfield?
388: [05:11:04] <Pyromanik> sam_: recaptcha is working fine on that homepage.
389: [05:11:29] <ss23> spronk: DID YOU SEE BURGERFUEL FAVORITED MY TWEET?
390: [05:11:43] <nick86> that is working now Pyromanik, thanks again
391: [05:11:43] <Pyromanik> spronk: just trace the execution through submission
392: [05:11:50] <Pyromanik> you're welcome nick86
393: [05:12:01] <Pyromanik> weekend time!
394: [05:12:06] <Pyromanik> bye everyone.
395: [05:12:09] * Pyromanik quit (Quit: leaving)
396: [05:13:02] <spronk> arning at framework/control/HTTPResponse.php line 257: Couldn't set response type to 404 because of output on line 289 of /home/xiaoshou/public_html/subsites/code/model/Subsite.ph
397: [05:14:39] * Peavers_Opps quit ()
398: [05:22:39] * Shrike_Finland has joined #silverstripe
399: [05:24:22] * stecman quit (Quit: This computer has gone to sleep)
400: [05:25:02] * stecman has joined #silverstripe
401: [05:26:27] <Colin[pi]> weekend time?
402: [05:26:32] <Colin[pi]> o_O
403: [05:26:34] <ss23> Isn't it Thursday?
404: [05:26:35] <ss23> :<
405: [05:26:36] * ss23 cries
406: [05:26:39] <ss23> I just got excited
407: [05:26:49] <ss23> I'm so tired this week
408: [05:26:50] <ss23> ;_;
409: [05:26:51] <Colin[pi]> pyromanik you bastard lol
410: [05:26:56] <Colin[pi]> :(
411: [05:28:16] <spronk> ss23: fucking BF
412: [05:28:20] <spronk> taunting me
413: [05:28:23] <ss23> hahahah
414: [05:28:31] <spronk> that bambina was fucking delicious though
415: [05:28:38] <spronk> and a pidgeon ran into the ponsonby rd store lulz
416: [05:29:07] <spronk> they've stopped answering my questions as to when chch
417: [05:30:25] * Stomach quit (Quit: Leaving.)
418: [05:30:42] <Zauberfisch> still having this weird issue from yesterday, save on gridfield gets an empty ajax response and then JS dies
419: [05:30:45] <Zauberfisch> (js error)
420: [05:30:55] <Zauberfisch> tried disabling the betterbuttons
421: [05:31:04] <Zauberfisch> didn't help
422: [05:32:04] * Jayden90 quit (Quit: Jayden90)
423: [05:35:14] * stecman quit (Quit: This computer has gone to sleep)
424: [05:37:51] * Jayden90 has joined #silverstripe
425: [05:40:27] <Zauberfisch> tried framework+cms master, 3.1 and 3.1.0
426: [05:40:34] <Zauberfisch> all the same
427: [05:43:26] <spronk> oh ffs
428: [05:43:41] <spronk> can't figure out why this image isn't attaching
429: [05:46:14] <spronk> Zauberfisch: more info needed
430: [05:47:10] <Zauberfisch> default gridfield
431: [05:47:13] <Zauberfisch> no custom components
432: [05:47:32] <Zauberfisch> on a page, managing a has_many dataobjects
433: [05:47:41] <Zauberfisch> dataobject contains a checkbox and a uploadfield
434: [05:47:46] <Colin[pi]> spronk: you checked the apache config?
435: [05:48:20] <Zauberfisch> when pressing save after adding or editing a record the record gets saved, but the http response of the save is empty and then javascript throws an error and stops
436: [05:48:29] <Zauberfisch> so the loading button keeps spinning and nothing happens
437: [05:48:51] <spronk> Colin[pi]: i can't access the apache conf, it's bloody shared host
438: [05:48:57] <spronk> hmm
439: [05:48:58] <Colin[pi]> oh weaksauce
440: [05:49:02] <spronk> anything in php logs, Zauberfisch?
441: [05:49:14] <spronk> i don't even know where to look to debug this
442: [05:49:28] <spronk> the ajax response i get from the attaching of image has the rightg image id..
443: [05:51:17] <Zauberfisch> error logs are clean
444: [05:51:25] <spronk> hmm
445: [05:51:30] <spronk> what's giving the empty ajax response?
446: [05:51:40] <Zauberfisch> oh, actually, wait
447: [05:51:45] <Zauberfisch> the apache log was clean
448: [05:52:00] <Zauberfisch> no, nvm, silverstripe log is clean as well
449: [05:55:13] * sam_ quit (Ping timeout: 250 seconds)
450: [05:56:55] <Zauberfisch> spronk: the save action
451: [05:57:10] <Zauberfisch> not sure if that is intended, if its not, then its a pure JS error
452: [05:59:20] * Jayden90 quit (Quit: Jayden90)
453: [06:02:19] * Liquide quit ()
454: [06:03:51] * Guest45139 quit (Quit: Guest45139)
455: [06:05:36] * liam_ has joined #silverstripe
456: [06:06:00] * liam_ is now known as Guest40981
457: [06:08:49] <spronk> hmm
458: [06:08:59] <spronk> :S
459: [06:09:08] <spronk> tamper data post param name... ids%5B%5D
460: [06:12:53] <spronk> aha
461: [06:13:24] <spronk> on my local machine, i get Image[Files][] as a parameter in the form submission
462: [06:13:26] <spronk> on live, don't get that
463: [06:13:27] <spronk> wtf
464: [06:13:50] * simon_w|air is now having to resist buying a new computer
465: [06:13:53] <simon_w|air> Dammit
466: [06:13:56] <spronk> ?
467: [06:14:05] <simon_w|air> I got a $9k credit limit increase
468: [06:14:11] <spronk> lol
469: [06:14:16] <spronk> rich shit
470: [06:14:24] <simon_w|air> Stupid minimum limits
471: [06:14:29] <spronk> o_O
472: [06:14:30] <spronk> gold?
473: [06:14:40] <simon_w|air> platinum
474: [06:14:49] <spronk> lol
475: [06:14:50] <spronk> rich shit
476: [06:14:59] <simon_w|air> It's only twice as expensive as gold :p
477: [06:15:11] <simon_w|air> air points and 0% conversion fees :)
478: [06:15:15] <spronk> and totally isn't worth it except for the status symbol
479: [06:15:46] <simon_w|air> I'm in Australia a fair amount, so is worth it for the lack of conversion fees
480: [06:15:56] <spronk> hmm
481: [06:16:01] * Stu_ quit (Ping timeout: 250 seconds)
482: [06:16:16] * sam_ has joined #silverstripe
483: [06:16:34] <sam_> can anybody help me with html and css issue
484: [06:16:35] <spronk> i'd have to spend about 10k converted to make it worthwhile for me
485: [06:16:36] <sam_> ?
486: [06:16:40] <sam_> http://planmytournament.com/
487: [06:16:42] <spronk> sam_: maybe. what is it?
488: [06:16:53] <sam_> left side form...
489: [06:17:21] <spronk> well, you've got a recaptcha in there
490: [06:17:26] <spronk> that's way wider than the form
491: [06:17:55] <spronk> and #plan-block has a fixed width that's less than the recaptcha
492: [06:17:57] <spronk> so i'd start there
493: [06:18:07] <sam_> after text field ... not able to put line break
494: [06:18:19] <sam_> editing the formfield.php
495: [06:19:20] <spronk> o_O
496: [06:20:03] <spronk> simon_w|air: got any ideas as to why on my prod env, image form isn't submitting Image[Files][] postdata when saving form?
497: [06:20:16] <simon_w|air> mod_security being a bitch?
498: [06:20:24] <spronk> ugh
499: [06:20:35] <spronk> thought live env would get me around that bullshit
500: [06:21:16] <spronk> woah
501: [06:21:17] <spronk> wtf
502: [06:21:17] <spronk> it worked
503: [06:21:40] * spronk is going mad.didn't change anything, now it works
504: [06:22:07] * simon_w|air is magic!
505: [06:22:15] <spronk> what did you do to my server!?!?!?
506: [06:22:23] <simon_w|air> Everything!
507: [06:22:32] <spronk> Mother of God.
508: [06:29:45] <Guest40981> I have inherited from another controller and I am trying to change the layout by putting another layout file in the theme layout directory with the page name but it isnt being picked up… Should this work or not?
509: [06:30:03] <simon_w|air> Have you flushed?
510: [06:31:53] <Guest40981> simon_w|air: yes many times...
511: [06:32:05] <simon_w|air> And what's the name of your controller and of the template?
512: [06:32:40] <Guest40981> simon_w|air: controller is RentalLeadsPage_Controller and template is RentalLeadsPage.ss
513: [06:32:49] <Guest40981> and page name is RentalLeadsPage
514: [06:32:55] <Guest40981> class name*
515: [06:33:09] <simon_w|air> And you've change a Page to that type, then save & published it?
516: [06:34:00] <Guest40981> simon_w|air:yep
517: [06:34:27] <simon_w|air> And you're not going through any sort of renderWith() call?
518: [06:35:36] <Guest40981> simon_w|air: im not using renderWith
519: [06:37:54] <Guest40981> simon_w|air: the child class and controller dont have any code in them though… it's only used to change the template. Is there something I need to have in them as a minimum?
520: [06:38:15] <simon_w|air> Shouldn't need to
521: [06:38:49] <simon_w|air> If you do a ?debug=1&debug_request=1 what do you get? (You need to be in dev mode for them to work)
522: [06:41:08] <Guest40981> simon_w|air:its showing the parent controller….
523: [06:41:30] <simon_w|air> Sounds like the class of the page hasn't changed
524: [06:43:37] <Guest40981> simon_w|air: ok nvm its because I am using subsites and I was looking at the main site which has a page with the same name but is of the parent class type… thanks for helping
525: [07:03:40] <sam_> hi can anybody help me on html?
526: [07:03:49] <sam_> how to remove the border on http://planmytournament.com/?flush=1
527: [07:03:56] <sam_> the left side form
528: [07:06:09] * ARNHOE has joined #silverstripe
529: [07:14:35] * zfmf1 has joined #silverstripe
530: [07:17:45] * zfmf1 quit (Read error: Connection reset by peer)
531: [07:18:41] * g4b0 has joined #silverstripe
532: [07:18:58] <g4b0> hi all
533: [07:19:00] <Bollig|DesignCty> sam_: there's a border on .fb-info-block, line 49 of style.css
534: [07:19:01] <g4b0> <% loop $list('Page').filter('ParentID', '0').filter('Footer', 1) %>
535: [07:19:14] <Bollig|DesignCty> sam_: set it to 0. :)
536: [07:19:16] <g4b0> how can I filter also for published pages?
537: [07:19:20] <sam_> ok
538: [07:19:39] <sam_> what about left side form?
539: [07:23:02] <Bollig|DesignCty> sam_: tha's the field set's border, default on most browsers.
540: [07:24:24] <Bollig|DesignCty> so use fieldset {border:0; padding:0;}
541: [07:24:38] <Bollig|DesignCty> (unless you want the padding, most times you won't need it)
542: [07:25:59] * zfmf1 has joined #silverstripe
543: [07:28:21] <sam_> ok...
544: [07:28:36] <sam_> can u please help me on validationError?
545: [07:28:46] <sam_> http://planmytournament.com/golf-course-profile-register
546: [07:29:05] <sam_> the javascript error is coming as invalid syntax
547: [07:34:52] <simon_w|air> Man, this Android emulator takes a long time to boot
548: [07:38:03] <simon_w|air> sam_, first, don't put JS in the head
549: [07:38:19] <simon_w|air> Second, you've got unescaped "s inside a "-quoted string
550: [07:53:45] <sam_> ok
551: [07:57:40] <sam_> hi....
552: [07:57:55] <sam_> can you please help me about recaptcha?
553: [07:58:03] <sam_> recaptcha not gettingl loaded
554: [08:03:44] * pippy_ has joined #silverstripe
555: [08:05:24] * Guest40981 quit (Quit: Guest40981)
556: [08:05:47] * pippy quit (Ping timeout: 248 seconds)
557: [08:08:50] * aragonne quit (Quit: aragonne)
558: [08:13:56] * olance has joined #silverstripe
559: [08:14:05] <olance> hi there!
560: [08:14:42] <olance> got a quick question: I seem not to be able to debug my javascripts anymore, because the timestamp appended by SS to the script files changes constantly, even when the file's content doesn't
561: [08:14:58] <olance> it didn't use to do that... any idea what's going on?
562: [08:16:59] <olance> apparently it's only happening on coffeescript files, which are included using MetaLanguages::require_coffeescript
563: [08:30:49] * AlphaCactus_ has joined #silverstripe
564: [08:32:19] * AlphaCactus quit (Ping timeout: 260 seconds)
565: [08:32:48] * sam_____ has joined #silverstripe
566: [08:32:52] <sam_____> hi...
567: [08:32:53] <simon_w|air> olance, is that recompiling the coffee script each time?
568: [08:33:01] <sam_____> the recaptcha is not getting loaded...
569: [08:33:02] * AlphaCactus_ is now known as AlphaCactus
570: [08:33:19] <sam_____> http://planmytournament.com/plan-a-tournament
571: [08:34:06] <olance> simon_w|air: I'm not sure...
572: [08:34:13] <olance> If I change it it'll get recompiled
573: [08:34:21] <olance> but if I don't, how can I know it will
574: [08:34:27] <olance> or won't?
575: [08:34:46] <olance> I could try spying for a spawn of the coffeescript cli
576: [08:35:07] * sam_ quit (Ping timeout: 250 seconds)
577: [08:38:20] * chillu has joined #silverstripe
578: [08:38:47] <sam_____> please somebody help me on recaptcha
579: [08:38:54] <sam_____> http://planmytournament.com/plan-a-tournament
580: [08:39:09] <sam_____> not getting loaded
581: [08:39:52] <sam_____> in FF
582: [08:41:38] * kerosene quit (Quit: Reconnecting)
583: [08:42:02] * kerosene has joined #silverstripe
584: [08:44:58] * liam_ has joined #silverstripe
585: [08:45:29] * liam_ is now known as Guest39108
586: [08:55:47] <olance> simon_w|air: I've put a user_error("should not recompile") in MetaLanguages code in the Requirement_coffeescript.php compile() method
587: [08:56:05] <olance> and the error is triggered (ie. the file gets recompiled) although I haven't touched it...
588: [08:57:36] <simon_w|air> And that's why your m time keeps changing
589: [09:03:18] <olance> yep
590: [09:03:30] <olance> now I'm trying to figure out why it's happening ^^
591: [09:03:44] <olance> the modification_tolerance config hasn't been touch, so it's set to 5 seconds
592: [09:03:59] <olance> touched*
593: [09:04:30] <olance> maybe I'll try rebooting my OS first... might sound dumb but I've had some filesystem "issues" yesterday, they may be the cause of it
594: [09:04:37] <olance> I'll be back :]
595: [09:06:14] * zfmf1 quit (Ping timeout: 248 seconds)
596: [09:06:34] * olance quit (Quit: Page closed)
597: [09:07:54] * zippy__ quit (Quit: zippy__)
598: [09:12:02] <sam_____> can anybody help me on recaptcha?
599: [09:12:08] <sam_____> please
600: [09:12:16] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
601: [09:22:13] * olance has joined #silverstripe
602: [09:23:45] <olance> simon_w|air: no luck, the file is still being recompiled after reboot...
603: [09:25:25] * g4b0 quit (Ping timeout: 248 seconds)
604: [09:34:46] * ocm has joined #silverstripe
605: [09:35:06] <ocm> goodday
606: [09:35:44] <olance> hi
607: [09:38:06] * g4b0 has joined #silverstripe
608: [09:41:01] * zfmf1 has joined #silverstripe
609: [09:43:06] * Guest39108 quit (Quit: Guest39108)
610: [09:46:38] <olance> simon_w|air: I've touched both files (.coffee and generated .js) with a single command and it seems it's "fixed".. thanks for your help :)
611: [09:47:47] * zippy__ has joined #silverstripe
612: [09:50:56] <ss23> Remember taht time we voted in National, twice?
613: [09:56:29] * olance quit (Quit: Page closed)
614: [10:07:08] * anujit has joined #silverstripe
615: [10:07:12] <anujit> hi...
616: [10:07:26] <anujit> anybody uses mollom as anti spamming module?
617: [10:07:39] <anujit> need to use as a field
618: [10:26:53] * osterlaus has joined #silverstripe
619: [10:41:14] * osterlaus quit (Quit: Leaving.)
620: [10:41:17] * benly has joined #silverstripe
621: [10:44:13] <benly> hi need a help in remembring sort order while an edit is taken and gone back in cms
622: [10:44:29] <benly> is ther any code for that
623: [10:45:24] <benly> I sorted a list with emplyee name and went to edit a particialu employee then gone back the sort goes
624: [10:45:28] <benly> how to fix ot
625: [10:52:15] <sam_____> hi.... can anybody please help me on recaptcha theming?
626: [10:55:57] * liam_ has joined #silverstripe
627: [10:56:11] * liam_ quit (Client Quit)
628: [11:04:08] * anuj has joined #silverstripe
629: [11:05:09] <anuj> hi...can anybody help in implementing recaptcha as in irc login page?
630: [11:06:37] * Guits has joined #silverstripe
631: [11:07:07] <Guits> is there an alternative to LimitWordCountXML(15) that keeps html tags
632: [11:09:46] <anuj> have anyone implemented recaptcha module?
633: [11:09:54] <benly> I sorted a list with emplyee name and went to edit a particialu employee then gone back the sort goes [16:14] <benly> how to fix ot
634: [11:17:16] * sam_____ quit (Quit: Page closed)
635: [11:21:22] <anuj> Recaptcha is not showing in firefox...
636: [11:21:43] <anuj> have anyone any idea?
637: [11:25:15] * Colin[pi] quit (Ping timeout: 248 seconds)
638: [11:32:34] <andylockran> yo
639: [11:39:30] * osterlaus has joined #silverstripe
640: [11:40:05] * osterlaus has left #silverstripe
641: [11:41:57] <zippy__> anuj: are you logged in as admin/
642: [11:47:25] <benly> hi any help in I sorted a list with employee name and went to edit a particialur employee then gone back then the sort goes . how can i preserve it
643: [11:56:23] <anuj> zippy: no i am not logged in as admin
644: [12:06:13] * g4b0 quit (Ping timeout: 268 seconds)
645: [12:06:23] * UndefinedOffset has joined #silverstripe
646: [12:17:45] * g4b0 has joined #silverstripe
647: [12:35:32] * g4b0 quit (Ping timeout: 240 seconds)
648: [12:36:40] * overburden has joined #silverstripe
649: [12:43:07] * chillu quit (Quit: chillu)
650: [12:46:51] * benly quit (Quit: Page closed)
651: [12:48:39] * anujit quit (Quit: Page closed)
652: [12:48:53] * g4b0 has joined #silverstripe
653: [12:50:09] <overburden> if i have 2 data objects
654: [12:50:47] * anuj quit (Ping timeout: 250 seconds)
655: [12:50:58] <overburden> where one has a few more details but is basically a child type of the other, there isn't really a way to inherit them is there? since i can't composit the public static $db from two classes easily?
656: [12:51:27] <overburden> ideally i'd have BaseProduct and then SpecialProduct
657: [12:51:40] <overburden> right now i'm just c&ping them and adding additions to the Special one
658: [12:51:56] <overburden> y/n/goobyplz
659: [12:52:11] <Marvanni> SpecialProduct extends BaseProduct
660: [12:52:26] <overburden> yeah but that wont composit the public static vars together
661: [12:52:29] <Marvanni> you only have to add extra fields to SpecialProduct
662: [12:52:45] <overburden> does it recursively check the static db method of each ancestor?
663: [12:52:49] <overburden> er member
664: [12:52:54] <Marvanni> yes
665: [12:52:57] <overburden> cool, thanks
666: [12:53:06] <Marvanni> just like MyCustomPage extends Page extends SiteTree
667: [12:53:24] <Marvanni> all will have the SiteTree methods and properties
668: [12:57:50] * spronk quit (Ping timeout: 240 seconds)
669: [12:59:21] <overburden> thanks Marvanni
670: [13:01:26] * guci0 has joined #silverstripe
671: [13:01:41] <guci0> Hello World!
672: [13:02:19] * micmania1 has joined #silverstripe
673: [13:03:57] * osterlaus has joined #silverstripe
674: [13:04:58] * osterlaus has left #silverstripe
675: [13:05:25] * zippy__ quit (Ping timeout: 268 seconds)
676: [13:10:38] <overburden> so i have done that, inherited it, but now in my ModelAdmin side, the base type shows the subtypes as well, is there a good way to filter that? Ideally they'd use one tab to edit the base type / simple products, and another tab to edit the special ones
677: [13:11:59] <ocm> hi guci0
678: [13:12:28] <overburden> guess i have to fetch everything and then do a cull on the result by the subset from the special types huh
679: [13:12:39] <overburden> and build a custom cmsfields method
680: [13:17:29] * Shrike_Finland quit (Quit: Leaving.)
681: [13:22:35] * chillu has joined #silverstripe
682: [13:26:00] * sam__ has joined #silverstripe
683: [13:26:08] <sam__> hi
684: [13:27:07] <sam__> need help on recaptcha
685: [13:27:29] <sam__> planmytournament.com/plan-a-tournament
686: [13:27:49] <sam__> in ff the image is not getting displayed
687: [13:38:36] * Guits quit (Read error: Connection reset by peer)
688: [13:39:55] * Guits has joined #silverstripe
689: [13:48:30] <ARNHOE> I wonder how big of a difference would Apache 2.2 or 2.4 be for silverstripe?
690: [13:49:28] <sam__> anybody used spamprotection module?
691: [14:20:15] <Marvanni> anyone noticed SSViewer::set_source_file_comments(true); breaks template rendering?
692: [14:20:34] <Zauberfisch> Marvanni: it did in 3.0 but was fixed
693: [14:20:45] <Zauberfisch> it should be working in 3.1 i think
694: [14:21:07] <Zauberfisch> but in 3.1 you have to use the yml config instead
695: [14:22:15] <Marvanni> ah thanks
696: [14:22:15] <Marvanni> https://github.com/silverstripe/silverstripe-framework/pull/1726
697: [14:29:20] <Marvanni> Yes, that did the job
698: [14:32:03] <Marvanni> hm, it still does break the template... It does render, but not how it should be...
699: [14:33:27] <Marvanni> Is this valid html ?
700: [14:33:27] <Marvanni> http://sspaste.com/paste/show/523b09e3bbfb9
701: [14:34:47] * catcher has joined #silverstripe
702: [14:35:15] <UndefinedOffset> Marvanni almost anything goes when your not using one of the xhtml doctypes so i guess
703: [14:37:30] <Marvanni> when I turn on ssviewer sourcefilecomment, with the fix linked above...
704: [14:37:44] <Marvanni> the first html comment is rendered like this
705: [14:37:45] <Marvanni> <!--[if lt IE 9]><!-- template /path/to//templates/Page.ss --><html class="no-js lt-ie9" lang="nl"><![endif]-->
706: [14:37:51] * Guits quit (Read error: Connection reset by peer)
707: [14:39:47] * Guits has joined #silverstripe
708: [14:42:47] <Marvanni> well, edge case i think... nvm
709: [14:43:57] <Zauberfisch> Marvanni: I had that issue as well
710: [14:44:09] <Zauberfisch> no idea how I solved it though
711: [14:44:51] <Marvanni> well, I found the missing template, so its fine to turn it off
712: [14:44:55] <Marvanni> so next q
713: [14:45:21] <Marvanni> when does a SomeFormField_holder.ss template be put in Includes folder and when not
714: [14:45:43] <Marvanni> I put SomeFormField.ss templates in a seperate folder forms, which works fine
715: [14:45:51] <Marvanni> except for holder templates
716: [14:46:10] <Zauberfisch> oh, in fact I think I actually have written a core patch for the comment thingy
717: [14:46:15] <Zauberfisch> are you sure you are on master or 3.1?
718: [14:46:39] <Marvanni> im on 3.0
719: [14:46:48] <Marvanni> but I document my core patches
720: [14:47:01] <Marvanni> as long as they are in future releases
721: [14:47:14] <Zauberfisch> no, with core patch I mean I actually pull requested
722: [14:47:23] <Zauberfisch> why not use 3.1?
723: [14:48:47] <Marvanni> hm. most of the time I wait for a x.x.1 release of a new major release
724: [14:49:03] <Zauberfisch> meh, how boring
725: [14:49:37] <Marvanni> yeah, but some of my codebases are not always update proof.... at least thats what I think
726: [14:49:49] <Marvanni> You consider 3.1 stable enough?
727: [14:49:56] <Zauberfisch> no
728: [14:50:16] <Zauberfisch> but I haven't seen a silverstripe release that I would consider stable in quiet some time :P
729: [14:50:32] <Marvanni> hehe, I tend to agree...
730: [14:51:00] <Marvanni> 2.4 when you don't compare it with 3.0
731: [14:51:00] <Zauberfisch> so I look at it this way: 3.0 is just as buggy as 3.1, but 3.1 has more features
732: [14:51:10] <Marvanni> hehe
733: [14:51:59] <Marvanni> Well I think for this project I keep coding in 3.0 and when live deplay is coming I create a 3.1 branch as well
734: [14:52:14] <Marvanni> deplay = deploy
735: [14:59:49] * Nivery has joined #silverstripe
736: [15:05:40] * g4b0 quit (Ping timeout: 268 seconds)
737: [15:18:30] * g4b0 has joined #silverstripe
738: [15:18:33] * sam__ quit (Ping timeout: 250 seconds)
739: [15:26:05] * ARNHOE quit (Remote host closed the connection)
740: [15:55:21] * ARNHOE has joined #silverstripe
741: [16:08:38] * UndefinedOffset quit (Quit: Leaving.)
742: [16:13:32] * g4b0 quit (Quit: Sto andando via)
743: [16:23:06] * UndefinedOffset has joined #silverstripe
744: [16:45:47] * Error404NotFound has joined #silverstripe
745: [16:56:13] * Nivery quit (Quit: Nivery)
746: [17:22:06] * Nivery has joined #silverstripe
747: [17:25:50] * Error404NotFound quit (Ping timeout: 245 seconds)
748: [17:41:41] * joelpittet has joined #silverstripe
749: [17:44:33] * zfmf1 has left #silverstripe
750: [17:59:25] * sam__ has joined #silverstripe
751: [17:59:43] <sam__> Can any body help me to fix url issue?
752: [17:59:45] <sam__> http://www.sspaste.com/paste/show/523b3a32a88df
753: [17:59:49] <sam__> here is the code.
754: [18:00:38] <sam__> the problem is if i open with http://planmytournament.com it wont open
755: [18:00:50] <sam__> http://www.planmytournament.com/listingpage/show/25
756: [18:01:09] <sam__> click on email hyper link....it works
757: [18:01:20] <sam__> but http://planmytournament.com/listingpage/show/25
758: [18:01:25] <sam__> here it wont eork
759: [18:02:31] * mierla has joined #silverstripe
760: [18:04:55] * mierla quit (Client Quit)
761: [18:11:59] <sam__> hi anybody can help me?
762: [18:23:52] * jcwacky has joined #silverstripe
763: [18:26:53] * jcwacky quit (Client Quit)
764: [18:31:23] * sam__ quit (Ping timeout: 250 seconds)
765: [18:32:39] * Liquide has joined #silverstripe
766: [18:44:45] * gelignite has joined #silverstripe
767: [18:45:16] * Nivery quit (Quit: Nivery)
768: [18:52:39] * swordsmanz quit (Quit: swordsmanz)
769: [19:10:12] <AlphaCactus> sam__: what happens if you don't hardcode the domain in the url? just start with /listingpage ...
770: [19:11:49] <guzzlefry> he done left
771: [19:13:14] <guzzlefry> Where in the world do I put my favicon?
772: [19:13:49] <AlphaCactus> figgers
773: [19:14:05] <AlphaCactus> site root
774: [19:14:11] <AlphaCactus> next to index.php
775: [19:14:15] <guzzlefry> err
776: [19:14:23] <guzzlefry> yeah, that doesn't work. :/
777: [19:14:30] <AlphaCactus> does me?
778: [19:14:49] * chillu quit (Quit: chillu)
779: [19:14:52] <AlphaCactus> favicon.ico ?
780: [19:15:22] <guzzlefry> yep
781: [19:15:23] <AlphaCactus> add maybe also to Page.php: Requirements::insertHeadTags("<link rel=\"shortcut icon\" href=\"/favicon.ico\" />");
782: [19:15:26] <guzzlefry> maybe it's getting cached.
783: [19:16:31] <andylockran> hey guys - is it possible to create a phar file in php and execute it on a windows system
784: [19:18:07] <AlphaCactus> andylockran: pretty sure
785: [19:28:37] * chillu has joined #silverstripe
786: [19:29:46] <guzzlefry> So basically, to get the favicon working you use <link type="image/x-icon" href="themes/outeraisle/images/favicon.ico" rel="icon"> and then go into private browser mode because Firefox uses some insanely aggressive caching when it comes to favicons...
787: [19:34:33] <AlphaCactus> it does
788: [19:44:06] <andylockran> thanks AlphaCactus
789: [19:57:28] * DigNZ has joined #silverstripe
790: [19:57:29] * DigNZ quit (Remote host closed the connection)
791: [19:57:43] * DigNZ has joined #silverstripe
792: [20:11:17] * joelpittet quit (Remote host closed the connection)
793: [20:20:14] * Zauberfisch__ quit (Ping timeout: 240 seconds)
794: [20:26:17] * Zauberfisch__ has joined #silverstripe
795: [20:32:44] * nickmolhoek has joined #silverstripe
796: [20:32:54] * nickmolhoek quit (Remote host closed the connection)
797: [20:33:09] * nickmolhoek has joined #silverstripe
798: [20:44:11] * UndefinedOffset quit (Quit: Leaving.)
799: [20:44:39] * UndefinedOffset has joined #silverstripe
800: [20:44:59] * atmos has joined #silverstripe
801: [20:45:05] <atmos> mornin
802: [20:46:53] * zippy__ has joined #silverstripe
803: [20:47:30] <zippy__> Hello
804: [20:49:11] * UndefinedOffset quit (Ping timeout: 260 seconds)
805: [20:57:42] * Stomach has joined #silverstripe
806: [21:11:59] * Nightjar has joined #silverstripe
807: [21:13:20] * ARNHOE quit (Remote host closed the connection)
808: [21:13:45] * simon__w has joined #silverstripe
809: [21:13:46] * stecman has joined #silverstripe
810: [21:15:45] * razzi has joined #silverstripe
811: [21:16:07] * simon_w quit (Ping timeout: 256 seconds)
812: [21:40:10] * simon__w is now known as simon_w
813: [21:40:50] * Liquide quit ()
814: [21:48:19] * Zauberfisch__ quit (Ping timeout: 246 seconds)
815: [21:50:56] * UncleCheese has joined #silverstripe
816: [21:55:51] <razzi> has anybody managed to get userforms working with ss 3.0.5?
817: [21:56:30] <simon_w> Are you using the 3.0 compat branch?
818: [21:58:09] <razzi> yes, version 1.0.1
819: [21:59:13] <simon_w> So what's your problem?
820: [22:01:04] <razzi> when adding a new page, selecting "user defined form" does nothing
821: [22:02:21] <razzi> are you simon welsh?
822: [22:02:46] <simon_w> Are you getting any sort of JS errors?
823: [22:02:51] <Nightjar> it happens
824: [22:02:52] <simon_w> yes
825: [22:02:55] <Nightjar> refresh
826: [22:02:57] <Nightjar> it works
827: [22:03:05] <Nightjar> flush admin area
828: [22:03:09] <Nightjar> new template for editor
829: [22:05:24] <razzi> simon_w, no, i looked in the console, it's empty
830: [22:06:26] <razzi> Nightjar which version of SS are you using?
831: [22:07:41] * Zauberfisch__ has joined #silverstripe
832: [22:11:20] <Nightjar> doesn't matter
833: [22:17:11] * catcher quit (Quit: Leaving)
834: [22:40:19] * SightUnseen has joined #silverstripe
835: [22:40:20] * SightUnseen has left #silverstripe
836: [22:55:15] * Jayden90 has joined #silverstripe
837: [22:56:29] <Jayden90> Anyone else notice you have to do "/dev/build" twice to see the changes output
838: [22:56:43] <simon_w> Flush the first time
839: [22:57:36] <Jayden90> this seems to have come about the last week or so. What is the propper procedure now? "/?flush=1" then "/dev/build" ?
840: [22:57:52] <simon_w> dev/build?flush=1
841: [22:57:54] <Jayden90> or does "/dev/build/?flush=1" work now
842: [22:58:00] <Jayden90> cooool
843: [22:58:31] * Nightjar has left #silverstripe
844: [23:00:10] * gavin___ has joined #silverstripe
845: [23:00:56] <ss23> Someone is playing Aphex Twin on the office speakers, makes a nice change :D
846: [23:02:44] <simon_w> Someone should play podcasts
847: [23:05:19] <gavin___> hey guys, i have a quick question regarding routing. I have a dataobject called Profile with a URLSegment. I want to be able to have urls such as mysite.com/$URLSegment which will load the Profile. I have setup a /mysite/_config/routes.yml file and I have the URLs working to load a profile. This routing overwrite the default routing and pages such as mysite.com/about get rendered with the Profile template.
848: [23:06:01] <gavin___> I know its something to do with the Before and After part of the yml but I don't really understand how this works.
849: [23:06:36] <simon_w> gavin___, you won't be able to have both Profiles and Pages working
850: [23:07:14] <gavin___> so there is not a way to do this routing just before the 404 check and after all the other routing?
851: [23:07:22] <simon_w> nope
852: [23:07:39] <gavin___> ok cool. thanks.
853: [23:08:24] <gavin___> the other way i was thinking of doing it was with redirector pages.
854: [23:12:37] * guci0 quit (Ping timeout: 250 seconds)
855: [23:23:13] * BPower has joined #silverstripe
856: [23:24:02] <razzi> the htaccess links on this page http://doc.silverstripe.org/framework/en/reference/staticpublisher are broken
857: [23:24:09] <razzi> is there another place to get them?
858: [23:25:29] <BPower> Hey - I want to include a query string on ALL image URLs fed into the template (admin or public).... E.g. Right now $AuthorPhoto.SetRatioSize(130,159) returns '/assets/author.png'. With this change it may return '/assets/author.png?something'
859: [23:26:11] <BPower> razzi: looks like 2.4 was the last version that had them: http://api.silverstripe.org/2.4/class-StaticExporter.html
860: [23:29:42] <simon_w> razzi, https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/docs/en/StaticPublisher.md
861: [23:32:26] <razzi> thanks
862: [23:32:30] * spronk has joined #silverstripe
863: [23:32:36] <BPower> thanks simon_w
864: [23:32:41] <BPower> I was looking for that earlier too
865: [23:32:56] <BPower> Any thoughts on appending/modifying Image URLs?
866: [23:33:06] <BPower> or other File URLs
867: [23:33:15] <simon_w> Hack core
868: [23:33:26] <BPower> Crap.
869: [23:33:40] <BPower> I need to add cachebusters to all images.
870: [23:33:52] <simon_w> Better idea: stop overriding images
871: [23:34:04] <BPower> overriding?
872: [23:34:14] <BPower> not sure what you're talking about
873: [23:34:35] <simon_w> Only case where a cache buster is needed is when you change the underlying image. Stop doing that.
874: [23:34:38] <simon_w> Problem solved.
875: [23:35:16] <BPower> When someone on our team uploads a new version of an image (e.g. a customer's logo or photo is updated), they don't see the new version.
876: [23:36:17] <simon_w> So you have user images in your theme?
877: [23:36:35] * joelpittet has joined #silverstripe
878: [23:38:07] * DryerLintPurple has joined #silverstripe
879: [23:39:39] * joelpittet quit (Remote host closed the connection)
880: [23:41:46] * joelpittet has joined #silverstripe
881: [23:45:00] * Colin[pi] has joined #silverstripe
882: [23:51:42] <mobiusnz> whats the easiest way to add a between clause to an sql query?
883: [23:52:17] * travis-ci has joined #silverstripe
884: [23:52:18] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#999 (3.0 - 2dd7baa : Ingo Schommer): The build passed.
885: [23:52:18] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a7f38f7b4d3c...2dd7baac1608
886: [23:52:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11573965
887: [23:52:18] * travis-ci has left #silverstripe
888: [23:52:43] <mobiusnz> eg where `lat` between 'northlat' and 'southlat'
889: [23:56:27] <simon_w> You could manually apply a WithinRangeFilter filter to the DataQuery, or use a LessThan and GreaterThan filter
890: [23:58:22] * gelignite quit (Quit: http://bit.ly/nkczDT)
891: [23:59:08] <BPower> simon_w: of course.
892: [23:59:13] * joelpittet quit (Remote host closed the connection)

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