#silverstripe IRC Log

IRC log for 7 July 2013

All timestamps are in UTC.

1: [00:00:19] <SpherSilverNL> in getList, you might be able to push a specific field, but I thing you really need getEditForm, where you can modify the gridfield completely
2: [00:00:52] * Nightjar has joined #silverstripe
3: [00:04:13] <MiniZeka> ok, maybe
4: [00:04:26] <MiniZeka> but which is the name of GF in that case?
5: [00:04:31] <MiniZeka> same as DataObject?
6: [00:05:48] <SpherSilverNL> you need to do what I did, if($this->modelClass == 'ClassNameOfObject'){ $form->Fields()->fieldByName('ClassNameOfObject')-> ... }
7: [00:06:00] <MiniZeka> eff yeah :)
8: [00:06:08] <SpherSilverNL> so yes, get the field that's the classname, that's your entire gridfield for that class
9: [00:06:10] <MiniZeka> got it, it works now :)
10: [00:06:14] <SpherSilverNL> everything, columns, config, etc.
11: [00:06:18] <MiniZeka> thanks SpherSilverNL
12: [00:06:23] <SpherSilverNL> no problem
13: [00:06:54] <SpherSilverNL> next time, be a bit more specific on what you're trying to accomplish, so it doesn't take an hour to get to the answer :P
14: [00:08:15] * Nightjar quit (Ping timeout: 264 seconds)
15: [00:08:19] <MiniZeka> :D
16: [00:09:27] * pex quit (Ping timeout: 264 seconds)
17: [00:11:57] * Nightjar has joined #silverstripe
18: [00:13:31] * pex has joined #silverstripe
19: [00:32:06] * kerosene quit (Quit: you can't fire me)
20: [00:38:46] * MiniZeka quit (Ping timeout: 250 seconds)
21: [00:39:56] <guzzlefry> Why does the included .htaccess file cause 404 errors regarding main.php?
22: [00:45:20] <simon_w|air> guzzlefry, you haven't run the installer, so a RewriteBase hasn't been able to be set
23: [00:47:40] <SpherSilverNL> simon_w|air, I never run the installer...
24: [00:47:50] <SpherSilverNL> never had main.php not being found
25: [00:48:47] <guzzlefry> simon_w|air: I ran it.
26: [00:49:13] <simon_w|air> SpherSilverNL, and I get all the time on this laptop, but not simon_w
27: [00:49:50] <simon_w|air> guzzlefry, and is there a RewriteBase in your .htaccess?
28: [00:50:19] <guzzlefry> negative
29: [00:50:39] <SpherSilverNL> simon_w, just wondering how it can't be set, since I never had the problem.
30: [00:50:39] <simon_w|air> Then add one, right after RewriteEngine On
31: [00:50:54] <simon_w|air> SpherSilverNL, some times you don't need it, some times you do
32: [00:51:12] <SpherSilverNL> I guess I'm lucky then :)
33: [00:51:22] <guzzlefry> The installer did fail the first time right after yelling at me to set SS_DATABASE_* stuff.
34: [00:51:23] <simon_w|air> guzzlefry, for a site you access at http://domain.com/site/, the RewriteBase should be /site
35: [00:51:45] <simon_w|air> SpherSilverNL, try installing it in a userdir
36: [00:52:26] <guzzlefry> yep, that's what mine is under. :P
37: [00:52:28] <guzzlefry> thank you sir
38: [00:52:59] <SpherSilverNL> simon_w, I have all my sites under /home/Simon/htdocs/{sitename}
39: [00:53:27] <guzzlefry> SpherSilverNL: Do you access them with http://domain.com/~user/sitename?
40: [00:53:39] <SpherSilverNL> no, I access them with sitename.vcap.me
41: [00:53:55] <SpherSilverNL> ok, valid point :)
42: [00:54:06] <simon_w|air> Like I said, userdir :p
43: [00:54:08] <SpherSilverNL> or, on live, they're on the root anyway ;)
44: [00:54:11] <guzzlefry> guessing that's why, although I have no clue why. :P
45: [00:54:13] <SpherSilverNL> yep :)
46: [00:54:39] <SpherSilverNL> makes sense. Root is set to /, where it should be /~user/sitename or something like that probably
47: [00:54:43] <simon_w|air> guzzlefry, yeah, cause it can't map the filesystem path back to a web path, so just uses the full filesystem path which, of course, doesn't exist as a web path
48: [00:55:16] <SpherSilverNL> guzzlefry, is this a local dev environment?
49: [00:55:33] <guzzlefry> yep
50: [00:55:33] <SpherSilverNL> if so, on what kind of machine? (MAMP, WAMP, LAMP)
51: [00:55:38] <guzzlefry> LAMP
52: [00:55:43] <guzzlefry> Gentoo specifically
53: [00:56:08] <Nightjar> https://chrome.google.com/webstore/detail/ferald/jmljfoieohgbjeoaihahppodleeblimj :D
54: [00:56:37] <SpherSilverNL> If you'd map your root to the user, and setup vhost-alias, it could save you a lot of trouble I think.
55: [01:05:45] <guzzlefry> ah, that's a good idea.
56: [01:05:49] <guzzlefry> I never use /var/www/ :P
57: [01:05:59] <guzzlefry> SpherSilverNL: Is that tricky to do?
58: [01:06:27] <SpherSilverNL> not really, it's a matter of setting up a correct vhost. Is the machine the same as the machine you're working on?
59: [01:06:58] <SpherSilverNL> I guess it is, since it's /home/gus ;)
60: [01:07:06] <guzzlefry> yep
61: [01:07:09] <SpherSilverNL> In that case, enable vhost-alias module
62: [01:07:58] <SpherSilverNL> it's required to support wildcards
63: [01:08:58] <SpherSilverNL> https://gist.github.com/Firesphere/5941866
64: [01:09:01] <SpherSilverNL> that's my setup
65: [01:09:07] <SpherSilverNL> the fun part comes after that.
66: [01:09:19] <SpherSilverNL> anything you try to access, say http://myawesomewebsite.vcap.me
67: [01:09:32] <SpherSilverNL> is automatically seen and recognized
68: [01:09:47] <SpherSilverNL> the root of that website, is in /home/~user/htdocs/myawesomewebsite/
69: [01:09:52] <SpherSilverNL> nothing else to do ;)
70: [01:10:12] <SpherSilverNL> vcap.me is a public service DNS record, that gives an ip of 127.0.0.1
71: [01:10:20] <SpherSilverNL> thus, it always ends up at your local machine.
72: [01:11:00] <SpherSilverNL> with vhost_alias module enabled, the wildcard %1 is the first part of your url. in case of myawesomewebsite.vcap.me, it's "myawesomewebsite"
73: [01:11:04] <SpherSilverNL> 1+1 == 2
74: [01:11:31] <SpherSilverNL> apache now handles /home/~user/htdocs/myawesomewebsite as the root of your myawesomewebsite website :)
75: [01:12:05] <SpherSilverNL> Cool thing about this, is just create another folder inside the htdocs named "mysuperwebsite", and go to mysuperwebsite.vcap.me
76: [01:12:09] <SpherSilverNL> and your site works
77: [01:12:14] <SpherSilverNL> (only for you ofcourse ;) )
78: [01:12:31] <SpherSilverNL> another neat trick here, is you can set dev-mode to *.vcap.me
79: [01:12:32] <guzzlefry> that's awesome, thanks
80: [01:12:50] <SpherSilverNL> vcap.me can never be abused by anyone, since it ALWAYS points to 127.0.0.1.
81: [01:12:59] <SpherSilverNL> if it's abused, they're hacking their own website :P
82: [01:14:46] <SpherSilverNL> Ow, and you'll be needing the alias_module I think
83: [01:15:10] <SpherSilverNL> either one of the two should work.
84: [01:15:32] <guzzlefry> dumb question, where does this file you posted go? :P
85: [01:15:47] <SpherSilverNL> what file I posted?
86: [01:15:54] <guzzlefry> the gist
87: [01:16:26] <SpherSilverNL> it makes any vcap.me link work, to go to /home/~user/htdocs/first-part-of-the-url
88: [01:16:45] <SpherSilverNL> but you can point it anywhere, I just made that as an example ;)
89: [01:16:59] <guzzlefry> well I mean, where do I paste the apache code?
90: [01:17:02] <simon_w> And then you run into problems as soon as you want to do local device testing :p
91: [01:17:14] <SpherSilverNL> simon_w, nope, works like a charm ;)
92: [01:17:23] <SpherSilverNL> ahhh, I just put it at the end of httpd.conf
93: [01:17:44] <simon_w> SpherSilverNL, yeah, because having your URLs pointing to 127.0.0.1 works great when you're testing from a different device
94: [01:17:57] <SpherSilverNL> simon_w, ah, yes, that fails :)
95: [01:18:12] <SpherSilverNL> but you can still have your external pointers work with another domain ;)
96: [01:18:41] <SpherSilverNL> using the vcap.me service will fail if it's not hosted on the same device :)
97: [01:19:16] <SpherSilverNL> for that, you indeed need to set up another DNS :)
98: [01:21:36] <SpherSilverNL> I never had that issue, since anything I do on developing, is on my system. After that, when I push to git, it's automatically deployed on a remote staging server, which I can reach with any device :)
99: [01:22:16] <SpherSilverNL> But still, I think it's a very easy way to spare time on configuring apache for every website
100: [01:22:41] <simon_w> So's just using the DocumentRoot :p
101: [01:22:48] <SpherSilverNL> If the initial building and testing is on the local device it is ;)
102: [01:22:55] <simon_w> Which also means it works without internet access
103: [01:23:16] <SpherSilverNL> don't think so, it still needs to resolve the vcap to localhost
104: [01:23:29] <simon_w> <simon_w> So's just using the DocumentRoot :p
105: [01:23:37] <SpherSilverNL> to bypass that, you'd still need to edit your host settings I guess
106: [01:24:20] <SpherSilverNL> eh? that's what I'm saying, right? Or am I missing something?
107: [01:24:33] <simon_w> If you just use DocumentRoot, you just use localhost
108: [01:24:51] <SpherSilverNL> you'd be using localhost/yournewwebsite
109: [01:25:08] <SpherSilverNL> which means, in your htaccess, it would say DocumentRoot "/yournewwebsite"
110: [01:25:15] <simon_w> No
111: [01:25:20] <SpherSilverNL> no, not DocumentRoot
112: [01:25:28] <simon_w> And you don't need a RewriteBase either
113: [01:25:46] <SpherSilverNL> The RewriteBase can be set to '/' in htaccess
114: [01:26:01] <simon_w> Or, even easier, just don't have a RewriteBase
115: [01:26:07] <SpherSilverNL> which saves you from uploading an htaccess with a RewriteBase to '/mytestsite/'
116: [01:26:18] <SpherSilverNL> and then, everything falls apart ;)
117: [01:26:34] <SpherSilverNL> at least, on some hosting services
118: [01:27:26] <simon_w> So, out of the 9 SS installs I currently have in ~/Sites, that I access through localhost, a grand total of 0 have a RewriteBase set
119: [01:27:59] <SpherSilverNL> I tried that. Fails on 3 hosting providers I know
120: [01:28:07] <SpherSilverNL> thus, I set it to '/'
121: [01:28:16] <simon_w> So get better providers
122: [01:28:37] <SpherSilverNL> It's not always up to me to select the provider
123: [01:28:45] <SpherSilverNL> therefor, to be sure, I always set it
124: [01:29:14] <SpherSilverNL> I'd rather have 1 redundant line of htaccess
125: [01:29:24] <SpherSilverNL> than 5 minutes of "ow no, not this shit again"
126: [01:29:31] <simon_w> And you really shouldn't be committing your .htaccess anyway
127: [01:29:50] <SpherSilverNL> why not, it's kinda hard to deploy a website without htaccess?
128: [01:30:08] <simon_w> Because your production one should be different to your local one
129: [01:30:53] <SpherSilverNL> ah, like that. Yes, but it still needs to be deployed. And because of this, just having that one line, saves a lot of omgonoes
130: [01:31:34] <SpherSilverNL> I know you're gonna disagree with my method ;)
131: [01:31:50] <SpherSilverNL> but I just setup the htaccess on first version, then commit it.
132: [01:31:58] <SpherSilverNL> After that, I don't commit the htaccess
133: [01:32:22] <SpherSilverNL> if the production-version needs changing, I reset it to the last known production version, and edit it where needed
134: [01:34:41] <SpherSilverNL> *stage and reset
135: [01:37:44] <guzzlefry> SpherSilverNL: in ErrorLog "logs/errors.log", what is that path relative to?
136: [01:42:03] <SpherSilverNL> That's relative to Apache's root
137: [01:42:19] <SpherSilverNL> in a proper configuration, it should be /logs/apache/errors.log
138: [01:42:42] <SpherSilverNL> or even better, /logs/apache/%1-errors.log
139: [01:42:55] <guzzlefry> oooh
140: [01:46:50] <SpherSilverNL> My example is indeed quite lazy... since I know I'm working in "website-X", I don't care where the logs are, and if they are separated by website-name on my local dev-machine ;)
141: [01:48:46] * pex quit (Quit: pex)
142: [02:01:28] * micmania1 quit (Quit: Leaving)
143: [02:11:01] * travis-ci has joined #silverstripe
144: [02:11:01] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#537 (3.1 - ecf8f27 : Sam Minnée): The build passed.
145: [02:11:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/aee786b22174...ecf8f273c0e4
146: [02:11:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8809639
147: [02:11:01] * travis-ci has left #silverstripe
148: [02:16:28] * travis-ci has joined #silverstripe
149: [02:16:28] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#538 (3.1 - 0173707 : Sam Minnée): The build passed.
150: [02:16:28] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ecf8f273c0e4...0173707cd12e
151: [02:16:28] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8809757
152: [02:16:28] * travis-ci has left #silverstripe
153: [02:32:25] <Nightjar> so like, important: single event that repeats, or event with multiple dates?
154: [02:33:44] <guzzlefry> depends?
155: [02:33:48] <guzzlefry> What's the context?
156: [02:35:30] <Nightjar> series of events.
157: [02:36:33] * Emil_Blume has joined #silverstripe
158: [02:36:35] <Nightjar> like, make a description object for the series, then add dates, or add an object with a description for each date?
159: [02:38:12] <Nightjar> I feel there are advantages to both approaches
160: [02:39:39] <Nightjar> what do you think SpherSilverNL?
161: [02:41:40] * chrisrio has joined #silverstripe
162: [02:41:45] * Emil_Blume quit (Quit: Leaving.)
163: [02:42:32] <chrisrio> hey has anyone else noticed that the blog module (git master and last branch) won't build on SS3.0 anymore?
164: [02:42:46] <chrisrio> because everything is defined PRIVATE static $db
165: [02:42:52] <chrisrio> throughout all the /code files
166: [02:43:45] <chrisrio> thats been done for SS3.1 - but yeah the 0.6 branch is borked too _b
167: [02:47:22] <Nightjar> chrisrio: you just asked and answered your own question?
168: [02:47:30] <chrisrio> yepppp :D
169: [02:47:40] <chrisrio> there is no spoon.
170: [02:51:10] <guzzlefry> You could probably use `sed` magic to replace all of that with public.
171: [02:53:37] <simon_w> chrisrio, what breaks with the 0.6 branch?
172: [02:54:15] <chrisrio> nothing actually breaks - I selected the 0.6 branch and downloaded it
173: [02:54:17] <chrisrio> and it gave me master
174: [02:54:23] <simon_w> Oh right, github's broken
175: [02:54:25] <chrisrio> I thought I was on 0.6 - I wasnt
176: [02:54:26] <chrisrio> yeah
177: [02:54:46] <chrisrio> so we can all take our hands off the nuclear launch button.
178: [02:54:48] <chrisrio> and continue our lives.
179: [02:54:50] * farmingSkill quit (Ping timeout: 250 seconds)
180: [02:55:12] <simon_w> Though it just gave me 0.6 fine
181: [02:55:58] <chrisrio> what was your downloaded zip called
182: [02:56:23] <chrisrio> master, or master-0.6 blah
183: [02:56:54] <simon_w> sminnee, BTW, internal consistency would say finalise :p Only mention of finalize in CMS/framework is a comment versus a bunch of actual *finalised? methods
184: [02:57:02] <simon_w> chrisrio, silverstripe-blog-0.6.zip
185: [02:57:48] <chrisrio> simon_w: gives me master regardless of selected branch, im not logged in - perhaps thats the craic.
186: [02:57:58] <chrisrio> either way, 60% of the time, it works every time.
187: [02:58:19] <simon_w> logged out, same result
188: [02:58:47] <simon_w> I should probably be telling you to use composer, but meh :p
189: [02:59:37] <chrisrio> simon_w: dont MAKE me screencast this shit ;P
190: [02:59:51] <simon_w> chrisrio, what's the download link?
191: [03:01:01] <chrisrio> download link on /tree/0.6 points to master.zip which gives me silverstripe-blog-master.zip
192: [03:01:37] <simon_w> So https://github.com/silverstripe/silverstripe-blog/archive/master.zip?
193: [03:01:51] <chrisrio> yessir
194: [03:02:09] <simon_w> Change master to 0.6
195: [03:02:26] <simon_w> Used to have to do that before they stuck a download button on each branch
196: [03:02:45] <chrisrio> yeah boss
197: [03:02:49] <chrisrio> I got it in the end
198: [03:02:56] <chrisrio> I just had to screw around
199: [03:03:13] <chrisrio> had to utilize my 7 brain cells.
200: [03:03:14] <chrisrio> fully.
201: [03:06:42] <Nightjar> simon_w: what's this about download button changing?
202: [03:07:08] <chrisrio> Nightjar: github just hates me boss, no big deal.
203: [03:07:14] <simon_w> Nightjar, the one on a github branch page
204: [03:07:14] <Nightjar> simon_w Oh right, github's broken
205: [03:07:15] <Nightjar> yes
206: [03:07:15] <Nightjar> tghis
207: [03:07:30] <Nightjar> click download get master, every time?
208: [03:07:40] <Nightjar> or are you saying that there's a button for each branch?
209: [03:08:01] <chrisrio> Nightjar: yeah, master every time.
210: [03:08:06] <Nightjar> yeah
211: [03:08:27] <Nightjar> they broke it last time the updated. Then they fixed it. Now they've updated the look & feel again and it's back to being broken.
212: [03:11:23] <chrisrio> rgr, no big deal I just wasnt paying attention to what I had downloaded
213: [03:11:27] <chrisrio> and assumed I got what I thought I got.
214: [03:11:33] <chrisrio> happens to me when im on russianbrides.com
215: [03:11:35] <chrisrio> all the time.
216: [03:12:30] <Nightjar> it actually works fine if you disable javascript.
217: [03:12:41] <Nightjar> it's just a pity javascript is the only way to view the different branches.
218: [03:13:03] <Nightjar> chrisrio happens to me when im on russianbrides.com
219: [03:13:04] <Nightjar> hahahahahahah
220: [03:22:13] * cloph has joined #silverstripe
221: [03:23:47] * cloph_away quit (Ping timeout: 264 seconds)
222: [03:40:33] <chrisrio> hey what are you boys writing your PHP in these days
223: [03:41:11] <Nightjar> Still notepad++
224: [03:41:29] <Nightjar> most folks are using Sublime text though
225: [03:42:37] * travis-ci has joined #silverstripe
226: [03:42:37] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#539 (3.1 - 596934b : Sam Minnée): The build passed.
227: [03:42:37] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0173707cd12e...596934b10797
228: [03:42:38] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8810757
229: [03:42:38] * travis-ci has left #silverstripe
230: [03:49:05] <chrisrio> yeah, ive noticed a lot of sublime action of late..
231: [03:49:11] <chrisrio> I too am using np++ (on windows)
232: [03:51:58] * SpherSilverNL quit (Remote host closed the connection)
233: [04:06:53] <Nightjar> simon_w|air: http://logs.simon.geek.nz/index.php?date=2013-07-07#log_50249
234: [04:06:57] <Nightjar> what are your thoughts?
235: [04:07:00] <Nightjar> sminnee: ?
236: [04:07:03] <Nightjar> ^
237: [04:07:16] <Nightjar> chrisrio: ^^^
238: [04:08:36] <chrisrio> hrmzzzz
239: [04:09:14] * DigNZ has joined #silverstripe
240: [04:10:07] <chrisrio> IE running event that takes place every monday.
241: [04:10:30] * DigNZ quit (Client Quit)
242: [04:11:55] <chrisrio> event object, add dates.
243: [04:14:39] <simon_w> Nightjar, more information?
244: [04:41:15] <chrisrio> later gents _b
245: [04:41:31] * chrisrio quit (Quit: Page closed)
246: [04:53:56] * supernovah has joined #silverstripe
247: [04:55:49] * guzzlefry quit (Quit: Leaving.)
248: [04:56:33] <supernovah> In all versions of SS, ../htdocs/index.php should never get accessed right?
249: [04:56:38] <supernovah> if .htaccess is working
250: [04:57:30] <Nightjar> simon_w: a few lines down
251: [04:57:35] <Nightjar> in the log
252: [04:58:28] <simon_w> Nightjar, Yeah, not very useful information :p
253: [04:58:38] <simon_w> supernovah, depends on the server setup
254: [04:58:51] <Nightjar> simon_w: really?
255: [04:59:09] <Nightjar> two ways to store the same thing.
256: [04:59:20] <supernovah> Because my .htaccess with mod_rewrite has previously for my own .htaccess rules worked on its rewrites, but my SS installs always have diverted through the index.php file
257: [05:00:06] <Nightjar> supernovah: if .htaccess is allowed and mod_rewrite is enabled
258: [05:01:25] <supernovah> which I know they are because my own websites which use my own framework utilise that standard of url readability through some rewrite rules
259: [05:02:29] <Nightjar> so delete index.php
260: [05:06:38] <supernovah> o.0
261: [05:11:56] <supernovah> What files can you delete from the cms/framework download
262: [05:12:18] <Nightjar> the ones named README.md
263: [05:12:58] <supernovah> Readme doesn't say anything about what you can delete
264: [05:14:32] <Nightjar> no I mean I can delete it
265: [05:15:35] <supernovah> zzz
266: [05:15:39] <supernovah> Are you in a bad mood
267: [05:16:16] <Nightjar> no, you asked which files can delete from framework & CMS
268: [05:17:37] <supernovah> but something like contributing.md seems useless, same with phpunit.*.xml
269: [05:18:08] <simon_w> Well, from installer, you can delete everything except framework and .htaccess
270: [05:18:33] <Nightjar> yeah, from installer pretty much everything is deletable.
271: [05:18:47] <supernovah> the installer didn't seem to complete properly then I guess
272: [05:18:51] <supernovah> because after "installation" it just went to 404
273: [05:26:20] <Nightjar> installer is permanently broken.
274: [05:39:26] <supernovah> Lol okay then
275: [05:39:34] <supernovah> Can'tTellIfSerious.jpeg2000
276: [05:52:22] <Nightjar> actuallyserious.jpg
277: [05:52:43] <Nightjar> nooneactuallyusesitsoitnevergetsupdated.mov
278: [05:52:48] * pippy has joined #silverstripe
279: [05:55:39] * pippy_ quit (Ping timeout: 264 seconds)
280: [06:00:58] * pippy quit (Ping timeout: 276 seconds)
281: [06:02:50] * pippy has joined #silverstripe
282: [06:07:33] * pippy quit (Ping timeout: 252 seconds)
283: [06:07:49] * pippy has joined #silverstripe
284: [06:17:05] * pippy quit (Ping timeout: 252 seconds)
285: [06:29:11] * pippy has joined #silverstripe
286: [20:16:32] * ss-log has joined #silverstripe
287: [20:16:43] <simon_w> Really need to get ss-log to auto-reconnect
288: [20:16:46] <Peavers> gonna put it out there, just going to assume you've tried turning it off in your php.ini file?
289: [20:16:57] <simon_w> It is off
290: [20:17:13] <Peavers> and restarted the web stack...?
291: [20:17:14] <simon_w> ini_get('magic_quotes_gpc') == '', get_magic_quotes_gpc() == 0
292: [20:17:35] <simon_w> http://instituteofclinicalhypnosis.com/info.php
293: [20:18:29] <Peavers> Hmm..
294: [20:18:36] <simon_w> Yeah
295: [20:18:58] <Peavers> upgrade php core?
296: [20:19:05] <Peavers> Though I doubt that will fix it...
297: [20:19:06] * simon_w guesses shared host
298: [20:19:26] <simon_w> (given that disable_functions is set at all)
299: [20:20:33] <NitinShah> it is a shared host
300: [20:24:30] * chillu has joined #silverstripe
301: [20:26:51] <Zauberfisch_> is there a shortcut method for limiting renderWith() to a single folder?
302: [20:28:29] * mobiusnz has joined #silverstripe
303: [20:30:53] * gumble quit (Ping timeout: 246 seconds)
304: [20:32:57] * pbts has joined #silverstripe
305: [20:33:03] <pbts> morning all
306: [20:33:34] <pbts> can anyone tell me if SS just flatout doesn't like hyphens in search queries?
307: [20:33:56] <simon_w> Zauberfisch_, nope
308: [20:34:05] <simon_w> pbts, I guess that depends on what's actually doing the search
309: [20:34:16] <simon_w> Could be MySQL doesn't, which wouldn't surprise me at all
310: [20:35:59] <Zauberfisch_> ok then
311: [20:36:14] <Zauberfisch_> just for the log: $this->renderWith(array("Folder/$this->ClassName", "Folder/Page"));
312: [20:36:22] <Zauberfisch_> thats close enough
313: [20:39:53] * coldblooded01 has joined #silverstripe
314: [20:40:43] <pbts> thanks
315: [20:42:14] * nickmolhoek has joined #silverstripe
316: [20:42:15] * nickmolhoek quit (Remote host closed the connection)
317: [20:42:29] * nickmolhoek has joined #silverstripe
318: [20:44:10] * Pyromanik has joined #silverstripe
319: [20:44:23] <Pyromanik> And then it was Monday
320: [20:46:08] <simon_w> Or was it? DUN DUN DUN
321: [20:58:02] * MrJeremy has joined #silverstripe
322: [21:00:50] <sminnee> Pyromanik, simon_w, I'm pretty sure it's Monday.
323: [21:04:05] <Zauberfisch_> as of ss3 there is pjax used for a lot in the cms
324: [21:04:16] <Zauberfisch_> but I can't seem to find the actually pjax javascript implementation
325: [21:04:21] <Zauberfisch_> can someone point me to the right file please?
326: [21:04:43] <NitinShah> Any suggestion?
327: [21:05:53] <simon_w> Zauberfisch_, LeftAndMain.js
328: [21:06:08] <simon_w> There's very little JS-side Pjax stuff done
329: [21:06:15] <Pyromanik> sminnee: I'm at work... so I'd f'n hope so!
330: [21:06:32] <Pyromanik> otherwise what the hell are we all thinking here?
331: [21:06:43] * Stomach has joined #silverstripe
332: [21:06:44] <Zauberfisch_> simon_w well, yes, grep tells me there is a lot of "pjax" in that file
333: [21:07:05] <Zauberfisch_> but it seemed to me that this is only ussage rather than the implementation
334: [21:07:14] <Pyromanik> wait, cms is comet?
335: [21:08:11] <simon_w> Zauberfisch_, handleAjaxResponse handles the response
336: [21:09:31] <Zauberfisch_> ok, I see, its a self built implementation
337: [21:09:35] * travis-ci has joined #silverstripe
338: [21:09:35] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#541 (3.1 - 10b5517 : Hamish Friedlander): The build passed.
339: [21:09:35] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/596934b10797...10b55170ea6f
340: [21:09:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8827932
341: [21:09:35] * travis-ci has left #silverstripe
342: [21:09:38] <Zauberfisch_> I was looking for ussage of a plugin
343: [21:09:42] <Zauberfisch_> ok, thanks for the head up
344: [21:11:22] * kerosene quit (Quit: I quitted)
345: [21:11:38] * robert__ is now known as robert_
346: [21:12:39] <simon_w> Hello sun!
347: [21:17:42] * DigNZ has joined #silverstripe
348: [21:19:22] <irogue> well that was fun
349: [21:19:29] <irogue> the motorway was diverted down my street this morning
350: [21:19:39] <simon_w> Haha
351: [21:19:56] <irogue> http://www.stuff.co.nz/national/crime/8890123/Police-shoot-man-dead-after-chase
352: [21:21:09] <unsignedint> ^ heard about that on the radio this morning
353: [21:21:24] <simon_w> I just get emailed by the cops, much easier
354: [21:23:49] * metanat has joined #silverstripe
355: [21:24:34] <irogue> http://goo.gl/maps/mje5i
356: [21:28:39] <simon_w> Apparently there's large amounts of traffic along that route and the north-bound lane
357: [21:29:47] <irogue> rofl, ain't no traffic on the north-bound lane :P
358: [21:30:19] <simon_w> Yeah, I thought the line was on the wrong side
359: [21:32:46] <simon_w> https://files.app.net/jf66aVgx.png
360: [21:34:11] * pbts quit (Quit: Page closed)
361: [21:34:26] <simon_w> Maybe it's more a delay marker than heavy traffic
362: [21:39:38] * tractorcow has joined #silverstripe
363: [21:39:55] <tractorcow> Good morning #silverstripe
364: [21:40:05] <metanat> Morning
365: [21:40:06] <tractorcow> Hope you all had a good weekend. :)
366: [21:42:17] * nickmolhoek quit (Quit: nickmolhoek)
367: [21:42:38] * nickmolhoek has joined #silverstripe
368: [21:42:39] * nickmolhoek quit (Remote host closed the connection)
369: [21:42:53] * nickmolhoek has joined #silverstripe
370: [21:44:26] <NitinShah> Should I simply comment out the related lines in frmaework/core/Core.php for now?
371: [21:46:54] <Pyromanik> NitinShah: I don't even what?
372: [21:48:26] <NitinShah> When I try to Install silverstripe 3.1 on my webhosts server I am getting the following error
373: [21:48:38] <NitinShah> Warning: get_magic_quotes_gpc support is being removed from Silverstripe. Please set this to off in your php.ini and see http://php.net/manual/en/security.magicquotes.php in /home/ichars/public_html/framework/core/Core.php on line 147
374: [21:48:51] <Pyromanik> you should turn magic quotes off.
375: [21:48:52] <simon_w> NitinShah, well, the trigger_error line. It's possible that magic quotes are somehow being turned back on
376: [21:48:59] <simon_w> Pyromanik, they are, that's the thing
377: [21:49:04] <Pyromanik> oh yeah
378: [21:49:04] <NitinShah> When I check the php.ini, get_magic_quotes_gpc is already set to off
379: [21:49:15] <Pyromanik> btw, detection for them in SS has ALWAYS been broken.
380: [21:49:29] <Pyromanik> by always I mean for as long as I can remember, which is about early 2.4
381: [21:49:39] <simon_w> get_magic_quotes_gpc() == true is broken? :p
382: [21:49:52] <tractorcow> What does your PHPinfo say?
383: [21:49:59] <Pyromanik> dunno, but installer used to throw a 'mare at me
384: [21:50:12] <Pyromanik> "HEY, THE VALUE IS ZERO, YOU SHOULD TURN THIS OFF"
385: [21:50:13] <simon_w> tractorcow, been through that
386: [21:50:24] <tractorcow> sorry, I just logged on :)
387: [21:50:26] <simon_w> Pyromanik, oh, that. That's been fixed
388: [21:50:40] <Pyromanik> the better idea is to tell the host to harden the f up and install a better php.
389: [21:51:16] <Pyromanik> because magic quotes aren't just deprecated in SS, they're deprecated/removed in PHP
390: [21:51:31] <NitinShah> When I try to reinstall silverstripe 3.1, at the time of installation there is no error
391: [21:52:12] <NitinShah> but after installation, error starts getting displayed on all pages
392: [21:52:50] <Pyromanik> put in a var dump just before the error line
393: [21:53:06] <Pyromanik> die(var_dump(get_magic_quotes_gpc()));
394: [21:53:23] <Pyromanik> that'll tell you if something is magicing them back on.
395: [21:53:40] <metanat> NitinShah: Where did you run the phpinfo from?
396: [21:53:51] <Pyromanik> cli, duh.
397: [21:54:03] <Pyromanik> that's how all good phpinfos work. :P
398: [21:54:08] <metanat> Because it is possible for magic quotes to be set via a virtual host I think...
399: [21:54:26] <metanat> Which wouldn't display via cli..
400: [21:54:28] <simon_w> site dir
401: [21:54:29] <Pyromanik> metanat: it's possible to change at runtime too IIRC
402: [21:54:36] <metanat> But that is just a stab in the dark
403: [21:54:45] <Pyromanik> yeh
404: [21:54:51] <NitinShah> php info file is here http://instituteofclinicalhypnosis.com/info.php
405: [21:54:53] <Pyromanik> worth a mention though I guess.
406: [21:54:55] <metanat> simon_w: cool :) not that then :)
407: [21:55:32] <NitinShah> pyromanik, where exactly should i put this code
408: [21:55:32] <simon_w> set_magic_quotes_runtime() only changes the value of get_magic_quotes_runtime()
409: [21:55:43] <Pyromanik> NitinShah: directly before the error line
410: [21:56:23] <Pyromanik> simon_w: can be set with a php flag in .htaccess, but then you'd expect that to show in the info.php too
411: [21:56:38] <simon_w> Pyromanik, and the installer
412: [21:56:55] <Pyromanik> true
413: [21:57:52] <NitinShah> After I put the code, I get the following value
414: [21:57:52] <NitinShah> int(1)
415: [21:58:46] <simon_w> NitinShah, what if you put it at the top of framework/main.php?
416: [21:59:09] * MrJeremy quit (Quit: MrJeremy)
417: [22:00:18] <NitinShah> Even before main.php the value is int(1)
418: [22:00:55] <simon_w> Okay, can you pastie your framework/.htaccess?
419: [22:02:46] <NitinShah> http://sspaste.com/paste/show/51d9e4e54104f
420: [22:03:02] <simon_w> Okay, that's fine
421: [22:03:06] <simon_w> And the root one?
422: [22:05:06] * lerni quit (Ping timeout: 256 seconds)
423: [22:06:19] <NitinShah> http://sspaste.com/paste/show/51d9e5b70b5ff
424: [22:06:56] <ss23> simon_w: My code broke what!
425: [22:07:06] <simon_w> ss23, everything!
426: [22:07:11] <simon_w> Hmm, that's fine as well
427: [22:07:17] <ss23> :<
428: [22:07:22] <ss23> I BLAME YOU!
429: [22:07:41] <simon_w> NitinShah, are you able to ask your host to either upgrade to PHP 5.4 or if they're turning magic_quotes on anywhere?
430: [22:09:02] <NitinShah> It is 3.30 in the morning where I am, will check in the morning with them
431: [22:09:04] * gumble has joined #silverstripe
432: [22:18:55] * SphereSilver has joined #silverstripe
433: [22:22:12] <Pyromanik> good luck NitinShah
434: [22:22:25] * zippy__ has joined #silverstripe
435: [22:22:42] <zippy__> Morning
436: [22:22:50] <NitinShah> thank you
437: [22:23:05] <tractorcow> Hi zippy__
438: [22:23:13] <zippy__> How goes it
439: [22:23:16] <NitinShah> me off to sleep now, hopefully will get this resolved after I get up
440: [22:25:36] <tractorcow> Good good :)
441: [22:25:45] * NitinShah quit (Quit: Leaving)
442: [22:26:09] <tractorcow> It's my birthday today
443: [22:29:54] <metanat> Happy birthday tractorcow
444: [22:32:57] * simon_w|air quit (Quit: This computer has gone to sleep)
445: [22:33:19] * metanat1 has joined #silverstripe
446: [22:33:24] * simon_w|air has joined #silverstripe
447: [22:34:49] <tractorcow> thx :)
448: [22:35:27] * metanat quit (Read error: No route to host)
449: [22:37:27] * simon_w|air quit (Client Quit)
450: [22:37:44] * nickmolhoek quit (Quit: nickmolhoek)
451: [22:40:06] <metanat1> So, what are you turning? Any significant milestone?
452: [22:42:14] <simon_w> "old" :p
453: [22:43:21] <tractorcow> 31, so, yes :P
454: [22:44:37] <SphereSilver> anyone here that is able to explain how women work?
455: [22:44:48] <SphereSilver> Happy Birthday tractorcow!
456: [22:44:54] <tractorcow> Another successful 2.4 to 3.1 migration done,
457: [22:44:57] <tractorcow> Thanks :)
458: [22:45:12] <tractorcow> Just finished upgrading rockshop.co.nz
459: [22:46:32] <SphereSilver> I think the website has too much big images. Slim the images down will make a much more speed-difference than just upgrading
460: [22:47:51] <tractorcow> SphereSilver: Agreed. We've had this conversation with the client already
461: [22:48:00] <SphereSilver> ok :)
462: [22:48:23] <simon_w> Doesn't really matter. Will be rather fast to load for the target market anyway.
463: [22:48:33] <SphereSilver> Just to give you something
464: [22:48:46] <SphereSilver> I'm on a 200MBit connection, and everything works just fine
465: [22:49:04] <SphereSilver> except for the images. It took 2 seconds to load them all
466: [22:49:10] <tractorcow> We spent several months trying to develop a hosting package cheap enough for the client to afford, but powerful enough to meet their demands.
467: [22:49:23] <simon_w> SphereSilver, that's because you have a massive ping time
468: [22:49:37] * KayTwo has joined #silverstripe
469: [22:49:55] <KayTwo> hey all - just working on a controller I built and a bit stuck on the url parameters part
470: [22:49:56] <SphereSilver> My connectionspeed is extreme, I know, but consider users on a 20MBit line, they have to wait roughly 20 seconds to see everything
471: [22:50:08] <SphereSilver> an unwished situation
472: [22:50:19] <KayTwo> wanting to add extra parameters but cant seem to
473: [22:50:20] <KayTwo> eg.
474: [22:50:27] <tractorcow> KayTwo: What does your controller do? I'd be happy to look it over and help you with your issues.
475: [22:50:29] <simon_w> SphereSilver, speed's not your problem here. Network latency is.
476: [22:50:31] <KayTwo> $Action/$ID/$OtherID works fine
477: [22:50:40] <KayTwo> but I'm wanting to do
478: [22:50:50] <KayTwo> $Action/$ID/$OtherID/$AnotherID
479: [22:50:53] <SphereSilver> KayTwo, are you sure it's not ?
480: [22:50:58] <Shrike_Finland> Good evening dudes. Don't you ever sleep?
481: [22:51:05] <Shrike_Finland> :)
482: [22:51:22] <tractorcow> KayTwo: For a non-standard set of parameters like that you need a custom route. Have you added one to your route table?
483: [22:51:28] <SphereSilver> simon_w, The distance ofcourse counts. But a responsetime of 2 seconds is heavy
484: [22:51:32] <KayTwo> nope - how do I do that?
485: [22:51:49] <simon_w> KayTwo, static $url_handlers = array('$Action/$ID/$OtherID/$AnotherID' => 'handleAction'); in your Controller
486: [22:51:50] <tractorcow> Check out framework/_config/routes.yml for the basic routes.
487: [22:51:51] <SphereSilver> Smaller, more effective image size should at least speed things u
488: [22:51:52] <SphereSilver> p
489: [22:52:08] <simon_w> KayTwo, you don't want a custom route, you just need a custom handler
490: [22:52:37] <simon_w> SphereSilver, you're going halfway around the planet. A 2s response time is expected
491: [22:53:12] <simon_w> tractorcow, I suggest sticking something like http://pastebin.com/XLWiE9Xx in your .htaccess
492: [22:53:33] <tractorcow> simon_w: Thanks simon :)
493: [22:53:38] <SphereSilver> simon_w, I know
494: [22:53:59] <simon_w> SphereSilver, the site, including all images, loaded pretty much instantly for me
495: [22:54:01] <SphereSilver> I agree, don't expect super-timings
496: [22:54:10] * priithansen quit (Read error: Operation timed out)
497: [22:54:29] <SphereSilver> but, a bit of optimisation for ppl on the other side of the world, would speed up the website
498: [22:54:31] * priithansen has joined #silverstripe
499: [22:54:39] <Shrike_Finland> tractorcow
500: [22:54:54] <SphereSilver> I'm not saying it's bad :) just saying it could use some image-size improvements :)
501: [22:54:59] <Shrike_Finland> you have wrong URL in this link: xhttp://www.rockshop.co.nz/shop/lighting/chauvet-swarm-4-led-effects-light-w-dmx-new.html
502: [22:54:59] <tractorcow> also, thanks for pointing out the url_handlers bit simon_w. Better than what I was going to suggest.
503: [22:55:12] <simon_w> tractorcow, and works in 3.1 too! :p
504: [22:55:24] * gumble quit (Ping timeout: 246 seconds)
505: [22:55:33] <Shrike_Finland> Featured Product scroller
506: [22:57:56] * Jayden90 has joined #silverstripe
507: [22:58:32] <tractorcow> Shrike_Finland: Thanks for spotting that. I can probably fix that by raising validation errors on invalid urls in the CMS.
508: [22:58:47] <tractorcow> Client copy and paste error =/
509: [22:59:08] <Shrike_Finland> So, quite normal then :)
510: [22:59:18] <tractorcow> Not entirely unpreventable though.
511: [23:02:23] <Shrike_Finland> I heard there is going to be meetup in NZ?
512: [23:02:40] <Peavers> There is always meetups in nz?
513: [23:03:13] <Shrike_Finland> Ok
514: [23:03:30] <Shrike_Finland> Actually, it's quite obvious :)
515: [23:04:14] <Shrike_Finland> tractorcow: you have some ecommerce on the site: custom built or what?
516: [23:04:33] <simon_w> Just start enumerating folder names ;)
517: [23:04:48] <tractorcow> It's a magento store, built by a third party, but I've integrated it with Silverstripe so they can share a session / user data
518: [23:05:11] <tractorcow> The silverstripe site uses magento authentication for some of the user generated content areas
519: [23:05:22] <tractorcow> classifieds, gig submissions, etc :P
520: [23:05:31] <Shrike_Finland> wow, nice
521: [23:05:34] <tractorcow> There's 80,000 products, so,
522: [23:06:00] <tractorcow> I thought I'd keep it separate from the main site CMS heh
523: [23:06:53] <Shrike_Finland> Was the integration easy?
524: [23:07:37] <simon_w> Oh look, user forms!
525: [23:07:48] <simon_w> Without even looking at a form page :p
526: [23:08:17] <simon_w> And comments
527: [23:08:24] <simon_w> And I'm going to stop guessing modules now :p
528: [23:09:04] <simon_w> (http://www.rockshop.co.nz/<modulename>/composer.json)
529: [23:11:12] <tractorcow> There's about 20 modules
530: [23:11:17] <tractorcow> I'll give you 1 point for each
531: [23:11:35] <Peavers> tractorcow, you're responsible for the monstrosity that is the rockshop website?!
532: [23:11:40] <tractorcow> Partly
533: [23:11:58] <tractorcow> Erm, at this point, entirely, yes.
534: [23:11:59] <Peavers> One of the worst sites I've ever tried to purchase from.
535: [23:12:02] <Peavers> DIAF.
536: [23:12:04] <tractorcow> haha, you've used it?
537: [23:12:17] <Peavers> <-- muscian, I've used it a lot
538: [23:12:54] * nickmolhoek has joined #silverstripe
539: [23:12:55] * nickmolhoek quit (Read error: Connection reset by peer)
540: [23:13:03] <tractorcow> I only build the silverstripe powered part of the site
541: [23:13:08] * nickmolhoek has joined #silverstripe
542: [23:13:10] <Peavers> which are?
543: [23:13:15] <simon_w> Not the shop
544: [23:13:17] <tractorcow> everything that's not under /shop
545: [23:13:42] <irogue> just looked at it now
546: [23:13:45] <irogue> the shop part is nasty
547: [23:14:06] <simon_w> Should be using Vend and Xero! :p
548: [23:14:12] <irogue> e.g. no Cart button, at least that i can see
549: [23:16:35] <tractorcow> Peavers: If you want to list any of the problems / suggestions you have for the site I'd sincerely appreciate some feedback in writing. I could at least go back to the client / my boss and argue on your behalf.
550: [23:16:50] <tractorcow> damo@brrltd.com
551: [23:17:09] <Peavers> I'll start the 700 page leather bound book you're going to get on your desk filled with my opinions on that site.
552: [23:17:26] <tractorcow> You have the spec document?
553: [23:17:32] <tractorcow> Sorry, wrong 700 page document
554: [23:17:39] <Peavers> lol
555: [23:17:48] <Peavers> Are you guys in charge of design too? Or was that outsourced?
556: [23:18:16] <tractorcow> We did the design, although it was done before I started working here, and the original designers / developers have since moved on.
557: [23:18:16] <simon_w> Don't worry, Peavers made me implement something described in a 1000 page document
558: [23:18:29] <Peavers> Documents are just how I roll.
559: [23:18:31] <tractorcow> I see you've worked on a government website too
560: [23:18:37] <Peavers> us der govt deps love docs.
561: [23:18:54] <ss23> haaaalllpppp
562: [23:19:09] <ss23> I wanna just be like "git checkout master" / "git pull" and not care about stuff
563: [23:19:12] <ss23> But this project won't let me
564: [23:19:15] <ss23> git reset --hard HEAD
565: [23:19:16] <ss23> git pull
566: [23:19:21] <ss23> OMG .IGTIGNORE IS NOT MERGED
567: [23:19:22] <ss23> or something
568: [23:20:34] <ss23> https://gist.github.com/ss23/5945350
569: [23:20:36] <ss23> how 2 git?
570: [23:20:46] <KayTwo> my only feedback on the rockshop website is page load and cpu usage
571: [23:20:50] <KayTwo> that thing kills my iphone
572: [23:20:52] <KayTwo> and my browser
573: [23:21:04] <tractorcow> KayTwo: Mobile site is in development
574: [23:21:40] <ss23> 03:08:10 <@simon_w> (http://www.rockshop.co.nz/<modulename>/composer.json)
575: [23:21:43] <ss23> Y U LET THEM .JSON
576: [23:22:03] <simon_w> ss23, why not?
577: [23:22:17] <Peavers> love me some json
578: [23:22:17] <simon_w> Oh right, CWP stuff. Someone should bring that up.
579: [23:22:21] <ss23> lol
580: [23:22:24] <ss23> simon_w: It's already bought up there
581: [23:22:25] <ss23> Here
582: [23:22:28] <ss23> I'll name them for 20 points
583: [23:22:31] <ss23> Name: mysiteconfig
584: [23:22:36] <ss23> SSViewer theme: rockshop
585: [23:23:03] <ss23> blogentry, blogholder, siteconfig, imagegarrlerypage, commenting controller, blogtree., blog entry, member
586: [23:23:06] <ss23> theres some modules there
587: [23:23:08] <ss23> idk
588: [23:23:28] <ss23> 'Security//$Action/$ID/$OtherID': 'RockshopSecurity'
589: [23:23:30] <ss23> WHAT'S THIS
590: [23:23:39] <simon_w> tractorcow, might want to update your root .htaccess :p
591: [23:23:42] <tractorcow> Didn't try www.rockshop.co.nz/composer.json ? For shame ss23
592: [23:23:52] <ss23> lol
593: [23:23:57] <ss23> I went straight to the .yml
594: [23:23:58] <ss23> :P
595: [23:24:14] <Peavers> tractorcow, whats admin username n password for rockshop site?
596: [23:24:20] <ss23> lol
597: [23:24:22] <ss23> lets try admin/admin!
598: [23:24:23] <Peavers> my email keeps getting denied?
599: [23:24:30] <simon_w> tractorcow, especially https://github.com/silverstripe/silverstripe-installer/blob/3.0/.htaccess#L15-L18 :p
600: [23:25:13] * Kapdap quit (Remote host closed the connection)
601: [23:25:15] <tractorcow> Yeah, there's still quite a few ss 2.4 remnants in there
602: [23:26:20] <ss23> anyone have ideas about my .gitignore issue though?
603: [23:26:28] <ss23> I just wanna like... do a git pull and not care about anything currently
604: [23:26:35] <ss23> I would just rm -rf and git clone again, but I don't wanna
605: [23:26:55] <Peavers> ss23, whats dif between rm -R and rm -rf?
606: [23:27:39] <ss23> the -f?
607: [23:27:42] <ss23> -R is the same as -r iirc
608: [23:27:56] <ss23> -f is for force, will delete files that are marked not to delete without any questions
609: [23:28:40] <simon_w> Well, -r is equivalent to -R in BSD rm
610: [23:29:02] <ss23> simon_w: Did you bring a packed lunch today? :D
611: [23:29:24] <simon_w> ss23, working from home today. Packed lunch doesn't really make much sense :p
612: [23:29:30] <ss23> AWWWWW
613: [23:29:31] <Peavers> oh want to hear my story about lunch today?
614: [23:29:35] * Kapdap has joined #silverstripe
615: [23:29:36] <ss23> lol sure, Peavers
616: [23:29:43] <simon_w> Story time!
617: [23:29:43] <tractorcow> Story time!
618: [23:29:44] * Kapdap quit (Client Quit)
619: [23:29:48] <Peavers> So last night we ordered pizza from Pizza Hutt
620: [23:29:50] * simon_w wins!
621: [23:29:57] <Peavers> 45 minutes later, our pizza shows up
622: [23:29:58] <ss23> Wonder if I can sneak the word "glorious" into this reply to a client named "gloria"
623: [23:30:05] <Peavers> 45 seconds later a second order of pizza shows up!
624: [23:30:08] <Peavers> thats not our order!
625: [23:30:11] <Peavers> but we take it anyway!
626: [23:30:21] * Kapdap has joined #silverstripe
627: [23:30:21] * Kapdap quit (Client Quit)
628: [23:30:21] <Peavers> So we now have two orders of pizza!
629: [23:30:24] <Peavers> so one is my lunch today.
630: [23:30:28] <Peavers> Thats my lunch story.
631: [23:30:31] <simon_w> Haha
632: [23:30:32] <ss23> lol
633: [23:30:43] <Pyromanik> 11:12 < tractorcow> everything that's not under /shop
634: [23:30:52] <Pyromanik> I just tried to /shop, it redirected me to root.
635: [23:30:53] <Pyromanik> good times.
636: [23:30:54] <Peavers> We called pizza hutt and they had no idea why a guy delivered to us, the address it was supposed to go to was on the otherside of town...
637: [23:31:25] <tractorcow> '/' is the home page, there aren't any links to /shop by itself
638: [23:31:37] <simon_w> Peavers, looking at the boxes next to my desk, one t :p
639: [23:31:40] <tractorcow> '/shop/guitars', '/shop/dj-gear' etc are the categories
640: [23:31:47] <Pyromanik> tractorcow: lol
641: [23:32:25] <Pyromanik> oh it's magento?
642: [23:32:26] <simon_w> Which means it's not the delicious bad guy in Space Balls :(
643: [23:35:59] <simon_w> That's what he said
644: [23:37:15] * Kapdap has joined #silverstripe
645: [23:42:48] <Pyromanik> rebu
646: [23:43:28] <ss23> cool name, right? :D
647: [23:44:52] <Pyromanik> sounsd like a fish.
648: [23:45:02] <ss23> lol
649: [23:45:06] <Pyromanik> a retarded fish.
650: [23:45:07] <ss23> Guise, for static particla caching
651: [23:45:18] <ss23> ID, List(Page).max(LastEdited), List(Page).Count
652: [23:45:25] <ss23> Is that how to get a count? List(Page).count
653: [23:45:32] <simon_w> Yes
654: [23:45:39] <Pyromanik> what is List?
655: [23:45:50] <simon_w> Though, with max(LastEdited) already, what's the point?
656: [23:46:08] <ss23> simon_w: If a page is unpublished, it won't show in SiteTree_live
657: [23:46:13] <ss23> Meaning the LastEdited won't change
658: [23:46:17] <ss23> Right?
659: [23:46:29] <simon_w> I guess
660: [23:46:46] <ss23> :D
661: [23:46:47] <ss23> BOOM
662: [23:46:54] <ss23> ss23 scored a critical hit on simon_w
663: [23:46:55] <ss23> :D
664: [23:46:56] <simon_w> You lot and your Versioned
665: [23:47:00] <ss23> lol
666: [23:47:04] <ss23> I don't have a choice!
667: [23:47:06] * ss23 sticks to defaults :P
668: [23:47:24] <ss23> Pyromanik: I presume it turns stuff from something to something else that can actually do functions on it
669: [23:47:33] * spronk has joined #silverstripe
670: [23:47:55] <simon_w> Pyromanik, $List('Blah') -> DataList::create('Blah')
671: [23:49:24] <Pyromanik> simon_w: is that only for partical caching?
672: [23:49:29] <simon_w> Nope
673: [23:49:33] <Pyromanik> fffff ss23, now you got me doing it
674: [23:49:38] <Pyromanik> partial
675: [23:49:45] <metanat1> I'm using versioned dataobjects at the moment. Makes you realise the little support there is in grid field components
676: [23:49:47] <ss23> :O
677: [23:49:50] <ss23> XD
678: [23:49:52] <ss23> partical!
679: [23:49:52] <ss23> :D
680: [23:50:01] <Pyromanik> particle*
681: [23:51:03] <ss23> Pteyradactl Flightride
682: [23:51:07] <ss23> Flourde potassiate
683: [23:56:35] * UncleCheese quit (Quit: UncleCheese)
684: [23:56:59] * UncleCheese has joined #silverstripe
685: [23:57:14] <ss23> Hmm
686: [23:57:18] <ss23> This is a recursive template
687: [23:57:20] <ss23> :O
688: [23:57:21] <ss23> Scary
689: [23:57:28] <ss23> I don't think I've ever used a recursive template in Silverstripe
690: [23:58:09] <Peavers> ...
691: [23:58:18] <Peavers> Who hired you again?
692: [23:58:31] <ss23> lol
693: [23:58:32] <ss23> :D
694: [23:58:41] <ss23> Peavers: I've obviously done recursive *programming*
695: [23:58:49] <ss23> I've just never used a recursive template in Silverstripe before
696: [23:59:15] <Peavers> Fuck you, I'm going to get a haircut.
697: [23:59:23] <ss23> :D
698: [23:59:25] <ss23> I should get one too

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