#silverstripe IRC Log

IRC log for 7 September 2013

All timestamps are in UTC.

1: [00:04:36] * howardgrigg has joined #silverstripe
2: [00:26:42] * priithansen quit (Quit: priithansen)
3: [00:49:48] * zippy__ quit (Ping timeout: 260 seconds)
4: [00:53:40] * spronk has joined #silverstripe
5: [00:58:14] * toddmorey1 has joined #silverstripe
6: [00:58:14] * toddmorey quit (Read error: Connection reset by peer)
7: [01:00:45] * spronk has left #silverstripe
8: [01:00:53] * spronk has joined #silverstripe
9: [01:01:01] * spronk has left #silverstripe
10: [01:01:55] * toddmorey1 quit (Client Quit)
11: [01:02:48] * spronk has joined #silverstripe
12: [01:05:14] * toddmorey has joined #silverstripe
13: [01:33:02] * Colin[pi] quit ()
14: [01:38:33] * howardgrigg quit (Ping timeout: 240 seconds)
15: [01:44:31] * howardgrigg has joined #silverstripe
16: [02:27:59] * toddmorey quit (Quit: Leaving.)
17: [03:02:07] * toddmorey has joined #silverstripe
18: [03:03:57] * toddmorey quit (Client Quit)
19: [03:31:26] * cloph quit (Ping timeout: 240 seconds)
20: [03:31:33] * cloph_away has joined #silverstripe
21: [03:36:12] * toddmorey has joined #silverstripe
22: [04:06:52] * toddmorey quit (Quit: Leaving.)
23: [04:07:14] * howardgrigg quit (Read error: Connection reset by peer)
24: [04:07:49] * howardgrigg has joined #silverstripe
25: [04:38:14] * howardgrigg quit (Read error: Connection reset by peer)
26: [04:38:43] * howardgrigg has joined #silverstripe
27: [04:40:56] <ss23> :/
28: [04:41:01] <ss23> Ingo broke addons search again
29: [04:42:06] <ss23> Rather, it is broken :<
30: [04:42:10] <guzzlefry> uh oh
31: [04:49:16] * howardgrigg quit (Read error: Connection reset by peer)
32: [04:49:57] * howardgrigg has joined #silverstripe
33: [04:58:46] <wmk> g'morning
34: [05:00:28] <ss23> moin wmk
35: [05:23:16] * howardgrigg quit (Ping timeout: 264 seconds)
36: [05:24:41] * Trooy has joined #silverstripe
37: [05:35:54] * willr quit (Quit: willr)
38: [05:37:11] * toddmorey has joined #silverstripe
39: [05:43:39] * toddmorey quit (Ping timeout: 268 seconds)
40: [05:52:50] * Trooy quit (Ping timeout: 256 seconds)
41: [06:10:02] * Trooy has joined #silverstripe
42: [06:10:12] * Trooy quit (Client Quit)
43: [06:39:10] * toddmorey has joined #silverstripe
44: [06:43:13] * Motoservo has joined #silverstripe
45: [06:44:05] * toddmorey quit (Ping timeout: 268 seconds)
46: [07:28:55] * violetina has joined #silverstripe
47: [07:39:44] * toddmorey has joined #silverstripe
48: [07:44:04] * toddmorey quit (Ping timeout: 240 seconds)
49: [08:06:00] * gelignite has joined #silverstripe
50: [08:16:25] <wmk> man it can be soooo simple once you get it. I'm excited
51: [08:40:16] * toddmorey has joined #silverstripe
52: [08:44:52] * toddmorey quit (Ping timeout: 260 seconds)
53: [08:46:14] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
54: [08:48:56] * SightUnseen has joined #silverstripe
55: [08:49:08] * SightUnseen has left #silverstripe
56: [08:49:14] * wolfehr has joined #silverstripe
57: [08:52:26] * wolfehr quit (Client Quit)
58: [09:10:00] * dangerdan has joined #silverstripe
59: [09:19:20] * Dedra has joined #silverstripe
60: [09:32:26] * Dedra quit (Quit: Bye guys, have to go!)
61: [09:40:43] * toddmorey has joined #silverstripe
62: [09:45:23] * toddmorey quit (Ping timeout: 260 seconds)
63: [09:51:41] * dangerdan quit (Quit: Page closed)
64: [09:59:59] * r3v3rb has joined #silverstripe
65: [10:00:06] * r3v3rb has left #silverstripe
66: [10:01:38] * digitaldesign has joined #silverstripe
67: [10:18:54] <digitaldesign> Hi guys, I've just deployed a site from my local machine to live and am having trouble with index.php/ being inserted before every page
68: [10:19:10] <digitaldesign> I'm sure its something simple … any suggestions
69: [10:19:12] <digitaldesign> ?
70: [10:20:19] <ss23> digitaldesign: Depends on a few things, but first suggestion is to delete/rename/move index.php
71: [10:20:22] <ss23> digitaldesign: See if that helps/works
72: [10:21:47] <digitaldesign> just tried but no luck
73: [10:22:12] <digitaldesign> i think it might be the base url? even image URLs have index.php/ inserted before the path
74: [10:22:24] <digitaldesign> http://isolatedangles.com/clients/naomitroski/index.php/about-us/
75: [10:23:03] * priithansen has joined #silverstripe
76: [10:23:09] <digitaldesign> only the homepage works… but with images incorrectly referenced http://isolatedangles.com/clients/naomitroski/
77: [10:26:14] <ss23> Yes, that base URL is wrong
78: [10:26:51] <ss23> No idea why it's doing that, sory
79: [10:27:11] <ss23> Actually, I think it comes from the install...
80: [10:27:30] <ss23> digitaldesign: You could try replace the .htaccess file you have now with the one before you ran the installer, I'm sure I've seen an issue like this before
81: [10:27:40] <ss23> wait
82: [10:27:48] <ss23> digitaldesign: You don't have mod_rewrite enabled
83: [10:28:27] <ss23> digitaldesign: Google like "mod_rewrite turn on" or something. How you turn it on and get it set up depends heavily on your host/server
84: [10:28:54] <digitaldesign> i do have it on in .htaccess
85: [10:29:26] <digitaldesign>  SetEnv HTTP_MOD_REWRITE On
86: [10:29:27] <digitaldesign>  RewriteEngine On
87: [10:29:28] <digitaldesign>  RewriteBase '/clients/naomitroski'
88: [10:29:38] <ss23> digitaldesign: That doesn't always mean that your webserver cares about it
89: [10:29:47] <digitaldesign> ah gotcha ok ill speak to them
90: [10:29:50] <digitaldesign> thnx
91: [10:41:12] * toddmorey has joined #silverstripe
92: [10:45:35] * toddmorey quit (Ping timeout: 260 seconds)
93: [10:54:10] <digitaldesign> so according to phpinfo() mod_rewrite is on
94: [10:54:22] <digitaldesign> and the hosting people confirmed that also.
95: [10:56:32] <ss23> It's working now
96: [10:56:35] <ss23> It wasnt' when I checked before
97: [10:57:07] <digitaldesign> ok gotcha
98: [10:57:09] <ss23> digitaldesign: Can you pastebin your .htaccess file?
99: [10:59:08] * dangerdan has joined #silverstripe
100: [11:00:08] <digitaldesign> sending you the file now
101: [11:00:12] <digitaldesign> thnx
102: [11:00:14] <ss23> Can you pastebin it instead?
103: [11:00:23] <ss23> Use a site like http://gist.github.com
104: [11:00:28] <ss23> (It's not easy for me to receive files over IRC)
105: [11:00:36] <digitaldesign> yep no worries
106: [11:00:39] * chillu has joined #silverstripe
107: [11:03:29] <digitaldesign> https://gist.github.com/anonymous/6474687
108: [11:05:47] <ss23> digitaldesign: What happens if you take out the RewriteBase line?
109: [11:05:59] <ss23> digitaldesign: I'm grasping at straws though, I can't remmeber where the BaseURL even comes from
110: [11:07:21] <digitaldesign> no change, same issue
111: [11:07:29] <ss23> I do not know, sorry :<
112: [11:07:30] <ss23> I HAVE FAILED
113: [11:07:46] <digitaldesign> no worries, thanks for your thoughts anyhow
114: [11:07:51] <ss23> chillu: digitaldesign is having his base URL have index.php in it, despite url rewriting working (I don't think it was at the time of install), how 2 fix?
115: [11:08:12] <chillu> ss23: Just looking into the damned elastic search index...
116: [11:08:48] <ss23> chillu: Yeah, thought I would re-open, I don't know enough about elastic to debug myself :<
117: [11:09:24] <chillu> its a pain, because there's no obvious way to inspect the whole index - need to learn a bit more about how to explicitly search for NULL values
118: [11:11:08] <chillu> ss23: Have you looked at the addons codebase BTW? I think its a great example of how SS should be written (by @ajshort)
119: [11:18:36] <ss23> chillu: I had a quick look around the search code, but haven't looked at it properly
120: [11:18:46] <ss23> I might read it one day though :D
121: [11:20:53] * ARNHOE has joined #silverstripe
122: [11:22:39] * gelignite quit (Quit: http://bit.ly/nkczDT)
123: [11:24:37] * toddmorey has joined #silverstripe
124: [11:27:20] * ARNHOE quit (Remote host closed the connection)
125: [11:29:39] <chillu> ss23: https://github.com/ajshort/silverstripe-elastica/pull/1
126: [11:30:25] <ss23> :D
127: [11:30:27] <ss23> I see, nice
128: [11:31:45] * kerosene has joined #silverstripe
129: [11:34:24] <chillu> I love how easy composer makes it to switch to a fork: https://github.com/silverstripe/addons.silverstripe.org/commit/8ce1c9610f641eee1aecd350ef3b9c3762e31131
130: [11:38:33] <ss23> Just remember to change it back... have any idea how many projects are on your fork of fulltextsearch, the one that was majorily bugged out for a bunch of live websites for a few months? :P
131: [11:52:59] * Shrike_Finland has joined #silverstripe
132: [11:54:05] <chillu> ss23 haha I blame Hamish for that, he didn't merge back my pulls
133: [11:56:30] <chillu> Ah, I see https://github.com/silverstripe-big-o/silverstripe-fulltextsearch/commit/e863816b49e09936f8890fbc99d78e37bf67db99 - yeah, poke Hamish to get that merged aye
134: [11:56:41] <ss23> I will
135: [11:56:45] <ss23> :D
136: [12:05:59] * priithansen quit (Quit: priithansen)
137: [12:06:59] * priithansen has joined #silverstripe
138: [12:18:13] * ARNHOE has joined #silverstripe
139: [12:18:37] <ARNHOE> Hi, anyone found a way to call img tags in summaryfields? I would like to be able to show a flag in summaryfields
140: [12:18:44] * toddmorey quit (Quit: Leaving.)
141: [12:27:28] <wmk> ARNHOE, either make a getFlag method or if it's a relation MyImage.Thumbnail
142: [12:40:02] * toddmorey has joined #silverstripe
143: [12:42:44] * kerosene quit (Quit: leaving)
144: [12:54:50] * priithansen quit (Quit: priithansen)
145: [12:55:48] * toddmorey quit (Quit: Leaving.)
146: [12:57:58] <digitaldesign> anyone here any good with htaccess files?
147: [13:03:07] * dangerdan quit (Quit: Page closed)
148: [13:07:01] <ss23> digitaldesign: You should aks your question as "I have mod_rewrite on, but my base URL still has index.php in it. How can I get it to be right?" or something
149: [13:11:10] <digitaldesign> ss23: thnx
150: [13:28:36] * toddmorey has joined #silverstripe
151: [13:38:24] <ARNHOE> chillu: When I am caching a loop that has <%t Bonden.Formation "Formation" %> and once I switch language (using fluent) it doesnt pick up the _t function switch because of the cache
152: [13:42:47] <digitaldesign> I have mod_rewrite on, but my base URL still has index.php in it. How can I get it to be right?
153: [13:45:04] * toddmorey quit (Quit: Leaving.)
154: [13:47:02] <ARNHOE> digitaldesign: check your RewriteBase
155: [13:48:06] <ss23> ARNHOE: From digitaldesign - https://gist.github.com/anonymous/6474687
156: [13:49:12] <ARNHOE> basetag aswell I see
157: [13:49:42] <ARNHOE> weird
158: [13:50:05] <chillu> ARNHOE: Uhm yes, that's kind of the exepcted behaviour of <% cached %> ;)
159: [13:50:24] <chillu> You need to add the current locale to your cache key
160: [13:50:39] <ss23> Or put the cache on only the content that touches DB etc, not the lagnague stuff
161: [13:50:59] <ARNHOE> yeah but ss23 you cant uncache within a loop/with right
162: [13:51:13] * NitinShah has joined #silverstripe
163: [13:51:42] <ARNHOE> chillu: is there a chance you coudl help me with a example of cache key with locale?
164: [13:53:45] <chillu> <% cached 'MyIdentifier' $ContentLocale %> should do the trick
165: [13:54:07] <chillu> <% cached 'MyIdentifier', $ContentLocale %>
166: [13:54:55] <NitinShah> chillu: can you please help me with the tagfield module
167: [13:55:09] <ARNHOE> cheers chillu seems kinda obvious thought way too hard!
168: [13:55:46] <chillu> ARNHOE: Maybe you could document this in i18n.md and send a documentation pull request?
169: [13:55:52] <chillu> NitinShah: What's the issue?
170: [13:56:22] <NitinShah> I have installed it and added tagfield to pages, and have been able to make the tags links, which when clicked will take to a page listing all posts with the particular tag
171: [13:56:49] <ARNHOE> chillu: My english is not exactly on level that is necessary for those documentions but ill see what I can do
172: [13:57:05] <NitinShah> the issue is the genereated link for the tag is something like siteurl/pageurl/tag/selectedtag and I would like to change the same to siteurl/tag/selectedtag
173: [13:57:21] <chillu> Meh, about half of it has been written by non-native speakers. I'd rather have slightly off english than no docs at all
174: [13:59:02] <chillu> NitinShah: The tagfield module doesn't generate any links, it doesn't come with a specific DataObject class (or routing)
175: [13:59:02] <NitinShah> chillu: I am just pasting the code to sspaste so that you can check what I have done and suggest
176: [13:59:34] <ARNHOE> chillu: $ContentLocale didnt seem to do the trick but <% cached 'MyIdentifier', $CurrentLocale %> does
177: [14:00:49] <chillu> Is that a method in your custom controller classes?
178: [14:01:00] <chillu> Because its not part of core
179: [14:03:34] <NitinShah> chillu: here is the link on sspaste http://sspaste.com/paste/show/522b30d062064
180: [14:05:04] <chillu> NitinShah: Where does TagsCollection come from?
181: [14:05:53] * Motoservo has joined #silverstripe
182: [14:09:52] <NitinShah> chillu: sorry pasted the wrong template code, have added a comment with the right tag
183: [14:10:53] <NitinShah> it should be RelationTags and not TagsCollection
184: [14:11:10] <chillu> NitinShah: But Tag.php doesn't have a $Link method, so I don't see where that would come from. Either way, that's all custom code, not TagField related
185: [14:13:09] <NitinShah> the only cutom code I have added is on page.php under Page_Controller. the rest is being done using the tagfield module
186: [14:13:53] <NitinShah> public function tag($request) {return array('MatchingTags' => $this->RelationTags()->filter('Title', $request->param('ID'))); }
187: [14:15:13] <ARNHOE> I saw in server requirements xcache or wincache is recommended, does that mean APC isnt? Asking this because I can understand you wont be adding all possible caching processors
188: [14:17:12] <chillu> ARNHOE: We mostly run APC
189: [14:17:44] <chillu> That's at SS Ltdl. Not sure when/why that changed, not an infrastructure person :)
190: [14:18:04] <ARNHOE> oke :)
191: [14:19:40] <NitinShah> chillu: for your info am using the ss3.1. Also if not this, than any other way in which I can achieve the required functionality
192: [14:20:42] <chillu> "require func" of caching?
193: [14:22:59] <chillu> off to lunch
194: [14:24:23] <NitinShah> chillu: once you back do let me know
195: [14:27:46] * nmshah has joined #silverstripe
196: [14:30:34] * toddmorey has joined #silverstripe
197: [14:30:36] * NitinShah quit (Ping timeout: 240 seconds)
198: [14:30:50] * Motoservo quit (Read error: Connection reset by peer)
199: [14:31:05] * Motoservo has joined #silverstripe
200: [14:32:56] * nmshah quit (Ping timeout: 240 seconds)
201: [14:47:58] * toddmorey quit (Quit: Leaving.)
202: [14:49:20] * chillu quit (Quit: chillu)
203: [15:05:03] * chillu has joined #silverstripe
204: [15:25:11] * Kapdap quit (Quit: leaving)
205: [15:27:23] * priithansen has joined #silverstripe
206: [15:36:36] * Kapdap has joined #silverstripe
207: [16:06:28] * toddmorey has joined #silverstripe
208: [16:12:24] * toddmorey quit (Ping timeout: 260 seconds)
209: [16:27:56] * nmshah has joined #silverstripe
210: [16:28:39] * Liquide has joined #silverstripe
211: [16:28:53] * nmshah quit (Client Quit)
212: [16:29:27] * NitinShah has joined #silverstripe
213: [17:08:57] * toddmorey has joined #silverstripe
214: [17:10:59] * swordsmanz quit (Read error: Operation timed out)
215: [17:14:56] * toddmorey quit (Ping timeout: 268 seconds)
216: [17:16:47] * toddmorey has joined #silverstripe
217: [17:26:21] * chillu quit (Quit: chillu)
218: [17:32:41] * toddmorey quit (Quit: Leaving.)
219: [17:35:04] * toddmorey has joined #silverstripe
220: [17:35:13] * SightUnseen has joined #silverstripe
221: [17:35:25] * SightUnseen has left #silverstripe
222: [17:51:17] * toddmorey quit (Quit: Leaving.)
223: [18:44:59] * toddmorey has joined #silverstripe
224: [19:01:24] * toddmorey quit (Quit: Leaving.)
225: [19:38:17] * toddmorey has joined #silverstripe
226: [19:45:30] * Error404NotFound has joined #silverstripe
227: [19:54:44] * toddmorey quit (Quit: Leaving.)
228: [20:02:37] <Shrike_Finland> Is there Show All option in Gridfield?
229: [20:04:52] * lerni has joined #silverstripe
230: [20:22:06] * Liquide quit (Ping timeout: 256 seconds)
231: [20:23:03] * toddmorey has joined #silverstripe
232: [20:32:50] * gelignite has joined #silverstripe
233: [20:33:32] * micmania1 has joined #silverstripe
234: [20:36:12] <simon_w|air> Shrike_Finland, just remove the Paginator component
235: [20:39:45] * toddmorey quit (Quit: Leaving.)
236: [20:45:21] <Shrike_Finland> Actually did that and replaced it with paginatorwithshowall module. There is something wrong, as show all button does not show all...
237: [21:14:55] * SightUnseen has joined #silverstripe
238: [21:16:07] * SightUnseen has left #silverstripe
239: [21:20:51] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
240: [21:24:39] * gelignite quit (Quit: http://bit.ly/nkczDT)
241: [21:28:15] * toddmorey has joined #silverstripe
242: [21:30:43] * NitinShah quit (Quit: Leaving)
243: [21:31:35] * lerni quit (Quit: lerni)
244: [21:46:27] * mobiusnz has joined #silverstripe
245: [22:04:35] * mobiusnz quit (Quit: Leaving.)
246: [22:16:38] * maknz quit (Quit: ["Textual IRC Client: www.textualapp.com"])
247: [22:34:41] * toddmorey quit (Quit: Leaving.)
248: [22:38:29] * toddmorey has joined #silverstripe
249: [22:39:02] * micmania1 quit (Ping timeout: 248 seconds)
250: [22:54:11] * toddmorey quit (Quit: Leaving.)
251: [23:08:35] * guzzlefry has left #silverstripe
252: [23:17:39] * priithansen quit (Quit: priithansen)
253: [23:32:50] * toddmorey has joined #silverstripe
254: [23:35:11] * SightUnseen has joined #silverstripe
255: [23:35:16] * SightUnseen has left #silverstripe
256: [23:42:19] * ARNHOE quit (Remote host closed the connection)
257: [23:44:46] * ARNHOE has joined #silverstripe
258: [23:44:52] * ARNHOE quit (Remote host closed the connection)
259: [23:48:37] * toddmorey quit (Quit: Leaving.)
260: [23:51:46] * SightUnseen1 has joined #silverstripe
261: [23:52:37] * SightUnseen1 has left #silverstripe

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