#silverstripe IRC Log

IRC log for 26 May 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:18] * ss-helper has joined #silverstripe
3: [00:08:28] * Stomach has joined #silverstripe
4: [00:19:55] * TombL quit (Ping timeout: 252 seconds)
5: [00:38:45] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
6: [00:55:29] * PenguinMan98 quit (Ping timeout: 260 seconds)
7: [01:11:27] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
8: [01:20:45] * spronk has joined #silverstripe
9: [01:28:32] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
10: [01:33:31] * UncleCheese has joined #silverstripe
11: [01:39:32] * Tanger_ has joined #silverstripe
12: [02:00:06] <ss-helper> Re: [silverstripe-dev] RFC: Replace SS_HTTPResponse/SS_HTTPRequest with HTTPFoundation - https://groups.google.com/d/msg/silverstripe-dev/FFbK4EPm0_I/XvE0u5WEGAAJ
13: [02:29:45] * glenn-bautista quit (Ping timeout: 276 seconds)
14: [02:54:54] * muskie9 has joined #silverstripe
15: [02:56:34] * spronk quit (Quit: I may need a longer sleep timer...)
16: [02:59:33] * spronk has joined #silverstripe
17: [03:04:41] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
18: [03:15:08] <ss-helper> Re: [silverstripe-dev] RFC: Replace SS_HTTPResponse/SS_HTTPRequest with HTTPFoundation - https://groups.google.com/d/msg/silverstripe-dev/FFbK4EPm0_I/wJI40WFfAgAJ
19: [03:37:55] * Kolin quit (Ping timeout: 252 seconds)
20: [03:38:03] * Kolin has joined #silverstripe
21: [03:40:03] * PenguinMan98 has joined #silverstripe
22: [03:40:09] <PenguinMan98> Hey guys
23: [03:40:17] <PenguinMan98> I need to reset my admin password
24: [03:40:28] <PenguinMan98> I stepped away from a project a bit too long it seems
25: [03:45:46] * TheVoid quit (Remote host closed the connection)
26: [03:48:27] * TheVoid has joined #silverstripe
27: [04:27:05] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
28: [04:46:38] * TombL has joined #silverstripe
29: [04:57:29] <PenguinMan98> figured it out
30: [05:04:43] * Hailwood quit (Remote host closed the connection)
31: [05:05:36] <PenguinMan98> So, I'm on SS 3.1.x right now. Is upgrading as simple as replacing the cms and framework folders?
32: [05:10:18] <PenguinMan98> Ah, I was able to do it through composer
33: [05:10:21] <PenguinMan98> n/m
34: [06:01:24] * micmania1 quit (Quit: micmania1)
35: [06:03:31] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
36: [06:28:51] * Stomach quit (Ping timeout: 250 seconds)
37: [06:33:50] * spronk quit (Quit: I may need a longer sleep timer...)
38: [06:39:55] * Eliseth has joined #silverstripe
39: [06:57:11] * Stomach has joined #silverstripe
40: [07:00:37] * Stomach quit (Client Quit)
41: [07:05:06] * arnhoe has joined #silverstripe
42: [07:07:08] * spronk has joined #silverstripe
43: [07:25:28] * UncleCheese has joined #silverstripe
44: [07:27:27] * darianno has joined #silverstripe
45: [07:28:06] * BobKosse has joined #silverstripe
46: [07:47:30] * PenguinMan98 quit (Quit: Page closed)
47: [07:48:18] * spronk quit (Quit: I may need a longer sleep timer...)
48: [07:51:39] * Agilix_ has joined #silverstripe
49: [07:55:04] * Stomach has joined #silverstripe
50: [08:07:11] * kinglozzer has joined #silverstripe
51: [08:12:05] * slievr_ has joined #silverstripe
52: [08:13:12] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
53: [08:15:11] <ss-helper> Silverstripe: Trouble with uploading files with cyrillic names - http://stackoverflow.com/questions/37454906/silverstripe-trouble-with-uploading-files-with-cyrillic-names
54: [08:18:36] * UncleCheese has joined #silverstripe
55: [08:29:30] * XorPush has joined #silverstripe
56: [08:29:53] <XorPush> Hi all, Ineed a little help:
57: [08:33:29] <XorPush> I am using memprofiles modul, I did extend it with club details, now every club has many teams (different ages) and I created a dataobject Team, but when I check the database I see that only connection in team has been added with ClubID, but when using dataextension there is no Club object
58: [08:34:26] <Agilix_> !paste XorPush
59: [08:34:26] * swaiba has joined #silverstripe
60: [08:34:26] <ss-helper> XorPush: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
61: [08:34:39] <Agilix_> Would be handy to see a little code XorPush :)
62: [08:34:51] <XorPush> ok, uno momento :)
63: [08:38:25] <XorPush> http://www.sspaste.com/paste/show/5746b5e521d6d
64: [08:38:35] <XorPush> sorry for the names, it is hungarian
65: [08:42:13] <XorPush> as u can see, member with dataextension "egyesulet" has many "szakosztaly", but in szakosztaly table the link is to "egyesulet"
66: [08:43:30] <kinglozzer> XorPush: The link in Szakosztaly should be 'Egyesulet' => 'Member' I think
67: [08:43:44] <kinglozzer> I don't think you can create a relation to an extension
68: [08:44:16] <swaiba> anyone seen this... http://www.silvercart.org/blog/
69: [08:44:21] <swaiba> silvercart is back!
70: [08:44:58] <Tanger_> kinglozzer: is correct, the Egyesulet is the name of the extension being applied, but the table it’s being applied to is the Member table
71: [08:46:14] <XorPush> hm, I think I saw some code with extension having has_many , obviously i was wrong, thank you guys
72: [08:54:37] <XorPush> U were rigth, I works with link to member, love U
73: [08:55:38] <Agilix_> http://kopy.io/fM5QJ anyone happen to know the correct setting for iframe?
74: [08:59:17] * swaiba quit (Remote host closed the connection)
75: [09:28:19] <Agilix_> K got it, nvm
76: [09:30:59] * Stomach quit (Quit: zzz)
77: [09:33:56] <Agilix_> I can't do an if in a html element? http://kopy.io/Gc532
78: [09:41:16] <Agilix_> Kind of urgent :p
79: [09:43:03] <darianno> Agilix_ your code is incorrect it should be like that: <li class="album-nav<% if $Name == $Top.$Album.Name %> active<% end_if %>" id="nav-{$ID}"><a href="javascript:showAlbum('{$ID}', '{$Name}');">- $Name</a></li>
80: [09:43:21] <darianno> you cannot use class="" two times on one element
81: [09:43:48] * Tanger_ quit (Quit: Tanger_)
82: [09:44:41] <Agilix_> darianno: I know, but that one fails as well. Gives me an error
83: [09:44:47] <Agilix_> Did it in a different way now :)
84: [09:44:58] <Agilix_> Just made an if else outside of the element
85: [09:45:12] <darianno> great :)
86: [09:45:37] <darianno> there is always more than one way to solve a problem .. ;)
87: [09:46:11] <Agilix_> indeed ^^
88: [09:47:34] * gelignite has joined #silverstripe
89: [09:58:21] * Frans_Amsterdam has joined #silverstripe
90: [09:59:42] <kinglozzer> Hm, does the DPI setting for an image effect how much memory it'll take to resample it?
91: [10:00:31] <kinglozzer> Client has uploaded an image that when I open it in photoshop reports it's 840ppi... wonder if that's what's causing it to crash (it's exhausting 512mb of memory...)
92: [10:00:46] * Azure quit (Ping timeout: 244 seconds)
93: [10:00:52] <Frans_Amsterdam> Hi, there. Is it possible to add multiple files at once to a page. I like to drag and drop several PDF's to an page as download.
94: [10:03:13] * Agent47 has joined #silverstripe
95: [10:03:55] * Azure has joined #silverstripe
96: [10:07:28] <Agent47> Hey guys, I'm using this module https://github.com/colymba/silverstripe-restfulapi and try to embed records.. but it just don't want to work I have defined the relationships in the config, is there anything else i should do to get it to work?
97: [10:20:30] * Azure quit (Remote host closed the connection)
98: [10:23:35] <Agilix_> Anyone have experience with https://github.com/proj4php/proj4php ? :p
99: [10:41:24] * Azure has joined #silverstripe
100: [10:53:56] * GigaC has joined #silverstripe
101: [10:53:56] <ss-helper> GigaC: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
102: [10:54:36] * GigaC has left #silverstripe
103: [11:51:28] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
104: [11:59:41] * kinglozzer quit (Remote host closed the connection)
105: [12:15:36] * swaiba has joined #silverstripe
106: [12:18:39] <slievr_> Frans_Amsterdam, https://github.com/colymba/GridFieldBulkEditingTools
107: [12:19:05] <slievr_> That sort o' thing?
108: [12:20:32] <Frans_Amsterdam> slievr_ Thanks, I will look into that.
109: [12:20:41] * slievr_ is now known as slievr
110: [12:26:23] * UndefinedOffset has joined #silverstripe
111: [12:41:24] * kinglozzer has joined #silverstripe
112: [12:46:57] <Agilix_> https://github.com/proj4php/proj4php/issues/46 If anyone knows I'd be grateful :p
113: [13:00:46] * BobKosse quit (Quit: Textual IRC Client: www.textualapp.com)
114: [13:25:06] * swaiba quit (Remote host closed the connection)
115: [13:29:27] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
116: [13:30:51] * WebDevB has joined #silverstripe
117: [13:31:05] <WebDevB> I hate silverstripe
118: [13:31:08] <WebDevB> :-(
119: [13:31:30] <WebDevB> I'm picking this up from a previous developer and i'm having real trouble trying to get the pagination to work.
120: [13:31:37] <WebDevB> Can anyone help?
121: [13:32:36] <WebDevB> Heres the code: https://codeshare.io/Wiylp
122: [13:32:41] <WebDevB> I'm completely lost.
123: [13:34:35] <cloph> don't hate silverstripe, hate that previous developer :-)
124: [13:34:37] <WebDevB> Anyone around?
125: [13:34:46] <WebDevB> cloph haha yea good point.
126: [13:36:34] <WebDevB> All I want to do is add pagination.
127: [13:38:29] <cloph> well, that does more than just pagination. so if you just want to have next/previous button for a large set of items, then it can be done simpler.
128: [13:39:10] <cloph> https://docs.silverstripe.org/en/3.3/developer_guides/templates/how_tos/pagination/
129: [13:41:50] <cloph> what's the concrete problem you're having?
130: [13:47:13] <WebDevB> colph, i've just tried this now: https://codeshare.io/JqQ7K and it doesn't pickup the limit it just shows all the results.
131: [13:49:44] <WebDevB> Any ideas cloph?
132: [13:50:59] <cloph> see paginating custom lists section if you already feed data into that function, you need to disbale paginationlist's limiting.
133: [13:51:15] <cloph> https://docs.silverstripe.org/en/3.3/developer_guides/templates/how_tos/pagination/#paginating-custom-lists
134: [13:55:52] <darianno> guys.. can anyone tell me, how to call native language name from translatable module.. $Locale.Nice is showing international (english) language names.. is it possible to display native language name ?
135: [13:56:05] <WebDevB> cloph the trouble is i don't want to limit the query really as it's a search
136: [13:58:52] * shellbac1pacific quit (Ping timeout: 252 seconds)
137: [14:01:44] <WebDevB> Cloph you around?
138: [14:04:24] <cloph> darianno: it's possible - you can also extend the list
139: [14:07:16] * diana has joined #silverstripe
140: [14:07:27] * diana quit (Client Quit)
141: [14:07:48] * diana has joined #silverstripe
142: [14:09:11] <darianno> cloph thank you. I'll try
143: [14:13:12] * shellbackpacific has joined #silverstripe
144: [14:18:16] <diana> hi, Does anyone know a way of adding a 'Save and Create New' button on a page, similar to the better gridfileld buttons add-on but for SiteTree items. -Thanks
145: [14:22:12] * Audlex- has joined #silverstripe
146: [14:24:06] * Audlex quit (Ping timeout: 276 seconds)
147: [14:28:31] * PenguinMan98 has joined #silverstripe
148: [14:31:30] * Audlex- quit (Ping timeout: 244 seconds)
149: [14:33:32] * diana quit (Ping timeout: 250 seconds)
150: [14:39:10] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
151: [14:45:01] <WebDevB> Can anyone help me on this?
152: [14:45:07] <WebDevB> I'm screwed.
153: [14:59:06] * Agilix_ quit (Ping timeout: 250 seconds)
154: [15:01:56] <cloph> well - still unclear what doesn't work for you
155: [15:03:58] <WebDevB> cloph, it doesn't paginate the page it just lists all the results
156: [15:04:15] <WebDevB> I don't really want to limit the query as it's a search so it needs to search the whole site.
157: [15:06:25] <XorPush> WebDev: have you checked this? https://www.silverstripe.org/learn/lessons/lists-and-pagination
158: [15:09:23] <cloph> so start slow - does the sample work?
159: [15:12:44] <cloph> and you also didn't post full sample, i.e. how you add it to your template for example.
160: [15:15:27] <ss-helper> Re: [silverstripe-dev] RFC: Replace SS_HTTPResponse/SS_HTTPRequest with HTTPFoundation - https://groups.google.com/d/msg/silverstripe-dev/FFbK4EPm0_I/OgP8N3arDQAJ
161: [15:18:48] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
162: [15:30:08] * arnhoe quit ()
163: [15:30:31] <WebDevB> Hey cloph, the sample works... I'll post my whole SiteSearch page
164: [15:31:48] <WebDevB> Here is the link: https://codeshare.io/65EXj
165: [15:32:07] * Agent47 quit (Remote host closed the connection)
166: [15:47:17] * muskie9 has joined #silverstripe
167: [15:55:43] <WebDevB> cloph any ideas?
168: [15:59:42] <WebDevB> Is it possible to say if Index don't do something...
169: [15:59:52] * UndefinedOffset quit (Quit: Leaving.)
170: [16:00:30] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
171: [16:12:50] <kinglozzer> WebDevB: What are you doing in the template?
172: [16:13:00] <kinglozzer> <% loop $Groups %> ?
173: [16:13:24] <WebDevB> kinglozzer yea that's correct
174: [16:13:50] <kinglozzer> WebDevB: And how many results are showing?
175: [16:14:01] <kinglozzer> Could you paste your template too?
176: [16:14:09] <WebDevB> Kinglozzer
177: [16:14:12] <WebDevB> Yea 1 second.
178: [16:15:07] <WebDevB> kinglozzer: https://codeshare.io/PFqz8
179: [16:15:28] <ss-helper> Re: [silverstripe-dev] RFC: Replace SS_HTTPResponse/SS_HTTPRequest with HTTPFoundation - https://groups.google.com/d/msg/silverstripe-dev/FFbK4EPm0_I/_wHgVKNTAgAJ
180: [16:15:29] <ss-helper> Re: [silverstripe-dev] RFC: Replace SS_HTTPResponse/SS_HTTPRequest with HTTPFoundation - https://groups.google.com/d/msg/silverstripe-dev/FFbK4EPm0_I/YvD9loZNAQAJ
181: [16:15:43] <kinglozzer> WebDevB: The trouble is that you're paginating "groups", not results
182: [16:15:59] <kinglozzer> So it's going to show all the results for the first two groups, then all the results for the third group on the next page
183: [16:16:11] <kinglozzer> You've got 2 groups per page, not 2 results per page
184: [16:16:15] <kinglozzer> Make sense?
185: [16:16:17] <WebDevB> Yea
186: [16:16:24] <WebDevB> What's the best plan of action?
187: [16:17:01] <kinglozzer> I'm not sure.. I don't know how it's supposed to work
188: [16:17:23] <WebDevB> kinglozzer I want it to show the results not the groups.
189: [16:17:45] <kinglozzer> So you want to remove the groups entirely?
190: [16:19:09] <WebDevB> Yea
191: [16:19:19] <WebDevB> It's going to be easier.
192: [16:19:55] <kinglozzer> Okay, one sec
193: [16:21:04] <kinglozzer> WebDevB: https://codeshare.io/fhxzj so like that?
194: [16:22:02] <kinglozzer> Then you just need to remove the template logic for looping "Groups" and outputting the title, then results - replace that with just looping results
195: [16:22:23] <kinglozzer> I'd rename that function to Results(), then <% loop $Results %> in the template
196: [16:23:37] <WebDevB> Getting an error at the moment.
197: [16:27:06] <WebDevB> PHP Fatal error: Call to a member function push() on a non-object in
198: [16:27:10] <WebDevB> on line 99
199: [16:28:56] <kinglozzer> WebDevB: Change that like to $group->push instead of $group->Results->push
200: [16:29:20] <kinglozzer> (I edited this in browser, so obviously didn't test it!)
201: [16:30:25] <kinglozzer> Gotta run, good luck!
202: [16:30:26] * kinglozzer quit ()
203: [16:44:59] * WebDevB quit (Remote host closed the connection)
204: [16:59:29] * UndefinedOffset has joined #silverstripe
205: [17:05:01] * diana has joined #silverstripe
206: [17:10:02] * XorPush quit (Quit: Page closed)
207: [17:15:38] * diana quit (Quit: Page closed)
208: [17:17:38] * wilson has joined #silverstripe
209: [17:17:53] <wilson> *wilson
210: [17:18:02] * wilson is now known as Guest52482
211: [17:18:33] <Guest52482> HI to all, i have the CANT ALTER TABLES problem from install. All I've found is related to underscore issues into the database name. Still valid?
212: [17:20:20] <PenguinMan98> I would suggest you double check the permissions on your db user?
213: [17:29:28] * Guest52482 quit (Ping timeout: 250 seconds)
214: [17:55:56] * Agilix_ has joined #silverstripe
215: [18:00:31] <ss-helper> Re: [silverstripe-dev] RFC: Replace SS_HTTPResponse/SS_HTTPRequest with HTTPFoundation - https://groups.google.com/d/msg/silverstripe-dev/FFbK4EPm0_I/Hfjitq20DQAJ
216: [18:00:53] * arnhoe has joined #silverstripe
217: [18:12:40] <Agilix_> Anyone here? I got a siteConfig that returns Null in controller
218: [18:13:29] <Agilix_> nvm it's the id not the page itself :p
219: [18:37:36] * DimiStripe quit (Quit: DimiStripe)
220: [18:50:46] * darianno quit (Quit: Computer has gone to sleep.)
221: [19:13:10] * Stomach has joined #silverstripe
222: [19:22:46] * arnhoe quit (Remote host closed the connection)
223: [19:29:20] * Stomach quit (Quit: zzz)
224: [19:29:30] * Agilix_ quit (Ping timeout: 250 seconds)
225: [20:01:41] * muskie9 has joined #silverstripe
226: [20:02:02] * Stomach has joined #silverstripe
227: [20:04:02] * shellbac1pacific has joined #silverstripe
228: [20:04:38] * shellbackpacific quit (Read error: Connection reset by peer)
229: [20:06:32] * arnhoe has joined #silverstripe
230: [20:22:28] * arnhoe quit ()
231: [20:49:29] * gelignite has joined #silverstripe
232: [20:51:45] * UndefinedOffset quit (Quit: Leaving.)
233: [20:52:32] * UncleCheese has joined #silverstripe
234: [20:55:47] * Stomach quit (Quit: zzz)
235: [20:56:42] * Stomach has joined #silverstripe
236: [21:05:54] * Stomach_ has joined #silverstripe
237: [21:09:02] * Stomach quit (Ping timeout: 260 seconds)
238: [21:19:04] * [Fate] quit (Quit: Quit)
239: [21:25:22] * micmania1 has joined #silverstripe
240: [21:29:54] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
241: [21:32:01] * muskie9 has joined #silverstripe
242: [21:32:39] * [Fate] has joined #silverstripe
243: [22:07:42] * cheddam has joined #silverstripe
244: [22:10:59] * micmania1 quit (Quit: micmania1)
245: [22:13:09] * micmania1 has joined #silverstripe
246: [22:14:44] * Stomach_ quit (Quit: zzz)
247: [22:17:24] * Stomach has joined #silverstripe
248: [22:40:52] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
249: [22:44:08] * jules0x has joined #silverstripe
250: [22:45:12] <jules0x> Morning, Solr question time!
251: [22:45:48] <jules0x> I have two sites... one takes ~20 seconds before a change to a page is searchable with Solr. The other takes 3 minutes.
252: [22:45:57] <jules0x> Neither use queuedjobs...
253: [22:46:30] <jules0x> the database on the second site is far larger
254: [22:46:54] <jules0x> is this sort of thing what you'd expect? A slowing down of the indexing as the database grows larger?
255: [22:48:50] <jules0x> the slower sites DB is 10x the size of the faster site.
256: [22:54:10] * Stomach quit (Quit: zzz)
257: [22:55:40] <micmania1> jules0x: yes, that’s expected.
258: [22:56:23] * Stomach has joined #silverstripe
259: [23:11:25] <Stomach> @jules0x yeah that is normal
260: [23:15:38] <ss-helper> Re: docs.silverstripe.org down - https://groups.google.com/d/msg/silverstripe-dev/iXkA66awmlk/TclGKeSRAQAJ
261: [23:18:12] * spronk has joined #silverstripe
262: [23:19:34] <jules0x> the slower site has 250,000+ objects (live dataobjects) compared to ~1000(live pages) for the faster site
263: [23:19:36] <jules0x> :(
264: [23:30:38] <ss-helper> Re: SS4 build tooling now documented - https://groups.google.com/d/msg/silverstripe-dev/-lWznj3Wi6I/NPZpJFCDAgAJ
265: [23:45:39] <ss-helper> Re: [silverstripe-dev] RFC: Replace SS_HTTPResponse/SS_HTTPRequest with HTTPFoundation - https://groups.google.com/d/msg/silverstripe-dev/FFbK4EPm0_I/F4O8GU3HDQAJ
266: [23:59:00] * gelignite quit (Quit: http://bit.ly/1kso8Ta)

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