#silverstripe IRC Log

IRC log for 11 April 2015

All timestamps are in UTC.

1: [00:01:46] * jenniferaslan quit (Quit: jenniferaslan has left the room)
2: [00:04:10] * Stomach has joined #silverstripe
3: [00:05:03] * mobiusnz has joined #silverstripe
4: [00:15:40] * mobiusnz quit (Quit: Leaving.)
5: [00:21:50] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
6: [00:36:50] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
7: [00:57:58] * benjhocking has joined #silverstripe
8: [00:59:19] * Stomach quit (Quit: zzz)
9: [01:11:54] * Stomach has joined #silverstripe
10: [01:13:27] * tmro has joined #silverstripe
11: [01:18:04] * Stomach quit (Quit: zzz)
12: [01:26:28] * bemusedrat quit (Quit: Leaving)
13: [01:29:35] * veb quit (Quit: veb-irc: &)
14: [01:37:34] * Stomach has joined #silverstripe
15: [01:38:56] * Colin[pi] quit (Ping timeout: 240 seconds)
16: [02:05:46] * Colin[pi] has joined #silverstripe
17: [02:08:58] * benjhocking quit (Quit: Leaving.)
18: [02:10:31] * benjhocking has joined #silverstripe
19: [02:25:08] * CoreyW quit (Ping timeout: 250 seconds)
20: [02:33:14] * veb has joined #silverstripe
21: [02:48:46] <ss-helper> Re: Cannot select page to restore - http://www.silverstripe.org/community/forums/general-questions/show/101593#post401195
22: [03:06:04] * CoreyW has joined #silverstripe
23: [03:10:34] * mobiusnz has joined #silverstripe
24: [03:31:09] * Kutten has joined #silverstripe
25: [03:36:58] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
26: [03:36:58] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
27: [03:38:58] * CoreyW quit (Remote host closed the connection)
28: [03:46:31] * Guest93582 is now known as nontgor
29: [03:52:52] * veb quit (Quit: veb-irc: &)
30: [04:08:33] * UncleCheese has joined #silverstripe
31: [04:29:19] * Hailwood has joined #silverstripe
32: [04:34:29] * Hailwood quit (Remote host closed the connection)
33: [05:05:36] * Colin[pi] quit (Ping timeout: 240 seconds)
34: [05:05:59] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
35: [05:08:21] * Shrike_Finland has joined #silverstripe
36: [06:06:13] <ss-helper> Re: Working with subsite module on live server - http://www.silverstripe.org/community/forums/general-questions/show/101596#post401196
37: [06:33:59] * Shrike_Finland quit (Quit: Leaving.)
38: [06:46:28] * veb has joined #silverstripe
39: [07:29:28] * Eliseth has joined #silverstripe
40: [07:30:36] * Eliseth quit (Client Quit)
41: [07:53:50] <Kutten> Hey anyone there?
42: [07:54:08] <Kutten> I have a question about using composer.
43: [07:56:55] * Stomach quit (Quit: zzz)
44: [08:17:15] * wmk has joined #silverstripe
45: [08:20:02] * cloph quit (Ping timeout: 250 seconds)
46: [08:34:30] <ss-helper> Fix 500 Internal Server Error for subdomain using htaccess - http://www.silverstripe.org/community/forums/general-questions/show/101599
47: [08:46:52] * Colin[pi] has joined #silverstripe
48: [08:47:24] <Kutten> Anyone here?
49: [08:51:33] <ss-helper> Re: Fix 500 Internal Server Error for subdomain using htaccess - http://www.silverstripe.org/community/forums/general-questions/show/101599#post401198
50: [08:52:03] <Kutten> I installed silverstripe on my lamp stack and getting error:
51: [08:52:04] <Kutten> AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error.
52: [08:52:23] <Kutten> when go to localhost
53: [08:55:25] <wmk> Kutten, do you have a page called /home/ ??
54: [08:55:41] <wmk> or are you probably using subsite module?
55: [08:56:04] <wmk> Kutten, what websever? Apache?
56: [08:56:09] <Kutten> wmk: Sorry, I'm new to this, I can't answer that with confidence
57: [08:56:19] <Kutten> wmk: ok apache yes
58: [08:56:52] <wmk> which apache version?
59: [08:56:54] <Kutten> I used composer to install it
60: [08:57:33] <Kutten> wmk: apache2?
61: [08:57:44] <wmk> 2.2. or 2.4 ?
62: [08:57:59] <Kutten> wmk: Not sure, how can I check?
63: [08:58:06] <wmk> hmm...
64: [08:58:36] <wmk> sudo apachectl -v
65: [08:58:46] <wmk> Kutten, ^^ try this
66: [08:59:17] <wmk> maybe without sudo when you're root
67: [08:59:25] <Kutten> wmk: Looks like that did the trick
68: [08:59:26] <Kutten> Server version: Apache/2.4.7 (Ubuntu)
69: [08:59:26] <Kutten> Server built: Mar 10 2015 13:05:59
70: [08:59:52] <wmk> yup. guessed that
71: [09:00:02] * cloph_away has joined #silverstripe
72: [09:01:10] <wmk> zauberfisch, around?
73: [09:03:10] <Kutten> A friend of mine suggested that it might be a permission Issue, We tried sudo chown -R www-data:www-data /var/www
74: [09:03:10] <Kutten> didn't work.
75: [09:04:08] * Stomach has joined #silverstripe
76: [09:04:42] <wmk> Kutten, maybe http://www.silverstripe.org/community/forums/installing-silverstripe/show/17923?start=8 helps ?
77: [09:05:25] <wmk> Kutten, doess the .htacces in webroot exist?
78: [09:06:03] * cloph_away quit (Ping timeout: 246 seconds)
79: [09:07:02] <Kutten> wmk: I'm not sure?
80: [09:07:17] <wmk> Kutten, goto webroot, check if a file called ".htaccess" is there
81: [09:07:29] <wmk> cd /path/to/webroot
82: [09:07:35] <wmk> ls -a | grep htaccess
83: [09:09:11] <Kutten> wmk: Sorry, I can't find webroot, i search for it and found a folder call _facewebroot but not webroot :s
84: [09:09:27] <wmk> webroot = folder where silverstripe is installed
85: [09:09:40] <wmk> or at least: folder which is read when you call "localhost" in your browser
86: [09:09:49] <Kutten> wmk: Oh ok, sorry
87: [09:09:51] <wmk> Kutten, http://doc.silverstripe.org/en/getting_started/installation/common_problems/#mod-rewrite-isn-t-working-but-it-s-installed-prior-to-silverstripe-3-1-11 might help
88: [09:10:24] <Kutten> kurt@Kropotkin:~$ cd /var/www
89: [09:10:24] <Kutten> kurt@Kropotkin:/var/www$ ls -a | grep htaccess
90: [09:10:24] <Kutten> .htaccess
91: [09:10:42] <wmk> fine. which silverstripe version have you installed with composer?
92: [09:11:33] <Kutten> wmk: Again, I'm not sure. I just ran:
93: [09:11:33] <Kutten> sudo composer create-project silverstripe/installer /var/www/
94: [09:13:26] <wmk> what does "composer info -i" tell you?
95: [09:15:23] <Kutten> wmk: 3.1.12
96: [09:15:44] <wmk> hmm.. dunno.
97: [09:15:57] <wmk> so you got apache 2.4, ss 3.1.12 and a redirection issue
98: [09:16:22] <Kutten> wmk: I guess so
99: [09:16:24] <wmk> seems like some config issue with your lamp stack?
100: [09:17:43] <Kutten> wmk: Perhaps
101: [09:17:57] * cloph_away has joined #silverstripe
102: [09:18:07] <Kutten> wmk: I really have no idea, thanks for you help though.
103: [09:18:21] <wmk> double check the .htaccess, did you see the link to docs page above?
104: [09:18:30] <wmk> ~ 10mins ago
105: [09:18:54] <Kutten> I didn't look at it properly, give me a sec
106: [09:19:36] <ss-helper> Re: Fix 500 Internal Server Error for subdomain using htaccess - http://www.silverstripe.org/community/forums/general-questions/show/101599#post401199
107: [09:19:37] <wmk> zauberfisch, any infos on silverstripe on apache 2.4 ?
108: [09:25:28] <Kutten> wmk: You're talking about this link right?
109: [09:25:28] <Kutten> http://www.silverstripe.org/community/forums/installing-silverstripe/show/17923?start=8
110: [09:26:25] <wmk> Kutten, this and http://doc.silverstripe.org/en/getting_started/installation/common_problems/#mod-rewrite-isn-t-working-but-it-s-installed-prior-to-silverstripe-3-1-11
111: [09:30:09] <Kutten> wmk: So I should modify a .htaccess file?
112: [09:30:46] <wmk> you can try it. or wait until someone with more apache 2.4 knowledge is around
113: [09:30:55] <wmk> or even better: ask in forum or on stackoverflow ;)
114: [09:31:12] <wmk> with all infos we gathered together (versions of apache and ss)
115: [09:31:58] <Kutten> wmk: GF just served dinner so I might come back to it, cheers for you help, you think stackoverflow is more appropriate that the SS forum?
116: [09:32:21] <wmk> forum or stackoverflow are both good
117: [09:32:28] <wmk> irc is good for ad-hoc help
118: [09:32:33] <wmk> when the right guys are around ;)
119: [09:32:59] <Kutten> wmk: Okay, well thanks a lot for your help, much appreciated
120: [09:33:09] <wmk> you're welcome
121: [09:33:12] <wmk> and buon appetit!
122: [09:33:20] <Kutten> wmk: :)
123: [09:33:44] * jarr0dsz has joined #silverstripe
124: [09:40:20] * gelignite has joined #silverstripe
125: [09:58:10] * Colin[pi] quit (Ping timeout: 255 seconds)
126: [10:05:59] * cloph_away quit (Ping timeout: 244 seconds)
127: [10:06:19] <zauberfisch> wmk: whats the issue?
128: [10:06:45] <zauberfisch> wmk: I think I didn't have any issues with apache 2.4
129: [10:10:05] * Werner_2__ has joined #silverstripe
130: [10:11:06] * Colin[pi] has joined #silverstripe
131: [10:13:01] * wmk quit (Ping timeout: 255 seconds)
132: [10:21:52] * babak has joined #silverstripe
133: [10:33:56] * Shrike_Finland has joined #silverstripe
134: [10:40:04] * UncleCheese has joined #silverstripe
135: [10:53:00] <Stomach> the only thing is making sure that you use the new apache directives
136: [10:53:13] <Stomach> instead of deny, allow stuff
137: [10:57:27] * jarr0dsz quit (Quit: Textual IRC Client: www.textualapp.com)
138: [11:01:43] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
139: [11:06:07] * Colin[pi] quit (Ping timeout: 255 seconds)
140: [11:06:48] * DimiStripe has joined #silverstripe
141: [11:13:37] * Werner_2_ has joined #silverstripe
142: [11:13:37] * Werner_2__ quit (Read error: Connection reset by peer)
143: [11:19:23] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
144: [11:23:02] * Werner_2_ quit (Ping timeout: 256 seconds)
145: [11:49:55] <ss-helper> Re: DuplicateChecks in CsvBulkLoader isn't working - http://www.silverstripe.org/community/forums/general-questions/show/101506#post401146
146: [12:30:54] * Shrike_Finland quit (Quit: Leaving.)
147: [12:44:47] * Stomach quit (Quit: zzz)
148: [12:52:46] * wmk has joined #silverstripe
149: [12:57:42] * Werner_2_ has joined #silverstripe
150: [12:58:23] * wmk quit (Ping timeout: 256 seconds)
151: [13:15:12] * veb quit (Quit: veb-irc: quit)
152: [13:20:30] * Werner_2__ has joined #silverstripe
153: [13:20:31] * Werner_2_ quit (Read error: Connection reset by peer)
154: [13:49:08] * nontgor quit (Ping timeout: 245 seconds)
155: [14:01:47] * nontgor has joined #silverstripe
156: [14:16:52] * gelignite has joined #silverstripe
157: [14:28:54] * babak quit (Quit: Connection closed for inactivity)
158: [15:37:30] <ss-helper> Hosting for existing wesbite - http://www.silverstripe.org/community/forums/hosting-requirements/show/101600
159: [15:37:32] <ss-helper> SilverStripe Payment Module: 0.4.2 and 0.3.2 security release - https://groups.google.com/d/msg/silverstripe-announce/qFOFfvWBNe8/GBYNgOacmwgJ
160: [15:37:32] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
161: [15:50:27] <ss-helper> Developer required in UK - http://www.silverstripe.org/community/forums/connect-with-other-silverstripe-members/show/101601
162: [16:08:49] * Werner_2__ is now known as wmk
163: [16:26:44] <wmk> zauberfisch, /me didn't have any issues, but this other guy was asking...
164: [16:34:44] * Nightjar has joined #silverstripe
165: [16:39:57] <wmk> hey Nightjar
166: [16:40:23] <Nightjar> o/ wmk :)
167: [17:14:45] <zauberfisch> I see
168: [17:14:47] <zauberfisch> he still here?
169: [17:15:31] <wmk> Kutten, around?
170: [17:15:42] <wmk> guess it's night there
171: [17:20:39] <ss-helper> Re: 3.1.10 DataObject / onAfterWrite / in_array - http://www.silverstripe.org/community/forums/general-questions/show/101594#post401202
172: [17:35:10] <Nightjar> zauberfisch, \o
173: [17:35:34] <Nightjar> Kutten is Australian iirc
174: [17:35:45] <Nightjar> 3:35am
175: [17:36:06] <zauberfisch> Nightjar: o/
176: [17:57:52] <Nightjar> hooray, I'm coming back from Salzburg. I guess I'll buy tickets there on the train, since there's no discount advantage for pre-booking
177: [17:58:10] <zauberfisch> there was a week ago :P
178: [17:58:21] <Nightjar> *Checkout without an account* THAT is the way to handle things! :D
179: [17:58:43] <Nightjar> zauberfisch, you have a handy location in the middle there I guess :> Plus reasonably cheap tickets
180: [17:59:03] <Nightjar> zauberfisch, what is the Westbahn's timetable like? Every hour, or every half hour?
181: [17:59:08] <Nightjar> something like that right?
182: [17:59:20] <zauberfisch> Nightjar: every hour during the day
183: [18:01:40] <Nightjar> Every hour, thanks :)
184: [18:06:59] * Shrike_Finland has joined #silverstripe
185: [18:48:42] * emitor has joined #silverstripe
186: [18:51:10] <emitor> Hello all... I have a function which return form... it works, but I need to show the same form on same page more than one time - dynamicaly...
187: [18:56:11] <zauberfisch> same form multiple times?
188: [18:56:18] <zauberfisch> n times?
189: [18:56:22] <zauberfisch> or fixed max number?
190: [19:00:34] <emitor> n times
191: [19:04:58] <emitor> ...thats HTML problem... its not possible to show form with same ID more than one time... so I need to set form ID dynamically
192: [19:08:49] <zauberfisch> why would you even want to?
193: [19:09:45] <zauberfisch> the html problem is actually easy to solve. there is a method $form->setHTMLID('foo') or something
194: [19:10:06] <zauberfisch> but that will still leavel you with form fields that have the same name
195: [19:10:25] <zauberfisch> so it might be better to change the form name
196: [19:10:30] <emitor> thats support chat application... ant operator needs a separate form to send messages to any customer...
197: [19:10:38] <zauberfisch> $form = new Form($this, "MyForm$n");
198: [19:10:56] <zauberfisch> $form->setFormAction($this->Link("MyForm"));
199: [19:11:40] <zauberfisch> this will set the name MyForm0 ... MyFormN and thus also all FormFields, but still keep the form url at MyForm (so you just need 1 function MyForm())
200: [19:12:36] <emitor> great... so multiple form with same action function
201: [19:12:43] <zauberfisch> yep
202: [19:12:58] <zauberfisch> and you could add a hidden input with the ID of the customer or something
203: [19:13:42] <emitor> thans, much appreciate it
204: [19:14:25] <zauberfisch> or, if that doesn't work, you could set the name to MyForm$n but not change the FormAction() but instead overwrite the handleAction method
205: [19:14:39] <zauberfisch> to make MyForm$n work as url
206: [19:15:33] <emitor> $n is default variable or do I need initialize it to 0, 1, 2 ...
207: [19:16:29] <emitor> submitting will not a problem, because I use AJAX and custom js function to submit it...
208: [19:16:58] <emitor> What I need it`s just to display it more times
209: [19:19:14] <emitor> I am gonna try this: public function chatForm($chatID) {... return Form::create($this, 'chatForm'.chatID, $fields, $actions, $required);}
210: [19:22:36] <emitor> As I expected, not working :D
211: [19:23:45] * babak has joined #silverstripe
212: [19:23:59] <Nightjar> you're missing a $
213: [19:24:35] <Nightjar> and setting the action to the proper form method
214: [19:25:16] <Nightjar> unless chatForm is the proper form method, in which case you can't do that because there won't be a $chatID on submission (it must handle the request)
215: [19:27:59] <emitor> I just missed $ in rewritting here... in my code it is...
216: [19:33:28] <emitor> When I have in my template this: $chatForm(777) ... its working, but this one <% loop $OpenedChats %> $chatForm($ID) <% end_loop %> NOT
217: [19:34:31] <emitor> Is it possible to send parameter to function from template?
218: [19:37:21] <emitor> ...but parameter is set by LOOP in template
219: [19:41:43] <emitor> The answer is no http://www.silverstripe.org/community/forums/template-questions/show/17603 ... :(
220: [19:47:47] <emitor> And the solution is here: http://www.silverstripe.org/community/forums/template-questions/show/13619
221: [19:48:09] <emitor> thanks emitor for your help :D
222: [19:52:19] * emitor quit (Ping timeout: 246 seconds)
223: [19:59:52] * Shrike_Finland quit (Quit: Leaving.)
224: [20:04:31] * MrGuits quit (Ping timeout: 256 seconds)
225: [20:15:28] * Shrike_Finland has joined #silverstripe
226: [20:39:03] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
227: [20:54:25] * Nightjar quit (Quit: Leaving)
228: [21:02:16] * Stomach has joined #silverstripe
229: [21:12:18] * UncleCheese has joined #silverstripe
230: [21:30:15] * Stomach quit (Quit: zzz)
231: [21:30:54] * Stomach has joined #silverstripe
232: [21:31:14] * Stomach quit (Client Quit)
233: [21:45:12] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
234: [21:52:48] <Kutten> wmk: zauberfisch, Hey I'm here now.
235: [21:53:26] * UncleCheese has joined #silverstripe
236: [21:54:38] * Stomach has joined #silverstripe
237: [22:15:04] * wmk quit (Ping timeout: 250 seconds)
238: [22:28:27] * Shrike_Finland quit (Quit: Leaving.)
239: [22:48:54] * babak quit (Quit: Connection closed for inactivity)
240: [22:58:26] * Colin[pi] has joined #silverstripe
241: [22:58:44] <ss-helper> 500 Internal Server Error using apache 2.4 and silverstripe 3.1.12 - http://stackoverflow.com/questions/29583952/500-internal-server-error-using-apache-2-4-and-silverstripe-3-1-12
242: [23:28:45] <ss-helper> Silverstripe create unordered list from CheckboxSetField values (many_many) - http://stackoverflow.com/questions/29584213/silverstripe-create-unordered-list-from-checkboxsetfield-values-many-many
243: [23:44:43] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)

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