#silverstripe IRC Log

IRC log for 27 March 2013

All timestamps are in UTC.

1: [00:00:00] <lewellyn> aha. not my fault :D
2: [00:00:00] <lewellyn> it sent me to /index.php/home/successfullyinstalled?flush=1 instead of /home/successfullyinstalled?flush=1
3: [00:01:00] <lewellyn> silly installer. sigh. i think i've hit this each time i've deployed SS now. you'd think i'd remember.
4: [00:04:00] <lewellyn> blarg. and it doesn't take my password. time to start over.
5: [00:14:00] * guci0 quit (Ping timeout: 245 seconds)
6: [00:18:00] * azureKnight quit (Quit: azureKnight)
7: [00:24:00] * LoveDuckie has joined #silverstripe
8: [00:24:00] * chillu quit (Quit: chillu)
9: [00:35:00] * azureKnight has joined #silverstripe
10: [00:40:00] <solva> hey everyone!
11: [00:40:00] <solva> i've copied the whole folder to the root of my project and added googlesitemaps.yml to _config
12: [00:40:00] * solva has joined #silverstripe
13: [00:40:00] <solva> i'm trying to install silverstripe-googlesitemaps-master
14: [00:41:00] <solva> it seems add_extension expects two arguments.. http://api.silverstripe.org/3.0/class-Object.html#_add_extension
15: [00:41:00] <solva> what's wrong here?
16: [00:41:00] <solva> but when i run /?flush=all i get
17: [00:41:00] <solva> Warning: Missing argument 2 for Object::add_extension(), called in <snip>/web/silverstripe-googlesitemaps-master/_config.php on line 5
18: [00:41:00] <solva> which is:
19: [00:41:00] <solva> SiteTree::add_extension('GoogleSitemapSiteTreeExtension');
20: [00:41:00] <simon_w> solva, you're running a 3.1 module on 3.0
21: [00:42:00] <solva> any idea if there's a 3.0 version still in existence?
22: [00:42:00] <solva> not sure if we'll be able to upgrade to 3.1
23: [00:42:00] <solva> -_-
24: [00:42:00] <solva> arrrgh ok, thanks!
25: [00:42:00] * lewellyn found the composer require silverstripe/googlesitemaps:* to work well
26: [00:42:00] <solva> is there much involved in the upgrade?
27: [00:43:00] <solva> oh hang on, its not officially released yet
28: [00:43:00] <solva> lewellyn: thanks for the tip :)
29: [00:44:00] <lewellyn> fwiw, i haven't *used* it yet ;)
30: [00:44:00] <simon_w> https://github.com/silverstripe-labs/silverstripe-googlesitemaps/tree/1.1
31: [00:48:00] <lewellyn> ** If you can read this text in your browser then you don't have PHP installed. **
32: [00:48:00] <lewellyn> this is not my day.
33: [00:48:00] <lewellyn> ** Please install PHP 5.3.2 or higher, preferably PHP 5.3.4+. **
34: [00:49:00] * lewellyn sighs.
35: [00:50:00] * lewellyn reverts to a known-good config.
36: [00:50:00] <solva> lewellyn, thats baaaad :((
37: [00:50:00] <lewellyn> i know what caused it.
38: [00:50:00] <lewellyn> i took the config from http://doc.silverstripe.org/framework/en/installation/nginx
39: [00:50:00] <lewellyn> sigh
40: [00:50:00] * azureKnight quit (Quit: azureKnight)
41: [00:52:00] <lewellyn> oh. nice.
42: [00:52:00] <lewellyn> ( ! ) Notice: Undefined index: password in /home/Greenviolet/gvapps/silverstripe/framework/dev/install/install.php5 on line 1099
43: [00:53:00] <lewellyn> so we see multiple issues.
44: [00:53:00] <lewellyn> are there invalid characters for use in passwords?
45: [00:53:00] <simon_w> Nope. That's saying you didn't submit one
46: [00:53:00] <lewellyn> i did :)
47: [00:53:00] <solva> and that it didn't check for an empty index, more to the point :)
48: [00:53:00] <lewellyn> it then redirects to /index.php/home/successfullyinstalled?flush=1
49: [00:53:00] <irogue> lewellyn: i've been working on fixing that config up, the one in the wiki
50: [00:53:00] <irogue> it's quite broken as-is
51: [00:54:00] <lewellyn> :)
52: [00:54:00] <lewellyn> irogue: yeah. i might need to submit some fixing-up, too
53: [00:54:00] <lewellyn> btw, you might want to change the .ht rule to .
54: [00:54:00] <lewellyn> one never knows what the webroot might contain. :/
55: [00:55:00] <simon_w> What? You mean I shouldn't be able to git clone https://twitter.com?
56: [00:55:00] <lewellyn> so, i suppose i see multiple issues: 1) i'm using an invalid character in the password, possibly. 2) it's not sanity-checking well. 3) it fails and still redirects to the success page.
57: [00:56:00] <lewellyn> irogue: do you have a rule so that those /index.php/ uris work? :/
58: [00:57:00] <Pyromanik> installer?
59: [00:57:00] <Pyromanik> why?
60: [00:57:00] <lewellyn> Pyromanik: why to which?
61: [00:57:00] <Pyromanik> why would you want index.php/blah to to work?
62: [00:57:00] <lewellyn> because the installer redirects to it.
63: [00:57:00] <Pyromanik> o, rite.
64: [00:58:00] <lewellyn> hm. let's try one more really-simple password.
65: [00:58:00] <simon_w> You know, that thing no one runs?
66: [00:58:00] <Pyromanik> yeah, that thing no one runs.
67: [00:58:00] <simon_w> Wee, getting paid tonight. Will be able to get home from aussieland :)
68: [00:58:00] <Pyromanik> simon_w, I must say though, without running it the .htaccess doesn't set up correctly.
69: [00:59:00] <Pyromanik> but
70: [00:59:00] <Pyromanik> SO LAZY
71: [00:59:00] <Pyromanik> yeah
72: [00:59:00] <Pyromanik> simon_w, yeh
73: [00:59:00] <simon_w> Pyromanik, just RewriteBase, isn't it?
74: [01:00:00] <Pyromanik> want to just drop _ss_environment into and go
75: [01:00:00] <simon_w> Stop installing in /~blah/?
76: [01:00:00] <Pyromanik> but it doesn't do db name either.
77: [01:00:00] <simon_w> Is the only time I need a RewriteBase set
78: [01:00:00] <lewellyn> ok. even using a password of 12345 it's unhappy. :(
79: [01:00:00] <Pyromanik> which is?
80: [01:00:00] <simon_w> define('SS_DATABASE_CHOOSE_NAME', 2); ?
81: [01:00:00] <simon_w> (should take the name of the folder you're installed in)
82: [01:01:00] <lewellyn> Pyromanik: the errors are important.
83: [01:01:00] <lewellyn> http://www.greenviolet.net/paste/1364346035.html
84: [01:01:00] <Pyromanik> simon_w, yeah, but if all the folders are named the same :<
85: [01:01:00] <lewellyn> lemme pastebin the errors i see.
86: [01:01:00] <simon_w> Pyromanik, surely you've got one that isn't
87: [01:01:00] <Pyromanik> lewellyn, successfullyinstalled just never works
88: [01:01:00] <Pyromanik> ever
89: [01:01:00] <Pyromanik> it's not important
90: [01:01:00] <Pyromanik> same like ?isDev no longer works
91: [01:02:00] <lewellyn> simon_w: ah. so it's because of sqlite3 then, likely? sigh. :(
92: [01:02:00] <simon_w> lewellyn, that's database details
93: [01:02:00] <Pyromanik> because lower case p
94: [01:02:00] <lewellyn> at least i'd assume so since i can't log in after installing.
95: [01:02:00] <Pyromanik> yeah well you're getting an error DURING install, not after
96: [01:02:00] * lewellyn sets up a mysql database for this install...
97: [01:03:00] <Pyromanik> you only need _config.php & .htaccess
98: [01:03:00] <Pyromanik> or just don't use installer
99: [01:03:00] <Pyromanik> copy pasta from a working install
100: [01:03:00] <simon_w> All the cool kids do it
101: [01:04:00] <solva> simon_w, thanks for that, it's not complaining any more, but sitemap.xml is giving me basically an empty sitemap.xml
102: [01:04:00] <Pyromanik> if you're not using nginx
103: [01:04:00] <Pyromanik> in which case just set up _config.php manually
104: [01:04:00] <lewellyn> Pyromanik: meh. i've been using the installer, so i'll keep doing so. ;)
105: [01:04:00] <lewellyn> but yeah. one of these days, i need to see if i can't help give the sqlite3 bits some lovin'.
106: [01:05:00] <solva> (its properly formed; has all the rest of the stuff; but thats just the one bit
107: [01:05:00] <solva> basically just : <sitemap><loc>http://<snip>/sitemap.xml/sitemap/SiteTree/1
108: [01:05:00] <solva> if i visit that url i get an empty page
109: [01:06:00] <lewellyn> btw, how do we *remove* something added by composer?
110: [01:08:00] * SticksM has joined #silverstripe
111: [01:10:00] * mobiusnz quit (Ping timeout: 245 seconds)
112: [01:11:00] <lewellyn> so yeah. the problem was, as usual, sqlite3. every time i try to use it, i hit different failure modes. :/
113: [01:11:00] <lewellyn> Pyromanik: btw, if no one here ever touches install.php, it'll never get any workouts aside from users who will run from breakage. :)
114: [01:12:00] <lewellyn> Pyromanik: also, the successfullyinstalled works fine, if i strip the index.php
115: [01:21:00] <simon_w> lewellyn, and that's why, every so often, someone tests it
116: [01:22:00] <lewellyn> i test it irregularly! :)
117: [01:22:00] <lewellyn> but i decided that sqlite would be nice for this site. sigh.
118: [01:23:00] <lewellyn> it makes sense when the site will be mostly read-only and will have little data :)
119: [01:23:00] * LoveDuckie quit (Ping timeout: 264 seconds)
120: [01:23:00] <simon_w> sqlite is usually only used for testing, so on things where the installer has already been run
121: [01:23:00] <simon_w> since it almost never makes sense in production
122: [01:24:00] * mobiusnz has joined #silverstripe
123: [01:26:00] <lewellyn> simon_w: perhaps. but sqlite is a known entity from well before i heard of ss ;)
124: [01:26:00] * Jakx has joined #silverstripe
125: [01:26:00] <Jakx> yo
126: [01:26:00] <simon_w> Though static-publisher makes even more sense in that case :)
127: [01:31:00] * SightUnseen has joined #silverstripe
128: [01:33:00] * popeshoe quit (Quit: This computer has gone to sleep)
129: [01:34:00] * SightUnseen has left #silverstripe
130: [01:55:00] <Pyromanik> lewellyn, interesting.
131: [01:55:00] <lewellyn> hm. the admin stuff is slow with this new install...
132: [01:55:00] * lewellyn tries an older install
133: [01:55:00] <lewellyn> yup. very fast with the old one.
134: [01:56:00] <Pyromanik> heh
135: [01:56:00] <Pyromanik> last I looked successfullyinstalled errored in it's routing rather than because of the index.php
136: [01:56:00] <lewellyn> where am i putting the php slowlog i wonder...
137: [01:56:00] <lewellyn> Pyromanik: i removed the index.php and it gave me the right info. *shrug*
138: [01:57:00] <lewellyn> hm. now it wants me to log back in. curiouser and curiouser.
139: [02:00:00] <Pyromanik> now its time for pool!
140: [02:00:00] <Pyromanik> I don't disagree that installer needs some fixing
141: [02:00:00] <Pyromanik> just saying that no one really uses it and if it's an issue for you right now it's easy to get around.
142: [02:01:00] <lewellyn> Pyromanik: i got around it. ;)
143: [02:01:00] <lewellyn> i think i had a rewrite to remove the index.php or something before.
144: [02:02:00] <lewellyn> hm. i'm finding no reason for this to be slow. wtf. :(
145: [02:04:00] * mobiusnz1 has joined #silverstripe
146: [02:08:00] * mobiusnz quit (Ping timeout: 264 seconds)
147: [02:10:00] <lewellyn> all i can tell so far is that the slowness comes from framework/core/Core.php which in itself isn't very helpful. :/
148: [02:18:00] <lewellyn> sigh.
149: [02:23:00] <simon_w> opcode cache!
150: [02:23:00] <lewellyn> i did.
151: [02:23:00] <simon_w> Do it!
152: [02:24:00] <lewellyn> remember me remarking how utterly fast it made things with 5.5?
153: [02:24:00] <lewellyn> lemme disable it, actually...
154: [02:24:00] <lewellyn> hm.
155: [02:25:00] <lewellyn> and yeah. it wasn't the opcode cache.
156: [02:25:00] <simon_w> So I'm not the only one running 5.5?
157: [02:25:00] <lewellyn> nope. i'm running remi's just-prior-to-beta1
158: [02:26:00] <simon_w> nope
159: [02:26:00] <lewellyn> have you used the 5.5 opcache much?
160: [02:27:00] <lewellyn> meh. i'm tired of tracking down opcode-cache-of-the-week-that-works-with-the-current-php-version
161: [02:27:00] <simon_w> I'm not sure what I think about it. The debate for it seemed rather political more than anything
162: [02:27:00] <lewellyn> k. i'm setting opcache.use_cwd=1 just out of paranoia for now.
163: [02:28:00] <lewellyn> which aiui doesn't exist for 5.5 yet
164: [02:28:00] <simon_w> xcache
165: [02:29:00] <simon_w> Uh, yeah it does. I was running it for a while
166: [02:29:00] <lewellyn> hm. i'll have to reread my convo with remi to see why no xcache yet. it was at like 3am my time. yay timezones.
167: [02:30:00] <lewellyn> Error: Package: php-xcache-3.0.1-1.el6.remi.x86_64 (remi) Requires: php(api) = 20100412-x86-64
168: [02:31:00] <simon_w> Well, yeah. The stable version doesn't support 5.5
169: [02:31:00] <lewellyn> all i can think of at this point is that i was overzealous with my composer requires.
170: [02:31:00] * terryapodaca quit (Quit: Leaving.)
171: [02:31:00] <lewellyn> yup. still not in the repo for 5.5. i'll check logs in a bit.
172: [02:32:00] <lewellyn> that'd probably be why.
173: [02:33:00] <lewellyn> overall, having a built-in opcode cache is better than not. even if there are better options available, everyone gets one with minimal effort (if any)
174: [02:34:00] <simon_w> ZO+ is worse for configuring than APC, so have fun with the default settings :p
175: [02:34:00] <lewellyn> it actually wasn't bad to configure.
176: [02:34:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
177: [02:34:00] <lewellyn> the defaults seemed saneish. i think i changed two options besides enabling it.
178: [02:37:00] * Jakx has left #silverstripe
179: [02:39:00] <lewellyn> interesting. i reinstalled with composer create-project silverstripe/installer and nothing else, and it's still dog slow.
180: [02:39:00] * lewellyn notes that the other one he has open is 3.0.2 and tries that.
181: [02:40:00] <lewellyn> hm. no 3.0.2 via composer? i thought it existed that far back.
182: [02:42:00] <simon_w> Or 3.0.3, .4, .5
183: [02:42:00] <lewellyn> 3.0.3 is just as slow. weird.
184: [02:42:00] <lewellyn> ah.
185: [02:42:00] <simon_w> 3.0.2.1
186: [02:42:00] <lewellyn> i was close ;)
187: [02:43:00] <lewellyn> so it's not something new that 3.0.5 does. i'm pretty sure i have at least one 3.0.3 site around here still.
188: [02:52:00] <lewellyn> geez. even a stock 3.0.2.1 is slow as sin. i don't get it... :/
189: [03:02:00] <lewellyn> ok. i'm gonna have to postpone this till tomorrow.
190: [03:02:00] <lewellyn> :(
191: [03:18:00] <bobdobbs> My code for 'archive.phphttp://pastie.org/7132480
192: [03:18:00] <bobdobbs> Hi all. I've got an 'archiveS.php. and an 'archive.php'. The latter displays a list of a given months blog posts. How can I get and display the month for which the list of posts are being displayed?
193: [03:18:00] <bobdobbs> whoops: My code for 'archive.php' http://pastie.org/7132480
194: [03:20:00] <bobdobbs> crap! sorry!
195: [03:20:00] <bobdobbs> That code is pretty simple, and it works. But I'd like to show the actual name of the month of which the posts were made.
196: [03:20:00] <bobdobbs> How can I do this?
197: [03:20:00] <simon_w> Ah, ask in #wordpress?
198: [03:20:00] <bobdobbs> ah!
199: [03:20:00] <bobdobbs> *blushes wildly*
200: [03:21:00] <bobdobbs> totally the wrong channel.
201: [03:22:00] <bobdobbs> aw man. that was embarrassing
202: [03:27:00] <irogue> now we know your dirty secret
203: [03:27:00] <irogue> you use wordpress
204: [03:29:00] <bobdobbs> it's a fair cop, guv
205: [03:29:00] <bobdobbs> busted
206: [03:30:00] * bobdobbs hands self over for arrest
207: [03:30:00] <simon_w> I think the only non-spammer I've kicked not in jest uses wordpress
208: [03:34:00] * popeshoe has joined #silverstripe
209: [03:42:00] <solva> hahah
210: [03:58:00] * lewellyn looks around, seeking validation
211: [03:58:00] * solva nods approvingly
212: [03:58:00] <lewellyn> it shows a degree of sophistication to be in here, though, right?
213: [04:04:00] <simon_w> pfft, sophistication
214: [04:05:00] * mobiusnz1 quit (Quit: Leaving.)
215: [04:06:00] * popeshoe quit (Quit: This computer has gone to sleep)
216: [04:06:00] * nickmolhoek quit (Quit: nickmolhoek)
217: [04:07:00] <Pyromanik> home
218: [04:07:00] * Pyromanik quit (Quit: Leaving)
219: [04:09:00] <Zauberfisch> good morning gents
220: [04:09:00] * Zauberfisch has joined #silverstripe
221: [04:10:00] <ss23> moin moin Zauberfisch!
222: [04:10:00] <Zauberfisch> "moin"? did you pick that up in germany or is that actually a valid greeting in english speaking countries?
223: [04:13:00] <ss23> I just like to pretend I'm more cultured than I really am
224: [04:15:00] * Jeremy_ has joined #silverstripe
225: [04:15:00] * Jeremy_ is now known as clodeindustrie
226: [04:15:00] <clodeindustrie> hey ther
227: [04:15:00] <clodeindustrie> e
228: [04:15:00] <clodeindustrie> I'm attempting to insert an image from the rich text editor on a simple article on a 3.0.5 silverstripe install
229: [04:16:00] <clodeindustrie> trying to upload from my hard drive or drag and dropping doesn't work
230: [04:16:00] <clodeindustrie> nothing happen and if I click on upload I'm redirected to editorToolbar/MediaForm as a non existing page
231: [04:17:00] <clodeindustrie> anyone?
232: [04:17:00] <clodeindustrie> I have no clue really
233: [04:17:00] <clodeindustrie> logs don't show nothing
234: [04:18:00] <irogue> hmm, can't remember if ss3 checks for it at install now, but that kind of thing used to happen in ss2 when you didn't have php-gd
235: [04:18:00] <clodeindustrie> ah interesting
236: [04:19:00] <ss23> I also had issues with that, clodeindustrie, and it was that I did chmod 777 on assets, but not the subfolders
237: [04:20:00] <clodeindustrie> spot on
238: [04:20:00] * bobdobbs quit (Ping timeout: 245 seconds)
239: [04:20:00] * bobdobbs has joined #silverstripe
240: [04:20:00] <solva> yeah pretty much every problem i've ever had with uploads was file permissions
241: [04:21:00] <ss23> "The law of conservation of clue: The amount of clue in the industry remains constant. The number of people in it rises...."
242: [04:21:00] <ss23> Boom!
243: [04:21:00] <clodeindustrie> writable
244: [04:21:00] <clodeindustrie> I had the gd lib but apparently (despite me chmoding the thing earlier recursively) the _resample dir wasn't wrotable
245: [04:21:00] <ss23> 10 points for ss23 :D
246: [04:23:00] <clodeindustrie> still not completely working but at least it goes a bit further now
247: [04:23:00] * joelpittet quit (Remote host closed the connection)
248: [04:27:00] * DigNZ quit (Quit: DigNZ)
249: [04:32:00] <Zauberfisch> ss23 so its from germany?
250: [04:38:00] * willr_ quit (Quit: willr_)
251: [04:38:00] * Error404NotFound has joined #silverstripe
252: [04:41:00] * cloph_away has joined #silverstripe
253: [04:43:00] * cloph_away1 quit (Ping timeout: 264 seconds)
254: [04:46:00] * irogue quit ()
255: [04:48:00] <ss23> Zauberfisch: "moin"? http://en.wikipedia.org/wiki/Moin
256: [04:49:00] <Zauberfisch> good
257: [04:49:00] <ss23> XD
258: [04:49:00] <Zauberfisch> ok, so its only the weird germans using it
259: [04:49:00] <Zauberfisch> I see
260: [04:49:00] <Zauberfisch> ah
261: [04:51:00] * SightUnseen has joined #silverstripe
262: [04:52:00] * SightUnseen has left #silverstripe
263: [04:54:00] <bobdobbs> incidently, I believe that there is a cms called moinmoin
264: [04:57:00] * Error404NotFound has joined #silverstripe
265: [04:57:00] * Error404NotFound quit (Remote host closed the connection)
266: [05:06:00] <lewellyn> isn't that a wiki?
267: [05:31:00] * mobiusnz has joined #silverstripe
268: [05:35:00] * mobiusnz quit (Client Quit)
269: [05:36:00] <Zauberfisch> yeah, its a wiki
270: [05:36:00] <Zauberfisch> and I've been told one of the better ones
271: [05:37:00] <Zauberfisch> but I hate wikis so ...
272: [05:37:00] <Zauberfisch> only github wikis, those are great
273: [05:37:00] <Zauberfisch> I love github wikis, using markdown and git as base for a wiki, how can someone not love this
274: [05:49:00] <ss23> Yay!
275: [05:49:00] <ss23> moinmoin was also a wiki that got completely owned and all the user info dumped from iirc
276: [05:53:00] <simon_w> Zauberfisch, easy. Markdown is horrible for anything beyond basic formatting, git is far too complicated for a wiki (and isn't even exposed) and github does its best to not let you get the data out
277: [05:53:00] <Zauberfisch> ah, here we go, I was just waiting for that simon_w :P
278: [06:01:00] <Zauberfisch> can anybody confirm that the UploadField does not work in IE10?
279: [06:02:00] <ss23> Good thing "basic foramtting" covers 99% of everything you could want in a wiki
280: [06:02:00] <Zauberfisch> !
281: [06:02:00] <ss23> It's not like "It's more complicated!" is somehow inherintly better
282: [06:02:00] <Zauberfisch> also, is it just me or is creating folders broken in the 3.1 branch?
283: [06:02:00] <ss23> 18:54:19 <@simon_w> Zauberfisch, easy. Markdown is horrible for anything beyond basic formatting,
284: [06:02:00] * SticksM quit (Read error: Connection reset by peer)
285: [06:03:00] <Zauberfisch> ss23 said it
286: [06:05:00] * Error404NotFound quit (Disconnected by services)
287: [06:05:00] * Err404NotFound has joined #silverstripe
288: [06:15:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
289: [06:25:00] * Err404NotFound quit (Ping timeout: 245 seconds)
290: [06:27:00] * LoveDuckie has joined #silverstripe
291: [06:44:00] * Error404NotFound has joined #silverstripe
292: [06:51:00] <solva> cya y'all
293: [06:51:00] * solva quit (Quit: Leaving)
294: [06:54:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
295: [06:58:00] * Error404NotFound has joined #silverstripe
296: [07:02:00] * eikonos quit (Read error: Connection reset by peer)
297: [07:02:00] * Shrike_Finland2 quit (Quit: Leaving.)
298: [07:03:00] * eikonos has joined #silverstripe
299: [07:03:00] * eikonos has joined #silverstripe
300: [07:03:00] * eikonos quit (Changing host)
301: [07:16:00] * simon_w|air starts his holiday wrt IRC early
302: [07:16:00] * simon_w|air quit (Quit: Leaving)
303: [07:36:00] * Shrike_Finland has joined #silverstripe
304: [07:37:00] * Zauberfisch is now known as Zauberfisch-home
305: [07:41:00] * ARNHOE has joined #silverstripe
306: [07:43:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
307: [07:44:00] * ARNHOE_ has joined #silverstripe
308: [07:47:00] * ARNHOE quit (Ping timeout: 240 seconds)
309: [07:56:00] * Error404NotFound has joined #silverstripe
310: [07:59:00] * Liquide quit (Ping timeout: 264 seconds)
311: [08:03:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
312: [08:04:00] * Liquide has joined #silverstripe
313: [08:05:00] * guci0 has joined #silverstripe
314: [08:12:00] * Error404NotFound has joined #silverstripe
315: [08:14:00] * howardgrigg has joined #silverstripe
316: [08:15:00] * howardgrigg quit (Remote host closed the connection)
317: [08:15:00] * ivoba has joined #silverstripe
318: [08:18:00] * chillu has joined #silverstripe
319: [08:24:00] * Zauberfisch has joined #silverstripe
320: [08:27:00] * priithansen has joined #silverstripe
321: [08:43:00] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
322: [08:45:00] * zfmf has joined #silverstripe
323: [09:02:00] * popeshoe has joined #silverstripe
324: [09:06:00] * Error404NotFound quit (Disconnected by services)
325: [09:06:00] * Err404NotFound has joined #silverstripe
326: [09:08:00] * Err404NotFound quit (Max SendQ exceeded)
327: [09:09:00] * kinglozzer has joined #silverstripe
328: [09:09:00] * Err404NotFound has joined #silverstripe
329: [09:10:00] * pippy_ is now known as pippy
330: [09:11:00] * Guits has joined #silverstripe
331: [09:13:00] <Guits> I have been googling this but don't really get it.. how can i make custom fields searchable via "site search" ?
332: [09:17:00] <Zauberfisch> I am not sure you even can
333: [09:17:00] <Zauberfisch> but then again a lot has changed since 2.4.0
334: [09:17:00] <Zauberfisch> I tried it with 2.4.0 or so, and that was kind of impossible to do
335: [09:18:00] <Zauberfisch> but in general, the default serach sucks anway
336: [09:18:00] <Zauberfisch> if you need good search, use a proper search engine
337: [09:22:00] <Guits> such as ?
338: [09:23:00] <Zauberfisch> solar, lucene, something like that
339: [09:23:00] <Zauberfisch> *solr
340: [09:24:00] * waveydave has joined #silverstripe
341: [09:25:00] <Zauberfisch> https://github.com/rixrix/silverstripe-lucene
342: [09:25:00] <Zauberfisch> there is a module, but its for 2.4
343: [09:26:00] <Zauberfisch> but a guy I used to work with implemented solr and said it was rahter easy (1-2 days or so)
344: [09:29:00] <Guits> than you ..will look into that
345: [09:36:00] * nimeso has joined #silverstripe
346: [09:38:00] <ocm> zuup?
347: [09:38:00] <kinglozzer> For 3.1, does using config.yml instead of _config.php really make much of a performance difference?
348: [09:38:00] * ocm has joined #silverstripe
349: [09:38:00] <ocm> howdy!
350: [09:38:00] <kinglozzer> Morning
351: [09:42:00] <nimeso> Hi all... dnt spose any of you wonderful peps could maybe solve a issue that a client is about to burn my house down over? lol... heaps of javascript errors in CMS 2.4.10 in IE... base.js... ondemand.js etc etc... running apache and php 5.3.18
352: [09:42:00] <ocm> haha
353: [09:42:00] <ocm> like always :D
354: [09:42:00] <ocm> I am awake
355: [09:42:00] <nimeso> ?
356: [09:42:00] <nimeso> do we ever sleep
357: [09:42:00] <nimeso> clean install
358: [09:42:00] <kinglozzer> Not much, consuming lots of caffeine. I'm awake but not /awake/ yet :P. You?
359: [09:43:00] <nimeso> can post link
360: [09:43:00] <nimeso> will buy beer or pay HARD cash for help
361: [09:47:00] <nimeso> to early for beer?
362: [09:47:00] * feejin has joined #silverstripe
363: [09:49:00] * Liquide quit ()
364: [09:59:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5834368
365: [09:59:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/b0d3f7f3a288...6209d1be6a7e
366: [09:59:00] * travis-ci has left #silverstripe
367: [09:59:00] * travis-ci has joined #silverstripe
368: [09:59:00] <travis-ci> [travis-ci] silverstripe/sapphire#1796 (master - 6209d1b : Ingo Schommer): The build is still failing.
369: [10:05:00] * ajshort has joined #silverstripe
370: [10:06:00] * lx-berlin has joined #silverstripe
371: [10:09:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5834562
372: [10:09:00] * travis-ci has joined #silverstripe
373: [10:09:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#298 (3.1 - f73a5c6 : Ingo Schommer): The build was fixed.
374: [10:09:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/51c8e8639e9b...f73a5c68f303
375: [10:09:00] * travis-ci has left #silverstripe
376: [10:16:00] <Zauberfisch> Not much, consuming lots of caffeine.
377: [10:16:00] <Zauberfisch> kinglozzer I 2nd that
378: [10:17:00] <Zauberfisch> iihhh, 2.4, go away :S
379: [10:17:00] <Zauberfisch> nimeso
380: [10:26:00] <ocm> nimeso, you said beer?
381: [10:26:00] <nimeso> LOL
382: [10:26:00] <nimeso> anything you want man
383: [10:26:00] <ocm> any stout or guinness that is? :D
384: [10:28:00] <nimeso> http://vizualise-alb-vps01.digiweb.net.nz/~vizstage/encircletest/admin/
385: [10:28:00] <nimeso> 2.4.9
386: [10:28:00] <nimeso> http://vizualise-alb-vps01.digiweb.net.nz/~vizstage/encircletest2/admin/
387: [10:28:00] <nimeso> Both suffer from the same JavaScript issues in the CMS in IE 8.07 (happens in most IE's I think... not just my version)
388: [10:28:00] <nimeso> eg: base.js and jquery.ondemand.js both seem to fail
389: [10:28:00] <nimeso> It is also not just this server we are having issues on... see encirclemedical.com/admin (2.4.10)
390: [10:28:00] <nimeso> also you can see PHP info here
391: [10:28:00] <r3v3rb> morning, if I want a local copy of the api and docs where do I find them now for 3?
392: [10:28:00] * r3v3rb has joined #silverstripe
393: [10:28:00] <r3v3rb> hi ec8or_
394: [10:28:00] <ec8or_> hey r3v3rb
395: [10:28:00] <nimeso> all logins are:
396: [10:28:00] <nimeso> nimeso
397: [10:28:00] <nimeso> 12z7Qd2ec
398: [10:28:00] <nimeso> 100% clean installs below... no custom code,classes or javascript
399: [10:28:00] <nimeso> 2.4.10
400: [10:30:00] <nimeso> http://doc.silverstripe.org/framework/en/
401: [10:30:00] <kinglozzer> Guys, if you want to wrap front-end form fields in divs (e.g. divs for left column, right column etc), how do you do it? LiteralFields? Or can you use Tabs/CompositeFields or something?
402: [10:30:00] <nimeso> r3v3rb... do you mean like a PDF download?
403: [10:30:00] <r3v3rb> no the online docs
404: [10:30:00] <nimeso> http://api.silverstripe.org/3.0/
405: [10:30:00] <r3v3rb> found the sapphire docs
406: [10:30:00] <r3v3rb> but i guess a pdf would do
407: [10:31:00] <nimeso> Zauber... you had nuff coffee to be arsed helping me? any ideas?
408: [10:32:00] <nimeso> no, sorry r3... no idea
409: [10:32:00] <ocm> r3b3rb! :D how are you?
410: [10:32:00] <ec8or_> r3v3rb: wget it
411: [10:32:00] <r3v3rb> api docs too ajshort ?
412: [10:32:00] <ajshort> r3v3rb: it's all in the framework directory
413: [10:32:00] <nimeso> ohhhhh. bummer
414: [10:32:00] <r3v3rb> nimeso: yep, but I want to view offline as I am working off a phone connection in Spain :|
415: [10:32:00] <nimeso> nice :)
416: [10:33:00] <r3v3rb> ocm: all right - you?
417: [10:33:00] <ajshort> so it's kind of implied
418: [10:33:00] <nimeso> nope... just IE
419: [10:33:00] <r3v3rb> ajshort: can I view them in the new format?
420: [10:33:00] <nimeso> have a look at the links guys... it's wierd
421: [10:33:00] <ocm> nimeso, just in IE?
422: [10:33:00] <ocm> or also other browsers?
423: [10:33:00] <ajshort> r3v3rb: api docs are generated from source code :P
424: [10:33:00] <nimeso> super weird
425: [10:33:00] <ajshort> the docs are in the docs folder
426: [10:34:00] <nimeso> stupid fingers... to much coffee
427: [10:34:00] <ajshort> r3v3rb: what editor do you use? decent ones should have phpdoc integration
428: [10:34:00] <r3v3rb> using coda2 on mac
429: [10:34:00] <ocm> not bad here :) thnx
430: [10:34:00] <r3v3rb> ajshort: ^^
431: [10:34:00] <ajshort> don't know it
432: [10:34:00] <ajshort> but just look at the source code for the docs
433: [10:35:00] <ajshort> (in your site)
434: [10:35:00] <nimeso> I wanna clone ajshort
435: [10:35:00] <ajshort> r3v3rb: why? surely you already have a copy of framework
436: [10:35:00] <r3v3rb> ok, ajshort cloning github now :D
437: [10:36:00] <ajshort> r3v3rb: what version are you using? it should
438: [10:36:00] <r3v3rb> framework didn't contain the docs folder
439: [10:36:00] <nimeso> on what link ocm?
440: [10:36:00] <nimeso> really!!!! :)
441: [10:36:00] <ocm> in ie8 now without any errors or anything
442: [10:36:00] <r3v3rb> ajshort: ^^
443: [10:36:00] <ajshort> although maybe if you're using the archive version it's removed
444: [10:36:00] <r3v3rb> in 3.1.0 beta2
445: [10:36:00] <ocm> nimeso what errosr should I look for in the cms?
446: [10:37:00] <ajshort> nimeso: that way i could be twice as unproductive!
447: [10:37:00] <r3v3rb> right time to fly… costing me a fortune… bbl
448: [10:37:00] <ocm> eencircletest2
449: [10:37:00] <nimeso> Hmmm... yer... def fails in real IE
450: [10:37:00] <nimeso> Try clicking on a page to edit.... it loads fine but F$%ks up
451: [10:37:00] <ocm> could use browserstack if you like me to
452: [10:37:00] <ocm> http://my-debugbar.com/wiki/IETester/HomePage is my testing tool
453: [10:38:00] <ocm> nimeso, check about us on thte encircletest2
454: [10:38:00] * r3v3rb quit (Quit: r3v3rb)
455: [10:38:00] <r3v3rb> thanks ajshort
456: [10:38:00] <ocm> just works like it should
457: [10:38:00] <ocm> ;)
458: [10:38:00] <nimeso> By r3
459: [10:39:00] <nimeso> Crazy... dude... I have had 4 people test (inc myself) and none of us can load a page to edit in IE
460: [10:39:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
461: [10:39:00] <ocm> or maybe I am not testing good enough :P give me something to look at
462: [10:40:00] <nimeso> just tested encircle2 on two systems here just then and both fail
463: [10:40:00] <ocm> let me check in native IE 7 - 8 in browserstack
464: [10:40:00] <ocm> seriously?
465: [10:40:00] <ocm> on win xp
466: [10:40:00] <ocm> hang on
467: [10:41:00] <nimeso> yip... I'm on XP
468: [10:41:00] <nimeso> and win 7
469: [10:41:00] <nimeso> lol... know how ya feel Zauber
470: [10:41:00] <nimeso> Thanks heaps ocm... u in NZ?
471: [10:41:00] <Zauberfisch> nimeso sorry, I am booked 24/7 for the next 2 weeks
472: [10:41:00] <nimeso> Thanks heaps for a reply thou... your always so helpful :)
473: [10:42:00] <nimeso> ok... weird
474: [10:42:00] <ocm> its a native ie7 browser, want me to try ie8 too?
475: [10:42:00] * feejin has joined #silverstripe
476: [10:42:00] * feejin quit (Remote host closed the connection)
477: [10:42:00] <ocm> on circletest2
478: [10:42:00] <ocm> no problems here still
479: [10:43:00] <nimeso> yes ocm, that would be great man... email nimeso@gmail.com and send me the invoice :)
480: [10:44:00] <ocm> haha, well maybe you should invite me to NZ and get me drunk
481: [10:44:00] <ocm> if I will ever make it that far
482: [10:44:00] <nimeso> lol... for sure! if we ever stop working!
483: [10:44:00] <nimeso> lol
484: [10:44:00] <ocm> haha
485: [10:45:00] <ocm> a lovely place
486: [10:45:00] <nimeso> Nice!
487: [10:45:00] <ocm> meh, hardly
488: [10:45:00] <nimeso> where are you ocm?
489: [10:45:00] <nimeso> what part of world?
490: [10:45:00] <ocm> netherlands
491: [10:45:00] <ocm> indeed
492: [10:46:00] <ocm> no problems on ie8 neither, running from xp
493: [10:46:00] <ocm> haha
494: [10:46:00] <nimeso> I'll get you more than drunk if ya ever get here! haha
495: [10:48:00] <nimeso> Char: 5
496: [10:48:00] <ocm> http://vizualise-alb-vps01.digiweb.net.nz/~vizstage/encircletest2/about-us
497: [10:48:00] <ocm> 3 tests, 3 without any problems
498: [10:48:00] <ocm> what kidn of errormsg do you get?
499: [10:48:00] <nimeso> ok... I will shut the hell up and tell the client they are just stupid for using IE... lol... thanks heaps for testing it for me ocm. I'll leave you alone now and try and get some sleep. Will have a good look again in the morning.
500: [10:48:00] <nimeso> ....
501: [10:48:00] <nimeso> Webpage error details
502: [10:48:00] <nimeso> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0C; .NET4.0E; Tablet PC 2.0)
503: [10:48:00] <nimeso> Timestamp: Wed, 27 Mar 2013 10:48:18 UTC
504: [10:48:00] <nimeso> Message: Object doesn't support this property or method
505: [10:48:00] <nimeso> Line: 177
506: [10:48:00] <nimeso> Char: 5
507: [10:48:00] <nimeso> Code: 0
508: [10:48:00] <nimeso> URI: http://vizualise-alb-vps01.digiweb.net.nz/~vizstage/encircletest2/sapphire/javascript/core/jquery.ondemand.js?m=1354705722
509: [10:48:00] <nimeso> Message: Object doesn't support this property or method
510: [10:48:00] <nimeso> Line: 177
511: [10:48:00] <nimeso> Code: 0
512: [10:48:00] <nimeso> URI: http://vizualise-alb-vps01.digiweb.net.nz/~vizstage/encircletest2/sapphire/javascript/core/jquery.ondemand.js?m=1354705722
513: [10:48:00] <nimeso> Message: Object doesn't support this property or method
514: [10:49:00] <ocm> strange :/
515: [10:49:00] <nimeso> also get errors with base.js sometimes
516: [10:49:00] <nimeso> I have looked over the forums all day and most people say it's a php version issue but 2.4.10 should fix it.
517: [10:50:00] <nimeso> yes... indeed
518: [10:51:00] <ocm> if I find some time later on today or tonight I can do some more extensive testing if you like
519: [10:52:00] <ocm> nah its fine :) I always get curious about errors
520: [10:52:00] <nimeso> bee... haha
521: [10:52:00] <nimeso> beer *
522: [10:52:00] <nimeso> Done deal... will ship them over! we have good bee in NZ :)
523: [10:52:00] <ocm> hi g4b0
524: [10:52:00] <g4b0> hi all
525: [10:52:00] * g4b0 has joined #silverstripe
526: [10:52:00] <ocm> and a ticket to NZ
527: [10:52:00] <nimeso> same!
528: [10:52:00] <nimeso> ok ocm! that would be great man. The client is happy to pay for 1-2 hours of your time :)
529: [10:52:00] <ocm> though I wont refuse the offered pints
530: [10:53:00] <nimeso> vodka!
531: [10:53:00] <nimeso> well... not gonna go that far.... na, no good whiskie
532: [10:53:00] <ocm> I am a whisky lover, beer is just to get drunk and stupid
533: [10:53:00] <ocm> no good whiskies in NZ? :P
534: [10:53:00] <ocm> better as the dutch beers?
535: [10:53:00] <ocm> haha, do you?
536: [10:53:00] <nimeso> lol
537: [10:53:00] <ocm> do I look russian to you?
538: [10:54:00] <ocm> :D
539: [10:54:00] <nimeso> right man, really do need sleep. been trying to fix this IE issue since 9am (14 hours or so)... zzzzzzzzzzz
540: [10:55:00] <ocm> google.com/chrome
541: [10:55:00] <g4b0> how can I translate *ALL* my pages in another language, using translatable?
542: [10:55:00] <ocm> :D
543: [10:55:00] <ivoba> hey, has someone a good config setup for testing mails locally?
544: [10:55:00] <g4b0> Do I have to create pages one by one?
545: [10:56:00] * nimeso quit ()
546: [10:57:00] * Error404NotFound has joined #silverstripe
547: [10:58:00] <ocm> g4b0, siteconfig > translatable
548: [10:59:00] <ocm> you can set translations there, though not sure if it creates a translatable page for all existing pages
549: [10:59:00] * Err404NotFound quit (Ping timeout: 264 seconds)
550: [10:59:00] * nimeso has joined #silverstripe
551: [11:00:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
552: [11:00:00] * nimeso quit (Client Quit)
553: [11:01:00] * Err404NotFound has joined #silverstripe
554: [11:01:00] * Error404NotFound quit (Disconnected by services)
555: [11:01:00] * feejin quit (Remote host closed the connection)
556: [11:02:00] * feejin has joined #silverstripe
557: [11:03:00] <spronk> nimeso's stuff doesn't give me any errors in ie8 on xp x86
558: [11:03:00] <spronk> hmm
559: [11:05:00] <g4b0> ocm: it doesn't...
560: [11:07:00] * travis-ci has joined #silverstripe
561: [11:07:00] * travis-ci has joined #silverstripe
562: [11:07:00] <travis-ci> [travis-ci] chillu/sapphire#105 (pulls/theme-enabled - bfc2edb : Ingo Schommer): The build failed.
563: [11:07:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/commit/bfc2edb36f25
564: [11:07:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/5835539
565: [11:07:00] * travis-ci has left #silverstripe
566: [11:07:00] * travis-ci has left #silverstripe
567: [11:07:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5835560
568: [11:07:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/f73a5c68f303...18201c05afb1
569: [11:07:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#299 (3.1 - 18201c0 : Ingo Schommer): The build passed.
570: [11:08:00] * Zauberfisch quit (Read error: Connection reset by peer)
571: [11:08:00] * Zauberfisch_ has joined #silverstripe
572: [11:14:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/8dbdb0040013...ccb0155b8f65
573: [11:14:00] * travis-ci has left #silverstripe
574: [11:14:00] * travis-ci has joined #silverstripe
575: [11:14:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5835722
576: [11:14:00] <travis-ci> [travis-ci] silverstripe/sapphire#1798 (3.1 - ccb0155 : Ingo Schommer): The build passed.
577: [11:23:00] * travis-ci has left #silverstripe
578: [11:23:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/5835939
579: [11:23:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/8eb38403254a...51c00e33e667
580: [11:23:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#301 (master - 51c00e3 : Ingo Schommer): The build was fixed.
581: [11:23:00] * travis-ci has joined #silverstripe
582: [11:53:00] * howardgrigg has joined #silverstripe
583: [11:54:00] * Error404NotFound has joined #silverstripe
584: [11:55:00] * r3v3rb has joined #silverstripe
585: [11:56:00] * Error404NotFound quit (Max SendQ exceeded)
586: [11:56:00] * r3v3rb has left #silverstripe
587: [11:57:00] * Err404NotFound quit (Ping timeout: 248 seconds)
588: [11:57:00] * r3v3rb has joined #silverstripe
589: [11:57:00] * Error404NotFound has joined #silverstripe
590: [11:57:00] <r3v3rb> I have a controller class extending controller
591: [11:57:00] <r3v3rb> anyone played with controllers and just the framework in 3.1.0 beta2
592: [11:58:00] <r3v3rb> but calling a control/action?debug_request=1 in the browser always shows a NULL in the $Action
593: [11:58:00] <r3v3rb> and setup routes.yml
594: [11:59:00] <kinglozzer> r3v3rb: Done a flush?
595: [11:59:00] <r3v3rb> and shows the $Action in the debug request
596: [11:59:00] <r3v3rb> if I do the same in 2.4 obviously without the YML it works perfectly
597: [12:00:00] <kinglozzer> Copy the routes from the cms module? :P
598: [12:00:00] <kinglozzer> I don't know then :/ haven't used just the framework yet
599: [12:00:00] <r3v3rb> very frustrating :\
600: [12:00:00] <r3v3rb> kinglozzer: yes, both auto ?flush=all and a manual deletion of silverstripe-cache
601: [12:00:00] <r3v3rb> and also done dev/build too
602: [12:01:00] <r3v3rb> been reading this: docs/framework/en/topics/controller
603: [12:01:00] <r3v3rb> kinglozzer: from the docs they shouldn't be necessary
604: [12:01:00] <kinglozzer> r3b3rb: Yeah I just mean copy them and check if it's working, then work back towards your routes to see if/where it's breaking
605: [12:05:00] <r3v3rb> hmm, I'll try it and see
606: [12:05:00] <r3v3rb> bbl
607: [12:05:00] * r3v3rb quit (Quit: r3v3rb)
608: [12:11:00] <kinglozzer> chillu: Is there a list of statics that can be set in config.yml now? Or a way of telling what the statics translate to when using YAML? E.g. the Email static is called $admin_email_address, but the YAML file (in upgrade docs) says use admin_email
609: [12:11:00] <kinglozzer> Or is the best way to do it to set the deprecation level to 3.2 and just let it tell me?
610: [12:11:00] * UndefinedOffset has joined #silverstripe
611: [12:17:00] * Error404NotFound quit (Ping timeout: 246 seconds)
612: [12:28:00] * ss23 quit (Remote host closed the connection)
613: [12:31:00] * Error404NotFound has joined #silverstripe
614: [12:34:00] * Kapdap quit (Remote host closed the connection)
615: [12:39:00] <chillu> kinglozzer: everything marked with @config in its docblock
616: [12:41:00] <chillu> Email::$admin_email_address was an oversight, I've just fixed that
617: [12:42:00] * guci0 quit (Ping timeout: 245 seconds)
618: [12:47:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5837478
619: [12:47:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ccb0155b8f65...3a911ebb00a1
620: [12:47:00] * travis-ci has joined #silverstripe
621: [12:47:00] * travis-ci has left #silverstripe
622: [12:47:00] <travis-ci> [travis-ci] silverstripe/sapphire#1800 (3.1 - 3a911eb : Ingo Schommer): The build passed.
623: [12:51:00] * Guits quit (Read error: Connection reset by peer)
624: [12:55:00] * ss23 has joined #silverstripe
625: [12:58:00] <howardgrigg> hey simon_w what the best internet provider for heavy users in NZ atm?
626: [12:59:00] <ss23> howardgrigg: How heavy?
627: [12:59:00] <spronk> snap
628: [13:00:00] <ss23> Be more specific
629: [13:00:00] <ss23> If I was getting new internet, I would first look at fibre if its in your city, then cable I guess
630: [13:00:00] <ss23> Probably not going to matter too much then *shrug*
631: [13:00:00] <howardgrigg> lol yea about 100-200 gb
632: [13:00:00] <ss23> Slingshot is the only one with unlimited currently iirc
633: [13:00:00] <howardgrigg> nerd heavy
634: [13:00:00] <ss23> 1TB a month, or 100GB a month?
635: [13:01:00] <howardgrigg> ah yea - will check it out
636: [13:04:00] <howardgrigg> cheers
637: [13:14:00] <Zauberfisch_> in austria you have to search hard for one that is not flatrate
638: [13:14:00] <Zauberfisch_> ss23 howardgrigg there is only one with flatrate?
639: [13:14:00] <ss23> Zauberfisch_: You don't don't have a single cable providing all of your international bandwidth thats owned by a select few companies :P
640: [13:14:00] <howardgrigg> yea - the main issue is lack of connections out of the country
641: [13:14:00] <Zauberfisch_> :O
642: [13:15:00] <ss23> yeah, what howardgrigg said!
643: [13:15:00] <kinglozzer> Ah cool, thanks chillu
644: [13:15:00] <ss23> (Or something, I know we have more, but southern cross is where we get most of it or w/e)
645: [13:15:00] <ss23> Lets hope Kim Dotcom funds that Pacific Fibure thing for us :P
646: [13:15:00] <chillu> kinglozzer: Unfortunately apigen (api.ss.org) doesn't support listing custom docblock tags, otherwise we'd have a neat overview of them already
647: [13:17:00] * ivoba quit (Ping timeout: 264 seconds)
648: [13:20:00] <Zauberfisch_> how expensive is it?
649: [13:20:00] <Zauberfisch_> howardgrigg ss23 ah, true, good point
650: [13:21:00] <Zauberfisch_> well, its kind of the same price in austria (but then full cable TV is included)
651: [13:21:00] <Zauberfisch_> and the speed is 100Mbit/s
652: [13:21:00] <howardgrigg> most high usage plans are around $100
653: [13:21:00] <howardgrigg> the only unlimited plan is $88 a month
654: [13:22:00] <g4b0> define('ZK_CONTACT_FORM_ICON', ZK_CONTACT_FORM . '/images/message.png');
655: [13:22:00] <g4b0> in a module inside _config.php
656: [13:22:00] <g4b0> I have
657: [13:22:00] <g4b0> I'm a little bit confused by the configuration process
658: [13:22:00] <g4b0> define('ZK_CONTACT_FORM', basename(dirname(__FILE__)));
659: [13:23:00] <Zauberfisch_> ss23 speed?
660: [13:23:00] <ss23> Zauberfisch_: Unlimited, whatever your line syncs at
661: [13:23:00] <g4b0> I get: PHP Notice: Use of undefined constant ZK_CONTACT_FORM_ICON - assumed 'ZK_CONTACT_FORM_ICON'
662: [13:23:00] <ss23> $90 NZD (58.80 Euroes) for unlimited naked with slingshot
663: [13:23:00] <g4b0> inside a ModelAdmin
664: [13:23:00] <g4b0> I have: static $menu_icon = ZK_CONTACT_FORM_ICON;
665: [13:24:00] <ss23> I can't check :<
666: [13:24:00] <ss23> Zauberfisch_: For reference, I'm in an urban area and I sync at
667: [13:24:00] * ss23 checks
668: [13:41:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/5838803
669: [13:41:00] * travis-ci has joined #silverstripe
670: [13:41:00] * travis-ci has left #silverstripe
671: [13:41:00] <travis-ci> [travis-ci] chillu/sapphire#106 (pulls/theme-enabled - 9e84d26 : Ingo Schommer): The build was fixed.
672: [13:41:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/bfc2edb36f25...9e84d2627055
673: [13:42:00] * Zauberfisch has joined #silverstripe
674: [13:46:00] * Zauberfisch_ quit (Ping timeout: 240 seconds)
675: [13:47:00] * howardgrigg has joined #silverstripe
676: [13:47:00] * howardgrigg quit (Remote host closed the connection)
677: [13:49:00] * Zauberfisch quit (Read error: Connection reset by peer)
678: [13:49:00] * Zauberfisch_ has joined #silverstripe
679: [13:49:00] * Zauberfisch has joined #silverstripe
680: [13:49:00] * Zauberfisch__ has joined #silverstripe
681: [13:51:00] * howardgrigg quit (Ping timeout: 240 seconds)
682: [13:52:00] * Zauberfisch___ has joined #silverstripe
683: [13:53:00] * Zauberfisch_ quit (Ping timeout: 240 seconds)
684: [13:53:00] * Zauberfisch__ quit (Ping timeout: 240 seconds)
685: [13:53:00] * Zauberfisch_ has joined #silverstripe
686: [13:56:00] * Zauberfisch quit (Ping timeout: 272 seconds)
687: [13:58:00] * Zauberfisch___ quit (Ping timeout: 272 seconds)
688: [14:04:00] * Error404NotFound quit (Disconnected by services)
689: [14:04:00] * Err404NotFound has joined #silverstripe
690: [14:07:00] <g4b0> how to void a FIledList during updateCMSFields?
691: [14:07:00] <g4b0> is not working...
692: [14:07:00] <g4b0> $fields = new FieldList();
693: [14:08:00] * Zauberfisch has joined #silverstripe
694: [14:09:00] * Zauberfisch_ quit (Read error: Connection reset by peer)
695: [14:09:00] * Zauberfisch quit (Read error: Connection reset by peer)
696: [14:17:00] * ivoba has joined #silverstripe
697: [14:19:00] <g4b0> chillu: there was some working on updateCMSFields in the last days?
698: [14:20:00] <ss23> g4b0: Check the commit logs!
699: [14:20:00] <g4b0> just checked
700: [14:20:00] <ss23> g4b0: https://github.com/silverstripe/sapphire/commits/3.0 :D
701: [14:21:00] <g4b0> ok, thanks
702: [14:21:00] <g4b0> it seems nothing happened to updateCMSFields
703: [14:21:00] <g4b0> but translatable-dataobject is not working anymore
704: [14:21:00] <g4b0> and it was working with SS 3.1.0-beta2
705: [14:21:00] <chillu> in 3.1? Ask lx-berlin
706: [14:22:00] <lx-berlin> what ? :)
707: [14:22:00] <lx-berlin> i made some changes to this module. But now i am again working with 3.0
708: [14:22:00] <g4b0> lx-berlin: there was some working on updateCMSFields in the last days?
709: [14:23:00] <g4b0> updateCMSFields is not working anymore...
710: [14:23:00] <g4b0> https://github.com/bummzack/translatable-dataobject/blob/ss310/code/extensions/TranslatableDataObject.php
711: [14:23:00] <g4b0> mmm
712: [14:24:00] <lx-berlin> i am trying to build a "TranslatableDataObjectAsPage" as a mixture of "TranslatableDataObject" and "DataObjectAsPage". But really messy at the moment
713: [14:24:00] <g4b0> it seems that $fields = new FieldList();
714: [14:24:00] <g4b0> does not void the FieldList
715: [14:25:00] <g4b0> TranslatableDataObject was working with 3.1.0-beta2
716: [14:27:00] <lx-berlin> really? i had some problems with it. It started with replacing "extends Extension" with "extends DataExtension"
717: [14:27:00] <g4b0> you need to download the ss310 branch
718: [14:28:00] <g4b0> the master branch is just working with 3.0, I think...
719: [14:28:00] <lx-berlin> i think i am speaking of a different module ?! https://github.com/unclecheese/TranslatableDataObject/
720: [14:28:00] <g4b0> yep
721: [14:29:00] <lx-berlin> damn, maybe this one is better ?!
722: [14:29:00] <g4b0> differente module :0
723: [14:29:00] <lx-berlin> hmm
724: [14:29:00] <lx-berlin> i didnt know yours
725: [14:29:00] <g4b0> try checking that one: https://github.com/bummzack/translatable-dataobject
726: [14:29:00] <g4b0> it's not mine, I'm just a contributor :)
727: [14:29:00] <g4b0> off course
728: [14:29:00] <lx-berlin> argh
729: [14:29:00] <g4b0> UncleCheese module is outdated
730: [14:29:00] <g4b0> this one is better
731: [14:29:00] <lx-berlin> i noticed this too :)
732: [14:30:00] <lx-berlin> f...
733: [14:30:00] <g4b0> and was working fine since some days ago
734: [14:30:00] <g4b0> but it's still working...
735: [14:30:00] <g4b0> now it has a bug into updateCMSFields
736: [14:31:00] <g4b0> maybe you can find the bug :)
737: [14:31:00] <g4b0> it just doesn't filter original language whene editing another language
738: [14:32:00] <g4b0> :)
739: [14:32:00] <g4b0> ok :0
740: [14:32:00] <lx-berlin> sorry, there so much work for me right now... also i dont want to switch the module anymore for this project
741: [14:32:00] <g4b0> my keyboard is going...
742: [14:32:00] <lx-berlin> ok
743: [14:32:00] <g4b0> if you want to try it don't forget to manually merge this https://github.com/bummzack/translatable-dataobject/pull/5
744: [14:34:00] <kinglozzer> Which is seen as better: $field = TextField::create('Tel', 'Telephone'); or $field = new TextField('Tel', 'Telephone');?
745: [14:34:00] <kinglozzer> The first one allows method chaining on the same line, but I prefer the second one. I'm torn :P
746: [14:37:00] <lx-berlin> good question.
747: [14:38:00] * UndefinedOffset quit (Quit: Leaving.)
748: [14:40:00] * waveydave quit (Ping timeout: 264 seconds)
749: [14:46:00] <kinglozzer> chillu: Trying to install googlesitemaps module with composer and 3.1 github branch, but "silverstripe/googlesitemaps": "dev-master" doesn't include your commits yesterday. Do you need to update it on packagist manually or am I doing something wrong?
750: [14:47:00] <chillu> It needed a force update on packagist. Try again in a minute or so when the packagist caches have updated
751: [14:47:00] <kinglozzer> Okay thanks :)
752: [14:49:00] <kinglozzer> Yep that did it, thanks chillu
753: [14:50:00] <chillu> g4b0 I've also pinged bummzack on getting translatableobject onto packagist/composer :) https://github.com/bummzack/translatable-dataobject/issues/7
754: [14:56:00] <g4b0> now I need to begin studying how to deal with packagist/composer :)
755: [14:59:00] * Shrike_Finland quit (Quit: Leaving.)
756: [15:00:00] <ARNHOE_> chillu: probably a stupid question, but the newly added add_extension Chillu::add_extension('Please-Answer-My-Stupid-Question); this won't work in 3.0 right?
757: [15:01:00] <feejin> gb40 composer is magic
758: [15:02:00] <chillu> ARNHOE_: No, although it'll be straightfoward to backport. In the end, the preferred way is through YAML config now (which also works in 3.0 already), so that's how you'd make any modules 3.0 and 3.1 compatible at the same time
759: [15:03:00] <kinglozzer> chillu: I have an extension to Text class that added nl2br, not working now I've switched to 3.1, is casting to blame? I tried adding private static $casting to my extension but no joy :*
760: [15:03:00] <kinglozzer> :(
761: [15:03:00] <ARNHOE_> oke, thanks
762: [15:04:00] <chillu> code?
763: [15:04:00] * UndefinedOffset has joined #silverstripe
764: [15:05:00] <kinglozzer> chillu http://pastie.org/7138475
765: [15:05:00] <kinglozzer> That's the casting I tried
766: [15:07:00] <kinglozzer> Hrmm, even if I do return 'test'; it doesn't work.
767: [15:08:00] <kinglozzer> Maybe I've messed up my config.yml
768: [15:10:00] <chillu> Hm sorry that's to time intensive to track down for me at the moment. I can't see anything obviously wrong with that code
769: [15:14:00] <kinglozzer> No problem chillu, can you just tell me if this is the correct way to add an extension in config.yml? http://pastie.org/7138575
770: [15:15:00] <chillu> I *think* that notation works as well. It's a YAML list/array, which gets merged. But we normally use the "dashed list" YAML notation. \s\s\s\s-\sTextExtension
771: [15:17:00] <ARNHOE_> chillu: A question in 3.1, the URL Segment is clickable. Isn't this like that worth using in 3.0?
772: [15:18:00] <chillu> By that argumentation, a lot of things are "worth using in 3.0". But every addition has the potential for side effects, and we opt for stability on an already released branch like 3.0
773: [15:19:00] * travis-ci has joined #silverstripe
774: [15:19:00] <travis-ci> [travis-ci] silverstripe/sapphire#1802 (3.1 - 373da53 : Ingo Schommer): The build passed.
775: [15:19:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3a911ebb00a1...373da5382657
776: [15:19:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5841656
777: [15:19:00] * travis-ci has left #silverstripe
778: [15:20:00] <ARNHOE_> oke, was just wondering
779: [15:21:00] <kinglozzer> Hmm. I don't think it's adding my extension :(
780: [15:26:00] <kinglozzer> Ah, I've got it working chillu :) my config.yml had one too many "---"s. I thought they were just for decoration/structure :P
781: [15:26:00] <chillu> They're "blocks". It shoudl complain if there's an unmatched amount of those.
782: [15:27:00] <chillu> Aaah, I see - the first block is counted as a "header" for metadata, as opposed to configuration. Maybe we need to whitelist what's allowed to be placed in there to avoid errors like these
783: [15:27:00] <chillu> Its technically a correct structure
784: [15:29:00] <kinglozzer> Yeah I've never used YAML before so I'd no idea, I did eventually get the error message, but I had a --- after each array of extensions at first >.<
785: [15:33:00] <ARNHOE_> can I set setDefaultAdmin in config.yml ?
786: [15:35:00] * catcher has joined #silverstripe
787: [15:37:00] <ARNHOE_> chillu: this should work right for defaultadmin? http://sspaste.com/paste/show/51531235d0064
788: [15:39:00] <chillu> defaultadmin isn't configurable yet, as you can see by the missing @config in its docblock
789: [15:40:00] <chillu> I think it should be, but it'd be the first configuration setting which actually contains sensitive info. So its very important that devs upgrade their sites properly, and ensure YAML web access is denied.
790: [15:43:00] <ARNHOE_> oke, is there some kind of error handling where it says that default_username isn't available for example?
791: [15:44:00] * peter_ss quit (Quit: Leaving.)
792: [15:45:00] * peter_ss has joined #silverstripe
793: [15:46:00] * peter_ss has left #silverstripe
794: [15:50:00] <chillu> No, since we don't require a 1:1 mapping between statics and config vars (although its encouraged). So in the end, any key-value pair can be a valid configuration setting.
795: [15:55:00] <kinglozzer> chillu: With LeftAndMain::require_javascript(), the Config::inst()->update() after the deprecation notice isn't working. If I add two files, one after the other with it, only the second gets added, I think it's overwriting the array each time. Just need to work out how to add LeftAndMain::require_javascript() with config.yml now
796: [15:55:00] <chillu> code?
797: [15:59:00] <kinglozzer> http://pastie.org/7139134
798: [15:59:00] <kinglozzer> In either order, only the second one gets added
799: [16:00:00] <kinglozzer> Unless Config->update() just appends stuff
800: [16:00:00] * sakhinetivenkat has joined #silverstripe
801: [16:00:00] <kinglozzer> I wonder if it's this https://github.com/silverstripe/sapphire/blob/3.1/admin/code/LeftAndMain.php#L1607 that's causing it
802: [16:03:00] * ARNHOE_ quit (Ping timeout: 248 seconds)
803: [16:04:00] <sakhinetivenkat> Hai, I have problem with installing "Silverstripe" . It shows "date.timezone option in php.ini must be set correctly" though I uncommented the ";date.timezone = Asia/Calcutta" .
804: [16:05:00] <sakhinetivenkat> ?
805: [16:05:00] <kinglozzer> sakhinetivenkat: Have you restarted apache?
806: [16:05:00] <feejin> Is it reading the php.ini?
807: [16:05:00] <feejin> Is the value being overridden? phpinfo() it
808: [16:05:00] <sakhinetivenkat> yeah
809: [16:05:00] <sakhinetivenkat> Can any one help me
810: [16:06:00] * Err404NotFound quit (Ping timeout: 245 seconds)
811: [16:08:00] * Err404NotFound quit (Read error: Connection reset by peer)
812: [16:08:00] * Err404NotFound has joined #silverstripe
813: [16:09:00] <sakhinetivenkat> " Is the value being overridden? phpinfo() it" -> In phpinfo() it shows only the " Default timezone Asia/Calcutta "
814: [16:09:00] * Shrike_Finland has joined #silverstripe
815: [16:11:00] <feejin> Is this during the install process? If so, can you install it anyway and see if it works afterwards?
816: [16:11:00] <feejin> I've had this before but it showed the same error in phpinfo() as it did with Silverstripe
817: [16:12:00] <sakhinetivenkat> during the installation proccess
818: [16:20:00] * sakhinetivenkat quit (Quit: Page closed)
819: [16:20:00] <feejin> Does it let you install it anyway? If so just ignore it then try and see if you can fix it after.
820: [16:24:00] * Malinuss has joined #silverstripe
821: [16:25:00] * sakhinetivenkat has joined #silverstripe
822: [16:25:00] * Malinuss has left #silverstripe
823: [16:28:00] * Shrike_Finland quit (Quit: Leaving.)
824: [16:41:00] <g4b0> chillu: do you think that http://open.silverstripe.org/ticket/8347 should have a 3.1.0-rc1 milestone?
825: [16:42:00] <g4b0> yep :)
826: [16:42:00] <ss23> g4b0: Looks like the kind of issue to be fixed very soon
827: [16:43:00] <g4b0> but I don't know where to start fixing it..
828: [16:45:00] * guci0 has joined #silverstripe
829: [16:45:00] <g4b0> maybe yes...
830: [16:45:00] * Nivery has joined #silverstripe
831: [16:45:00] <ss23> g4b0: Did you read the post on the mailing list about public/private? Those kinds of migration documents are likely a good point to start -- probably someone just forgot to switch an accessor / visilibity thing
832: [16:46:00] <g4b0> Let's have a look
833: [16:48:00] <kinglozzer> Aha! Finally sorted my YAML config :D
834: [16:49:00] <ss23> Nice, kinglozzer! :D
835: [16:52:00] <kinglozzer> The LeftAndMain requirements YAML config needs to be an associative array like: 'path/to/file.js': null, rather than just a regular array
836: [16:53:00] <g4b0> ss23: solved :)
837: [16:53:00] <g4b0> https://github.com/silverstripe/sapphire/pull/1341
838: [16:54:00] <ss23> g4b0: Nice work :D
839: [16:55:00] <g4b0> it was easyer than I was thinking :)
840: [16:55:00] <ss23> :D
841: [16:55:00] <ss23> Indeed, sometimes it is!
842: [16:59:00] * g4b0 quit (Quit: Sto andando via)
843: [17:00:00] * Shrike_Finland has joined #silverstripe
844: [17:01:00] <catcher> does <% with DL.DO %> constitute two template scope changes?
845: [17:01:00] <catcher> I'm finding the need for $Up.Up.Method when I'd expect one to do the trick.
846: [17:05:00] * Delyk has joined #silverstripe
847: [17:07:00] * Nivery quit (Quit: Nivery)
848: [17:09:00] * svandragt quit (Ping timeout: 272 seconds)
849: [17:10:00] <Delyk> Attempt #1 was to try to mess with Div's in the main TinyMCE editor, and it's incredibly ugly
850: [17:10:00] <Delyk> Hey all, longtime DotNetNuke user attempting to learn SilverStripe. I have a small site setup at http://www.davidelyk.com I am attempting a 2 Column Layout with a main body and a right side "links" col
851: [17:11:00] <ss23> Is the links specific to each page, you want a common "Links" bar you can use over the entire site? Also, have you completed all the tutorials, Delyk?
852: [17:11:00] <Delyk> Looking for a pointer or two. Do I create a Template with the two columns?
853: [17:12:00] <ss23> Delyk: Depends on what the "Links" are. You want to be able to customize it in the CMS, right? But is it per-page, or per-site, or you want to have more than one set of Links you can specify which one to use on each page, or what?
854: [17:12:00] <ss23> I would make an Extension and apply it to Page, and make a new tab for each page that has a Links section
855: [17:12:00] <Delyk> links will be custom per-page
856: [17:12:00] <ss23> Hmm
857: [17:12:00] <ss23> What are your requirements!
858: [17:12:00] <Delyk> links will be diffrent for each page, yes i completed the tutorials, but they don't cover my questions
859: [17:13:00] <Delyk> ok, writing that down, so i can figure out what it means :-)
860: [17:13:00] <ss23> haha
861: [17:13:00] <ss23> Ah, looks like there isn't!
862: [17:13:00] <ss23> I thought there was a tutorial on extensions
863: [17:13:00] <Delyk> i just want to be able to create some content in each page, with a two column or 3 column layout
864: [17:14:00] <ss23> feejin: He said every page though
865: [17:14:00] <ss23> Did you mean *every* page, or you want to be able to pick a page that has this behaviour, Delyk?
866: [17:14:00] <ss23> Delyk: Basically, an "extension" is just like... if you kind of modified the PAge class yourself. So have your Extension have fields like "Links Bar" or "Other Bar", then have it overide the "updateCMSLinks" and have it 'inject' a tab into the CMS for each of the fields you want
867: [17:14:00] <ss23> wait
868: [17:14:00] <feejin> You could just make a page type for 2 and 3 cols
869: [17:15:00] <feejin> Then add an extra HTMLEditorField to power the right hand column
870: [17:15:00] <ss23> Delyk: If every page ever, use the extension, but if only some pages (And you want to be able to pick, 2 or 3 colums), make a new page type for each
871: [17:15:00] <Delyk> so if i have a new page type with 3 coloumns, how do i edit each coloumn?
872: [17:16:00] <ss23> Delyk: in the getCMSFields stuff, just add a new field for each of the "columns"
873: [17:16:00] <catcher> and $db
874: [17:17:00] <feejin> This tutorial covers what you'll need - http://doc.silverstripe.org/framework/en/tutorials/2-extending-a-basic-site
875: [17:18:00] <ss23> Yeah, I can't think of anything thats not covered if you've done all the tutorials, Delyk
876: [17:18:00] <Delyk> K, thanks for the replyes ss23, and feejin, and catcher. I'll mess around a little more, and capture this screen to work through it.
877: [17:19:00] <Delyk> Looking like its all over my head. Guessing DotNetNuke rotted my brain.
878: [17:19:00] <Delyk> Might check out Statamic, see if its any easier for me
879: [17:19:00] * lx-berlin has left #silverstripe
880: [17:21:00] * socks has joined #silverstripe
881: [17:23:00] * kinglozzer quit (Remote host closed the connection)
882: [17:25:00] * ocm quit (Quit: HydraIRC -> http://www.hydrairc.com <- \o/)
883: [17:26:00] * feejin quit (Remote host closed the connection)
884: [17:26:00] * FrozenFire fights with Config
885: [17:27:00] <ss23> too mcuh of a good thing
886: [17:27:00] * ss23 fights with finishing a once over of all the silverstripe modules
887: [17:27:00] <ss23> I'm getting bored. At a certain point, finding more sqli is losing its fun :<
888: [17:27:00] <ss23> I haven't turned my PC off in 3 days, which I normally do, since I have tabs open for the modules I haven't checked yet...
889: [17:27:00] <FrozenFire> Heh. I couldn't stand to do so much of that.
890: [17:28:00] <ss23> I'm hoping it'll motivate me to just get it done
891: [17:29:00] <FrozenFire> https://github.com/silverstripe/sapphire/commit/3334eafcb1c42b917dcafe46d87ea32f2b1014b8 I'm growing to hate this commit
892: [17:31:00] * Delyk quit (Quit: Page closed)
893: [17:31:00] <FrozenFire> Breaking every fucking config file I have
894: [17:34:00] <FrozenFire> Among other things
895: [17:35:00] <ss23> Directionless anger gets you nowhere!
896: [17:36:00] <FrozenFire> It's cathartic.
897: [17:36:00] <ss23> lol, I see XD
898: [17:40:00] <FrozenFire> Is there a simple way to make a TextField hidden, without copying all of its shit?
899: [17:41:00] * ivoba quit (Quit: Leaving)
900: [17:49:00] <FrozenFire> What I'm wanting to do is fairly simple, and I can accomplish it elsewise, but thanks.
901: [17:49:00] <UndefinedOffset> FrozenFire could try unclechease's display logic module unless i'm missing what your wanting to do (which is very possible) https://github.com/unclecheese/silverstripe-display-logic
902: [17:50:00] <FrozenFire> Basically just wanted to take an existing TextField in a FieldList and make it a HiddenField with the same name and value.
903: [17:50:00] <FrozenFire> Ended up having to copy stuff over, but whatever.
904: [17:50:00] <UndefinedOffset> ah
905: [17:51:00] <UndefinedOffset> then you only have to use one line :)
906: [17:51:00] <UndefinedOffset> well you could also use FieldList::replaceField()
907: [17:51:00] <UndefinedOffset> instead of duplicating a bunch of other code
908: [17:52:00] <FrozenFire> Yeah. It was essentially just foreach(array(fieldnames) as $fieldName) { $existing = $fields->dataFieldByName($fieldName); $fields->replace($fieldName, new HiddenField($existing->Name, $existing->Title, $existing->Value); }
909: [17:53:00] <FrozenFire> Client basically just wants to push announcements out of their CMS into their feeds.
910: [17:53:00] <UndefinedOffset> ah, ya that works too :)
911: [17:53:00] <FrozenFire> Anyone have a module that's 3.1-compatible, which will make pushing to Twitter/Facebook feeds easier?
912: [17:54:00] * gelignite has joined #silverstripe
913: [17:55:00] <FrozenFire> Oh, fucking lovely.
914: [17:55:00] <FrozenFire> OAuth
915: [17:56:00] <catcher> FrozenFire, shouldn't need all that. Dynamic page with OG tags, include FB javascript SDK, create XFBML link in the CMS.
916: [17:57:00] <FrozenFire> Well, the desired workflow is "Create announcement, enter announcement information, check checkboxes for posting to Twitter/Facebook, save"
917: [17:57:00] <FrozenFire> Which makes me sigh
918: [17:58:00] <catcher> FrozenFire, share/tweet upon saving?
919: [17:58:00] <FrozenFire> Yep.
920: [17:58:00] <FrozenFire> Agreed.
921: [17:58:00] <ss23> Only like 10 more modules to look over... I hope I can squeeze at least one more sqli out of these...
922: [17:58:00] <catcher> eesh
923: [17:59:00] <catcher> "dear client, no. Kisses, FrozenFire."
924: [18:00:00] <FrozenFire> It sucks at times, being employed to do client work.
925: [18:00:00] * Shrike_Finland quit (Quit: Leaving.)
926: [18:01:00] <FrozenFire> Ugly as it may be.
927: [18:01:00] <FrozenFire> You don't yourself get to say no.
928: [18:01:00] <FrozenFire> You have to rely on your boss not to make shitty contracts.
929: [18:01:00] <FrozenFire> We're already paid to do this, so it has to be done.
930: [18:03:00] <ss23> Not like they'll torture you if you say no
931: [18:03:00] <ss23> Yeah you do
932: [18:03:00] <ss23> 07:01:00 < FrozenFire> You don't yourself get to say no.
933: [18:04:00] <FrozenFire> No, I mean that it's not like I get a chance to refuse before we, as a company, agree to do it.
934: [18:06:00] * popeshoe quit (Quit: This computer has gone to sleep)
935: [18:08:00] <ss23> You should
936: [18:08:00] <ss23> That sounds lame
937: [18:09:00] <FrozenFire> Trouble here was that it *was* possible, last he knew.
938: [18:09:00] <FrozenFire> Yeah, there are times when he promises the world without first asking if it's possible.
939: [18:09:00] <ss23> Shitty is a boss who doesn't talk about a job to the people who're going to do it before he says that it will be done.
940: [18:10:00] <FrozenFire> But Twitter and Facebook went to the OAuth model, and recently shut off basic auth
941: [18:10:00] <FrozenFire> I've admonished him. :P
942: [18:16:00] <catcher> FrozenFire, at least you can use the single-user model.
943: [18:17:00] <FrozenFire> Since I know that's a real bitch
944: [18:17:00] <FrozenFire> Not even thinking about Facebook yet
945: [18:17:00] <FrozenFire> Well, I was looking at https://dev.twitter.com/docs/auth/application-only-auth
946: [18:18:00] <catcher> http://hueniverse.com/2012/07/oauth-2-0-and-the-road-to-hell/
947: [18:18:00] <FrozenFire> Apparently that stuff only does non-user-specific stuff
948: [18:18:00] <catcher> oauth2 though, yuck
949: [18:18:00] <FrozenFire> Hrmm, fuckity fuck
950: [18:19:00] <FrozenFire> So you can't post.
951: [18:40:00] * C10ne quit (Ping timeout: 245 seconds)
952: [18:50:00] * Motoservo has joined #silverstripe
953: [18:52:00] <FrozenFire> Fatal error: Access level to ErrorPage::$db must be public (as in class Page) in cms/code/model/ErrorPage.php on line 0
954: [18:53:00] * FrozenFire wonders if chillu was a bit over-zealous with his search-and-replace
955: [18:54:00] <FrozenFire> That's... going to break a lot of shit.
956: [18:54:00] <FrozenFire> Oh wait
957: [18:54:00] <FrozenFire> That's a change that needs to happen on my project Page...
958: [18:55:00] * sakhinetivenkat quit (Quit: Page closed)
959: [18:55:00] <FrozenFire> I am so confused.
960: [18:55:00] <FrozenFire> Are we moving away from statically-configuring DB fields on classes?
961: [18:56:00] <FrozenFire> Oy vey.
962: [19:00:00] * sakhinetivenkat has joined #silverstripe
963: [19:01:00] * Liquide has joined #silverstripe
964: [19:02:00] <sakhinetivenkat> hai , I am new to open source downlopment . Can anyone plz guide me ?
965: [19:03:00] <sakhinetivenkat> thnx
966: [19:03:00] <FrozenFire> sakhinetivenkat, I would recommend joining #phpmentoring
967: [19:05:00] <chillu> FrozenFire: RTFM ;)
968: [19:05:00] <FrozenFire> chillu, Possibly. Just seems like a lot of manual to be reading. :P
969: [19:05:00] <chillu> http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0
970: [19:06:00] <chillu> and RTFMailinglist ;)
971: [19:06:00] * mobiusnz has joined #silverstripe
972: [19:07:00] * simon_w quit (Quit: Holiday time, suckers!)
973: [19:08:00] <FrozenFire> Fun
974: [19:09:00] * Kapdap has joined #silverstripe
975: [19:13:00] <FrozenFire> Couldn't figure out why I couldn't write cache_dir
976: [19:13:00] <FrozenFire> Sometimes I make myself laugh hard.
977: [19:13:00] <FrozenFire> "silvertripe-cache"
978: [19:18:00] <Zauberfisch-idle> chillu, but ... but bothering people in irc is so much easier than reading the manula :O
979: [19:19:00] <chillu> FrozenFire: :D it *is* a long word. Its so much in muscle memory for me after 6+ years that I barely misspell it any more though
980: [19:25:00] <FrozenFire> Not write, anyways.
981: [19:25:00] <FrozenFire> Yeah. I typically only notice that I've spelled it wrong if I start writing CLI scripts.
982: [19:25:00] <FrozenFire> Since my development server's webserver user can access the /tmp
983: [19:25:00] <FrozenFire> But my regular user cannot
984: [19:27:00] <FrozenFire> But just trying to figure out how to organize my settings for a vendor class.
985: [19:27:00] <FrozenFire> Obviously you can't access them using the same helpers
986: [19:27:00] <FrozenFire> Can you use Config to store configuration for third-party classes?
987: [19:29:00] <chillu> FrozenFire: Its just a namespace really, so you can store it for any class. You get the most out of the system if the class extends Object though, giving you the nice shorthand syntax. And then you've got a natural place to store default vals and docs for your config vars as class statics (preferrably private)
988: [19:32:00] <FrozenFire> Cool
989: [19:32:00] <FrozenFire> Is there a faster way to update multiple values than individual update calls?
990: [19:33:00] <chillu> If they're in the same namespace, then MyClass::config()->my_key = array('val1' => 1, 'val2' => 2) - its deep merging arrays
991: [19:34:00] <FrozenFire> I was more looking to update multiple key, value pairs.
992: [19:34:00] * socks quit (Quit: socks)
993: [19:34:00] <chillu> Or Config::inst()->update('MyClass', 'my_key', array(…))
994: [19:35:00] <lewellyn> FrozenFire: tried turning it off. it just got slower :(
995: [19:35:00] * sakhinetivenkat quit (Quit: Page closed)
996: [19:35:00] <lewellyn> hm. anyone up to helping me figure out why SS is sooo sloooow? :/
997: [19:35:00] <FrozenFire> E.g. Config::inst()->forClass("TwitterOAuth")->update(array("ConsumerKey" => "somekey", "ConsumerSecret" => "somesecret", ...));
998: [19:35:00] <FrozenFire> lewellyn, Opcode caching?
999: [19:35:00] <FrozenFire> Or lack thereof, rather.
1000: [19:36:00] <lewellyn> 3.0.2 on this same host is fine. a fresh install of even 3.0.2.1 is not. i'm confused.
1001: [19:36:00] <FrozenFire> Yeah, definitely want to have it on.
1002: [19:36:00] <lewellyn> slowlog isn't helpful.
1003: [19:37:00] * Jeremy_ is now known as clodeindustrie
1004: [19:37:00] <FrozenFire> Next up would be where your cache is
1005: [19:37:00] <FrozenFire> If it's in your /tmp, that could be it.
1006: [19:37:00] <lewellyn> under $HOME
1007: [19:37:00] <lewellyn> it was in /tmp, like the fast site, but i moved it thinking the same.
1008: [19:37:00] * Jeremy_ has joined #silverstripe
1009: [19:38:00] <FrozenFire> Check your load level
1010: [19:39:00] <FrozenFire> Also, where is your database located?
1011: [19:40:00] <lewellyn> load is fine. and database is on mysql on localhost
1012: [19:41:00] <lewellyn> 12:40:36 up 6 days, 20:59, 1 user, load average: 0.09, 0.07, 0.08
1013: [19:43:00] <lewellyn> mysql is 5.5.30 btw, and php is 5.5.0 beta 1
1014: [19:44:00] <lewellyn> UndefinedOffset: i know simon_w runs 5.5
1015: [19:44:00] <UndefinedOffset> lewellyn ya good luck SilverStripe 3.0 and i believe 3.1 are not built with php 5.5 compatability in mind
1016: [19:45:00] <lewellyn> and php 5.5 will be here "very soon" :)
1017: [19:47:00] <UndefinedOffset> i'm kinda surprised silverstripe works at all on it :P, I remember 2.4 and 2.3 having many issues with php 5.3 came out
1018: [19:48:00] <lewellyn> um. the _config.php was generated by the installer...
1019: [19:48:00] <UndefinedOffset> are you flushing the templates in your _config.php? I've seen that allot
1020: [19:48:00] <lewellyn> looks like not
1021: [19:48:00] <UndefinedOffset> so it shouldn't
1022: [19:48:00] * lewellyn checks
1023: [19:49:00] <UndefinedOffset> just something i see allot of sites doing that will obviously make things slow ;)
1024: [19:49:00] <FrozenFire> Previously known as Zend Optimizer+
1025: [19:49:00] <FrozenFire> lewellyn, Just to confirm, you've not enabled O+, have you?
1026: [19:49:00] * DigNZ has joined #silverstripe
1027: [19:49:00] <FrozenFire> Which is bundled with PHP 5.5
1028: [19:50:00] * nickmolhoek quit (Remote host closed the connection)
1029: [19:50:00] <lewellyn> FrozenFire: that's the only opcode cache i've been enabling and disabling.
1030: [19:50:00] <FrozenFire> If you have two opcode caches running, that could cause some fun effects.
1031: [19:50:00] <FrozenFire> Yeah
1032: [19:50:00] * nickmolhoek has joined #silverstripe
1033: [19:50:00] <FrozenFire> To my chagrin, to some extent
1034: [19:50:00] <FrozenFire> But whatevs.
1035: [19:50:00] <lewellyn> there's no xcache package from remi for 5.5 yet.
1036: [19:50:00] * nickmolhoek has joined #silverstripe
1037: [19:50:00] <UndefinedOffset> FrozenFire oh they're bundling it now... nice :P
1038: [19:51:00] <FrozenFire> But not for 5.5.0
1039: [19:51:00] <FrozenFire> Nobody said 5.6
1040: [19:51:00] <lewellyn> but the argument that it wouldn't be includable until 5.6 bears much weight
1041: [19:51:00] <lewellyn> mhm
1042: [19:51:00] <FrozenFire> In the scope of programming time, they literally *just* open-sourced it.
1043: [19:51:00] <lewellyn> the fact it slows down dramatically, even worse, without O+ rules it out in my book.
1044: [19:51:00] <FrozenFire> Well, I'm all for the bundle.
1045: [19:51:00] <FrozenFire> Well, I'd also consider O+ as a culprit
1046: [19:51:00] <lewellyn> FrozenFire: yeah. i'm of the opinion that it's better to bundle it than nothing at all.
1047: [19:52:00] <lewellyn> didn't the RFC?
1048: [19:52:00] <lewellyn> yeah. look at the voting options though. https://wiki.php.net/rfc/optimizerplus
1049: [19:52:00] <FrozenFire> It's not an API break
1050: [19:52:00] <FrozenFire> It could've been included in 5.5.1
1051: [19:52:00] <FrozenFire> Easily.
1052: [19:54:00] <FrozenFire> And he even changed them mid-vote.
1053: [19:54:00] <FrozenFire> I'm aware. Everyone involved except the guy who made the RFC agreed that the vote was utterly fucking retarded.
1054: [19:54:00] <FrozenFire> Most ill-conceived voting options possible.
1055: [19:55:00] <lewellyn> i didn't follow the drama. i didn't know of it until after the vote was finished.
1056: [19:55:00] * popeshoe has joined #silverstripe
1057: [19:56:00] <lewellyn> that doesn't affect my current issue though. :)
1058: [19:56:00] <lewellyn> in any case, i am in strong agreement that there needs to be a bundled opcode cache. *shrug*
1059: [19:57:00] <lewellyn> opcache.enable=0 right now. i can give you the url to see how painful this is.
1060: [19:58:00] <lewellyn> i can't even log in right now, it's so bad.
1061: [20:00:00] <FrozenFire> It's that the ZO+ bundling was utterly botched.
1062: [20:00:00] <FrozenFire> It's a mess.
1063: [20:00:00] <FrozenFire> Yeah, nobody contests that PHP should have a bundled opcode cache.
1064: [20:00:00] <FrozenFire> No integration plan was put together
1065: [20:02:00] <FrozenFire> I really, really, really wish that custom CMS actions were easier...
1066: [20:02:00] <lewellyn> oh hey. it's starting to load a bit faster. weird. but i wonder why the progress indicator is still spinning...
1067: [20:05:00] <lewellyn> interesting. ie times out loading the page after ~65 seconds. if chrome would stop crashing, i'd see what its web inspector says
1068: [20:06:00] <FrozenFire> Oh, are you perchance running nginx reverse proxy?
1069: [20:10:00] <FrozenFire> Guh. SS also needs to refresh the data in an EditForm after submission >.>
1070: [20:10:00] <FrozenFire> So you can end up with different information being submitted on subsequent changes
1071: [20:10:00] <FrozenFire> It caches what you submit, so if the CMSFields change as a result of submitting, you don't see how they've changed
1072: [20:11:00] <FrozenFire> E.g. I have a checkbox on my CMSFields for this one DataObject so that when it's saved, I can check what value was set in its onBeforeWrite and perform an action based on that.
1073: [20:11:00] <lewellyn> FrozenFire: i'm using nginx, yes. i've tried the known-good nginx config i've used, even. :/
1074: [20:11:00] <FrozenFire> Probably should be done with a custom CMS action, but they're impossible to implement properly.
1075: [20:12:00] <FrozenFire> Solution for nginx reverse proxy at the very least, is to increase the size of its request buffer.
1076: [20:12:00] <lewellyn> [0x00007fbe18390c20] __construct() /home/Greenviolet/gvapps/silverstripe/framework/core/Core.php:268
1077: [20:12:00] <FrozenFire> lewellyn, Are your issues happening in the CMS?
1078: [20:12:00] <FrozenFire> Because nginx loves to break the CMS, due to the CMS using a lot of *big* AJAX communication
1079: [20:12:00] <lewellyn> FrozenFire: it seems so. i occasionally see a hit in the slowlog.
1080: [20:13:00] <lewellyn> yeah. i have it bumped high across all my configs.
1081: [20:15:00] <lewellyn> yeah. i guess i should see if i have xdebug installed. ;)
1082: [20:15:00] <FrozenFire> Well, you can always use xdebug to profile it
1083: [20:15:00] <FrozenFire> See where it's bottlenecking, if it's bottlenecking in the application itself.
1084: [20:16:00] <lewellyn> that's painfully slow to load fully :(
1085: [20:16:00] <lewellyn> FrozenFire: if you want to see for yourself, http://apps.greenviolet.net/
1086: [20:17:00] <FrozenFire> Not much else way to figure that sort of thing out.
1087: [20:17:00] <lewellyn> yup. sigh.
1088: [20:17:00] <FrozenFire> Not sure what that's likely to be.
1089: [20:17:00] <FrozenFire> As I say, profile it.
1090: [20:18:00] * popeshoe quit (Quit: This computer has gone to sleep)
1091: [20:22:00] <clodeindustrie> if I want to customize the html element when inserting an image within the rich text editor
1092: [20:22:00] <clodeindustrie> hey there
1093: [20:23:00] <clodeindustrie> is my only chance to tweak HTMLEditorField.js ?
1094: [20:29:00] <lewellyn> the last thing i see is: cfn=Director::direct
1095: [20:30:00] * travis-ci has left #silverstripe
1096: [20:30:00] * travis-ci has joined #silverstripe
1097: [20:30:00] <travis-ci> [travis-ci] silverstripe/sapphire#1804 (3.1 - c1a543f : Ingo Schommer): The build passed.
1098: [20:30:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/373da5382657...c1a543feb23a
1099: [20:30:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5848599
1100: [20:30:00] <lewellyn> the browser keeps spinning after that, and nothing else gets added to the cachegrind file.
1101: [20:32:00] <FrozenFire> clodeindustrie, Globally, or on one single form?
1102: [20:32:00] <FrozenFire> As well, what sort of customization?
1103: [20:32:00] <FrozenFire> You can do a setField customization that will transform it on submission of that HTMLEditorField
1104: [20:33:00] <FrozenFire> I believe that image insertions are handled through Shortcodes
1105: [20:33:00] <clodeindustrie> hum, that would be for the admin section
1106: [20:33:00] <FrozenFire> So that's one tricky aspect
1107: [20:33:00] <clodeindustrie> when people add an image I want to have something more elaborated than just <img ....
1108: [20:33:00] <clodeindustrie> Shortcodes?
1109: [20:34:00] <FrozenFire> https://github.com/silverstripe/sapphire/blob/3.0/filesystem/File.php#L171
1110: [20:34:00] <FrozenFire> It's a somewhat complicated topic
1111: [20:35:00] <FrozenFire> And then the ShortcodeParser will parse that [file] shortcode into an <img> tag for Image references
1112: [20:35:00] <FrozenFire> But my understanding is that the HTMLEditorField will simply insert something like [file id=<fileid>]
1113: [20:36:00] <FrozenFire> Not exactly sure how images are handled. It's a bit magical
1114: [20:36:00] <clodeindustrie> ah interesting
1115: [20:37:00] <clodeindustrie> that would actually less a pain than if the img tag was inserting as is from HTMLEditorField.js which seems to be complex
1116: [20:37:00] <FrozenFire> Yeah, it's all a bit complicated.
1117: [20:37:00] <clodeindustrie> hum that sucks
1118: [20:37:00] <clodeindustrie> less cool then :)
1119: [20:37:00] <clodeindustrie> inserted*
1120: [20:37:00] <FrozenFire> What it might be doing is inserting <img src="[file id=something]"> actually
1121: [20:40:00] * UndefinedOffset quit (Quit: Leaving.)
1122: [20:42:00] <clodeindustrie> I'll have a look at that then
1123: [20:42:00] <clodeindustrie> thanks though
1124: [20:44:00] <lewellyn> meh. i'm gonna wipe the db and installation again and start over. see if there's *anything* i'm possibly doing wrong. sigh.
1125: [20:49:00] * Pyromanik has joined #silverstripe
1126: [20:50:00] <Pyromanik> Why does this not work?
1127: [20:50:00] <Pyromanik> <% loop Menu(1) %> <% loop Top.Menu(1) %> ?
1128: [20:55:00] <Pyromanik> but we're not, because we're in a loop :<
1129: [20:55:00] <Pyromanik> hmm, <% loop Menu(1) %><% loop Up.Menu(1) %> gives [User Error] Up called when we're already at the top of the scope
1130: [20:57:00] <lewellyn> nice. a 500 while trying to install. sigh.
1131: [20:57:00] <Pyromanik> haha
1132: [20:57:00] <lewellyn> [27-Mar-2013 20:54:20 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/Greenviolet/gvapps/silverstripe/framework/core/manifest/TokenisedRegularExpression.php on line 23
1133: [20:57:00] <Pyromanik> you and your installer man :<
1134: [20:57:00] <lewellyn> Pyromanik: that WAS working fast.
1135: [20:58:00] <Pyromanik> ouch
1136: [20:58:00] <lewellyn> so i was going to make sure at least that worked after nuking the install and db from orbit.
1137: [21:00:00] <lewellyn> hm. i wonder something...
1138: [21:00:00] <lewellyn> i wonder if it's doing uid/gid calculation constantly somehow.
1139: [21:00:00] <lewellyn> this is an ldap user account; the others are local on the system
1140: [21:01:00] <lewellyn> sigh.
1141: [21:01:00] <lewellyn> [27-Mar-2013 21:00:12 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /home/Greenviolet/gvapps/silverstripe/framework/thirdparty/Zend/Cache/Backend/File.php on line 957
1142: [21:05:00] * ajshort has joined #silverstripe
1143: [21:05:00] * zfmf has left #silverstripe
1144: [21:12:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
1145: [21:24:00] <lewellyn> i thought we could override that by simply creating a silverstripe-cache dir in the directory silverstripe is in.
1146: [21:24:00] <lewellyn> interesting. so it may have been using /tmp all along. O_o
1147: [21:25:00] <catcher> At least in 3.0.1 - 3.0.5
1148: [21:25:00] <catcher> can indeed.
1149: [21:26:00] <lewellyn> hm. then why is it seeming not to.
1150: [21:27:00] <catcher> permissions wide open? directory in the same place that framework/ and cms/ are?
1151: [21:28:00] <Pyromanik> did simon_w truck off to Aussie again?
1152: [21:28:00] <lewellyn> the dir is owned by the user php runs as.
1153: [21:29:00] <catcher> lewellyn, owner can lack write perms to a dir
1154: [21:30:00] <lewellyn> catcher: it's 775
1155: [21:31:00] <lewellyn> catcher: i get one in /tmp again.
1156: [21:31:00] <lewellyn> and i'm using a local user account for this install. so i dunno why it's still so slow :/
1157: [21:31:00] <lewellyn> that's what clued me in.
1158: [21:31:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
1159: [21:31:00] <lewellyn> drwxr-xr-x. 2 gvapps gvapps 4096 Mar 27 14:29 /tmp/silverstripe-cache
1160: [21:31:00] <catcher> Though I've never had issues with my cache living in /tmp either :-/
1161: [21:31:00] <catcher> recursively? The next thing I'd do is delete the cache dir in /tmp and clear the webroot's silverstripe-cache, and see which one fills in.
1162: [21:32:00] <lewellyn> wtf :/
1163: [21:32:00] * lewellyn tries something.
1164: [21:32:00] <Pyromanik> so anyone here able to help me out?
1165: [21:32:00] <lewellyn> hm. actually, nothing's in it. it just insists upon creating it.
1166: [21:33:00] <Pyromanik> <Pyromanik> hmm, <% loop Menu(1) %><% loop Up.Menu(1) %> gives [User Error] Up called when we're already at the top of the scope
1167: [21:33:00] <catcher> I'd also double check your assets permissions (recursively) if File is having trouble.
1168: [21:33:00] <Pyromanik> <Pyromanik> Why does this not work?
1169: [21:33:00] <Pyromanik> <Pyromanik> <% loop Menu(1) %> <% loop Top.Menu(1) %> ?
1170: [21:33:00] <sminnee> what's up?
1171: [21:33:00] <Pyromanik> <Pyromanik> but we're not, because we're in a loop :<
1172: [21:33:00] <lewellyn> catcher: i've done so.
1173: [21:33:00] <Pyromanik> sminnee, any clues?
1174: [21:33:00] <Pyromanik> <Pyromanik> Why does this not work?
1175: [21:33:00] <Pyromanik> <Pyromanik> <% loop Menu(1) %> <% loop Top.Menu(1) %> ?
1176: [21:33:00] <Pyromanik> <Pyromanik> hmm, <% loop Menu(1) %><% loop Up.Menu(1) %> gives [User Error] Up called when we're already at the top of the scope
1177: [21:33:00] <Pyromanik> <Pyromanik> but we're not, because we're in a loop :<
1178: [21:33:00] <sminnee> hrm.
1179: [21:33:00] <Pyromanik> I have an issue with the templates
1180: [21:34:00] <sminnee> Could be a bug - you're doing some thing kind of nasty.
1181: [21:34:00] <Pyromanik> should I try this on 3.1 first?
1182: [21:34:00] <sminnee> Can you patch SSViewerTest with a failing test case?
1183: [21:34:00] <Pyromanik> sminnee, I know :'(
1184: [21:34:00] <Pyromanik> 3.0.5
1185: [21:34:00] <lewellyn> hm. this idea didn't pan out either. :/
1186: [21:34:00] <sminnee> Pyromanik: looks hard.
1187: [21:37:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
1188: [21:41:00] <FrozenFire> Is there any value, functionally, to having controller action method have a $request parameter?
1189: [21:41:00] <FrozenFire> I always ignore that and just use $this->Request
1190: [21:41:00] <Pyromanik> yes
1191: [21:41:00] <FrozenFire> Or is that just a hold-over?
1192: [21:42:00] <Pyromanik> :<
1193: [21:42:00] <Pyromanik> dunno.
1194: [21:42:00] <FrozenFire> What about them?
1195: [21:42:00] <Pyromanik> fix my problem
1196: [21:42:00] <Pyromanik> url_handlers
1197: [21:43:00] <Pyromanik> framework/tests isn't in the distributed version :<
1198: [21:43:00] <Pyromanik> oic
1199: [21:52:00] <lewellyn> i see absolutely no reason for this to be running so slowly.
1200: [21:52:00] * lewellyn grumbles
1201: [21:57:00] <Pyromanik> bugger it, hacking around.
1202: [22:05:00] <FrozenFire> lewellyn, Profiled yet?
1203: [22:06:00] <Pyromanik> sminnee, looks like loop creates it's own stack reference, as <% loop Menu(1) %>$Top.Title just gives the title of the current loop page in the loop.
1204: [22:06:00] <Pyromanik> Don't have time to hackity into SSViewerTest today sorry
1205: [22:07:00] <sminnee> Pyromanik: OK, well, if you get a chance that'd be good, I suspect the issue will remain as-is otherwise. ;-)
1206: [22:09:00] <lewellyn> i even switched from an AD account to a local account, to get rid of possible needless AD lookups
1207: [22:09:00] <lewellyn> FrozenFire: nothing useful. nothing shows up after the page renders but the browsers still show it loading. :/
1208: [22:10:00] <lewellyn> wiped the db, new user account, fresh install of 3.0.5.
1209: [22:14:00] * nickmolhoek quit (Quit: nickmolhoek)
1210: [22:20:00] * Jeremy_ has joined #silverstripe
1211: [22:20:00] <Pyromanik> sminnee, progress. It's to do with includes
1212: [22:20:00] * Jeremy_ is now known as clodeindustrie
1213: [22:20:00] <Pyromanik> <% loop Menu(1) %><% loop Top.Menu(1) %> works fine
1214: [22:21:00] <clodeindustrie> the command mceinsertcontent
1215: [22:21:00] <Pyromanik> where Navigation.ss had the <% loop Top.Menu(1) %>
1216: [22:21:00] <clodeindustrie> strips the html I want to insert of some tags
1217: [22:21:00] <Pyromanik> clodeindustrie, because it's configured to do so.
1218: [22:21:00] <clodeindustrie> I don't really understand why
1219: [22:21:00] <Pyromanik> you need to read the tinymce docs
1220: [22:21:00] <lewellyn> FrozenFire: i can send you the file, but i'm not seeing anything at all useful :/
1221: [22:21:00] <Pyromanik> what I was actually doing was <% loop Menu(1) %>
1222: [22:21:00] <clodeindustrie> does anyone has experience with tinymce?
1223: [22:21:00] <Pyromanik> <% include Navigation %>
1224: [22:22:00] <clodeindustrie> fair enough
1225: [22:22:00] <Pyromanik> and the HTMLEditorConfig class in silverstripe IIRC
1226: [22:22:00] <Pyromanik> something along those lines
1227: [22:22:00] <clodeindustrie> awesome thanks
1228: [22:23:00] <FrozenFire> It's not downloading anything
1229: [22:23:00] <FrozenFire> Just sitting with the door open
1230: [22:23:00] <FrozenFire> lewellyn, Given the way your page is behaving, I think it's your webserver
1231: [22:23:00] <FrozenFire> Not SS
1232: [22:23:00] <FrozenFire> Something is holding the door open
1233: [22:23:00] <FrozenFire> The page gets everything it needs, but the loading of the page itself never ceases
1234: [22:24:00] <FrozenFire> I mean, it's *possible* for SS to hold the door open like that
1235: [22:24:00] <lewellyn> and i'm using the same config (with a different php-fpm socket) as a known-good site which does not exhibit this.
1236: [22:24:00] <FrozenFire> But unlikely.
1237: [22:34:00] <lewellyn> interesting. it's gotta be nginx, yes. i killed php-fpm and it still sat there trying to load.
1238: [22:34:00] * lewellyn wonders
1239: [22:35:00] <lewellyn> what changed between 3.0.2 and 3.0.2.1 again?
1240: [22:38:00] <Pyromanik> hmm, but now <% if First %> isn't working properly
1241: [22:41:00] <catcher> Pyromanik, try <% if $First %>
1242: [22:41:00] <catcher> booleans seem to prefer the $
1243: [22:42:00] * joelpittet has joined #silverstripe
1244: [22:42:00] * joelpittet has left #silverstripe
1245: [22:42:00] * joelpittet has joined #silverstripe
1246: [22:42:00] <Pyromanik> nup, no diff
1247: [22:43:00] <Pyromanik> yeah, nah.
1248: [22:43:00] <joelpittet> darn, so it's solr or google custom search, kind of a thing?
1249: [22:43:00] <joelpittet> Can the SS search, index dataobjects?
1250: [22:43:00] <Pyromanik> nope
1251: [22:43:00] <Pyromanik> joelpittet, I take it you're referring to SearchForm?
1252: [22:43:00] <joelpittet> yes
1253: [22:43:00] <Pyromanik> it searches defined fields on SiteTrees only
1254: [22:44:00] <Pyromanik> or you can hack at SearchForm (subclass, extend, useCustomClass, or something)
1255: [22:44:00] * joelpittet looking
1256: [22:44:00] <Pyromanik> err SiteTree and File DataObjects
1257: [22:44:00] <Pyromanik> joelpittet, well no
1258: [22:44:00] <Pyromanik> there's SearchContext
1259: [22:49:00] <joelpittet> hmm, depending on the budget i May look into SearchContext further on this project. Thanks
1260: [22:50:00] <Pyromanik> joelpittet, you can hack your own up by making your own form, but then using searchcontext to do the search
1261: [22:50:00] <Pyromanik> or just make your own form and build your own DataList to return
1262: [22:52:00] * nickmolhoek quit (Remote host closed the connection)
1263: [22:52:00] * nickmolhoek has joined #silverstripe
1264: [22:52:00] * nickmolhoek has joined #silverstripe
1265: [23:00:00] <Pyromanik> it's all to do with scopes and stacks
1266: [23:00:00] <Pyromanik> sminnee, this is way past broken :<
1267: [23:01:00] <Pyromanik> eg pushing <% loop Top.* %> onto the view stack doesn't actually push the top object on, it pushes the base context on. So there's no Up.
1268: [23:02:00] * Pyromanik wasn't going bald until this started.
1269: [23:02:00] <Pyromanik> :<
1270: [23:05:00] <FrozenFire> My moustache gets thinner when I have to deal with those problems.
1271: [23:06:00] <FrozenFire> I tend to tug at it in frustration
1272: [23:07:00] <Pyromanik> FrozenFire, I pluck at the tickler/soulpatch if I have one that day.
1273: [23:07:00] <spronk> o_O
1274: [23:08:00] <FrozenFire> Yeah, I do that too. I grab my moustache lengthwise and tug, and also tug on my beard
1275: [23:09:00] * catcher quit (Quit: Leaving)
1276: [23:17:00] <lewellyn> i'm going to try to have the "manly stubble" thing going on for friday though.
1277: [23:17:00] <lewellyn> i kinda miss my beard for that.
1278: [23:19:00] * terryapodaca has joined #silverstripe
1279: [23:20:00] <terryapodaca> simon_w: where does the CMS change the page icon (on the sitetree) when i create a HomePage
1280: [23:20:00] <terryapodaca> I didn't do that, looks built in?
1281: [23:21:00] * Kolin quit (Ping timeout: 256 seconds)
1282: [23:21:00] * spronk quit (Ping timeout: 256 seconds)
1283: [23:22:00] <Pyromanik> /admin redirects to /Security/login (although am logged in as admin)
1284: [23:22:00] <Pyromanik> guys
1285: [23:22:00] <Pyromanik> can't log into admin
1286: [23:22:00] <Pyromanik> what do?
1287: [23:22:00] <Pyromanik> this has alwasy been a thing with SS, but I've never really learnt why/how to fix
1288: [23:23:00] * Kolin has joined #silverstripe
1289: [23:23:00] <lewellyn> i keep seeing that. but i suspect it's because pages never finish loading.
1290: [23:30:00] * chillu quit (Quit: chillu)
1291: [23:31:00] <FrozenFire> Like, completely and totally fucked beyond all reason.
1292: [23:31:00] <FrozenFire> We have a general policy that we only support IE8+
1293: [23:31:00] <FrozenFire> Sometimes I wonder if my boss realizes the questions he asks me.
1294: [23:31:00] <FrozenFire> And yet, he acted all surprised that IE7 wasn't supported on a client project we're rolling out.
1295: [23:53:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/315c03872a01^...e97c0349224f
1296: [23:53:00] * travis-ci has joined #silverstripe
1297: [23:53:00] <travis-ci> [travis-ci] chillu/sapphire#107 (pulls/i18n-common-languages - e97c034 : Ingo Schommer): The build has errored.
1298: [23:53:00] * travis-ci has left #silverstripe
1299: [23:53:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/5849490
1300: [23:55:00] <FrozenFire> Hrmm, well that's no good... Shortcodes are breaking for me
1301: [23:55:00] <FrozenFire> Specifically sitetree_link

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