#silverstripe IRC Log

IRC log for 22 September 2016

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:00:18] * ss-helper has joined #silverstripe
3: [00:05:07] * BackEndCoder quit (Excess Flood)
4: [00:05:53] * BackEndCoder has joined #silverstripe
5: [00:28:12] * BackEndCoder quit (Excess Flood)
6: [00:30:23] * BackEndCoder has joined #silverstripe
7: [00:39:21] * DanaeNZ quit (Remote host closed the connection)
8: [00:39:59] * DanaeNZ has joined #silverstripe
9: [00:41:07] * micmania1 quit (Quit: micmania1)
10: [00:44:25] * DanaeNZ quit (Ping timeout: 255 seconds)
11: [01:09:53] * Jakx has joined #silverstripe
12: [01:10:16] * Azure has joined #silverstripe
13: [01:10:29] <Jakx> What's the trick for assigning a has_one before writing an object?
14: [01:11:58] * Azure|dc quit (Ping timeout: 244 seconds)
15: [01:15:32] <Jakx> Is there one?
16: [01:19:15] * micmania1 has joined #silverstripe
17: [01:30:45] * DanaeNZ has joined #silverstripe
18: [01:47:34] * MichalKleiner quit (Remote host closed the connection)
19: [01:48:07] * MichalKleiner has joined #silverstripe
20: [02:00:58] * Stomach quit (Quit: zzz)
21: [02:02:27] * Stomach has joined #silverstripe
22: [02:04:09] * micmania1 quit (Quit: micmania1)
23: [02:09:13] * Stomach quit (Ping timeout: 250 seconds)
24: [02:11:22] * Stomach has joined #silverstripe
25: [02:13:29] * Hailwood has joined #silverstripe
26: [02:14:53] <Hailwood> Hey folks, anyone know if you can have the same payment gateway use a different set of credentials depending on ... something?
27: [02:15:01] <Hailwood> ^ silverstripe-omnipay
28: [02:38:39] <DanaeNZ> Hailwood: sure thing, use config.yml and use conditionals to check if a constant is defined for example
29: [02:38:51] <DanaeNZ> you can also check for an environment variable
30: [02:39:25] <DanaeNZ> Unless, you mean, determined by like, an option on the form
31: [02:39:36] <Hailwood> DanaeNZ, To explain in a bit better, we have a "shop" section, and a "donations" section, and one more section, they all use different pxpay accounts.
32: [02:39:59] <DanaeNZ> sounds fun
33: [02:40:05] <DanaeNZ> I haven't done that before though
34: [02:40:22] <Hailwood> I thought about switching the config options just before I create the payment, but that will break once the user comes back from the payment provider afaik.
35: [02:40:41] <Hailwood> I think I might have to clone the paymentexpress driver for each set (blegh)
36: [03:05:21] <DanaeNZ> can you sort by a function on a DataObject
37: [03:07:18] <DanaeNZ> * question mark
38: [03:12:49] <DanaeNZ> aw man, grid field orderable rows doesn't trigger onBeforeWrite?
39: [03:13:56] * micmania1 has joined #silverstripe
40: [03:53:40] <Hailwood> DanaeNZ, Not for non "Versioned" dataobjects. However it does call onAfterReorderItems with the list if that's of any help?
41: [03:54:55] <DanaeNZ> Hailwood: Super helpful! I think I might be able to do that. It's an arbitrary gridfield in the site settings.
42: [03:56:04] <DanaeNZ> Ah I would need to put it on a gridfield extensions
43: [03:57:02] <Hailwood> Yeah you'd need to apply the extension to GridFieldOrderableRows and then probably check $list->dataClass() to find out if you're ordering the model you'd expect.
44: [03:58:27] <Hailwood> Looking through, I don't understand why it doesn't just always update them with the ORm
45: [04:00:26] <Hailwood> Hmm, So I've got an ecommerce platform. What would people find more useful? If all the features you'd want in an account page "update details, update addresses, previous orders" etc were just individual forms and the package provides no "AccountPage" so you can just put the forms wherever you want - Or just provide an AccountPage
46: [04:03:56] <DanaeNZ> I took a look, but I found an on-the-fly solution just using usort
47: [04:07:15] <spronk> bahhh composer.
48: [04:07:23] <spronk> anyone else having issues downloading some things from github via composer?
49: [04:18:43] * micmania1 quit (Quit: micmania1)
50: [04:26:42] * Stomach quit (Quit: zzz)
51: [04:28:23] <Hailwood> Nope.
52: [04:31:36] <Hailwood> I'm assuming that if I want nice urls (e.g. page/my-details instead of page/mydetails) then as well as allowed_actions I'll need to setup url_handlers yeah?
53: [04:38:13] * Stomach has joined #silverstripe
54: [05:02:45] * Hailwood quit (Remote host closed the connection)
55: [05:04:12] <Jakx> Damn, was just spell checking a reply to @Hailwood.
56: [05:23:14] * TRB143 quit (Ping timeout: 265 seconds)
57: [05:26:35] * DanaeNZ quit (Quit: TIME TO FEED)
58: [05:27:33] * TRB143 has joined #silverstripe
59: [05:30:48] * Liquide quit ()
60: [05:45:33] * Stomach quit (Ping timeout: 240 seconds)
61: [05:48:36] * spronk quit (Quit: I may need a longer sleep timer...)
62: [06:03:44] * TRB143 quit (Remote host closed the connection)
63: [06:04:51] * TRB143 has joined #silverstripe
64: [06:11:11] * darianno has joined #silverstripe
65: [06:12:11] * Jakx quit (Quit: Leaving)
66: [06:13:06] * ahr3n quit (Ping timeout: 264 seconds)
67: [06:15:08] <ss-helper> Silverstripe add/save object to has_one relation - http://stackoverflow.com/questions/19040712/silverstripe-add-save-object-to-has-one-relation
68: [06:19:35] * janneklouman-- has joined #silverstripe
69: [06:24:02] * janneklouman-- quit (Ping timeout: 244 seconds)
70: [06:58:31] * Mike123 has joined #silverstripe
71: [07:01:08] <Mike123> Hey guys, my old client just transfered old SS 2.4 to new server, everything seems to work fine BUT one thing isn't working well, after i change Title of page my urls segment isn't regenerating and i can't save the page , it shows me error... but when I focus on URLSegment Field it generates fine and i'm able to save the page
72: [07:01:15] <Mike123> what could be the problem ?
73: [07:14:12] * swaiba has joined #silverstripe
74: [07:16:22] <Mike123> hello swaiba
75: [07:16:37] <swaiba> morning Mike123
76: [07:16:47] <Mike123> maybe you will be able to answer this
77: [07:16:56] <Mike123> Hey guys, my old client just transfered old SS 2.4 to new server, everything seems to work fine BUT one thing isn't working well, after i change Title of page my urls segment isn't regenerating and i can't save the page , it shows me error... but when I focus on URLSegment Field it generates fine and i'm able to save the page
78: [07:17:24] <swaiba> maybe...
79: [07:17:27] <swaiba> or maybe not... :(
80: [07:21:10] <Mike123> Client IT guys says it could be because of firewall, but .. really ?? it could ?
81: [07:44:03] * pweh has joined #silverstripe
82: [07:50:47] * Stomach has joined #silverstripe
83: [08:07:11] * kinglozzer has joined #silverstripe
84: [08:09:52] * janneklouman-- has joined #silverstripe
85: [08:20:33] * Mike123 quit (Quit: Page closed)
86: [08:20:39] <pweh> i have no idea why im in this channel, Stomach
87: [08:20:50] <Stomach> hi pweh
88: [08:20:54] <Stomach> I don't either
89: [08:21:50] <pweh> Stomach, you´re from nz?
90: [08:21:55] <Stomach> sure am
91: [08:22:13] <pweh> ooh. what part?
92: [08:22:20] <Stomach> I'm currently in Auckland
93: [08:22:26] <pweh> ooh.
94: [08:22:31] <pweh> same
95: [08:22:37] <Stomach> hoorah!
96: [08:22:49] <pweh> yah!
97: [08:26:23] <swaiba> pweh and Stomach you are here because everyone loves silverstripe!
98: [08:26:51] <Stomach> swaiba I mean't I didn't know why pweh is here - I know exactly why I'm here
99: [08:27:00] <Stomach> I forgot to close textual when I left work
100: [08:27:01] <Stomach> thats why
101: [08:27:26] <swaiba> ha!
102: [08:27:47] <pweh> what is silverstripe
103: [08:30:25] <swaiba> pweh "it's win, filled with win that is winning" to quote charlie sheen
104: [08:45:00] <pweh> swaiba, so its drugs?
105: [08:45:17] <swaiba> its win
106: [08:45:42] <pweh> its WIN?
107: [08:46:49] * Stomach quit (Quit: zzz)
108: [08:50:31] * Stomach has joined #silverstripe
109: [08:54:39] * Stomach quit (Client Quit)
110: [08:55:22] <swaiba> confirmed... winning win
111: [09:03:59] * swaiba_ has joined #silverstripe
112: [09:04:25] * pweh is now known as yournick
113: [09:04:43] * yournick is now known as pweh
114: [09:05:13] * swaiba quit (Read error: Connection reset by peer)
115: [09:10:59] * spronk has joined #silverstripe
116: [09:47:34] * spronka has joined #silverstripe
117: [09:57:37] * Stomach has joined #silverstripe
118: [10:02:07] * ^pH has joined #silverstripe
119: [10:15:17] * spronk quit (Quit: I may need a longer sleep timer...)
120: [10:16:56] * Stomach quit (Quit: zzz)
121: [10:23:17] * ahr3n has joined #silverstripe
122: [10:26:49] * cloph quit (Remote host closed the connection)
123: [10:30:49] * cloph_away has joined #silverstripe
124: [10:38:28] * cloph_away is now known as cloph
125: [10:49:36] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
126: [10:51:25] * Azure has joined #silverstripe
127: [11:15:02] * ahr3n quit (Ping timeout: 265 seconds)
128: [11:21:54] * DimiStripe has joined #silverstripe
129: [11:54:02] * spronka quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
130: [11:58:00] * swaiba_ quit (Remote host closed the connection)
131: [12:18:50] * UndefinedOffset has joined #silverstripe
132: [12:28:17] * pweh quit (Read error: Connection reset by peer)
133: [13:05:09] * znorelo has joined #silverstripe
134: [13:05:16] <znorelo> hello everyone !
135: [13:05:38] <znorelo> I'm trying to implement a Instant Notification Payment (IPN) with silverstripe
136: [13:06:02] <znorelo> How can I catch the $_POST value from an external post submission ?
137: [13:06:23] <znorelo> $_POST is empty :(
138: [13:08:37] <znorelo> http://pastebin.com/FWsSjHVw
139: [13:15:15] <ss-helper> SS_HTTPRequest could not be converted to string - http://stackoverflow.com/questions/39639965/ss-httprequest-could-not-be-converted-to-string
140: [13:22:23] * znorelo quit (Quit: Page closed)
141: [13:35:17] <slievr> I have a strange issue where request handler is checking other actions after matching with one.
142: [13:35:27] <slievr> anyone encountered anything like this bedore
143: [13:35:31] <slievr> before*
144: [13:36:39] * wmk has joined #silverstripe
145: [13:45:15] <ss-helper> Silverstripe fulltextsearch members - http://stackoverflow.com/questions/39640546/silverstripe-fulltextsearch-members
146: [13:47:00] * UndefinedOffset quit (Quit: Leaving.)
147: [14:01:52] * micmania1 has joined #silverstripe
148: [14:05:42] * UndefinedOffset has joined #silverstripe
149: [14:06:19] * micmania1 quit (Ping timeout: 255 seconds)
150: [14:16:46] * muskie9 has joined #silverstripe
151: [14:20:06] * lerni has joined #silverstripe
152: [14:36:48] * darianno quit (Quit: Textual IRC Client: www.textualapp.com)
153: [14:37:51] * UndefinedOffset quit (Quit: Leaving.)
154: [14:58:51] * lerni quit ()
155: [15:05:03] * wmk quit (Ping timeout: 240 seconds)
156: [15:14:42] * wmk has joined #silverstripe
157: [15:46:15] * wmk quit (Ping timeout: 265 seconds)
158: [15:48:27] * UndefinedOffset has joined #silverstripe
159: [16:12:46] * AlphaCactus quit (Ping timeout: 255 seconds)
160: [16:13:11] * AlphaCactus has joined #silverstripe
161: [16:21:27] * kinglozzer quit ()
162: [16:23:37] * janneklouman-- quit (Ping timeout: 248 seconds)
163: [17:14:04] * UndefinedOffset quit (Quit: Leaving.)
164: [17:15:18] <ss-helper> Custom Silverstripe Report Filter isn't being applied till manual page refresh - http://stackoverflow.com/questions/39644741/custom-silverstripe-report-filter-isnt-being-applied-till-manual-page-refresh
165: [17:31:45] * UndefinedOffset has joined #silverstripe
166: [18:00:31] * gelignite has joined #silverstripe
167: [18:24:16] * DimiStripe quit (Quit: DimiStripe)
168: [18:52:45] * Stomach has joined #silverstripe
169: [18:55:38] * DimiStripe has joined #silverstripe
170: [19:01:45] * Stomach quit (Quit: zzz)
171: [19:02:43] * Stomach has joined #silverstripe
172: [19:06:28] * micmania1 has joined #silverstripe
173: [19:11:20] * micmania1 quit (Ping timeout: 260 seconds)
174: [19:54:00] * Admonish has joined #silverstripe
175: [19:54:38] <Admonish> Hey guys Im getting a strange error that I cannot seem to figure out
176: [19:54:40] <Admonish> ERROR [Warning]: SS_HTMLValue::getContent(): ID action_reset_Holder already defined
177: [19:55:20] <Admonish> It appears everytime I try to access the security of files ModalAdmin pages
178: [19:55:23] <Admonish> in the CMS
179: [19:56:32] <Admonish> Any help would be greatly appreciated
180: [19:57:56] <Admonish> I believe it has something to do with one of the ModalAdmins I created. The reason I say this is that the same error occurs when I try to edit an record in that ModelAdmin yet all my other custom ModelAdmins work fine.
181: [19:58:23] <Admonish> Im going to try to narrow it down
182: [20:09:09] * muskie9 quit (Ping timeout: 244 seconds)
183: [20:22:37] * UndefinedOffset quit (Quit: Leaving.)
184: [20:24:37] * Stomach quit (Quit: zzz)
185: [20:32:26] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
186: [20:34:29] * DanaeNZ has joined #silverstripe
187: [20:39:21] * Stomach has joined #silverstripe
188: [20:55:29] * Stomach quit (Quit: zzz)
189: [20:57:14] * Stomach has joined #silverstripe
190: [21:05:08] * Admonish has joined #silverstripe
191: [21:05:08] * Admonish quit (Client Quit)
192: [21:10:50] * Hailwood has joined #silverstripe
193: [21:28:00] <DanaeNZ> Oh snap, I fly away today
194: [21:28:08] <DanaeNZ> finger gunning into the sunset
195: [21:30:22] <ss-helper> Uncaught ImagickException: WriteBlob Failed - http://stackoverflow.com/questions/39649167/uncaught-imagickexception-writeblob-failed
196: [21:31:17] * micmania1 has joined #silverstripe
197: [21:37:00] * vitaly__ quit (*.net *.split)
198: [21:37:00] * _longines quit (*.net *.split)
199: [21:37:01] * adrexia quit (*.net *.split)
200: [21:37:01] * DimiStripe quit (*.net *.split)
201: [21:37:05] * slievr quit (*.net *.split)
202: [21:37:05] * shellbac1pacific quit (*.net *.split)
203: [21:37:06] * Guest37663 quit (*.net *.split)
204: [21:37:07] * Kingy quit (*.net *.split)
205: [21:37:13] * saiyan quit (*.net *.split)
206: [21:37:20] * Zauberfisch quit (*.net *.split)
207: [21:37:21] * Uitto quit (*.net *.split)
208: [21:38:39] * slievr has joined #silverstripe
209: [21:38:39] * shellbac1pacific has joined #silverstripe
210: [21:38:39] * Guest37663 has joined #silverstripe
211: [21:38:39] * Kingy has joined #silverstripe
212: [21:40:07] * Admonish has joined #silverstripe
213: [21:40:43] * Uitto has joined #silverstripe
214: [21:40:51] * Stomach quit (Quit: zzz)
215: [21:41:01] * vitaly__ has joined #silverstripe
216: [21:41:01] * _longines has joined #silverstripe
217: [21:41:27] * adrexia has joined #silverstripe
218: [21:41:32] * DimiStripe has joined #silverstripe
219: [21:42:45] * saiyan has joined #silverstripe
220: [21:45:06] * ahr3n has joined #silverstripe
221: [22:01:16] <DanaeNZ> Anyone ever tried to serve up subsites based on a subdir ? eg example.com/nz example.com/au
222: [22:01:47] <DanaeNZ> I think the active subsite can be changed in the code, but I think it only actually works in the CMS controllers
223: [22:02:45] * Zauberfisch has joined #silverstripe
224: [22:06:20] <DanaeNZ> Does CsvBulkLoader even work
225: [22:12:37] * micmania1 quit (Quit: micmania1)
226: [22:24:43] * Stomach has joined #silverstripe
227: [22:32:32] <DanaeNZ> holy shit CsvBulkLoader is so fuuucked
228: [22:32:43] <DanaeNZ> it works so intermittently
229: [22:36:13] <Hailwood> Wait... it works?
230: [22:37:51] * micmania1 has joined #silverstripe
231: [22:46:01] * Stomach quit (Quit: zzz)
232: [22:53:49] * Azure|dc has joined #silverstripe
233: [22:55:28] <DanaeNZ> I've had it work
234: [22:55:33] <DanaeNZ> and then the next time I import
235: [22:55:41] <DanaeNZ> it just fails to parse the cached CSV file
236: [22:55:45] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
237: [22:55:47] <DanaeNZ> delete the cache file
238: [22:55:55] <DanaeNZ> then it still doesn't work
239: [22:56:08] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
240: [22:56:21] * Azure quit (Ping timeout: 265 seconds)
241: [23:15:39] * Stomach has joined #silverstripe
242: [23:27:29] * Admonish has joined #silverstripe

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