#silverstripe IRC Log

IRC log for 24 March 2014

All timestamps are in UTC.

1: [00:03:58] * LimRes quit (Ping timeout: 245 seconds)
2: [00:04:46] * UncleCheese quit (Quit: UncleCheese)
3: [00:08:38] * abitran quit (Ping timeout: 240 seconds)
4: [00:09:45] * abitran has joined #silverstripe
5: [00:15:23] * UncleCheese has joined #silverstripe
6: [00:19:19] * UncleCheese_ has joined #silverstripe
7: [00:24:18] * an_Eskimo has joined #silverstripe
8: [00:25:08] * Liquide quit ()
9: [00:28:41] * UncleCheese quit (Quit: UncleCheese)
10: [00:28:41] * UncleCheese_ is now known as UncleCheese
11: [00:39:32] <zippy____> ss23: is there a moderator for the addons website?
12: [00:39:39] <zippy____> http://addons.silverstripe.org/add-ons/silverstripe/googlesitemaps spam etc
13: [00:59:07] <ss23> like... a person, or what? :O
14: [00:59:15] <ss23> oic, discuss
15: [00:59:16] <ss23> um
16: [00:59:33] <ss23> No idea sorry, zippy____. Maybe someone who's worked on disqucss before knows
17: [01:03:07] <Ryan-Toast> you need to log into the disqus account
18: [01:04:12] <zippy____> the main account
19: [01:04:15] <ss23> what is the main account? :O
20: [01:04:18] <ss23> hmm
21: [01:04:27] <ss23> Is it in a config file somewhere? I have root access on the server
22: [01:04:31] <Ryan-Toast> I always set my accounts to moderate first.
23: [01:04:47] <zippy____> if you have root then just remove it from the file system. rm -rf /
24: [01:04:48] <zippy____> :)
25: [01:04:49] <Ryan-Toast> Nah, you have to do it on your account
26: [01:04:51] <zippy____> don't do that btw
27: [01:04:59] <ss23> rofl zippy____
28: [01:04:59] <ss23> :P
29: [01:05:04] <ss23> wait
30: [01:05:05] <Ryan-Toast> rm -fdr *
31: [01:05:08] <ss23> it's okay I ran it
32: [01:05:19] <ss23> Ryan-Toast: whats the d? Do not preserve root?
33: [01:05:20] <Colin[pi]> lol zippy____, I know someone who has done that
34: [01:05:36] <Ryan-Toast> ss23: it’s supposed to be remove directories, but both work.
35: [01:05:50] <ss23> define('SS_DEFAULT_ADMIN_PASSWORD', 's1lv3rstr1p3');
36: [01:05:50] <ss23> define('SS_DEFAULT_ADMIN_USERNAME', 'admin');
37: [01:05:51] <ss23> ah fuck
38: [01:05:52] <ss23> please ignore
39: [01:05:59] <Ryan-Toast> LOL
40: [01:06:01] <zippy____> rofl
41: [01:06:04] <Colin[pi]> ahahaa
42: [01:06:14] <ss23> lol
43: [01:06:20] <ss23> p.s. I did that on purpose
44: [01:06:34] <ss23> (though if I didn't, I really do have the file open to edit before anyone could log in and test :P)
45: [01:06:41] <zippy____> The provided details don't seem to be correct. Please try again.
46: [01:06:43] <zippy____> :)
47: [01:06:44] <Colin[pi]> reminds me of the bash classic: http://www.bash.org/?244321
48: [01:07:05] <ss23> mmm
49: [01:07:05] <ss23> :D
50: [01:07:38] <Colin[pi]> I'm on there: http://www.bash.org/?625276 :(
51: [01:08:22] <ss23> anyway uh
52: [01:08:26] <ss23> I looked at the conig files
53: [01:08:30] <ss23> no references to discus
54: [01:08:32] <ss23> so idk where teo go
55: [01:08:35] <ss23> I could ask igno
56: [01:08:40] <zippy____> ss23: yawml?
57: [01:08:47] <zippy____> ss23: you looked at all _configs?
58: [01:09:04] <zippy____> does it use a config? I thought it was just drop in js
59: [01:09:27] <ss23> wait, you are rainmaker, Colin[pi]?
60: [01:09:58] <Colin[pi]> yep
61: [01:10:04] <Colin[pi]> that's my other nick, usually for gaming
62: [01:10:12] <ss23> http://qdb.us/search?q=ss23&order=real_score&sort=desc&limit=25&approved=-1
63: [01:11:30] <Colin[pi]> ooh you get a few mentions :o
64: [01:11:41] <zippy____> <ss23> After you flush(), put the seat_down() :)
65: [01:11:43] <zippy____> lol
66: [01:12:18] <ss23> my favorite is
67: [01:12:26] <ss23> < \> Heh, cool. You can switch it between quirks, IE7 standards, and IE8 standards.
68: [01:12:32] <ss23> < ss23> Wow, that's three modes of not following standards to choose from!
69: [01:13:13] <zippy____> http://qdb.us/37683
70: [01:13:29] <ss23> lol
71: [01:14:08] <ss23> p.s. that spam is gone now, zippy____
72: [01:14:10] <ss23> got ingo to fix
73: [01:14:31] <zippy____> ss23: should get him to roll out 3.1.4 as well ;-)
74: [01:15:46] <ss23> lol
75: [01:15:49] <ss23> I didn't finish my shit yet!
76: [01:17:09] * Tanger has joined #silverstripe
77: [01:22:18] <Ryan-Toast> Two forms on the same page is really annoying for some reason.
78: [01:23:48] <Colin[pi]> Ryan-Toast: why not put the change password form on a separate page?
79: [01:24:00] <Ryan-Toast> because I hate having a million pages for things.
80: [01:24:19] <Ryan-Toast> And havcing two forms on one page shouldn’t be a massive headache.
81: [01:24:54] <Colin[pi]> it's not usually?
82: [01:25:18] <Ryan-Toast> For some reason mine is being retarded.
83: [01:26:20] <Ryan-Toast> The form redirects to itself, which isn’t a page.
84: [01:26:22] <zippy____> Ryan-Toast: What about a single form - and if the password field is populated then change the password and then before saving unset it
85: [01:26:41] <Ryan-Toast> zippy____: that’s wat I asked about before.
86: [01:26:58] <Ryan-Toast> what**
87: [01:27:01] <zippy____> just make sure to unset it from the $data and you will be fine
88: [01:27:58] <zippy____> if(isset($data['password'])) { if ($data['password']) { $member change password} unset($data['password']); }
89: [01:27:59] <zippy____> or something
90: [01:28:09] <Ryan-Toast> zippy____: it’s a confirm password field.
91: [01:28:15] <Ryan-Toast> Is where I was having the problem.
92: [01:28:26] <zippy____> oh, because it's required?
93: [01:28:29] <zippy____> don't make it required
94: [01:28:30] <Ryan-Toast> yes
95: [01:28:54] <Ryan-Toast> it’s required by default, and I don’t know how to remove the required.
96: [01:30:14] <zippy____> http://tellmeyoudidnt.com/how-to-kill-conversions-with-a-sign-up-page.html
97: [01:31:20] <Ryan-Toast> zippy____: I mean I don’t know how to turn off the required validation of the confirm password field
98: [01:31:42] <zippy____> ah so your not building the form yourself
99: [01:31:47] <Ryan-Toast> I am
100: [01:31:53] <Ryan-Toast> But it’s still required
101: [01:32:00] <Ryan-Toast> even though I’m not telling it to be
102: [01:32:25] <Ryan-Toast> "Passwords can't be empty"
103: [01:34:48] <Ryan-Toast> awwww yiss canBeEmpty();
104: [01:34:52] <Ryan-Toast> is my boi
105: [01:36:17] <Ryan-Toast> zippy____: Had to specify canBeEmpty on the field
106: [01:36:47] <Colin[pi]> dat canBeEmpty... forgot about that!
107: [01:36:50] <zippy____> sweet
108: [01:39:39] <Ryan-Toast> Colin[pi]: Yeah, went digging through the code to find it :P
109: [01:39:50] <Colin[pi]> that's what I need to do often :\
110: [01:41:59] <Ryan-Toast> zippy____: Read that conversion thing. Removed three fields :P
111: [01:42:16] <zippy____> :)
112: [01:42:48] <Ryan-Toast> zippy____: Still have confirm password though, I always misstype that shit :P
113: [01:42:53] * UncleCheese quit (Quit: UncleCheese)
114: [01:43:05] <zippy____> but then you've got the forgot password :)
115: [01:43:20] <Ryan-Toast> yeah, I know.
116: [01:43:29] <Colin[pi]> LOL, I am on hold on the phone and it's playing "PLEASE HOLD THE LINE... PLEASE HOLD THE LINE... PLEASE HOLD THE LINE..."
117: [01:43:45] <Ryan-Toast> zippy____: FINE I WILL MAKE IT ONE.
118: [01:44:06] <Colin[pi]> reminds me of "GET OUT OF THE LIFT" from IT crowd
119: [01:44:16] <Ryan-Toast> What scene is that?
120: [01:46:47] <zippy____> Ryan-Toast: very first episode I think
121: [01:47:03] <zippy____> http://www.youtube.com/watch?v=CxdiP3gTfOk
122: [01:48:14] <Ryan-Toast> Oh, haha I remember now.
123: [01:48:34] <Ryan-Toast> Damn these electric sex pants.
124: [01:53:51] * Bollig|DesignCty has joined #silverstripe
125: [02:05:42] <Ryan-Toast> Localising a whole site is so boring.
126: [02:09:24] <Ryan-Toast> Colin[pi]: ANTMAS GOT TITANFALL ON THE WEEKND, I FORGOT TO TELL HIM IT WAS A 50GIG DOWNLOAD :P
127: [02:09:28] <Ryan-Toast> oh, dem caps.
128: [02:09:49] * Oishi_ quit (Ping timeout: 245 seconds)
129: [02:10:08] <Colin[pi]> Ryan-Toast: lol 50GB? holy shit
130: [02:22:20] <Ryan-Toast> Colin[pi]: yeah, haha. they don’t know what optimisation is at all.
131: [02:32:41] * UncleCheese has joined #silverstripe
132: [02:33:10] <UncleCheese> ping Colin[pi]
133: [02:33:48] <zippy____> Ryan-Toast: antmas could just pull it down over the councils network anyway probably…. i would :)
134: [02:35:52] * novaweb has joined #silverstripe
135: [02:36:37] <novaweb> Howdy Stripers. Can anyone offer a workflow for using Composer and Github cojointly on a SilverStripe project?
136: [02:37:48] <Colin[pi]> request timed out UncleCheese
137: [02:37:53] <UncleCheese> lol
138: [02:38:01] <Colin[pi]> UncleCheese: watched Idiocracy
139: [02:38:05] <UncleCheese> oh, nice!
140: [02:38:30] <Colin[pi]> not as good as office space, but I laughed
141: [02:38:36] <UncleCheese> ha
142: [02:38:41] <UncleCheese> yeah, it's not as good as office space
143: [02:38:45] <UncleCheese> same creator, though
144: [02:38:53] <Colin[pi]> also a bit depressing because yeah.. I can see things headed that way
145: [02:39:03] <UncleCheese> both movies suffer from the same complex of.. you know.. having a plot
146: [02:39:33] <UncleCheese> i love the Fuddruckers sign
147: [02:39:47] <Colin[pi]> ahahah "buttfuckers" in the future
148: [02:39:51] <UncleCheese> so good
149: [02:39:54] <UncleCheese> Ruddfuckers
150: [02:40:09] <UncleCheese> i love that everything is pornographic
151: [02:40:16] <UncleCheese> that's pretty spot on
152: [02:40:58] <UncleCheese> novaweb: what exactly are you looking for?
153: [02:41:03] <zippy____> novaweb: http://doc.silverstripe.org/framework/en/3.1/installation/composer
154: [02:41:19] * novaweb quit (Quit: novaweb)
155: [02:41:28] * spronk2 has joined #silverstripe
156: [02:42:23] <zippy____> I seem to thing, there was a nice javascript plugin thing where you could easily add some social media butons to website
157: [02:42:47] <zippy____> ahh, addthis
158: [02:43:17] <zippy____> maybe
159: [02:43:39] <Colin[pi]> UncleCheese: I like that other billboard sign for cigarettes, "If you don't smoke Tallahassys, FUCK YOU"
160: [02:44:16] <UncleCheese> hahaha
161: [02:44:27] <UncleCheese> yeah, there's so many great subtleties like that
162: [02:44:38] <UncleCheese> "quit talking like a fag"
163: [02:45:33] <UncleCheese> what's the syntax again when you have two has_manys that point to the same class?
164: [02:45:40] <Ryan-Toast> zippy____: eww.
165: [02:45:56] <zippy____> Ryan-Toast: https://www.addthis.com/get/sharing
166: [02:46:10] <Ryan-Toast> zippy____: EWWWWW
167: [02:47:48] <Ryan-Toast> zippy____: Go minimal: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/code/Modules/Blog/templates/Includes/Sharer.ss
168: [02:55:29] <Colin[pi]> UncleCheese: dot notation to refer to the name of the corresponding has_one, isnt it?
169: [02:55:37] <UncleCheese> yeah
170: [02:55:39] <UncleCheese> is it
171: [02:55:53] <UncleCheese> 'Thing' => 'ClassName.HasOneNameToThisClass'
172: [02:55:57] <Colin[pi]> that's it
173: [02:56:03] <UncleCheese> cool
174: [03:02:48] <Colin[pi]> Ryan-Toast: btw where is antmas?
175: [03:02:53] <Ryan-Toast> Shrug
176: [03:04:02] <Ryan-Toast> thursday and Friday off this week, aww yiss. tomorrow is like Thursday.
177: [03:04:09] <Colin[pi]> nice
178: [03:04:57] <Colin[pi]> gf's bday will be at the brazilian restaurant again this weekend, so that'll be some more eye ca... I mean very good food
179: [03:05:02] * novaweb has joined #silverstripe
180: [03:05:09] <Ryan-Toast> lololol
181: [03:07:18] <novaweb> UncleCheese: I am unsure if I run git clone or composer create-project first, as I initiate the repository when I create it on github.com - it would then be good to have a generic .gitignore command to follow to not track any repos already managed by composer
182: [03:08:00] <UncleCheese> if you're just starting out, create-project might be more useful
183: [03:08:17] <UncleCheese> i tend do just set it up myself, though
184: [03:08:19] <ss23> create-project removes the old .git directories from silverstripe-installer, so it'll be "Fresh" when you get it
185: [03:08:35] <UncleCheese> i use a whitelist for my .gitignore
186: [03:08:56] <novaweb> Do you develop on mavericks?
187: [03:09:30] <UncleCheese> yeah
188: [03:09:35] <UncleCheese> novaweb: http://pastie.org/8962649
189: [03:10:08] <UncleCheese> it's more of a .gitinclude :)
190: [03:10:42] <novaweb> Thank you
191: [03:11:14] <novaweb> so i’m still unclear. Do I run composer create-project and then run git init from inside the dir once it’s created?
192: [03:12:54] <UncleCheese> here.. i have a script that will help you
193: [03:13:38] * UncleCheese_ has joined #silverstripe
194: [03:14:19] <UncleCheese> http://pastie.org/8962659
195: [03:14:43] <UncleCheese> obviously customise to the path where your sites live
196: [03:14:46] <UncleCheese> assuming ~/Sites/
197: [03:14:56] <UncleCheese> and customise to your db user/pass, assuming root/root
198: [03:15:10] <novaweb> You are the bomb.
199: [03:15:23] <UncleCheese> save it as new-se-site in /usr/local/bin
200: [03:15:27] <UncleCheese> chmod +x new-ss-site
201: [03:15:51] <UncleCheese> *new-ss-site
202: [03:16:11] <novaweb> Awesome
203: [03:16:54] * UncleCheese_ quit (Client Quit)
204: [03:18:56] * novaweb quit (Quit: novaweb)
205: [03:19:27] * spronk2 quit (Quit: spronk2)
206: [03:20:54] * nbezzala_ has joined #silverstripe
207: [03:24:58] <zippy____> UncleCheese: handy
208: [03:25:56] <zippy____> UncleCheese: Suprised you didn't make it say, do you want to add betterbuttons y/n, do you want to add SortableGrids y/n for a few common ones :)
209: [03:26:15] <UncleCheese> yeah, i have a stock composer.json i use, too
210: [03:26:25] <UncleCheese> but sometimes you want to just light up an instance really quick to test something
211: [03:43:55] * Tanger quit (Quit: Tanger)
212: [03:44:32] * folibis has joined #silverstripe
213: [03:44:40] <folibis> hello all!
214: [03:45:50] <folibis> How can I set allowed extension for upload in 3.1? Old Fille::allowed_extensions[] = 'rar' get me access error
215: [03:46:45] <zippy____> folibis: access error?
216: [03:47:55] <folibis> Fatal error: Cannot access private property File::$allowed_extensions in /var/www/ruslan.pw/www/mysite/_config.php on line 37
217: [03:48:57] <folibis> this line looks like - File::$allowed_extensions[] = 'rar';
218: [03:50:18] <folibis> As I understand in 3.1 it's changing through Config
219: [03:51:21] <ss23> yep yep
220: [03:51:29] <ss23> You need to use $config = Config::get_inst() or something
221: [03:51:41] <ss23> then you need to use get(); or something to get it, then add the stuff to the array, then set it again
222: [03:51:51] <ss23> folibis: http://doc.silverstripe.com/framework/en/topics/configuration
223: [03:52:03] <ss23> You can use, as short hand:
224: [03:52:19] <ss23> $foo = Config::inst()->get('File', 'allowed_extensions');
225: [03:52:23] <ss23> $foo[] = 'rar';
226: [03:52:38] <ss23> Config::inst()->update('File', 'allowed_extensions', $foo);
227: [03:52:40] <ss23> Something like that
228: [03:52:46] <ss23> Extra points if you do fancier stuff
229: [03:52:51] <folibis> File::config()->allowed_extensions[] = "rar";
230: [03:52:55] <folibis> works for me
231: [03:53:04] <ss23> Hmm
232: [03:53:13] <ss23> Doesn't give an error, or *works*? :P
233: [03:53:16] <ss23> Cause those are different
234: [03:53:21] <ss23> But yeah, there are shorter ways
235: [03:53:25] <folibis> Doesn't give an error ))
236: [03:53:34] <ss23> folibis: Even shorter is a _config/file.yml file in your mysite directory where you just set it :P
237: [03:53:40] <folibis> I am goint to check it
238: [03:54:16] <folibis> eeeh ... Notice: Indirect modification of overloaded property Config_ForClass::$allowed_extensions has no effect in /var/www/ruslan.pw/www/mysite/_config.php on line 40
239: [03:54:22] <ss23> Yep yep
240: [03:54:38] <ss23> So the problem is that you're not setting the actual property, you're just doing random stuff
241: [03:55:07] <ss23> There are lots of ways to do it, folibis. If you just want one that "works", you can use what I said. If you want a "nice" way, just read the docs page :)
242: [03:55:16] <ss23> It's good docs, right up until it mentions YML, then it gets stupid :P
243: [03:55:19] <ss23> (IMO)
244: [03:55:20] <UncleCheese> DataObjectManager is the biggest piece of shit
245: [03:55:24] <ss23> lol
246: [03:55:25] <UncleCheese> who wrote this fucking clusterfuck
247: [03:55:27] <Colin[pi]> rofl
248: [03:55:32] <ss23> UncleCheese: Oh really? Have you seen ErrorChain?
249: [03:55:33] <ss23> :P
250: [03:55:35] <Colin[pi]> I think I've heard of the author...
251: [03:55:38] <UncleCheese> holy fuck
252: [03:56:10] <UncleCheese> it's like a monkey with broken fingers got drunk and sat on a macbook that just happened to have TextMate open
253: [03:56:37] <ss23> XD
254: [03:56:43] <Colin[pi]> UncleCheese: that's like all of my projects
255: [03:56:47] <Colin[pi]> ;D
256: [03:57:03] <UncleCheese> what a shit show
257: [03:57:20] <UncleCheese> just a guess, but no one has any fucking clue how to get it to resolve ambiguous has_manys
258: [03:59:31] <Colin[pi]> I know that feel UncleCheese... when you think your code is awesome at the time, then you open it up a few years later, and... "OH GOD, WHY"
259: [04:00:04] <UncleCheese> it's healthy, actually
260: [04:00:26] <UncleCheese> I think the sign of a good developer is if you hate the work you did 6 months ago
261: [04:00:32] <Colin[pi]> yeah it's the devs that DONT do that who have major issues
262: [04:00:39] <UncleCheese> if you don't, you're not learning fast enough
263: [04:00:46] <UncleCheese> that's not true in any other career
264: [04:01:11] <UncleCheese> "Fuck this house. It's such a piece of shit. God damn.. 2012 bullshit"
265: [04:01:20] <folibis> +ss23: get/set not works ... I tried your code
266: [04:01:30] <Colin[pi]> imagine an engineer who designs a bridge... 6 months later "What a piece of crap"
267: [04:01:35] <UncleCheese> HA
268: [04:01:39] <UncleCheese> yeah, totally
269: [04:02:00] <UncleCheese> "we have much more reliable ways of building bridges now.. less likely to break"
270: [04:02:03] <UncleCheese> "…"
271: [04:02:21] <ss23> folibis: does it give an error?
272: [04:02:34] <UncleCheese> "oh, you want me to upgrade the bridge? sure..let me write up an estimate."
273: [04:02:58] <Colin[pi]> UncleCheese: take this bridge I saw in Rio for example... as a software developer, this boggles my mind: http://alconpat.org.br/wp-content/uploads/2013/08/Ponte-Rio-Niter%C3%B3i.jpg
274: [04:03:21] <folibis> no but when I try to upload file I get extension error
275: [04:03:27] <ss23> folibis: hmmm
276: [04:03:28] <UncleCheese> holy shit
277: [04:03:33] * nickmolhoek quit (Quit: nickmolhoek)
278: [04:03:33] * an_Eskimo quit (Ping timeout: 245 seconds)
279: [04:03:48] <Colin[pi]> UncleCheese: 13km/8.25 miles long
280: [04:03:48] <Colin[pi]> :\
281: [04:03:55] <UncleCheese> you know there's an idea to build a bridge across the Atlantic
282: [04:03:59] <Colin[pi]> I see it yet I can't comprehend it
283: [04:04:06] <folibis> +ss23: Also there is allowed extension list on the upload page and rar is not present there
284: [04:04:07] <Colin[pi]> UncleCheese: wtf? no
285: [04:04:07] <UncleCheese> and by idea, i mean, it's technically feasible
286: [04:04:12] <ss23> folibis: Hmm, what version of SilverStripe at you on?
287: [04:04:12] <UncleCheese> the engineers have worked it out
288: [04:04:23] <Colin[pi]> UncleCheese: but.. no, I mean, how? wha?
289: [04:04:24] <ss23> folibis: Because 3.1 doesn't have an allowed_extensions that I can see on File
290: [04:04:26] <UncleCheese> it won't happen any time soon, because i'm sure it's expensive as fuck
291: [04:04:30] <UncleCheese> it floats
292: [04:04:31] <folibis> +ss23: 3.1 just updatede from 3.0
293: [04:05:08] <ss23> oh it does
294: [04:05:12] <ss23> silly docs viewer :/
295: [04:05:18] <ss23> I am not sure sorry, folibis
296: [04:05:19] <ss23> :(
297: [04:05:40] * DesignerX has joined #silverstripe
298: [04:05:50] <Colin[pi]> UncleCheese: imagine the commute time ;)
299: [04:05:55] <folibis> +ss23 thank you anyway, I am going to dig in the source
300: [04:05:58] <UncleCheese> i know.. i wonder about the cost of the commute, too
301: [04:06:03] <UncleCheese> you'd need refuelling stations along the way
302: [04:06:13] <UncleCheese> what does it cost in petrol to go 5,000km?
303: [04:06:17] <Colin[pi]> UncleCheese: the only solution: travel in tubes
304: [04:06:24] <ss23> folibis: Mm, you can see the File source, it looks fine. I'm going to guess there's some other error going on
305: [04:06:27] <UncleCheese> probably only slightly less than an airline ticket
306: [04:06:30] <ss23> folibis: Oh, did you flush after you did the Config:: changes?
307: [04:06:44] <UncleCheese> would you do it, though? I think i'd want to install pontoons on my car first
308: [04:06:55] <UncleCheese> if shit went down, i'd want a fighting chance
309: [04:07:04] <Colin[pi]> UncleCheese: lol
310: [04:07:13] <UncleCheese> actually, bridging the tasman is probably a better project
311: [04:07:23] <Colin[pi]> now that seems more feasible
312: [04:07:24] <UncleCheese> that would ensure that New Zealand has absolutely no population
313: [04:07:28] <Colin[pi]> haha
314: [04:07:35] <ss23> UncleCheese: It would have a massive amount of population, just not business
315: [04:07:39] <ss23> :P
316: [04:07:45] <ss23> Go home to NZ for the weekend!
317: [04:07:54] <UncleCheese> "money.. jobs… over there… can't reach..............."
318: [04:08:00] <Colin[pi]> BUT THE SNAKES WOULD TRAVEL ACROSS THE BRIDGE! :o
319: [04:08:23] <UncleCheese> that's not as big a problem as the Aussies traveling across the bridge
320: [04:08:30] <Colin[pi]> that's what I meant
321: [04:08:31] <Colin[pi]> ;D
322: [04:08:32] <ss23> hahah Colin[pi]
323: [04:08:33] <UncleCheese> ha
324: [04:09:12] <Colin[pi]> I rofled at the news today, emblazened on my screen, something like "STUDY SHOWS AUSSIES A BUNCH OF RACIST, IGNORANT CUNTS"
325: [04:09:20] <Colin[pi]> I'm like... "you needed a study for that?"
326: [04:09:24] <ss23> hahaha Colin[pi]
327: [04:10:04] <Colin[pi]> http://www.smh.com.au/national/were-a-weird-mob-of-unfriendly-racists-monash-university-report-20140323-35buu.html
328: [04:10:08] <Colin[pi]> ^ no, really?
329: [04:10:09] * Tanger has joined #silverstripe
330: [04:10:37] <zippy____> Good Guy PhpStorm. Notices you in a yaml file, changes tabs automatically to two spaces
331: [04:10:59] <Colin[pi]> i've almost pulled the trigger on PHPStorm a few times, is it worth it?
332: [04:12:57] <zippy____> yes
333: [04:13:03] <zippy____> there is a trial on their website
334: [04:13:10] <zippy____> so can give it a rip for 30 days
335: [04:13:44] <zippy____> just don't go in half ass :) make a point to put up a sticky with common short cuts - like open files, search anything, search paths, find and replace etc
336: [04:18:49] * CodeTrap quit (Ping timeout: 240 seconds)
337: [04:19:49] * CodeTrap has joined #silverstripe
338: [04:31:04] <folibis> +ss23: I did it with Config::inst()->update('File','allowed_extensions',array('rar','qml')); if i do it through get/update it duplicate all the entries so just update is enough
339: [04:31:31] * novaweb has joined #silverstripe
340: [04:31:36] <ss23> hmmm okay :O
341: [04:32:00] <folibis> +ss23: thanks ))
342: [04:36:49] * zippy____ quit (Ping timeout: 240 seconds)
343: [04:41:45] * UncleCheese quit (Quit: UncleCheese)
344: [04:43:56] <folibis> heh damn ... now I can't upload files .... PHP Fatal error: Call to a member function getFilename() on a non-object in /framework/forms/UploadField.php on line 1279
345: [04:45:08] <Colin[pi]> folibis: it's not finding or creating the folder
346: [04:46:32] <folibis> strange ... Folder::find_or_make returns false
347: [04:47:36] <Colin[pi]> permissions problem?
348: [04:51:00] <folibis> I've double checked it ... I even setted it to 777 ...
349: [04:53:12] * cloph has joined #silverstripe
350: [04:53:13] * cloph_away quit (Ping timeout: 240 seconds)
351: [04:58:30] * jparks has joined #silverstripe
352: [04:59:01] <jparks> i am trying to install SilverStripe on CentOS and am running into a problem with permissions but i dont know what to change
353: [05:01:20] * folibis quit (Quit: Page closed)
354: [05:02:04] * azureknight has joined #silverstripe
355: [05:02:11] <jparks> hey
356: [05:04:06] * novaweb quit (Quit: novaweb)
357: [05:06:08] * novaweb has joined #silverstripe
358: [05:06:26] <novaweb> jparks
359: [05:06:59] <novaweb> set everything to -R 755 then 777 assets and _config.php?
360: [05:09:40] * novaweb quit (Client Quit)
361: [06:00:43] * k_fish quit (Quit: Leaving)
362: [06:34:35] * babak has joined #silverstripe
363: [06:39:51] * stripee has joined #silverstripe
364: [06:56:53] * Shrike_Finland has joined #silverstripe
365: [07:00:52] * zippy____ has joined #silverstripe
366: [07:01:58] * UncleCheese has joined #silverstripe
367: [07:05:01] * UncleCheese quit (Client Quit)
368: [07:05:56] <stripee> i have installed a fresh ss 3.1.2 now, but every link contains index.php in the url.....i dont want index.php .....how can i do this??
369: [07:06:01] * Guits quit (Ping timeout: 245 seconds)
370: [07:06:23] * nbezzala_ quit (Ping timeout: 246 seconds)
371: [07:06:23] * nbezzala quit (Ping timeout: 246 seconds)
372: [07:06:49] <simon_w> stripee, do they work if you take index.php out of the URL?
373: [07:09:08] <stripee> no...they dont work
374: [07:10:12] <stripee> this is the error displayed if i remove index.php from the url ...The requested URL /ss312/about-us/ was not found on this server.
375: [07:11:07] <simon_w> stripee, you either don't have mod_rewrite enabled or AllowOverride isn't permissive enough for the directory
376: [07:12:12] <stripee> may be
377: [07:12:43] <stripee> would u mind guiding me the solution as if i m a novice
378: [07:16:56] * jrthomer_ has joined #silverstripe
379: [07:17:11] * irogue_ has joined #silverstripe
380: [07:17:28] * nbezzala has joined #silverstripe
381: [07:17:40] <Bollig|DesignCty> stripee: are you running under apache or IIS (linux or windows) environment?
382: [07:18:02] <stripee> wamp
383: [07:18:36] <stripee> apache,windows
384: [07:19:23] * lab-notes quit (Ping timeout: 268 seconds)
385: [07:19:26] * nbezzala is now known as 23LAA2MU5
386: [07:19:26] * nbezzala has joined #silverstripe
387: [07:19:28] * jrthomer quit (Ping timeout: 240 seconds)
388: [07:19:28] * irogue quit (Ping timeout: 240 seconds)
389: [07:23:54] <stripee> Bollig|DesignCty its wamp
390: [07:24:24] * lab-notes has joined #silverstripe
391: [07:24:48] * Shrike_Finland quit (Quit: Leaving.)
392: [07:25:51] <Bollig|DesignCty> stripee: wamp server 2?
393: [07:25:59] <Bollig|DesignCty> should work out of the box...
394: [07:26:17] <stripee> 2.4.4
395: [07:26:47] <stripee> Bollig|DesignCty wamp 2.4.4
396: [07:26:48] <Bollig|DesignCty> check under apache->apache services->rewrite_module is checked.
397: [07:27:32] <Bollig|DesignCty> if not, enable it.
398: [07:28:41] * spronk2 has joined #silverstripe
399: [07:29:55] <stripee> Bollig|DesignCty u mean apache->modules>rewrite_module ?
400: [07:30:14] <stripee> Bollig|DesignCty but while clicking on it an error displays
401: [07:30:43] <stripee> the error is couldnot execute menu items
402: [07:35:09] * Bollig|DesignCty quit (Ping timeout: 252 seconds)
403: [07:35:42] * Tanger quit (Ping timeout: 252 seconds)
404: [07:37:18] * Bollig|DesignCty has joined #silverstripe
405: [07:38:38] * UncleCheese has joined #silverstripe
406: [07:42:56] * Shrike_Finland has joined #silverstripe
407: [07:43:24] * Tanger has joined #silverstripe
408: [07:45:09] <stripee> Bollig|DesignCty i have enabled the rewrite module.....
409: [07:45:26] <stripee> but still mi problem is not solved..............
410: [07:45:37] <Bollig|DesignCty> restart all services from the left click menu?
411: [07:46:01] <stripee> yes did it...
412: [07:47:20] <stripee> Bollig|DesignCty the services restarted
413: [07:47:30] * Guits has joined #silverstripe
414: [07:47:46] * Guits quit (Client Quit)
415: [07:47:55] <Bollig|DesignCty> you'll need to reinstall, if the installer detects that you don't have rewrite module installed, it doesn't create the .htaccess necessary I believe.
416: [07:58:15] <stripee> which file to delete in order to reinstall silverstripe
417: [08:16:15] * novaweb has joined #silverstripe
418: [08:19:07] * ARNHOE has joined #silverstripe
419: [08:21:31] <jparks> @novaweb thanks. i had tried that. it is as if SilverStripe CMS when it writes it cache files to the silverstripe-cache folder has the incorrect group? permissions
420: [08:22:31] <jparks> So, when i log into the admin section and create a new page after clicking create ... SilverStripe does not reload and present the user with the newly created page. It just remains on current page
421: [08:23:16] <jparks> then when i check out the silverstripe-cache folder and look inside it has a folder that is created called unknown
422: [08:23:46] <jparks> server is using CentOS and have primary group for user set to apache
423: [08:24:17] <jparks> anyone have any ideas?
424: [08:30:36] * Sj0hn has joined #silverstripe
425: [08:31:55] <zippy____> stripee: revert the _config.php and drop the database
426: [08:33:04] <zippy____> jparks: there must be some 'error' - check the error log / set dev mode
427: [08:33:34] <jparks> SS is in dev mode or do you mean apache error log
428: [08:35:11] <jparks> it is weird SS writes to the silverstripe-cache folder but if you try to delete the files in the cache folder it says permission denied
429: [08:35:38] <jparks> and if you ls -l the files they are apache:apache yet everything is set user:apache
430: [08:36:02] <jparks> so i dont understand what is happening
431: [08:36:29] <jparks> unless when a script is being executed it is being executed as apache rather than the account user?
432: [08:37:14] <simon_w|air> jparks, that's usually how mod_php works
433: [08:38:10] <jparks> hey simon :) ... i am lacking in knowledge with the linux setup ... how do i remedy the situation?
434: [08:38:43] <simon_w|air> jparks, stop trying to force things and work with them instead.
435: [08:39:18] <jparks> make my user apache:apache ? and go with the flow
436: [08:39:40] <simon_w|air> Why do you need to be able to do things with the files in the silverstripe-cache folder?
437: [08:40:20] <jparks> i dont. i am only guessing as to what the problem is ... so when i log into the admin section of SS and create a new page. SS "locks up" for lack of a better term
438: [08:40:40] <jparks> usually you create a new page and then it automatically reloads and presents you with the newly created page
439: [08:40:57] <simon_w|air> Have you looked at what the server returns when you create that new page?
440: [08:41:50] <ss23> simon_w|air: is there any way to pass in something that is not an integer to: function is_my_integer($str) { return ($str == strval(intval($str)); }
441: [08:41:53] <ss23> If you know what I mean
442: [08:41:55] <ss23> (ASking badly, I know)
443: [08:42:49] <jparks> if i manually refresh the page it shows the created page
444: [08:42:54] <simon_w|air> ss23, is_numeric?
445: [08:43:12] <ss23> simon_w|air: Sorry? I mean, this is what a bunch of code is using, I just want to confirm you can't sqli with it
446: [08:43:36] <simon_w|air> Well, no. But it's a fairly stupid check
447: [08:43:37] <ss23> e.g. if (!is_my_integer($input)) { die('out!'); } $sql = "select * from foo where bar = " . $input;
448: [08:43:40] <ss23> mmm
449: [08:43:43] <ss23> kk ty
450: [08:43:46] <simon_w|air> Just (int) the value
451: [08:44:03] <ss23> Yeah, is not my code (or even code I am going to fix :P)
452: [08:45:03] <zippy____> jparks: you need to check the response (look at the network tab in the developer tools)
453: [08:45:22] <jparks> ah, brilliant kk
454: [08:47:43] <jparks> just need a couple of minutes ... i restored server to a previous image ...
455: [08:49:26] * DesignerX quit (Quit: Konversation terminated!)
456: [08:52:46] * Shrike_Finland quit (Quit: Leaving.)
457: [08:58:41] * toebu quit (Remote host closed the connection)
458: [09:00:20] * novaweb quit (Quit: novaweb)
459: [09:10:01] * micmania1 has joined #silverstripe
460: [09:10:17] <micmania1> mornin'
461: [09:10:49] <Zauberfisch> good morning
462: [09:15:00] * kinglozzer has joined #silverstripe
463: [09:16:16] <zippy____> morning
464: [09:17:49] <stripee> gm
465: [09:20:13] <jparks> thanks for the help. i will talk with you guys later today ... currently it is 2:20 am I am making stupid errors. need some sleep :)
466: [09:21:41] * DesignerX has joined #silverstripe
467: [09:24:23] * jparks quit (Ping timeout: 245 seconds)
468: [09:27:58] * simon_w|air quit (Quit: This computer has gone to sleep)
469: [09:34:15] * ^pH has joined #silverstripe
470: [09:35:33] * Py^k has joined #silverstripe
471: [09:36:38] <Py^k> oh having a face mask. Questions everywhere!
472: [09:36:56] <Py^k> Back at work finally micmania1 kinglozzer :>
473: [09:37:27] <micmania1> Good stuff. How you feeling?
474: [09:38:05] <Py^k> Fine in terms of my nose I guess.
475: [09:38:53] <Py^k> micmania1: it feels a bit weird being here again after so long. Also everyone stares at you. I can hear the girls out the door "is that the same person?"
476: [09:39:03] <Py^k> "or someone new like?"
477: [09:40:20] <micmania1> cunts!
478: [09:40:29] <micmania1> How long you got to wear your mask?
479: [09:40:36] <Py^k> 10 days at least.
480: [09:41:00] <Py^k> micmania1: they're not being nasty, they did the same thing when I got my hair cut, heh
481: [09:41:13] <micmania1> lol
482: [09:42:36] * UncleCheese quit (Quit: UncleCheese)
483: [09:43:31] <Py^k> micmania1: so did you enjoy your chillipepper sandwiches?
484: [09:43:33] * stripee quit (Ping timeout: 245 seconds)
485: [09:43:46] <micmania1> yes, not quite as good as previous though.
486: [09:43:48] <Py^k> They're pretty good like. I got a Godfather today. Such good.
487: [09:43:52] <micmania1> Meatball madness rules all
488: [09:44:06] <Py^k> hmm, haven't tried that one yet :>
489: [09:44:15] <micmania1> If you like spicy food you'll like it
490: [09:44:24] <Py^k> I generally like a bit of green stuff and tomato in my sandwiches.
491: [09:44:42] <Py^k> oh spicey eh? Hmm, I do like a good spice bit, but recently it's not agreed with me for some reason :(
492: [09:44:55] <Py^k> I should probably just risk it.
493: [09:46:02] <kinglozzer> Py^k, micmania1: Sorry am crazy busy this morning, glad you're feeling better Py^k
494: [09:46:27] <Py^k> kinglozzer: it's Monday. Everyone's crazy.
495: [09:46:37] <Py^k> :P
496: [09:47:46] * azureknight quit (Quit: Textual IRC Client: www.textualapp.com)
497: [09:47:51] <ss23> speaking of crazy, we had mr mooman in the office today
498: [09:48:14] <ss23> tractorcow that is
499: [09:48:18] * kinglozzer is jelly again
500: [09:48:23] <Py^k> ss23: Is Damo moving down?
501: [09:48:33] <ss23> auckland
502: [09:48:51] <ss23> going to be doing opensource 24/7 if all goes well!
503: [09:48:54] <ss23> How fun :D
504: [09:49:42] <Py^k> ss23: wait, SSAKL going 24/7 oss, or Damian is getting employed for full time as oss dev?
505: [09:49:51] <ss23> the latter
506: [09:49:56] <ss23> Not sure how it'll work out though
507: [09:49:56] <ss23> :P
508: [09:50:03] <Py^k> urgh, dark. How do I get that job? :P
509: [09:50:20] <ss23> You should've applied for it! :D
510: [09:50:28] <Py^k> Still, probably not many better for the job. He's well onto it.
511: [09:50:40] <Py^k> ss23: yeh, if I'd known and been in the country I might have.
512: [09:50:43] * EasyCo quit (Quit: Connection closed for inactivity)
513: [09:50:44] <ss23> :D
514: [09:50:48] <Py^k> Although I'd have wanted to be WLG based.
515: [09:50:55] <ss23> Py^k: And just left your gf or what? :P
516: [09:51:19] <Py^k> ss23: well if I was still in the country we wouldn't be together any more.
517: [09:52:18] <Py^k> Because fuck long distance.
518: [09:52:40] <ss23> mmm trudat
519: [09:52:45] <Py^k> #1 on the NOPE list.
520: [09:52:48] <Py^k> :<
521: [09:53:00] <Py^k> or there abouts at least
522: [09:54:53] <Colin[pi]> Py^k: I did three years long distance to the other side of the globe, would not recommend
523: [09:55:31] <Py^k> Colin[pi]: ha, fuck that.
524: [09:55:53] <Py^k> I mean it's a case by case thing, but generally just no.
525: [09:56:19] <ss23> I've barely gone a week without seeing my girl in the past few years, tbh
526: [09:56:20] <Py^k> Time being the major factor. I mean obviously one doesn't break up for a month long business trip or something :P
527: [09:56:39] <Py^k> ss23: that's because she's attached to your wrist though right?
528: [09:56:47] <ss23> close, The Internet!
529: [09:56:47] <ss23> :D
530: [09:57:05] <Py^k> ss23: walked right into it :D
531: [09:58:38] <Py^k> also ss23, the internet counts as long distance.
532: [09:59:01] <ss23> nu uh!
533: [09:59:13] * 23LAA2MU5 quit (Ping timeout: 240 seconds)
534: [09:59:16] <ss23> Reply from 120.138.30.26: bytes=32 time=14ms TTL=55
535: [09:59:17] <ss23> <3
536: [09:59:18] * nbezzala quit (Ping timeout: 240 seconds)
537: [09:59:31] <ss23> Literally a touch of my fingers away <3
538: [10:00:44] <Py^k> ss23: unless they're physically on the end of that finger...
539: [10:00:50] <ss23> XD
540: [10:01:03] <ss23> Might as well be. Human brain percieves delays of 30ms as "instant"
541: [10:01:04] <ss23> :D
542: [10:01:09] <Py^k> "Phrasing"
543: [10:01:12] <Py^k> :P
544: [10:01:38] <Py^k> I mean come on, I left it right open!
545: [10:03:22] <ss23> What? :O
546: [10:04:13] <Py^k> fingers, dirty jokes, all the things!
547: [10:04:24] <ss23> I got that!
548: [10:04:30] <ss23> But I decided to ignore it to spout a useless fact
549: [10:04:31] <ss23> :D
550: [10:05:41] <Py^k> also kinglozzer, did you check out/watch Archer yet? (oh ho ho, phrasing.)
551: [10:06:13] <kinglozzer> Shit, no - forgot D:
552: [10:07:08] <Py^k> dooooo eeeeettttttttt
553: [10:07:30] <ss23> I watched a good 10 mins of the pteradactyl pilot
554: [10:07:35] <ss23> never watched legit archer
555: [10:07:42] * zippy____ likes a bit of archer
556: [10:07:49] <zippy____> and bob
557: [10:07:59] <Py^k> bob?
558: [10:08:09] <zippy____> bobs bugers!
559: [10:08:21] <zippy____> dude that voices archer does the voice for bob
560: [10:09:08] <ss23> lol
561: [10:09:09] <Py^k> oh yeh
562: [10:09:10] <ss23> It's confusing
563: [10:09:12] <ss23> They had a crossover episode
564: [10:09:13] <Py^k> Jon H Benjamin
565: [10:09:23] <Py^k> oh, the whole Randy thing?
566: [10:11:04] <zippy____> not all about Randy… have another drink Lahey
567: [10:12:17] <Py^k> nfi what this is
568: [10:12:32] <Py^k> But I'm going to buy a Raspberry Pi
569: [10:12:52] <ss23> lol
570: [10:12:57] <ss23> Another rbp that isn't used for anything
571: [10:12:57] <ss23> :(
572: [10:12:58] <ss23> RIP
573: [10:13:08] <Py^k> wut?
574: [10:13:19] <ss23> you won't use it for anything!
575: [10:13:20] <ss23> I bet!
576: [10:13:34] <Py^k> nuh uh. You're forgetting I don't have a computer.
577: [10:13:50] <Py^k> I mean well, I have a netbook. But yeah. It's a netbook.
578: [10:13:53] <ss23> lol
579: [10:13:58] <ss23> rbp is like that, but worse performance.
580: [10:14:02] <Py^k> and I miss linux.
581: [10:14:17] <Py^k> and it will likely get set up as a media centre, maybe a web server.
582: [10:14:46] <Py^k> to run things like my usb enclosed hdd and the tv itself (being usb) and stuff.
583: [10:15:21] <Py^k> So yeah. i've avoided buying one in the past because of exactly what you say... but now I think I actually have a use. So I am going to invest.
584: [10:15:49] <Py^k> take thats ss23 !
585: [10:15:55] <ss23> :O
586: [10:16:02] <ss23> lol
587: [10:16:05] <ss23> we'll see how it turns out
588: [10:16:06] <ss23> :D
589: [10:16:34] <Py^k> rofl wicked. Come back after a week and email is full of messages from sales folk. You can tell because the font is all bold, 22pt with !!!!!!!!!!!!!!!!!!!!!!!!!!!!! on the end of every sentence.
590: [10:18:33] <Py^k> ss23: yeah. one down side which may delay progress is that I don't actually have a monitor at home at all. So output might be hard at first :P
591: [10:18:43] <ss23> XD
592: [10:18:46] <ss23> Yeah, might help
593: [10:18:47] <ss23> :P
594: [10:21:24] <Py^k> ss23: so I'm faced with an extremely difficult decision. Do I or do I not get a VESA mount for the wee box? http://shop.cyntech.co.uk/collections/enclosures/products/vesa-monitor-mount-for-raspberry-pi-case
595: [10:23:32] <ss23> eh
596: [10:23:37] <ss23> Tough
597: [10:23:44] <ss23> But I'm going with "no", sinc you might want to move it later anyway!
598: [10:23:48] <ss23> Asthetics aren't worth it man
599: [10:24:08] <Py^k> So uhhh... where the fuck did the forward button go on firefox?
600: [10:25:03] <Py^k> oh it only shows up when there's soemthing forward. Interesting since I just clicked back and now there's not forward :<
601: [10:25:19] * Py^k quit (Quit: Page closed)
602: [10:25:40] <ss23> He found a button
603: [10:25:41] <ss23> :O
604: [10:25:43] * stripee has joined #silverstripe
605: [10:27:09] * Shrike_Finland has joined #silverstripe
606: [10:29:49] * Py^k has joined #silverstripe
607: [10:31:41] <Py^k> [23:25:40] <ss23> He found a button
608: [10:31:47] <Py^k> Nope, a series of buttons.
609: [10:31:50] <ss23> lol
610: [10:31:53] <ss23> how did you see the logs?!
611: [10:32:04] <ss23> simon_w's?
612: [10:32:17] <Py^k> update failed, manually download new version, update, reload.
613: [10:32:23] <Py^k> ss23: yes, of course.
614: [10:32:30] <ss23> mmk
615: [10:32:30] <ss23> :O
616: [10:32:36] <Py^k> I'm a sneaky chap like that.
617: [10:37:26] <zippy____> [2014-03-21 11:02:19] <ss23> zippy__: I said I would have all the patches done on Friday!
618: [10:40:00] <ss23> zippy____: I WAS WRONG
619: [10:40:01] <ss23> :(
620: [10:41:28] <Py^k> oh snap, you in trouble now it's almost tuesday!
621: [10:46:11] <ss23> guis
622: [10:46:14] <ss23> I have a
623: [10:46:20] <zippy____> ss23: to much time shampoo and conditioning that hair :P
624: [10:46:21] <Py^k> checkbox?
625: [10:46:33] * spronk2 quit (Quit: spronk2)
626: [10:46:34] <Py^k> zippy____: too few o's.
627: [10:46:44] <ss23> https://gist.github.com/ss23/9738047
628: [10:46:48] <ss23> zippy____: XD
629: [10:46:52] <ss23> You see my gist? I have a getExportFields
630: [10:46:58] <ss23> It's called, cause if I die() in there, it does die
631: [10:47:11] <ss23> But there is no Provider.Name / Provider Name in the resultant CSV
632: [10:47:11] <Py^k> and?
633: [10:47:12] <ss23> Any ideas?
634: [10:47:18] <Py^k> less .
635: [10:47:20] <Py^k> probably
636: [10:47:26] <ss23> http://doc.silverstripe.org/framework/en/reference/modeladmin
637: [10:47:28] * Py^k shrugs
638: [10:47:34] <ss23> Dot syntax support allows you to select a field on a related has_one object.
639: [10:47:45] <Py^k> yeah, but like that? I dunno.
640: [10:47:50] <Py^k> read code, double check it.
641: [10:48:12] <ss23> hmmmmm
642: [10:48:17] <ss23> That is what example says!
643: [10:48:18] <ss23> :O
644: [10:48:43] <Py^k> Yeah I know you can do dot notation, but I'm just not sure about it in export fields (specifically).
645: [10:48:46] <zippy____> who's in charge of odcs?
646: [10:48:51] <Py^k> you.
647: [10:49:07] <zippy____> lol I think… s23 is the maintianer
648: [10:49:09] <micmania1> I thought ss23 was the leader of the docs?
649: [10:49:10] <Py^k> open sourcery.
650: [10:49:17] <ss23> pls
651: [10:49:18] <ss23> pls.
652: [10:49:19] <ss23> guis.
653: [10:49:29] <Py^k> guis.allthechekboxes
654: [10:49:31] <ss23> brb hiring zippy____ to do docs full time
655: [10:49:36] <ss23> Py^k: The docs have a . in the exportfields like that!
656: [10:49:40] <Py^k> lol sif, you dn't work for valve.
657: [10:49:44] <ss23> $exportButton->setExportColumns($this->getExportFields());
658: [10:49:45] <ss23> but this
659: [10:49:46] <ss23> idk
660: [10:49:46] <zippy____> anyway, I think it works with dot notation with a has one, if Provider is the name of the relation
661: [10:49:49] <Py^k> ss23: woudn't be first time docs wrong.
662: [10:50:14] <zippy____> ie has_many = FooBar => xxx then use FooBar.Name
663: [10:50:22] <ss23> I think I figured it out
664: [10:50:42] <zippy____> and flush
665: [10:50:55] <Py^k> gawd, 11am already knackered.
666: [10:50:58] <Py^k> halp
667: [10:51:54] <ss23> I think it's just hackery that the coders did related to getExportFields
668: [10:52:09] <Py^k> 'ABS(DATEDIFF(\'2007-12-31\',\'2006-12-31\')) AS \'Date_diff_result\''
669: [10:52:19] <Py^k> pro@queries
670: [10:52:47] <micmania1> ss23: what happends if you do $fields['Provider']['Name']?
671: [10:53:04] <Py^k> death I'd assume.
672: [10:53:07] <ss23> Gangsta! code works
673: [10:53:07] <ss23> :D
674: [10:53:09] <micmania1> oh wait, i see. you got it lol
675: [10:53:12] <ss23> micmania1: No idea, the . works
676: [10:53:12] <ss23> yeah
677: [10:53:31] <ss23> Problem was that they had only made the ExportFields happen on *one* of the gridfieldexportbuttons
678: [10:53:33] <Py^k> ss23: so what was your issue? Doing it wrong?
679: [10:53:37] <ss23> Not my code!
680: [10:53:51] <ss23> It has a "report" button, which was reading ExportFields, but it also has an "export" button, which wasn't reading it
681: [10:53:57] <ss23> Now there is a "getReportFields" and a "getExportFields"
682: [10:53:58] <ss23> o/
683: [10:54:02] <Py^k> oic, silly
684: [10:54:13] <Py^k> reporting you say. That's what I'm building now :<
685: [10:54:16] <ss23> thoguh I think it might've broken other code, so we'll see :D
686: [10:54:22] <ss23> lots of clients asking for reporting lately
687: [10:54:22] <ss23> :O
688: [10:54:32] <Py^k> reporting is pretty much the crux of all the things.
689: [10:55:09] <zippy____> ss23: If you drop in "Big Data" into the 3.1.4 I will forgive you for the delay :P
690: [10:55:16] <zippy____> * Reports now handle Big Data
691: [10:55:21] <zippy____> the marketing team will love it
692: [10:55:27] <Py^k> Especially in a bureaucrat loving country like the English system developed back before the days of machines.
693: [10:55:54] <zippy____> just slip it into the change notes / blog post
694: [10:56:01] <Py^k> They say NO! WE NEED MORE SIGNATURES!
695: [10:56:23] <Py^k> and "this will take a month of more to process..."
696: [10:56:28] <Py^k> or*
697: [10:57:02] <Py^k> Technology should enable us to change the way we do things, not apply extra complexity to an outdated system. But no.
698: [10:57:20] <Py^k> These days it's just virtualised rubber stamps to hit application forms and things with.
699: [10:58:13] <zippy____> anyone using vagrant?
700: [10:58:50] <stripee> forgot my ss CMS password and user name.how can i retrieve them?
701: [10:59:06] <zippy____> stripee: edit your _config and set a default admin and password to login
702: [10:59:11] <zippy____> stripee: then change and remove
703: [10:59:25] <kinglozzer> stripee: Security::setDefaultAdmin('admin', 'password');
704: [10:59:44] <Py^k> It's in the docs.
705: [10:59:53] <ss23> hahah zippy____
706: [10:59:58] <ss23> How about "Big Not Getting You Hacked" :D
707: [11:00:15] <zippy____> ss23: yea well… people can atm until it's released…..
708: [11:00:17] * g4b0_ has joined #silverstripe
709: [11:01:48] <stripee> thanx ...it worked but how??
710: [11:02:12] <Py^k> stripee: now it's time to delete that line.
711: [11:02:25] <zippy____> stripee: this is just an override, so you can login, go to security and change your password then remove the line
712: [11:02:27] <Py^k> and change the password of your actual login.
713: [11:03:24] <stripee> thanx buddy
714: [11:03:34] <stripee> one more thing to ask you......?
715: [11:03:54] <g4b0_> hi all
716: [11:03:59] <stripee> which file to delete in order to reinstall ss
717: [11:04:41] <stripee> kinglozzer which file to delete in order to reinstall ss
718: [11:05:02] <kinglozzer> What? Why?
719: [11:08:50] <stripee> i want reinstall mi already installled silverstripe cms
720: [11:09:00] <stripee> so what is the procedure to that?
721: [11:09:09] <Py^k> stripee: delete all the files.
722: [11:09:17] <stripee> ahahhahahahahha.........
723: [11:09:19] <Py^k> there's no such thing as a re-install.
724: [11:09:34] <Py^k> dev/build pretty much IS the install proceedure.
725: [11:09:36] <stripee> there is ..i have once read it ....in the docs
726: [11:09:46] <stripee> but not finding it now.........
727: [11:09:54] <stripee> .htaccess may be
728: [11:09:56] <Py^k> if by 'reinstall' you mean 'I want a clean database' simply drop all tables in your database.
729: [11:10:23] <ss23> stripee: If you have .install php still, you can just navigate to it and run the installer again
730: [11:10:25] <Py^k> stripee: well there is no reinstall. The installer deletes itself when it's done. And in most cases probably shouldn't be used anyway.
731: [11:10:34] <ss23> stripee: Like Py^k said, dropping all your tables and running /dev/build will work just as well :)
732: [11:10:35] <stripee> ohk
733: [11:10:48] <stripee> hmmm
734: [11:10:52] <Py^k> all the installer does is set up some variables, then run dev/build.
735: [11:10:52] <stripee> will try both .........
736: [11:11:01] <Py^k> those variables being your database connection.
737: [11:11:04] <g4b0_> I've got a problem with SiteConfig on a quite big site
738: [11:11:07] <Py^k> that's it.
739: [11:11:13] <Py^k> hi g4b0_
740: [11:11:29] <Py^k> stripee: no need to try anything. Just dev/build after dropping tables.
741: [11:11:41] <Py^k> Do, or do not.
742: [11:12:10] <g4b0_> I've extended it through class SiteConfigCarrello extends DataExtension
743: [11:12:24] * speak_ has joined #silverstripe
744: [11:12:27] <g4b0_> and I started adding HTMLText fields
745: [11:12:46] <speak_> Hey guys, anyone know how to return a widget's current page?
746: [11:12:49] <Py^k> and?
747: [11:12:52] <speak_> (2.4)
748: [11:13:01] <Py^k> speak_: Controller::curr()
749: [11:13:02] <Py^k> iirc
750: [11:13:10] <g4b0_> and the db crashed :)
751: [11:13:19] <Py^k> will return the controller at the top of the 'stack' (not actually a stack).
752: [11:13:30] <Py^k> g4b0_: what do you mean 'crashed'?
753: [11:13:32] <zippy____> g4b0_: did you add it to the yaml? did you flush?
754: [11:13:43] <Py^k> zippy____: yaml? :<
755: [11:13:51] <g4b0_> the problem is that SiteConfig does store everything in a single row
756: [11:13:52] <Py^k> that's a nasty way to build pages (although it works)
757: [11:14:11] <speak_> Py^k, hmm. I am on the widget's controller and need to return a DB field from the page it is on.
758: [11:14:19] <Py^k> g4b0_: so like everything.
759: [11:14:31] <g4b0_> and if data grows over 8k (default mysql)
760: [11:14:33] <Py^k> speak_: give it a go, as I say it's not actually a stack.
761: [11:14:53] <g4b0_> it does not permit to store any data on that table
762: [11:15:02] <Py^k> get a better database.
763: [11:15:22] <Py^k> or configure it better. Preferably the former though.
764: [11:15:30] <Py^k> set up postgre with pgbouncer.
765: [11:15:51] <g4b0_> Py^k: both solutions are off limits :)
766: [11:16:03] <zippy____> Whats this 8k limit your hitting?
767: [11:16:09] <ss23> g4b0_: Easiest quick fix is to make a new model/table and just SiteConfig has_one ThatModel or something
768: [11:16:11] <Py^k> I've never heard of mysql having limits on row size before.
769: [11:16:19] <Py^k> yeah, what zippy____ said.
770: [11:16:20] <ss23> Most people don't hit them
771: [11:16:21] <ss23> :P
772: [11:16:43] <Py^k> but what ss23 said is basically your only course of action. has_one, belongs_one
773: [11:17:13] <speak_> Py^k, beautiful, thank you.
774: [11:17:14] <Py^k> to another object, maybe something like 'note' that just stores a field (or fields) of text.
775: [11:17:26] <g4b0_> it's a big site running oh a DB shared with a CRM
776: [11:17:40] <Py^k> speak_: yeah. Controller stack is the worst named thing ever, since it's neither a stack nor applicable to every controller.
777: [11:17:53] <ss23> g4b0_: Hmm, actually
778: [11:18:00] <Py^k> well, it is technically a stack I guess, but pretty much 100% useless as one.
779: [11:18:04] <ss23> g4b0_: From memory, you can store TEXT without it counting towards the row limit or something like that...?
780: [11:18:10] <Py^k> everything gets pushed and popped AFTER processing the page.
781: [11:18:44] <zippy____> I got some long text rows here, and I am storing 100k~ in these rows....
782: [11:18:51] <ss23> g4b0_: That is, the maximum row length is about 8000 bytes. LONGBLOB and LONGTEXT columns must be less than 4GB, and the total row length, including BLOB and TEXT columns, must be less than 4GB.
783: [11:18:58] <ss23> g4b0_: This is for InnoDB, but should be simple to use that for SiteConfig
784: [11:19:44] <g4b0_> ss23 HTMLText are MeduimTEXT
785: [11:20:50] <g4b0_> does they count towards the row limit?
786: [11:22:29] <kinglozzer> g4b0_: Yes, but there's enough space for you not to worry about IIRC
787: [11:23:03] <ss23> kinglozzer: 8kb is a small amount of text, and that is the limit it says!
788: [11:23:07] <ss23> g4b0_: I really am not sure sorry
789: [11:23:15] <ss23> g4b0_: Might be worth checking with #mysql
790: [11:23:20] <ss23> seekwill is around, he might help
791: [11:23:31] <ss23> be like "seekwill, ss23 said you were awesome and around, pls help me <3"
792: [11:23:48] <Py^k> I think the real question is to ask #mysql how such a shit database got to be so popular
793: [11:24:04] <ss23> Py^k: Says you while a) in #silverstripe, and b) wring PHP
794: [11:24:04] <ss23> :P
795: [11:24:06] <ss23> writing*
796: [11:24:11] <ss23> Presumably also using Windows
797: [11:24:15] <ss23> Software is shit, all of it
798: [11:24:57] <kinglozzer> ss23: http://www.electrictoolbox.com/maximum-length-mysql-text-field-types/ ?
799: [11:25:44] <Py^k> Yeah, but #silverstripe is a tool that suits the purpose of many devs. PHP is a language and if you don't like it stop being cunt. Windows is a functional OS. MySQL on the other hand is not SQL compliant, nor ACID compliant.
800: [11:25:52] <Py^k> It stores data, sure. But it's shit at it.
801: [11:26:37] <Py^k> Many software packages might not be all that fantastic, but there's certainly a scale of 'better' to 'wtf'
802: [11:26:57] <g4b0_> that's my SiteConfig: http://pastebin.com/wCnUyD96
803: [11:27:49] <g4b0_> there's a lot of mediumtext
804: [11:28:00] <Py^k> sure is
805: [11:28:03] <stripee> while flushing the error occurs....The requested URL /site/framework/main.php was not found on this server.
806: [11:28:05] <g4b0_> and they'r falling into the 8k limit
807: [11:28:11] <Py^k> perhaps you are able to restructure g4b0_ ?
808: [11:28:26] <g4b0_> yep, it's a way
809: [11:28:30] <ss23> kinglozzer: I prefer mysql manual for most things like that tbh
810: [11:28:35] <g4b0_> but I don't really like it :)
811: [11:28:56] <kinglozzer> ss23: http://dev.mysql.com/doc/refman/5.1/en/storage-requirements.html
812: [11:29:01] <stripee> kinglozzer while flushing the error occurs....The requested URL /site/framework/main.php was not found on this server.
813: [11:29:02] <Py^k> g4b0_: yeh, sure. But it may end up being the only way. Is the limit db engine or db itself imposed?
814: [11:29:03] <g4b0_> I think that SiteConfing isn't relly well engineered
815: [11:29:05] <ss23> Much better linky! :)
816: [11:29:16] <ss23> g4b0_: Could be a proper k/v store
817: [11:29:21] <ss23> g4b0_: Pull requests welcome! :D
818: [11:29:22] <micmania1> stripee: does that file exist on your server?
819: [11:29:44] <Py^k> g4b0_: yes, but that's some serious modifications. SiteConfig isn't like that by default ;)
820: [11:29:46] <g4b0_> ss23: it's what I was thinking about
821: [11:29:47] <stripee> i m simply doing ?flush=all.........
822: [11:29:49] <g4b0_> a k/v store
823: [11:30:08] <Py^k> stripee: and do any other pages work?
824: [11:30:48] <Py^k> because that error is telling you that the entry point to the entire system is missing.
825: [11:31:01] <Py^k> _nothing_ should work.
826: [11:31:20] <g4b0_> Py^k: you're right, but having the ability to extend it it's quite normal to fall in this situation in a big site
827: [11:31:57] <g4b0_> anyway, it's lunch time here in Italy
828: [11:32:04] <g4b0_> see you later
829: [11:32:12] * g4b0_ eating spaghetti
830: [11:32:13] <ss23> cyao!
831: [11:32:29] <micmania1> stripee: Its telling you that the file is not found. First thing you need to do is check if its there.
832: [11:32:51] <stripee> yes the file is there
833: [11:33:13] <Py^k> g4b0_: as I say, sounds like it just needs to be structured better.
834: [11:33:14] <stripee> that file is always present by default
835: [11:33:26] <zippy____> stripee: previously, didnt you have an issiue with the re-writes and having index.php in the url?
836: [11:34:05] <stripee> i got the solution
837: [11:34:30] <stripee> there was /site in mi rewrite base of .htaccess
838: [11:35:41] <stripee> zippy____ how can i remove index.php from the url .......
839: [11:36:07] * Colin[pi] quit (Ping timeout: 252 seconds)
840: [11:36:24] <zippy____> stripee: right so when you ran the installer the htaccess didn't quite get update as you didn't have mod-write installed at the time, was that right?
841: [11:36:49] <ss23> :(
842: [11:37:01] <ss23> I stayed at work too late, now my timesheeting involves moving all my work over to yesterday
843: [11:37:25] <Py^k> ss23: dafuq, you're still at work?
844: [11:37:33] <kinglozzer> mad man!
845: [11:37:39] <ss23> Py^k: I got distracted and kind of spent ~6 hours doing other stuff
846: [11:37:40] <ss23> :D
847: [11:37:43] * g4b0_ quit (Ping timeout: 264 seconds)
848: [11:37:43] <Py^k> It's 20 to 1 in the morning!
849: [11:37:58] <ss23> On the plus side, I'm like 99% sure the people who write the what.cd don't have any security bugs in their code now! :D
850: [11:38:01] <ss23> Well, apart from one!
851: [11:38:18] <zippy____> ss23: just take ya sleeping bag and crash under your desk
852: [11:38:19] <Py^k> what.cd?
853: [11:38:26] <ss23> XD
854: [11:38:28] <zippy____> cuddle the laptop for warmth
855: [11:38:30] <ss23> zippy____: My house is close
856: [11:38:30] <ss23> :P
857: [11:38:39] <ss23> Py^k: private tracker / torrenting site
858: [11:38:44] <Py^k> rofl zippy____, but then he'd be woken up by early in the office folk¬
859: [11:38:51] <ss23> ^^^
860: [11:38:53] <ss23> trudis
861: [11:38:54] <Py^k> ss23: on SS?
862: [11:39:00] <ss23> Py^k: naw, not related to SS at all
863: [11:39:01] <ss23> :P
864: [11:39:05] <Py^k> right, I see.
865: [11:39:11] <Py^k> open source though?
866: [11:39:15] <ss23> yeah
867: [11:39:17] <ss23> so I could audit
868: [11:39:18] <ss23> :P
869: [11:39:24] <zippy____> Py^k: he already has to get up early to perm that hair
870: [11:39:33] <Py^k> hahahah, omg, did you get a perm ss23 ?
871: [11:39:41] <Py^k> GET A PERM DOUG
872: [11:40:03] <ss23> what
873: [11:40:04] <ss23> pls
874: [11:40:19] <ss23> Actually I have to get up early so I can go to the doctors to get more insulin, you insensitive fuck, zippy____
875: [11:40:30] <ss23> JUST KIDDING, JUST WANTED TO ACT OFFENDED FOR FUN
876: [11:40:30] <ss23> :D
877: [11:40:32] <ss23> zippy____: :P
878: [11:40:34] <Py^k> true, wellington winds would mean it wouldn't last long
879: [11:40:44] <ss23> my hair *is* quite knotted atm
880: [11:40:50] <zippy____> ss23: aint guilt tripping me
881: [11:40:51] <ss23> Dunno what happened, sure I washed it last week :O
882: [11:40:53] <ss23> zippy____: :P
883: [11:40:57] <Py^k> lol last week
884: [11:41:17] <ss23> Py^k: Less often you wash your hair, less often you need to wash your hair :P
885: [11:41:23] <ss23> chicks wash it like once or twice a week
886: [11:41:47] <Py^k> yeh but chicks.
887: [11:42:03] <Py^k> dudes sweat.
888: [11:42:37] <zippy____> Py^k: http://tinypic.com/view.php?pic=206zx4w&s=8#.UzAaGq2SzB4 ss23
889: [11:42:52] <Py^k> no, find an image hoster that isn't shit.
890: [11:42:53] <stripee> zippy____ yes u r write
891: [11:43:11] <Py^k> zippy____: ie, that actually displays an image.
892: [11:43:14] <stripee> zippy____ yes u r right
893: [11:43:26] <ss23> Py^k: Chicks sweat too
894: [11:43:28] <ss23> zippy____: SO SEXY
895: [11:43:38] <Py^k> hmm, not sure if I should click at all now :<
896: [11:43:39] <ss23> I'd hit it.
897: [11:43:42] <zippy____> Py^k: yea, antmas stuck it somewhere shitty
898: [11:43:49] <Py^k> what is?
899: [11:43:49] <ss23> lol
900: [11:43:57] <ss23> Py^k: Me, sucking my fingers seductivly
901: [11:43:58] <ss23> ;)
902: [11:43:59] <zippy____> Py^k: it's a pick of ss23 there
903: [11:44:02] <Py^k> oh, rofl
904: [11:44:04] <Py^k> hahahaha
905: [11:44:06] <zippy____> pic*
906: [11:44:07] <Py^k> classic.
907: [11:44:20] <Py^k> are you wearing your dress again ss23?
908: [11:44:23] <ss23> pls
909: [11:44:29] <ss23> You wear a dress ONCE
910: [11:44:36] <zippy____> http://www.sspaste.com/ - who hosts this!
911: [11:44:48] <Py^k> lol
912: [11:44:51] <zippy____> stripee: sorted now?
913: [11:44:51] <ss23> lol idk
914: [11:45:00] <ss23> I don't know any hosts that have bandwidth limits, nor anyone who uses sspaste!
915: [11:45:01] <Py^k> http://kloth.net/services/dig.php
916: [11:45:06] <Py^k> zippy____: ^
917: [11:45:20] <stripee> zippy___ no ,i dint get the solution still
918: [11:48:27] <zippy____> stripee: Are you running the site in a sub directory?
919: [11:49:49] <zippy____> stripee: use this in your .htaccess - replace the current IfModule block
920: [11:49:51] <zippy____> http://pastebin.com/wyHTkndk
921: [11:51:34] <stripee> previousli mi site was runnung in a subdirectory ...but now i have installed it in new directory
922: [11:53:49] <Py^k> so you need to change RewriteBase to "/"
923: [11:54:42] * ARNHOE quit ()
924: [11:55:41] <Py^k> or if it's still in a subdirectory (just a new one), it needs to be the name of that.
925: [11:55:43] <stripee> zippy____ did what u said ,but still the index.php is there
926: [11:56:02] <zippy____> zippy____: can you flush now thou
927: [11:56:35] <stripee> yes flush is working without index.php
928: [11:56:49] <zippy____> ok, try and access site via /
929: [11:58:04] <Py^k> if it works, and going to another page puts the index.php back in the url (and if you check by removing the index.php and the page still loads) then just delete index.php.
930: [11:58:15] <Py^k> Easiest solution.
931: [11:59:28] <stripee> when i am going for admin/pages ....the url needs index.php
932: [12:00:40] <stripee> if i remove the index.php from the url ,..the url changes to http://localhost:8080/sitename/Security/login?BackURL=%2Fsitename%2Fadmin%2Fpages
933: [12:01:24] <stripee> Py^k do u have solution for this?
934: [12:02:57] <Py^k> nope.
935: [12:03:00] <Py^k> sorry.
936: [12:20:02] * speak_ quit (Quit: Leaving)
937: [12:36:05] * Sj0hn quit ()
938: [12:39:01] <stripee> can treeview be totaly removed by gridview ?
939: [12:41:16] <stripee> zippy____ can treeview be totaly removed by gridview ?
940: [12:44:00] * Shrike_Finland quit (Quit: Leaving.)
941: [12:46:13] * Shrike_Finland has joined #silverstripe
942: [12:53:44] <stripee> kinglozzer how can treeview be totally replaced by gridview ?
943: [12:59:04] <Py^k> does SS not remember what setting you last had it on when you next sign in?
944: [13:00:53] * zippy____ quit (Quit: zippy____)
945: [13:01:59] * zippy____ has joined #silverstripe
946: [13:02:23] * zippy____ quit (Client Quit)
947: [13:20:55] * g4b0_ has joined #silverstripe
948: [13:25:02] * Shrike_Finland quit (Quit: Leaving.)
949: [13:26:20] <Py^k> OMG lunch of champions!
950: [13:26:29] <Py^k> Chips, chocolate bar and awesome sandwich
951: [13:26:36] <Py^k> (chips being crisps)
952: [13:26:41] <Py^k> kinglozzer micmania1
953: [13:27:19] <micmania1> I had a chicken wrap with reggae reggae sauce... and chips.
954: [13:27:41] <Py^k> reggae reggae mon?
955: [13:28:13] <micmania1> That could be a thing.
956: [13:28:17] <Py^k> I have the Godfather from Chillipepper
957: [13:28:29] <micmania1> nice. Do you order every day?
958: [13:28:48] <Py^k> most days yeh
959: [13:28:59] * stripee quit (Ping timeout: 245 seconds)
960: [13:29:04] <Py^k> I wait for my colleague to pick me up just outside from there
961: [13:29:14] <Py^k> when we work in the valley
962: [13:29:26] <micmania1> they deliver all the way down there?
963: [13:29:31] <Py^k> so I get a sandwich in the morning
964: [13:29:34] <Py^k> for lunch
965: [13:29:42] <Py^k> nah, they last surprisingly well
966: [13:29:54] <Py^k> provided I can keep my mouth off it long enough :P
967: [13:29:58] <micmania1> ah right lol
968: [13:30:17] <Py^k> by keep I mean don't get soggy or whatnot
969: [13:40:30] * catcher has joined #silverstripe
970: [13:50:48] <Py^k> I've decided Lion bars are fantastic and why don't we have these in NZ?
971: [13:50:59] <Py^k> We've got about everything else Nestle.
972: [13:51:14] <catcher> Lion bars?
973: [13:51:19] <Py^k> Nestlé
974: [13:51:23] <Py^k> mmm, Lion bars.
975: [13:51:27] <Py^k> Made with real Lion.
976: [13:51:43] <Py^k> That's why they're on the 'watch' list for endangerment.
977: [13:52:12] <Py^k> accroding to the WWF ad trying to get me to sponsor a big cat I saw last night.
978: [13:54:07] <micmania1> NZ don't have lion bars? :(
979: [13:55:30] * muskie9 has joined #silverstripe
980: [13:55:46] <Py^k> micmania1: yeah nah. We've got Milo bars though!
981: [13:56:01] <micmania1> are they like lion bars?
982: [13:56:06] <Py^k> (Not nearly the same thing, but still awesome)
983: [13:56:10] <kinglozzer> Py^k: Great lunch, I had a ham and cheese toastie
984: [13:56:25] <kinglozzer> Py^k: Snickers?
985: [13:56:25] <Py^k> nah, Milo is a malt/cocoa type drink.
986: [13:56:35] <kinglozzer> In NZ ^^
987: [13:56:59] <Py^k> kinglozzer: yeh as I say, we've got about everything else Nestlé, even though I think Snickers is Mars.
988: [13:57:22] <Py^k> But things like Kit Kat, Milky Bar, etc.
989: [13:57:36] <Py^k> Oh, and Cadbury, of course.
990: [13:57:48] <Py^k> There being a big factory down in Dunners (Dunedin)
991: [13:57:56] <Py^k> which is pretty much the Scotland of NZ
992: [13:58:06] <micmania1> how about pot noodles? Slightly off-topic, I know.
993: [13:58:07] <Py^k> (there being a scottish castle in it)
994: [13:58:15] <Py^k> micmania1: define pot noodles?
995: [13:58:21] <micmania1> pot noodle
996: [13:58:32] <micmania1> I don't know. just pot noodle.
997: [13:58:45] <micmania1> i'm going to take that as a no :(
998: [13:59:18] <Py^k> Well we've got dickloads for instant noodles.
999: [13:59:27] <Py^k> I dunno if that's the same thing though.
1000: [13:59:53] <micmania1> not the same :(
1001: [14:00:08] <micmania1> how about peanut butter kitkat chunkies?
1002: [14:00:18] <Py^k> Might have come in recently I think.
1003: [14:00:31] <micmania1> They're the best.
1004: [14:00:36] <Py^k> Peanut butter and chocolate is quite an American thing.
1005: [14:00:39] * ocm has joined #silverstripe
1006: [14:00:43] <Py^k> It's only recently started to be a thing in NZ
1007: [14:00:50] <Py^k> as in, the last... 2 years or so.
1008: [14:01:07] <ocm> howdy
1009: [14:02:03] <Py^k> micmania1: but we've got other chunky's though.
1010: [14:02:33] <Py^k> chocolate, caramel, etc.
1011: [14:02:33] <micmania1> peanut butter is the only chunky that counts.
1012: [14:04:00] <Py^k> haha, as I say, I think we might have them now, but not sure. I haven't bought a chunky in ages.
1013: [14:04:10] <Py^k> Moro gold is where it's at.
1014: [14:04:16] <micmania1> I have a rule that if I ever see one ina shop I MUST buy it
1015: [14:04:32] <Py^k> Moro being the Cadbury version of Mars, Moro gold bascially being the Boost bar from here.
1016: [14:04:40] <micmania1> didn't work out so well after I done a eating challenge, failed then went to the shop for a drink :(
1017: [14:04:52] <micmania1> boost is good too!
1018: [14:04:56] <Py^k> lol, gawd eating challenge.
1019: [14:05:07] <Py^k> body all 'Y U DO DIS!?'
1020: [14:05:22] <Py^k> eh, the world's turning to shit.
1021: [14:05:33] <Py^k> Apparently Turkey have shot down a Syrian jet.
1022: [14:05:37] <micmania1> I done it near Team Valley actually. There's a pub near there, can't remember its name.
1023: [14:05:44] <micmania1> yeah, that was yesterday
1024: [14:06:01] <micmania1> Apparently it got up in their grill
1025: [14:07:08] <g4b0_> Py^k & ss23 && kinglozzer: I found I quick&dirty solution to my SiteConfig 8k limit problem
1026: [14:07:22] <g4b0_> alter TABLE SiteConfig ENGINE=MYISAM;
1027: [14:07:25] <g4b0_> but
1028: [14:07:49] <g4b0_> on every dev/build it come back to innoDB
1029: [14:08:08] <g4b0_> how can I prevent this?
1030: [14:08:08] <Py^k> g4b0_: yeah, so you have to use the call in your extension
1031: [14:08:20] <Py^k> private static table_options iirc
1032: [14:09:20] <g4b0_> any link to docs?
1033: [14:10:57] <Py^k> nope
1034: [14:11:07] <Py^k> look at FulltextSearchable
1035: [14:11:11] <Py^k> it does it.
1036: [14:11:13] <g4b0_> I fond it
1037: [14:11:21] <g4b0_> let's try if I can ovverride it
1038: [14:12:09] <Py^k> Config::inst()->update($class, 'create_table_options', array('MySQLDatabase' => 'ENGINE=MyISAM'));
1039: [14:12:26] <Py^k> http://api.silverstripe.org/3.1/source-class-FulltextSearchable.html#55
1040: [14:12:51] * Shrike_Finland has joined #silverstripe
1041: [14:13:39] * Shrike_Finland quit (Client Quit)
1042: [14:14:13] <g4b0_> private static $create_table_options = array('MySQLDatabase' => 'ENGINE=MyISAM');
1043: [14:14:18] <g4b0_> in my extension
1044: [14:16:35] <Py^k> does it work?
1045: [14:18:17] <g4b0_> it works
1046: [14:18:30] <g4b0_> see you when my config will reach 64k :P
1047: [14:19:26] <Py^k> lol :P
1048: [14:19:58] * opalfroot has joined #silverstripe
1049: [14:20:32] <opalfroot> within a class that extends model admin is there a way to name the tabs (models it manages)?
1050: [14:20:47] <Py^k> Plural name
1051: [14:20:49] <Py^k> on the object
1052: [14:21:27] <opalfroot> so I have a really horible name for the object and wanted to replace it entirely...
1053: [14:21:31] <Py^k> To change them on the fly in a specific model admin, not sure. Probably not.
1054: [14:21:45] <Py^k> opalfroot: well then, private static plural_name
1055: [14:21:55] <Py^k> = 'lolstring'
1056: [14:22:09] <opalfroot> OK I'll try it
1057: [14:26:40] <Py^k> if it doesn't work (it should) try singular_name
1058: [14:26:47] <Py^k> you'll need to flush, of course.
1059: [14:26:52] <Py^k> or build, either wya.
1060: [14:26:54] <Py^k> way*
1061: [14:28:53] * DesignerX quit (Ping timeout: 252 seconds)
1062: [14:34:54] <Py^k> D: kinglozzer ...
1063: [14:34:55] <opalfroot> so singular worked on the base class - but not plural ...which is fine! Cheers!
1064: [14:35:03] <Py^k> I should have got an energy drink with my champion lunch
1065: [14:35:06] <Py^k> :<
1066: [14:35:08] <kinglozzer> Uh-oh... :P
1067: [14:35:18] <micmania1> SIESTA!
1068: [14:35:21] <kinglozzer> :D
1069: [14:35:40] <Py^k> opalfroot: yeah well they're supposed to be the differene between eg. Mouse (singular), Mice (plural).
1070: [14:35:48] <Py^k> so you can define this stuff.
1071: [14:35:57] <Py^k> micmania1: yep, you got it :<
1072: [14:36:16] <Py^k> Also mega dry throat after crisps
1073: [14:36:29] <opalfroot> what kind of crisps?
1074: [14:36:32] <Py^k> urgh, feels so weird to write crisps.
1075: [14:36:37] <Py^k> Chips!
1076: [14:36:41] <micmania1> crisps!
1077: [14:37:01] <Py^k> opalfroot: Walkers classically ready salted
1078: [14:37:18] <Py^k> With salt from Cheshire
1079: [14:38:07] <opalfroot> I had some enchilada chicken doritos yesterday ...man their special
1080: [14:38:14] <Py^k> they're.
1081: [14:38:19] <Py^k> also, doritos nah.
1082: [14:38:31] <Py^k> good I'm sure, but too American.
1083: [14:38:36] <Py^k> I miss CC's :<
1084: [14:39:17] <Py^k> Not that you'll have any idea what they are. But basically a superior version of rubbish quality corn chip.
1085: [14:39:54] <opalfroot> superiour quality of rubbish lol
1086: [14:39:57] <opalfroot> nice
1087: [14:40:01] <Py^k> yeah well.
1088: [14:40:09] <Py^k> truth, right?
1089: [14:40:38] <opalfroot> sure
1090: [14:40:50] <opalfroot> where are you from/currently?
1091: [14:40:51] <Py^k> well, no. It's very important on which adjective the 'quality' is attached to.
1092: [14:41:22] <Py^k> eg. superior of rubbish quality is a better low end product.
1093: [14:41:46] * wmk has joined #silverstripe
1094: [14:41:53] <Py^k> superior quality rubbish is further down the bad end of the spectrum.
1095: [14:42:22] <opalfroot> can I just ask - do you use an IDE?
1096: [14:42:31] <Py^k> eg. "it's better than that crap, but still not fantastic" vs "its better at being shit"
1097: [14:42:46] <Py^k> opalfroot: yeah, my brain.
1098: [14:42:57] <Py^k> (nah, I don't)
1099: [14:43:09] <opalfroot> oh ok
1100: [14:45:22] * Py^k is now known as Nightjar
1101: [15:26:19] * opalfroot quit (Quit: Page closed)
1102: [15:35:24] * desperate has joined #silverstripe
1103: [15:35:46] <desperate> hi everyone
1104: [15:35:47] <desperate> crazy goings on... i have alocal site which works nicely
1105: [15:35:47] <desperate> i have transferred it to my dev box
1106: [15:35:54] <desperate> on the home page I am missing the side bar
1107: [15:36:28] <wmk> you flushed?
1108: [15:37:18] <desperate> yes I have flushed and done a dev build
1109: [15:37:53] <desperate> when i insepct the element I can see .no-sidebar .sidebar { display: none; }
1110: [15:38:11] <desperate> yet on my local this there
1111: [15:38:19] <desperate> what the hell is turning this style on
1112: [15:38:27] <desperate> both sites are using the simple theme
1113: [15:38:54] <wmk> other template? you have the same database?
1114: [15:39:09] <desperate> the database is not the same
1115: [15:39:32] <wmk> well...
1116: [15:39:57] <desperate> but if the theme is the same and the css is the same?
1117: [15:40:28] <wmk> dunno when your sidebar is included and when not. maybe it depends on the pagetype, if it's on top level etc.
1118: [15:41:04] <desperate> the pages have the same page types
1119: [15:41:11] <desperate> i will try and import the databse
1120: [15:41:26] * Trieste has joined #silverstripe
1121: [15:41:39] <Trieste> hi
1122: [15:43:21] <Trieste> I have a NewsHolder as the /home page, and few NewsArticles as it's subpages in the tree, but when I do "loop $Children" in the .ss template of the /home page, it's as if it had no children
1123: [15:43:59] <Nightjar> Trieste: probably because they're hidden from the menu
1124: [15:44:08] <muskie9> loop AllChildren
1125: [15:44:09] <Nightjar> try <% loop AllChildren %>
1126: [15:44:11] <Nightjar> ^^
1127: [15:44:48] <desperate> I just imported my db
1128: [15:45:07] <desperate> the importnat has the table names in upper case
1129: [15:45:18] <Trieste> muskie9: ooh, there we go
1130: [15:45:20] <Trieste> thanks
1131: [15:45:50] <desperate> sorry the imported tables are in lower case
1132: [15:45:52] <Trieste> Nightjar: :)
1133: [15:46:06] <desperate> my current db are in upper case (first letter)
1134: [15:46:25] <desperate> consequently it looks like the dev build doesn't work
1135: [15:46:25] <Nightjar> desperate: yes, MySQL is case dependent on Linux
1136: [15:46:33] <Nightjar> but not on windows.
1137: [15:46:50] <desperate> is there a way to quickly change case of first letter
1138: [15:46:53] <desperate> or manual job>
1139: [15:47:08] <Nightjar> dev build usually does it for you if needed.
1140: [15:53:02] <desperate> ok I just rebuilt my database
1141: [15:53:09] <desperate> just recreated my pages
1142: [15:53:22] <desperate> still the sidebar is missing
1143: [15:53:27] <desperate> beyond retarded
1144: [15:53:37] <desperate> how can site a work ok
1145: [15:53:55] <desperate> important identical site and sidebars are hidden
1146: [15:54:26] <Nightjar> because mysql is a terrible database.
1147: [15:54:36] <Nightjar> managment system
1148: [15:55:32] <Nightjar> if you export and import from two like systems (or the same server even) it'll work perfectly. But since you're porting from your dev (windows) setup to a production (linux) setup, you're hitting this issue.
1149: [15:55:48] <Nightjar> the rule here is to never pre-populate stuff into your dev environment. Only put testing data in.
1150: [15:56:08] <Nightjar> That or configure MySQL to do as you wish it to.
1151: [16:01:26] <kinglozzer> desperate: If everything is working perfectly except the sidebar, is it wrapped inside a <% cached %> block?
1152: [16:02:06] <desperate> it is an icludes if that helps?
1153: [16:02:16] <Nightjar> flush
1154: [16:02:29] <desperate> <% include SideBar %>
1155: [16:02:34] <desperate> I've flush a million times
1156: [16:03:23] <desperate> here is the process
1157: [16:03:27] <desperate> delete file on server
1158: [16:03:32] <desperate> upload zip of working site
1159: [16:03:35] <desperate> unzip
1160: [16:03:44] <desperate> import db
1161: [16:03:45] <desperate> flush
1162: [16:03:52] <Nightjar> build
1163: [16:03:53] <desperate> side bar missing - display:none
1164: [16:03:55] <Nightjar> you forgot to build
1165: [16:04:04] <desperate> I also did a build with an empty db
1166: [16:04:11] <desperate> flush no sidebar
1167: [16:04:26] <Nightjar> you need to build again after import, especially since you have table name issues
1168: [16:06:32] <desperate> i deleted my import
1169: [16:06:37] * ARNHOE has joined #silverstripe
1170: [16:06:41] <desperate> dropped all tables
1171: [16:06:44] <desperate> rebuilt
1172: [16:06:49] <desperate> created new page
1173: [16:06:50] <desperate> no sidebar
1174: [16:07:01] <desperate> page type is the same
1175: [16:07:10] <desperate> built identical structure
1176: [16:07:24] <desperate> i swear to god I have been on this for like 6 hours
1177: [16:07:29] <desperate> complete waste of a day
1178: [16:08:01] <micmania1> desperate: You should always try to develop in the same environment as your live. Saves a lot of time debugging
1179: [16:08:04] <Nightjar> no, because you're misunderstanding how sidebars work.
1180: [16:08:25] <Nightjar> sidebars are not magic. They don't exist. they're has_one to the page. You deleted the page, thus no more sidebar.#
1181: [16:08:32] <micmania1> If you're using windows, download virtualbox, get a copy of ubuntu server. sorted.
1182: [16:08:33] <Nightjar> pretty simple.
1183: [16:08:50] <Nightjar> or at least know the discrepencies and how to work around them.
1184: [16:09:05] <desperate> I'm sorry Nightjar I don't think you have read the steps I took
1185: [16:09:08] <Nightjar> I used to run wampserver, but used the same versions of php + mysql on it as my production server.
1186: [16:09:18] <Nightjar> desperate: created a new page.
1187: [16:09:19] <Nightjar> yes.
1188: [16:09:34] <Nightjar> create new page. Navigate into page. Add widgets to new sidebar. PROBLEM SOLVED
1189: [16:09:46] <desperate> if site A works... then I re-created the same structure on Site B how can it the sidebar show on one and not on another
1190: [16:10:00] <Nightjar> Because you only recreated the pages, not the sidebar.
1191: [16:10:02] <desperate> same pages
1192: [16:10:07] <desperate> same structure
1193: [16:10:08] <Nightjar> BUT NOT THE SIDEBAR
1194: [16:10:08] <desperate> same css
1195: [16:10:15] <desperate> yes rthe sidebar is the same
1196: [16:10:21] <desperate> same includes folder
1197: [16:10:25] <desperate> everytihng is the same
1198: [16:10:27] <micmania1> desperate: post your code.
1199: [16:10:38] <Nightjar> the sidebar is a collection of data objects.
1200: [16:10:43] <Nightjar> you need to recreate these objects.
1201: [16:11:10] <Nightjar> it's got almost nothing to do with the theme, or the code, or the css, or the images, or the anything else.
1202: [16:13:42] <desperate> here is my sidebar code
1203: [16:14:03] <desperate> <aside class="sidebar unit size1of4"><h3>Hello</h3></aside>
1204: [16:14:33] <Nightjar> fantastic. 0% of anything to do with SS.
1205: [16:14:44] <desperate> inspect element: display:none
1206: [16:14:54] <Nightjar> suggest you check where that rule is coming from then.
1207: [16:16:48] <desperate> I have no idea....
1208: [16:17:10] <desperate> i'm not sure if it is realted or not but when I view the home page preview of my home page in the cmsI see in the preview
1209: [16:17:13] <desperate> Page not found Sorry, it seems you were trying to access a page that doesn't exist. Please check the spelling of the URL you were trying to access and try again.
1210: [16:17:30] <Nightjar> desperate: well it's written right there in your dev tools.
1211: [16:18:01] <desperate> although I see the same message in my dev and sidebar works ok there
1212: [16:18:06] <Nightjar> it'll be written which line of which file the css is on, or if it's inline.
1213: [16:18:30] <desperate> the css issue - display:none exists in the css on both servers
1214: [16:18:38] <Nightjar> also, you've posted NO code so far. I'm still presuming you're talking about the blog module's sidebar, correct?
1215: [16:18:39] <desperate> but something is clearly switching it on or off
1216: [16:18:57] <desperate> I'm using the simple theme
1217: [16:18:59] <Nightjar> desperate: yes, and the line which defines display:none is written in your dev tool.
1218: [16:19:09] <Nightjar> oh
1219: [16:19:18] <desperate> yes on the site b I see the display:none
1220: [16:19:22] <desperate> but not on site a
1221: [16:19:27] <Nightjar> well then read the theme code. Simpple does some crazy stuff with the sidebar I think
1222: [16:19:49] <Nightjar> yes I know this, you keep telling me this when I'm asking for something completely different.
1223: [16:20:34] <Nightjar> https://blog.getfirebug.com/getfirebug_content/uploads/2011/09/FirebugLite1.4-CSSLineNumbers.jpg
1224: [16:20:46] <desperate> the theme code for SideBar.ss has had all logic removed.. so thar it just outputs a hello world
1225: [16:20:48] <Nightjar> see this here. The big red square tells you exactly where the rules are defined.
1226: [16:21:18] <desperate> yeah I've already checked that
1227: [16:21:22] <desperate> line 162 of layout.css
1228: [16:21:49] <micmania1> desperate: the simple theme hides if there are no children if I remember correctly.
1229: [16:22:13] <micmania1> hides the sidebar*
1230: [16:22:14] <Nightjar> micmania1: yeh, me too. But it does something funky with how it defines 'children' iirc.
1231: [16:22:42] <desperate> i added my own logic because i wanted to list children of a particular pafge type let me dig out my oriignal code
1232: [16:23:09] <micmania1> on the body class: <% if not $Menu(2) %> no-sidebar<% end_if %>
1233: [16:23:19] <micmania1> body tag even. In templates/Page.ss
1234: [16:23:58] <micmania1> remove that and the sidebar should appear.
1235: [16:24:04] <Nightjar> yep, thus skipping out all hidden pages.
1236: [16:24:40] <desperate> so it just says: <body class="$ClassName
1237: [16:24:43] <desperate> "
1238: [16:27:37] <desperate> that worked
1239: [16:28:19] <Nightjar> yeh. Would have worked ages ago if you'd debuged it properly.
1240: [16:28:19] <desperate> but what makes no sense is the fact that on my site a which worked ok I did not have to comment that out
1241: [16:29:12] <Nightjar> display:none comes from a line of layout.css which is defined by no-sidebar class, which is on the body, which is included by the them if NOT menu2, which happens where there are NO LEVEL TWO PAGES
1242: [16:29:19] <desperate> In my opinion this is a a bit of a hacky work around
1243: [16:29:54] <desperate> yes but my sidebar.ss was as follows
1244: [16:29:56] <desperate> <% with List(EventsHolderPage).First %>
1245: [16:30:08] <desperate> and i had an EventsHolderPage with two child pages
1246: [16:30:33] * ARNHOE quit ()
1247: [16:30:43] <Nightjar> so one of two things are happening. 1) The pages are saved as 'Hidden from menus', 2) You're really unsure about how the sidebar works, 3) you've not set up the heirarchy as you said you had,
1248: [16:31:18] <Nightjar> desperate: yeah but was it the first one?
1249: [16:32:16] <desperate> yes
1250: [16:32:33] <desperate> sorry, what do you mean by first
1251: [16:32:42] <desperate> i misunderstood
1252: [16:32:44] <Nightjar> how many EventsHolderPage do you have.
1253: [16:32:49] <desperate> one
1254: [16:32:58] <Nightjar> are you sure?
1255: [16:33:46] <desperate> my site consists of a home apge
1256: [16:33:49] <desperate> events holder
1257: [16:33:52] <desperate> and one events page
1258: [16:34:06] <desperate> 34 pages only
1259: [16:34:09] <desperate> 3
1260: [16:34:53] <desperate> I just put the if statement back into body
1261: [16:34:56] <desperate> flushed
1262: [16:35:03] <desperate> and the menu disappears
1263: [16:35:30] <desperate> sidebar meu I meam
1264: [16:35:31] <Nightjar> because of how it works.
1265: [16:35:45] <Nightjar> it looks for children pages.
1266: [16:35:49] <Nightjar> if there are none, no sidebar.
1267: [16:35:59] <Nightjar> if there are some, but they're not visible in the menus, no sidebar.
1268: [16:37:06] * Azure quit (Quit: Blue Sky Fish)
1269: [16:37:10] <Nightjar> so I suggest that whatever pages you're hoping to show up there are not there, or hidden.
1270: [16:37:20] <Nightjar> I'm guessing at the latter.
1271: [16:38:12] <Nightjar> that or I've forgotten how Menu(2) works, and Menu(higher number) won't work on a <lower number> page.
1272: [16:38:16] <desperate> they are ticked as "appear in search and appear in menus
1273: [16:38:31] <Nightjar> change Menu(2) to Children hen.
1274: [16:38:33] <Nightjar> then*
1275: [16:39:31] <Nightjar> Menu(2) is for when you're ON a subpage, not on the parent page.
1276: [16:39:36] <micmania1> desperate: Are you on the event listing page when the sidebar disappears?
1277: [16:39:59] <Nightjar> yeh, guessing he's on the parent.
1278: [16:40:40] <desperate> no my homepage
1279: [16:41:12] <desperate> it appears on eventsholdingpage
1280: [16:41:19] <Nightjar> yeah
1281: [16:41:21] <Nightjar> surprise?
1282: [16:41:23] <Nightjar> no.
1283: [16:41:24] <micmania1> desperate: It sounds like you need to work through the tutorials to see how Menu(2) works.
1284: [16:41:35] <Nightjar> I think it seems that you're confused about how it works. yes.
1285: [16:41:58] <micmania1> Its a better way of spending 6 hours.
1286: [16:42:12] <Nightjar> You've come into channel complainging about something, given near to no information about us, and asked us to solve what amounts to a basic misunderstanding.
1287: [16:42:28] <Nightjar> please, we're here to help, but you need to put in some work to help yourself too.
1288: [16:43:23] <micmania1> desperate: http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site - This explains how navigation works.
1289: [16:44:27] <Nightjar> Specifically http://doc.silverstripe.org/framework/en/tutorials/1-building-a-basic-site#a-second-level-of-navigation
1290: [16:45:30] <desperate> Nightjar I respect your opinion and advice. but with all due respect I don't think you have read my input above. If I take a working site and copy it step by step so that the two sites have an identical db, page structure and content it's not a case of me mis-understanding how a basic site works or how a sidebar includes works
1291: [16:45:53] * oddnoc has joined #silverstripe
1292: [16:46:27] <desperate> the only difference I can possibly identify is that my new server maybe using 3.13 and the dev is 3.12
1293: [16:46:40] <desperate> otherwise there is no difference
1294: [16:47:42] * stripee has joined #silverstripe
1295: [16:48:20] <stripee> \ #css
1296: [16:48:54] <Nightjar> desperate: You've basically said "My site doesn't work." and then we said "what do you mean?" and you say "it doesn't work" and then we ask "HOW does it not work?" and you say "it just doesn't." and then we ask "what specifically doesn't work?" and you say "the sidebar" and then that's the entirety of the whole thing until you said you were using the simple theme. In which case we weren't much better off and and to guess a lot
1297: [16:49:12] <Nightjar> which turned out to be something we've suggested you do about 6 times in the past (read the tutorials).
1298: [16:49:34] <Nightjar> Please, you have to work on how you ask a question, and the information you give out to assist in troubleshooting.
1299: [16:49:34] <Zauberfisch> poor Nightjar
1300: [16:49:51] <micmania1> desperate: with all of these things you will find that there is a difference - its just not obvious. The fact that you're working in a completely different environment adds a multitude of risk that things will be different.
1301: [16:50:13] <desperate> I think my next option is to try a third server
1302: [16:50:27] <Nightjar> as it turns out, the site works exactly as intended, you lied when you said you'd set up the exact same structure.
1303: [16:51:05] <desperate> if i get the same issues it will suggest a code based problem, if I get site c working as site a works then I'll have to nuke server b!
1304: [16:51:10] <stripee> i have an html/css problem...
1305: [16:51:16] <desperate> lied lol..
1306: [16:51:45] <stripee> one box is not rendering in proper place...what problem may be ?
1307: [16:51:47] <Nightjar> desperate: the code problem is that you're misunderstanding what the existing code is intending to do.
1308: [16:52:24] <Nightjar> stripee: that's not very helpful. It's basically like me saying "I have a car. It's not in the garage, where could it be?"
1309: [16:53:14] <stripee> ohk .let me be more clear to u
1310: [16:53:35] <Nightjar> desperate: well when it comes to code it will always do the same thing. The inputs can be different, or there could be a configuration issue. But the code will always try to do the same thing.
1311: [16:53:41] <micmania1> This is brilliant!
1312: [16:54:06] <Nightjar> so to use the same code between two installs where only the content is different, then try to say the code is wrong... that's just illogical.
1313: [16:55:35] <stripee> the box should be present in right-down position ...but it gets splitted.....a small part is left-down and rest part overlaps the starting of the page....can u help me now?
1314: [16:56:01] <Nightjar> nope.
1315: [16:56:05] <Nightjar> well
1316: [16:56:07] <Nightjar> I can, sure.
1317: [16:56:31] <Nightjar> stripee: here: https://developer.mozilla.org/en-US/docs/Web/CSS
1318: [16:57:47] * OxFF1 has joined #silverstripe
1319: [16:58:25] <desperate> Ok Nightjar, so in your opinion would you say that if i take an empty dir, import the db of a wokring SS site, unzip the working files of a wokring site
1320: [16:58:30] <desperate> *working
1321: [16:58:53] <desperate> then I get the missing side bar issue, that's logical?
1322: [17:00:22] <Nightjar> no, I'd say that there's another discrepency that you've missed in your configuration somewhere.
1323: [17:00:28] * g4b0_ quit (Quit: Sto andando via)
1324: [17:00:33] <Nightjar> advice we offered first, but you ignored.
1325: [17:03:45] <desperate> which advice did I ignore?
1326: [17:03:50] <Nightjar> Almost all of it.
1327: [17:04:40] * dooom has joined #silverstripe
1328: [17:05:09] <dooom> hi friends. My Google map does not show in correct position? How do I fix it?
1329: [17:05:17] * Azure has joined #silverstripe
1330: [17:05:29] <Nightjar> http://static.fjcdn.com/pictures/2014+Hide+and+Seek+Champion_10031b_5062279.jpg
1331: [17:05:42] <Nightjar> micmania1: kinglozzer ^
1332: [17:05:56] <dooom> Nightjar: can you help my map?
1333: [17:06:23] <Nightjar> dooom: no idea what's wrong with it, but it sounds like CSS.
1334: [17:06:31] <dooom> no its not css
1335: [17:06:41] <Nightjar> how are you making the map?
1336: [17:06:46] <dooom> with code
1337: [17:06:50] <Nightjar> ... -..-
1338: [17:06:55] <Nightjar> r u srs?
1339: [17:07:09] <dooom> i am using notepad
1340: [17:07:19] <Nightjar> amazing.
1341: [17:07:31] <kinglozzer> hahaha
1342: [17:07:57] <dooom> trololololol
1343: [17:08:08] <micmania1> I admit it. I apologise
1344: [17:08:23] <micmania1> HELP ME MAKE MY MAP IN NOTEPAD
1345: [17:08:28] <Nightjar> hahaha, good work.
1346: [17:08:46] <desperate> if I have MyPage Extends Page can allowed_children be MyPage?
1347: [17:09:02] <Nightjar> Should be fine.
1348: [17:12:18] * dooom quit (Ping timeout: 245 seconds)
1349: [17:16:37] <kinglozzer> Lmao, it's the meme that will never get old: http://zachbruggeman.me/dogescript/
1350: [17:17:24] <Nightjar> I don't get it.
1351: [17:17:32] <Nightjar> Do I need coffee to run dogs?
1352: [17:17:46] <Nightjar> javascript for dogescript?
1353: [17:18:03] <Nightjar> right well it's home time.
1354: [17:18:09] * Nightjar quit ()
1355: [17:20:38] * stripee quit (Ping timeout: 245 seconds)
1356: [17:26:24] * kinglozzer quit ()
1357: [17:32:12] * OxFF1 quit (Quit: Hasta la proxima)
1358: [17:37:03] * muskie9 quit (Remote host closed the connection)
1359: [17:37:35] * muskie9 has joined #silverstripe
1360: [17:41:35] * nbezzala has joined #silverstripe
1361: [17:42:13] * muskie9 quit (Ping timeout: 265 seconds)
1362: [17:59:03] * gelignite has joined #silverstripe
1363: [18:01:03] * desperate quit (Ping timeout: 245 seconds)
1364: [18:08:34] * babak quit (Quit: Connection closed for inactivity)
1365: [18:10:51] * muskie9 has joined #silverstripe
1366: [19:00:55] * Shrike_Finland has joined #silverstripe
1367: [19:11:06] * bubaphex quit (Remote host closed the connection)
1368: [19:12:14] * SphereSilverNL has joined #silverstripe
1369: [19:14:09] * desperate has joined #silverstripe
1370: [19:14:49] <desperate> hi I'm importing a database from a windows server to a linux based one is it best practise to make the first letter of the tables upper case on the original win based db?
1371: [19:15:58] * antmas has joined #silverstripe
1372: [19:16:57] <antmas> mornin
1373: [19:18:10] * pippy_ has joined #silverstripe
1374: [19:19:12] * pippy quit (Ping timeout: 255 seconds)
1375: [19:21:14] * SightUnseen has joined #silverstripe
1376: [19:22:45] * SightUnseen has left #silverstripe
1377: [19:23:08] * antmas quit (Ping timeout: 245 seconds)
1378: [19:23:16] * antmas has joined #silverstripe
1379: [19:24:32] * SightUnseen has joined #silverstripe
1380: [19:25:49] * SightUnseen has left #silverstripe
1381: [19:29:24] * antmas quit (Ping timeout: 245 seconds)
1382: [19:30:21] <SphereSilverNL> desperate: Do a dev/build, it should recognise the lower case ones and upper/camelcase them.
1383: [19:30:47] <SphereSilverNL> And also, make your Windows MySQL case-sensitive, saves worries :)
1384: [19:37:59] <desperate> thanks!"
1385: [19:40:33] * cloph is now known as cloph_away
1386: [19:42:52] * zippy____ has joined #silverstripe
1387: [19:43:00] * Ryan-Toast_ has joined #silverstripe
1388: [19:48:56] * Ryan-Toast quit (Quit: Ryan-Toast)
1389: [19:48:56] * Ryan-Toast_ is now known as Ryan-Toast
1390: [19:49:06] <zippy____> morning
1391: [19:49:15] <SphereSilverNL> 'night
1392: [19:51:03] * zfmf has joined #silverstripe
1393: [19:52:57] * Shrike_Finland quit (Quit: Leaving.)
1394: [19:59:48] * antmas has joined #silverstripe
1395: [19:59:55] <antmas> mornin all
1396: [20:00:52] * Ryan-Toast quit (Quit: Ryan-Toast)
1397: [20:01:12] * Ryan-Toast has joined #silverstripe
1398: [20:01:21] * Ryan-Toast has left #silverstripe
1399: [20:04:23] * antmas quit (Ping timeout: 245 seconds)
1400: [20:09:52] * UncleCheese has joined #silverstripe
1401: [20:10:18] <wmk> Hi SphereSilverNL
1402: [20:10:31] <SphereSilverNL> Hey Werner
1403: [20:13:38] * an_Eskimo has joined #silverstripe
1404: [20:31:33] * Ryan-Toast has joined #silverstripe
1405: [20:32:09] * wmk quit (Quit: nice to meet you ;))
1406: [20:32:53] * antmas has joined #silverstripe
1407: [20:37:59] <Ryan-Toast> finally got my new computer.
1408: [20:41:04] <antmas> Ryan-Toast: what is it?
1409: [20:41:12] <Ryan-Toast> Mac, sigh.
1410: [20:41:21] <Ryan-Toast> but at least I’m back in my office.
1411: [20:41:38] <antmas> win
1412: [20:41:44] <antmas> my mouse arrived, finally
1413: [20:41:48] <antmas> so much better
1414: [20:42:24] <antmas> Ryan-Toast: 21"?
1415: [20:42:48] <zippy____> Ryan-Toast: could be worse, windows 8! shudddddeeerrr
1416: [20:43:00] <Ryan-Toast> zippy____: I don’t mind 8.1
1417: [20:43:09] <antmas> 8.1 is awesoime
1418: [20:43:12] <antmas> awesome*
1419: [20:44:26] <antmas> Ryan-Toast: titanfall is pretty awesome
1420: [20:44:29] <antmas> enjoying it so far
1421: [20:44:33] <Ryan-Toast> antmas: yarp
1422: [20:45:07] <antmas> apart from the menu system, seems to take ages to jump in and out of lobbies etc
1423: [20:45:32] <Ryan-Toast> It has a few issues, but they should address them soon.
1424: [20:45:51] <antmas> probably, seemed to be super quick to get the AUS data center up and running
1425: [20:46:02] <Ryan-Toast> They had it for the beta
1426: [20:46:07] <antmas> oh really?
1427: [20:46:09] <antmas> awesome
1428: [20:46:28] <antmas> 50gb is insane for a MP only game, even for uncompressed audio
1429: [20:47:04] <zippy____> Microsoft only game!!
1430: [20:47:06] <Ryan-Toast> Yeah, they didn’t optimise it at all.
1431: [20:47:28] <antmas> zippy____: :P dual boot
1432: [20:47:39] <zippy____> pft
1433: [20:49:13] <SphereSilverNL> Vagrant and xDebug aren't playing nice :(
1434: [20:49:16] <antmas> textures are also pretty crap too, and to put them on 'insane' requires 3gb video memeory :O
1435: [20:50:56] <antmas> SphereSilverNL: what's happening?
1436: [20:51:15] <SphereSilverNL> file mapping goes wrong on symlinks
1437: [20:51:24] <desperate> Was anyone here earlier when I was asking for help with my sidebar issue
1438: [20:51:40] <desperate> restored a working copy on a new server and my sidebar disappeared
1439: [20:52:05] <SphereSilverNL> That could be anything. Did you flush?
1440: [20:52:37] <desperate> yes, it was a strange one, rebuilt and flushed... imported a zip of my files.... flushed the content
1441: [20:52:59] <desperate> I think it might have been related to a win based original server and a new unix
1442: [20:53:07] <SphereSilverNL> Any debugging information?
1443: [20:53:11] <desperate> the table names were lower case on the win box
1444: [20:53:24] <SphereSilverNL> With just "Disappeared", Nobody can help you :/
1445: [20:53:28] <desperate> I just dumped my mysql and made the relvant table names upper case
1446: [20:53:50] <SphereSilverNL> It's upper camelcase, not just upper.
1447: [20:53:51] <desperate> re-imported to a 3rd server and I get a good working copy
1448: [20:54:14] <desperate> but I will have to wait until tomorrow to test on the second server that was playing up earlier
1449: [20:55:01] <muskie9> desperate, third server was a good call, I was thinking css earlier but if the 3rd instance works that's definitely not it
1450: [20:55:48] <desperate> what I was trying to get through to nightjar and what he just wouldn't accept was that my site files and db were all imported so the site should have been an exact replica or mirror
1451: [20:56:04] <desperate> his response was that I did not understand menus and sidebars
1452: [20:56:20] * ARNHOE has joined #silverstripe
1453: [20:56:33] <muskie9> I hear ya, you two seemed to be fighting nice so I didn't want to get into the mix ;)
1454: [20:56:37] <desperate> .. maybe i don't but if it works server 1 it should work on server 2
1455: [20:57:07] <desperate> if i import this to server 2 tomorrow and I still have issues I will be totally sytumped
1456: [20:57:23] <desperate> *stumped
1457: [20:57:25] <SphereSilverNL> different servers mean different configs
1458: [20:57:37] <muskie9> so server 1 was win and server 2 was linux?
1459: [20:57:40] <SphereSilverNL> It could be caching
1460: [20:57:43] <muskie9> 3 similar to 2
1461: [20:57:46] <SphereSilverNL> That's a huge difference
1462: [20:58:03] <muskie9> I've never had to make that jump... luckily
1463: [20:59:11] <desperate> server 1 win
1464: [20:59:16] <desperate> server 2 and 3 linux
1465: [21:00:50] <muskie9> but you did get 3 to work?
1466: [21:00:53] <zippy____> desperate: different php versions? maybe something is erroring out (eg running 2.4.5 on a php 5.4)
1467: [21:01:03] <SphereSilverNL> I'm off to bed. Tired :(
1468: [21:01:08] <SphereSilverNL> Sleep tight folks
1469: [21:01:11] * SphereSilverNL quit (Quit: bye)
1470: [21:01:13] <zippy____> fuck, just looked at this website for a guy and looks shit house in ie
1471: [21:01:21] <zippy____> designer "oh I tested it"
1472: [21:01:38] <zippy____> probably the response code….. :(
1473: [21:01:43] <desperate> server 3 works nicely
1474: [21:01:51] <antmas> zippy____: link?
1475: [21:02:01] <zippy____> antmas: it's not live yet
1476: [21:02:11] <antmas> zippy____: :P what's the issue in IE?
1477: [21:02:24] <zippy____> antmas: fucked
1478: [21:02:32] <antmas> lol
1479: [21:02:42] <antmas> what version? all teh IEs?
1480: [21:02:47] * micmania1 has joined #silverstripe
1481: [21:02:50] <zippy____> a lot of positioning issues
1482: [21:03:11] <zippy____> ie 9 and 10
1483: [21:03:19] <zippy____> probably works in 8 haha
1484: [21:03:23] <antmas> positioning shouldn't be an issue if the designer is competant :P
1485: [21:03:56] <Ryan-Toast> zippy____: if it’s using media queries, then use respond.js and it should fix it.
1486: [21:04:05] <antmas> zippy____: this ^^
1487: [21:04:13] <antmas> respond ftw
1488: [21:04:33] <zippy____> no media queries
1489: [21:04:39] <Ryan-Toast> oh..
1490: [21:04:42] <antmas> zippy____: screenshot?
1491: [21:05:00] <desperate> when i do a dev build I see the changes in green
1492: [21:05:12] <desperate> when I refresh they are still there, as if they are not being made
1493: [21:05:27] <zippy____> desperate: everytime? scroll down, is there any errors at the bottom of the page
1494: [21:06:29] <desperate> last item is Virtual Page and then I see a scren shot of my page... which says " Sorry, there was a problem handling your request."
1495: [21:08:19] <antmas> fook
1496: [21:08:29] <antmas> print styles suck
1497: [21:08:54] <zippy____> desperate: you in dev mode?
1498: [21:10:35] <desperate> I just enabled it
1499: [21:13:44] <desperate> that fixed it.... i traced the error
1500: [21:13:50] <desperate> it looked like it was completing before
1501: [21:13:57] <desperate> but clearly wasn't
1502: [21:14:25] * ARNHOE quit ()
1503: [21:16:11] * Colin[pi] has joined #silverstripe
1504: [21:18:03] <antmas> Colin[pi]: howdy
1505: [21:20:36] <Ryan-Toast> Keep walking past my office, not used to going in there yet ><
1506: [21:21:37] <antmas> Ryan-Toast: having been stuck out with the 'normies'?
1507: [21:21:43] <Ryan-Toast> yeah :D
1508: [21:21:53] <antmas> dirty normies
1509: [21:22:00] <Ryan-Toast> IT’S SO BRIGHT IN HERE
1510: [21:22:53] <antmas> Ryan-Toast: do you have plants?
1511: [21:22:59] <Ryan-Toast> antmas: No.
1512: [21:23:03] <Ryan-Toast> Plants streess me out
1513: [21:23:15] * zippy____ is going to get a bonzi tree
1514: [21:23:33] <Ryan-Toast> zippy____: I had one. Worst year of my life.
1515: [21:23:50] <Ryan-Toast> It was never healthy, and It made me anxious.
1516: [21:25:19] <antmas> hahaha
1517: [21:25:27] <antmas> you'd hate my plant
1518: [21:25:38] <antmas> looks like a dead insect 24/7
1519: [21:26:37] * azureknight has joined #silverstripe
1520: [21:27:27] <ss23> Guys, if I have things like Summary fields and I can do like "RelationshipThatIsHasOne.Name" is fine
1521: [21:27:38] <ss23> Could I be like "RelationsManyMany.First.Name" or something?
1522: [21:27:46] <ss23> e.g. get the first item in a manymany if it exists?
1523: [21:28:22] <azureknight> Hello all.
1524: [21:28:40] <Ryan-Toast> Oh no, youtube habve update their ads, and adblock isn’t updated.
1525: [21:28:46] <simon_w> ss23, try and find out?
1526: [21:28:59] <ss23> simon_w: I could, but I don't know the words to use to make it work
1527: [21:29:05] <ss23> First was just psuedocode to demonstrate
1528: [21:29:08] <ss23> I can try first if you want o.o
1529: [21:29:26] <simon_w> Saves me finding the code that handles it :p
1530: [21:29:30] <azureknight> Story of my life ss23
1531: [21:29:44] <ss23> lol
1532: [21:29:48] <ss23> Me trying doesn't tell me how it's done!
1533: [21:30:03] <azureknight> I'm always like, "I think it will work... but words do I use?"
1534: [21:30:14] <azureknight> what words*
1535: [21:30:48] <ss23> :D
1536: [21:31:18] <zippy____> I know if I right lines of code right here I can have a million dollar app, just what words do I write
1537: [21:34:07] <antmas> should probably feed this thing http://i.imgur.com/51f5k1t.jpg
1538: [21:34:23] * nbezzala quit (Ping timeout: 246 seconds)
1539: [21:35:10] <Ryan-Toast> antmas: yes.
1540: [21:35:23] <simon_w> antmas, just don't feed it after midnight
1541: [21:35:38] <simon_w> ss23, RelationsManyMany.First.Name
1542: [21:35:54] <ss23> :O
1543: [21:35:55] <ss23> Cool
1544: [21:36:05] <ss23> I did end up testing, just a lot of data to verify it
1545: [21:36:22] * zfmf quit ()
1546: [21:38:00] <ss23> wow um holy shit so turns out doctors take a "hypocrite oath"???????? how can we even trust what they say about vaccines if they are hypocrites?!!! does any1 else even care about dis...
1547: [21:39:03] <Colin[pi]> moin moin
1548: [21:39:20] <ss23> moin Colin[pi]
1549: [21:40:02] <antmas> ss23: lolwut
1550: [21:40:11] <antmas> don't start on an anti-vaccine rant
1551: [21:40:13] <antmas> :<
1552: [21:40:19] <antmas> Colin[pi]: HAAAAAAAIIII!
1553: [21:40:29] <Colin[pi]> OMG HAI ANTMAS
1554: [21:40:41] <ss23> (gay)
1555: [21:41:03] <antmas> ss23: you jelly?
1556: [21:41:59] <Colin[pi]> ss23 wants the d
1557: [21:43:27] <ss23> simon_w: Okay so that seems indicative of "You can run arbitary functions in there!" right?
1558: [21:43:45] <ss23> Becuase the next thing I want is to take a multiline fields e.g. Address and either replace newlines with space, or just take the first line
1559: [21:44:39] * nbezzala has joined #silverstripe
1560: [21:44:46] <simon_w> ss23, if that worked, yes
1561: [21:45:02] <ss23> .First worked ^.^
1562: [21:45:20] <ss23> But the function has to be on DataObject or something? Is that how it's working?
1563: [21:45:23] <ss23> uh
1564: [21:45:26] <ss23> DataList rather
1565: [21:45:32] <ss23> Or maybe... DataObject when it gets to the Address?
1566: [21:49:50] <antmas> Colin[pi]: do you even Titanfall?
1567: [21:50:01] <Colin[pi]> antmas: no :(
1568: [21:50:13] <Colin[pi]> did you get all of the 50GB down yet?
1569: [21:50:14] <simon_w> ss23, depends on if it does ->$blah or ->obj($blah)
1570: [21:50:22] <antmas> Colin[pi]: yeah after about 5 hours :P
1571: [21:50:26] <ss23> simon_w: How do I know? o.o
1572: [21:50:38] <Colin[pi]> antmas: did you pay full price or use one of those keys? :o
1573: [21:50:47] <simon_w> ss23, if you can do 'Field.Name'
1574: [21:50:53] <ss23> Yes, I can :D
1575: [21:51:16] <antmas> Colin[pi]: one of the keys
1576: [21:51:32] <antmas> was $48 NZD in the end - minus the season pass
1577: [21:51:32] <Colin[pi]> nice, it's like half the price, right?
1578: [21:51:45] <antmas> pretty much, next cheapest was $78
1579: [21:52:07] <antmas> still felt super dodgy though, they send you a photo of the serial key :P
1580: [21:53:00] <ss23> simon_w: o.o
1581: [21:53:03] <ss23> simon_w: You never finished
1582: [21:53:15] <ss23> I can do Field.Name, but I don't know what that implies, and I don't know where to find docs
1583: [21:53:20] <Colin[pi]> antmas: really? that didnt happen the last time I used them
1584: [21:53:33] <simon_w> ss23, it means it's returning objects for the fields
1585: [21:53:40] <antmas> Colin[pi]: yeah, literally a photo of the key inside a game case :O
1586: [21:53:57] <Colin[pi]> was this cjs?
1587: [21:54:02] <antmas> yup
1588: [21:54:05] <Colin[pi]> lol
1589: [21:54:38] <Colin[pi]> "See? It's legit, we sent a photo and everything"
1590: [21:55:16] <Colin[pi]> anyway, what's the verdict on the game?
1591: [21:55:56] <antmas> Colin[pi]: I love it. It's basically COD with some minor changes, but the changes make a big difference
1592: [21:56:12] <zippy____> antmas: titanfall is like cod?
1593: [21:56:18] <antmas> terrible matchmaking balancing
1594: [21:56:29] <antmas> zippy____: IKR? shocker
1595: [21:56:42] <zippy____> in that it's a fps? :)
1596: [21:57:00] <Colin[pi]> I would have thought it was pretty different from COD ;o
1597: [21:57:12] <antmas> zippy____: :P everything that made COD is in there - except you have mechs
1598: [21:57:12] <Colin[pi]> from what I've seen anyway, haven't played it yet
1599: [21:57:16] * catcher quit (Quit: Leaving)
1600: [21:57:51] <antmas> I recommend it though, it is crazy fun
1601: [21:57:58] <antmas> the parkour is an awesome touch
1602: [21:58:26] * UncleCheese quit (Quit: UncleCheese)
1603: [21:58:37] <Colin[pi]> oh! when is Mirror's Edge 2 out?
1604: [21:58:53] * micmania1 quit (Ping timeout: 246 seconds)
1605: [21:59:22] <Colin[pi]> 2016 :(
1606: [22:00:37] <antmas> Colin[pi]: Mirror's Edge 1 (Again)
1607: [22:00:38] <antmas> lol
1608: [22:01:11] <ss23> Mirrors Edge is good
1609: [22:01:11] <ss23> :D
1610: [22:01:19] <Colin[pi]> dat trailer: https://www.youtube.com/watch?v=s97B97dIpDQ
1611: [22:03:19] <ss23> hmm
1612: [22:03:22] <ss23> is good
1613: [22:03:28] <ss23> but nothing compared to the cyberpunk trailer
1614: [22:03:35] <ss23> dat shit is OFF THE HOOOK
1615: [22:03:35] <Colin[pi]> oh god dont start on that again
1616: [22:03:39] <ss23> #justsayin
1617: [22:03:41] <antmas> lol ^^
1618: [22:03:42] <ss23> hmmm
1619: [22:03:46] <ss23> question
1620: [22:03:48] * simon_w|air has joined #silverstripe
1621: [22:03:49] <Colin[pi]> do want.. now
1622: [22:03:52] <ss23> how long does it take me to walk to the doctors from here? :O
1623: [22:03:54] <antmas> man, I'll be upgrading my rig for dat frostbite engine
1624: [22:04:12] <zippy____> is facebook running sloowww for anyone else (for the past few days)?
1625: [22:04:14] <Colin[pi]> ss23: use teh google maps
1626: [22:04:19] <ss23> Okay!
1627: [22:04:23] * ss23 finds out where his doctors is
1628: [22:04:24] <ss23> :O
1629: [22:04:31] <antmas> ss23: do you remember the name this time?
1630: [22:04:40] <ss23> Yeah, I grep'd my logs for it
1631: [22:04:45] <ss23> It's like "City Medical Center" or somethign
1632: [22:04:50] <antmas> lol
1633: [22:04:53] <antmas> so, not quite
1634: [22:05:02] <ss23> lol
1635: [22:05:06] <ss23> My logs count as the same thing as memory
1636: [22:05:17] <ss23> In the sense that like... I make no effort to remember things that are in logs
1637: [22:05:21] <ss23> It's external memory for my brain
1638: [22:05:21] <ss23> ^.^
1639: [22:05:28] <antmas> Life = IRC
1640: [22:05:29] <ss23> That's why whenever I lose an HDD, it's physically painful :(
1641: [22:05:30] <antmas> :D
1642: [22:05:54] <ss23> There was a good talk someone did about how we've optimized our brains to work in certain ways, such that losing data is traumatic in the same way losing memories is
1643: [22:06:13] <antmas> WHY DID PRINT.CSS' REQUIREMENT GET REMOVED?
1644: [22:06:17] <ss23> XD
1645: [22:06:22] * Ryan-Toast quit (Quit: Ryan-Toast)
1646: [22:06:27] <antmas> wtf IS THIS DEVILRY?
1647: [22:06:51] <Colin[pi]> ss23: sounds like you need RAM doubler
1648: [22:06:56] * antmas suspects it was ss23
1649: [22:07:09] * ajmitch_ is now known as ajmitch
1650: [22:07:19] <antmas> ss23: that was a TED talk wasn't it?
1651: [22:07:46] <antmas> ss23: about the woman who had a stroke?
1652: [22:08:10] <antmas> maybe not
1653: [22:08:12] <antmas> hmmm
1654: [22:09:12] <ss23> Yeah
1655: [22:09:15] <ss23> Was a TED talk
1656: [22:09:20] <ss23> dunno if was a stroke person
1657: [22:09:31] <antmas> TED ftw
1658: [22:09:46] <Colin[pi]> ss23: the whole plot of 'Remember Me' which I've been playing is about a future where everyone can externalise and implant memories
1659: [22:09:55] <ss23> Remember Me is good
1660: [22:09:56] <ss23> Well
1661: [22:10:00] <ss23> Plot and art good
1662: [22:10:03] <ss23> Combat bad
1663: [22:10:03] <ss23> :P
1664: [22:10:05] <antmas> uggghhh
1665: [22:10:06] <ss23> bbl doctors
1666: [22:10:13] <Colin[pi]> the gameplay is so so, the plot and artwork is fucking amazing yeah
1667: [22:10:19] <Colin[pi]> makes up for it ;P
1668: [22:10:22] <antmas> that whole news article - holy crap the plane mh370 crash
1669: [22:10:30] <antmas> 'and we're just saying that now!'
1670: [22:11:06] <Colin[pi]> I guess they were holding off for the longest time to state the obvious :\
1671: [22:11:21] <antmas> lol
1672: [22:12:11] <Colin[pi]> very tough for the families, I get they're angry and want blood... but now it's a hunt for WHO IS TO BLAME, SOMEONE MUST BE HELD RESPONSIBLE
1673: [22:12:17] <Colin[pi]> and much arse covering was to be had
1674: [22:12:37] <antmas> Colin[pi]: now way, none of that is important apparently
1675: [22:12:44] <antmas> waht's more important
1676: [22:13:00] <antmas> is LOOK AT OUR COUNTRY - WE FOUND IT FIRST HAHAHA LOLZ
1677: [22:13:21] <Colin[pi]> I facepalmed when Abbott announced they had found something
1678: [22:13:34] <Colin[pi]> I'm like... you're not gonna find it
1679: [22:13:38] <antmas> Colin[pi]: indeed, in a ocean full of crap like that
1680: [22:13:44] * Liquide has joined #silverstripe
1681: [22:14:07] <Colin[pi]> they'll prolly never find the wreckage :\
1682: [22:14:25] * gelignite quit (Quit: http://bit.ly/nkczDT)
1683: [22:17:43] * violetina quit (Remote host closed the connection)
1684: [22:18:40] * jordanmk has joined #silverstripe
1685: [22:27:12] * Ryan-Toast has joined #silverstripe
1686: [22:27:34] * wracu has joined #silverstripe
1687: [22:28:59] <Ryan-Toast> Found a tv in the cupboard, neeewwww monitorrrr!
1688: [22:29:10] <Colin[pi]> big one?
1689: [22:29:15] <Ryan-Toast> 24'
1690: [22:29:18] <Colin[pi]> not bad
1691: [22:29:36] <Ryan-Toast> Just need to go get an HDMI cable at lunch
1692: [22:30:48] <Colin[pi]> how did you just find one in the cupboard?
1693: [22:30:58] <Colin[pi]> "tea, coffee... oh a TV"
1694: [22:31:37] <desperate> can anyone see any wrong with this:
1695: [22:31:38] <desperate> http://paste2.org/yYtwOe8j
1696: [22:32:17] <desperate> I want to related other TextPageB's to any TextPageB article
1697: [22:32:25] <desperate> I have setup a tab
1698: [22:32:40] <desperate> I get an option to "change rrelation statud"
1699: [22:32:43] <desperate> *status
1700: [22:32:59] <Ryan-Toast> Colin[pi]: We get heaps of shit for free, so we just chuck it all in the storage cupboard
1701: [22:33:10] <Colin[pi]> lol k
1702: [22:33:15] <desperate> when I click the change relation status: "An error occured while fetching data from the server Please try again later."
1703: [22:34:01] <Ryan-Toast> Colin[pi]: I was looking for a stupid little mac cord to use the other mac as a second screen, but this is better :)
1704: [22:34:19] <Ryan-Toast> just wish it could be put in portfolio, instead of landscape
1705: [22:34:28] <simon_w|air> desperate, you have a closing tag inside your getCMSFields() method
1706: [22:35:06] <simon_w|air> desperate, also, there's no has_one for the has_many
1707: [22:35:39] <desperate> closing tag?
1708: [22:35:44] <simon_w|air> ?>
1709: [22:36:12] <desperate> sorry I don't understand
1710: [22:36:53] <desperate> ah yes i see it
1711: [22:36:59] <desperate> that's not in my original code
1712: [22:37:03] <desperate> one second
1713: [22:37:29] <desperate> here it is again
1714: [22:37:30] <desperate> http://paste2.org/Y4IpIVUH
1715: [22:38:21] * wracu quit (Quit: Page closed)
1716: [22:39:07] <desperate> the has many is itself though
1717: [22:39:16] <desperate> so can I says belong_many_many?
1718: [22:39:17] * wracu has joined #silverstripe
1719: [22:40:05] <wracu> in a custom ModelAdmin in the CMS, is it possible to remove the 'Filter' pane?
1720: [22:41:27] <antmas> Ryan-Toast: you only had 1 monitor? o.O
1721: [22:41:31] <Ryan-Toast> mac
1722: [22:41:35] <zippy____> Can someone (in nz) please go here, http://www.facebook.com/ and tell me if it takes more then 5 seconds to load?
1723: [22:41:43] <Ryan-Toast> antmas: Mac
1724: [22:41:43] <zippy____> Ryan-Toast: you still can have more than one...
1725: [22:41:54] <Ryan-Toast> zippy____: Yeah, but you have to buy all those fucking cords.
1726: [22:41:54] <simon_w|air> desperate, no, you need a has_one
1727: [22:42:10] <desperate> a has_one back to itself?
1728: [22:42:17] <antmas> what connections does it use? HDMI? display port?
1729: [22:42:27] <Ryan-Toast> it has a mini display port.
1730: [22:42:31] <antmas> I might jack up a 3rd one today :D
1731: [22:42:37] <antmas> Ryan-Toast: fuck those things
1732: [22:42:39] <zippy____> Ryan-Toast: so… $50 cable?
1733: [22:42:40] <Ryan-Toast> antmas: I have three at home
1734: [22:42:46] <Ryan-Toast> zippy____: Ye.
1735: [22:42:49] <antmas> Ryan-Toast: same here
1736: [22:42:51] <simon_w|air> desperate, yes
1737: [22:43:03] <zippy____> 20% percent more productive vs $50 cable?
1738: [22:43:08] <Ryan-Toast> The mac is 30’ so it’s pretty big.
1739: [22:43:42] <antmas> I have 2 24"s and a 21" here if I plug the small one in too
1740: [22:43:50] <Ryan-Toast> I have threee 24’
1741: [22:44:02] <zippy____> Ryan-Toast: ah right… :)
1742: [22:44:06] <Ryan-Toast> they aren’t the same brand though, which is annoying
1743: [22:44:24] <antmas> yeah my home 3 are all the same brand but different models :P
1744: [22:44:39] <Ryan-Toast> I need to buy some new monitors for home, but that means updating my graphics card…which means updating my gpu…which means updating everyhing.
1745: [22:44:49] <zippy____> Ryan-Toast: You might like this, http://www.autumnapps.com/breeze/ "Watch the screen cast" I have found it quite useful with big screens
1746: [22:44:54] <antmas> Ryan-Toast: what GPU do you have?
1747: [22:46:00] <Ryan-Toast> this is my current comp: http://nz.pcpartpicker.com/p/2GEkz
1748: [22:46:40] <desperate> i'm still getting the error http://paste2.org/VUzV2mt3
1749: [22:46:48] <antmas> Ryan-Toast: no GPU listed there
1750: [22:47:21] <Ryan-Toast> Dunno off the top of my head
1751: [22:47:27] <Colin[pi]> it's not onboard is it?
1752: [22:47:50] <Ryan-Toast> lol, no
1753: [22:48:17] <muskie9> desperate, the I think it would be 'RelatedArt' => 'TextPageB'
1754: [22:48:39] <Ryan-Toast> I think it’s a gtx670
1755: [22:48:42] <muskie9> 'TitleOfRelation' => 'NameOfObject'
1756: [22:49:06] <spronk> surely you can support 3 monitors, Ryan-Toast
1757: [22:49:13] <Ryan-Toast> not all hd
1758: [22:49:19] <Ryan-Toast> VGA do not want
1759: [22:49:19] <spronk> ?!
1760: [22:49:29] <spronk> what outputs does your 670 have?!
1761: [22:49:34] <spronk> my 660 has 3x digital
1762: [22:49:43] <Ryan-Toast> I think it’s one hd, one vga, and one dvi
1763: [22:49:49] <spronk> use your mobo's output as welll
1764: [22:49:55] <spronk> drive third monitor from onboard
1765: [22:50:11] <antmas> this is mine http://nz.pcpartpicker.com/p/3fNYW
1766: [22:50:15] * simon_w|air quit (Quit: This computer has gone to sleep)
1767: [22:50:25] <spronk> also, VGA with good cable and good source is decent enough
1768: [22:50:27] <antmas> so far behind with sockets and CPU :<
1769: [22:50:33] <antmas> but still does the job :D
1770: [22:51:57] <Ryan-Toast> I’m going to buy my case again, I fucking love it.
1771: [22:52:06] <Ryan-Toast> such a tank
1772: [22:52:20] <antmas> yeah i love mine, although I'd prefer something smaller/quieter
1773: [22:52:36] <spronk> fractal define ftw
1774: [22:53:01] <antmas> never buy my cooler again no matter how well it performs :O
1775: [22:53:06] <Ryan-Toast> spronk: looks nice
1776: [22:53:08] <antmas> mofo weights 1.2kg :O
1777: [22:53:16] <azureknight> Is there anyway to link objects through gridfields relation editor before saving
1778: [22:53:16] <desperate> now I am getting
1779: [22:53:17] <desperate> GridFieldManyRelationHandler requires the GridField to have a RelationList. Got a TextPageB instead
1780: [22:53:37] <Ryan-Toast> spronk: but look at this mother fucker: http://nz.pcpartpicker.com/part/corsair-case-cc9011016ww
1781: [22:53:50] <Ryan-Toast> Yeah, that’s right. that’s a missle switch restart button.
1782: [22:54:05] <desperate> http://paste2.org/843M9bka
1783: [22:54:08] <Ryan-Toast> missile*
1784: [22:54:27] <spronk> lol
1785: [22:54:29] <spronk> so gamer
1786: [22:54:30] <azureknight> I always get an error when trying to link the object before saving the current object.
1787: [22:58:00] <antmas> spronk: I had this thing a little while ago. Steel motherfucka! http://www.guru3d.com/articles_pages/nzxt_whisper_chassis_review_%7C_test,1.html
1788: [22:58:52] <desperate> what does this mean?
1789: [22:58:53] <desperate> GridFieldManyRelationHandler requires the GridField to have a RelationList
1790: [22:59:17] <spronk> heh
1791: [22:59:20] <spronk> whisper wasn't a bad case, antmas
1792: [22:59:26] <spronk> i considered it before getting the fractal
1793: [22:59:33] <antmas> spronk: not great cooling though
1794: [23:03:24] <desperate> I fixed by using many_many
1795: [23:03:43] <desperate> then you don't need to give the has_many a has_one back in return!
1796: [23:04:54] <wracu> in a custom ModelAdmin in the CMS, is it possible to remove the 'Filter' pane?
1797: [23:13:02] <azureknight> Is there a weird validation error on $this->Content == NULL?
1798: [23:13:15] <azureknight> My object doesn't seem to want to ever validate that there's content...
1799: [23:14:26] <azureknight> Maybe it's a cache issue.
1800: [23:17:24] * azureknight quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1801: [23:18:27] <jordanmk> hi guys
1802: [23:19:35] <antmas> wholey crap it's lunch time
1803: [23:21:04] <Ryan-Toast> So hungry, but a client is blocking my bike :(
1804: [23:21:30] <antmas> Ryan-Toast: no shops around your work?
1805: [23:21:39] <Ryan-Toast> Not really within walking distance.
1806: [23:21:49] <Ryan-Toast> Well, none that I want to eat at.
1807: [23:25:22] <jordanmk> i'm having trouble getting URL routing to work in SilverStripe :(
1808: [23:28:23] <desperate> is it possible to remove the green ADD button that appears on the gridfield when you use relationmanger?
1809: [23:30:00] <antmas> well this website is complex http://www.nelsonoralsurgery.co.nz/
1810: [23:30:59] <jordanmk> there's a lot of conflicting info in tutorials/blog posts and StackOverflow posts
1811: [23:31:13] <jordanmk> i post my problem up on SO: https://stackoverflow.com/questions/22622624/url-routing-not-working
1812: [23:31:58] <jordanmk> it's probably only a minor tweak to get it working but i've never done URL routing in SS before so i'm not really sure what i'm doing wrong
1813: [23:33:59] <jordanmk> strange...seems like it might actually be working despite the debug messages giving the impression that there's a problem
1814: [23:48:22] <desperate> what does appending this to a url do: stage=Stage
1815: [23:48:53] <desperate> i have made a page, when I click the link generated in the cms it opens the page with the above appended to the url
1816: [23:48:58] * antmas quit (Ping timeout: 245 seconds)
1817: [23:49:17] <desperate> however if I open the page in the front end I get an error that I am tring to access a page that doesn't exist
1818: [23:49:24] * antmas has joined #silverstripe
1819: [23:49:31] <muskie9> ?stage=Stage is for viewing a page that is saved, but not published
1820: [23:50:31] <desperate> the published button is ticked and green
1821: [23:51:07] <muskie9> regarding the green add button, that's generated based on the DataObject's canAdd permissions: http://doc.silverstripe.org/framework/en/reference/dataobject#permissions
1822: [23:51:33] <desperate> thanks I will look into that
1823: [23:51:46] <desperate> I just unpublished and republished, saved
1824: [23:51:53] <desperate> still can't view the page
1825: [23:51:54] <desperate> odd
1826: [23:52:41] <muskie9> so the button says Published w/a checkbox, or shows Save & Publish
1827: [23:53:36] <desperate> tick in a green circle, grey button "Published"
1828: [23:54:37] <muskie9> is this a page in a gridfield?
1829: [23:55:16] <desperate> it seems to be back working now
1830: [23:55:22] <desperate> maybe a cache issue
1831: [23:55:31] <desperate> it wasn't on the gridfield
1832: [23:56:29] <muskie9> cache is good possibility

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