#silverstripe IRC Log

IRC log for 1 June 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:15] * ss-helper has joined #silverstripe
3: [00:05:46] * spekulatius has joined #silverstripe
4: [00:12:34] <zippy> 13 second is all the helper needs for lunch..
5: [00:17:57] * BrewNaked quit ()
6: [00:32:06] * Admonish has joined #silverstripe
7: [00:32:12] <Admonish> Hey there everyone
8: [00:34:34] <Admonish> I wish to create a new subclass of Upload (not Upload_Validator) that will rename uploaded files before saving them to the filesystem. My question is how can I make the UploadFiled use that subclass instead of the normal Upload class.
9: [00:49:49] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
10: [00:52:05] * micmania1 quit (Quit: micmania1)
11: [01:11:55] <Admonish> In The FileField API docs I found this: "setUpload( Upload $upload ) - Sets the upload handler". If I understand it right it looks like its a way to set the Upload class you want to use. Am I correct?
12: [01:28:19] * micmania1 has joined #silverstripe
13: [01:33:28] * Tanger_ has joined #silverstripe
14: [03:01:44] * Stomach quit (Quit: zzz)
15: [03:06:10] * Stomach has joined #silverstripe
16: [04:16:29] * spekulatius quit (Ping timeout: 250 seconds)
17: [04:33:23] * spekulatius has joined #silverstripe
18: [04:37:24] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
19: [04:42:27] * Stomach quit (Quit: zzz)
20: [04:44:14] <Audlex> can anyone find an issue with this? http://www.sspaste.com/paste/show/574e680ccb3ce
21: [04:44:43] <Audlex> the treedropdown isn't a dropdown and if i change the name of LearnLink all the items in the gridfield dissapear
22: [04:45:12] * Admonish has joined #silverstripe
23: [04:45:34] * cheddam quit (Ping timeout: 240 seconds)
24: [04:47:33] * cheddam has joined #silverstripe
25: [04:56:07] * micmania1 quit (Quit: micmania1)
26: [04:56:28] * micmania1 has joined #silverstripe
27: [04:59:39] * MichalKleiner has joined #silverstripe
28: [05:00:09] * Phlunk3 quit (Remote host closed the connection)
29: [05:07:15] * cheddam quit (Quit: Textual IRC Client: www.textualapp.com)
30: [05:15:31] * Stomach has joined #silverstripe
31: [05:25:13] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
32: [05:28:49] <MichalKleiner> heya..
33: [05:29:01] <MichalKleiner> anyone's got experience with complex displaylogic conditions?
34: [05:29:35] <MichalKleiner> I need to combine multiple groups of OR using AND to join them.. seems like only one group is possible :-/
35: [05:45:09] <ss-helper> Sheadawson Silverstripe Blocks: Blocks within blocks - http://stackoverflow.com/questions/37560282/sheadawson-silverstripe-blocks-blocks-within-blocks
36: [05:55:40] * micmania1 quit (Quit: micmania1)
37: [05:55:58] * wmk has joined #silverstripe
38: [06:00:30] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
39: [06:09:30] * Mike123 has joined #silverstripe
40: [06:29:38] * Eliseth has joined #silverstripe
41: [06:54:04] * arnhoe has joined #silverstripe
42: [07:19:21] * spronk quit (Quit: I may need a longer sleep timer...)
43: [07:21:16] * spronk has joined #silverstripe
44: [07:22:30] * spronk quit (Max SendQ exceeded)
45: [07:32:14] * slievr_ has joined #silverstripe
46: [07:32:50] * slievr quit (Read error: Connection reset by peer)
47: [07:42:30] * Stomach quit (Read error: Connection reset by peer)
48: [07:49:45] * MichalKleiner quit (Ping timeout: 244 seconds)
49: [08:00:22] * kinglozzer has joined #silverstripe
50: [08:20:42] * Stomach has joined #silverstripe
51: [08:33:43] * TheVoid quit (Read error: Connection reset by peer)
52: [08:36:10] * TheVoid has joined #silverstripe
53: [08:43:08] * agent44 has joined #silverstripe
54: [08:45:02] * Stomach quit (Quit: zzz)
55: [08:45:23] * Eliseth quit (Ping timeout: 258 seconds)
56: [08:45:29] * DimiStripe quit (Quit: DimiStripe)
57: [08:45:57] * DimiStripe has joined #silverstripe
58: [08:49:26] * Stomach has joined #silverstripe
59: [08:54:54] * swaiba has joined #silverstripe
60: [08:58:03] * agent44 quit (Read error: Connection reset by peer)
61: [08:58:30] * agent44 has joined #silverstripe
62: [09:11:36] * swaiba quit (Remote host closed the connection)
63: [09:22:02] * Stomach quit (Quit: zzz)
64: [09:45:16] <ss-helper> Universal Boolean formatting in GridField - http://stackoverflow.com/questions/37564822/universal-boolean-formatting-in-gridfield
65: [10:03:46] * Sly___ has joined #silverstripe
66: [10:03:46] <ss-helper> Sly___: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
67: [10:04:30] * Mike123_ has joined #silverstripe
68: [10:05:58] * Mike123 quit (Ping timeout: 250 seconds)
69: [10:07:48] * Tanger_ quit (Quit: Tanger_)
70: [10:07:58] <Sly___> Hi, I am stuck a bit: I am using memberprofiles modul, I have extended it with a custom method (not static) but when I call it from the memberprofiles template ("with member" ) it's not triggered, I guess it has something to do with the scope, how do I check where I am from the template
71: [10:10:19] <Sly___> I thought the methods from DataExtension are available from the extended objects scope (in my case "Member")
72: [10:12:02] * lderan has joined #silverstripe
73: [10:12:02] <ss-helper> lderan: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
74: [10:13:02] <lderan> Hello all! I'm having some issues with TinyMCE. I'm using silverstripe 3.3 and currently trying to work out how to install the plugin http://addons.silverstripe.org/add-ons/mediaweb/silverstripe-tinymce4
75: [10:13:26] <cloph> Sly___: sure you actually did enable your extension properly?
76: [10:15:42] <Sly___> I have Object::add_extension('Member', 'MemberExtension'); in my _config.php , so I think yes
77: [10:16:24] <Sly___> is there any difference between config.php and config.yml?
78: [10:16:43] <cloph> expected would be Member::add_extension('MemberExtension');
79: [10:17:16] <Sly___> I C, thnx, I'll try it!
80: [10:17:32] <cloph> and preferred is to use yml anyway
81: [10:18:22] <cloph> and of course make sure to flush if you just added stuff to templates, to make sure it is picked up...
82: [10:27:33] <Sly___> ok, I moved it to yml: Member: extensions: - MemberExtension but no luck. Is there any way from the template to check tha actual scope at a given point?
83: [10:29:33] <Sly___> the interesting thing is that I have all the extra fields, I have no error while administering connected has_many and many_many dataobjects, everything is fine, except this method
84: [10:34:28] <cloph> well, if your other fields work, but not the function, then it's time to show your code I guess.
85: [10:34:57] <cloph> And testing scope is easy, just call a known element from the same scope and check results
86: [10:38:02] * slievr_ is now known as slievr
87: [10:40:33] <Sly___> I'll check my code again, and if no luck will be back, thank U 4 your help cloph !
88: [11:04:37] * Smashcat has joined #silverstripe
89: [11:05:16] <Smashcat> Hello, I'm getting segfaults with Silverstripe on PHP7. Was working ok on PHP5 - is SS not compatible with 7?
90: [11:05:35] <wmk> not yet Smashcat.
91: [11:05:49] <wmk> but there is an fix you can apply to your framework
92: [11:06:12] <wmk> https://github.com/lekoala/silverstripe-327
93: [11:06:19] <Smashcat> Ah right thanks. My hosts changed to 7, seems like I'll need to use an old backup image and prevent updates
94: [11:06:38] <Sly___> hm, if I move the funtion to memberprofilepage.php it works, but from the extension no, the code is
95: [11:06:40] <Sly___> http://paste.ofcode.org/trn7kBkTYaYkv8hNWHe9tj
96: [11:07:11] <wmk> Smashcat, https://github.com/markguinn/silverstripe-framework/tree/patch-3-327 is a repo you can use right in composer
97: [11:07:38] <wmk> Smashcat, ss4 will be php7 compatible
98: [11:07:59] <Smashcat> Ok thanks - I don't fancy building it from source to fix the current bug
99: [11:19:41] <wmk> yup
100: [11:49:06] * wmk quit (Read error: Connection reset by peer)
101: [12:11:44] * kinglozzer quit (Remote host closed the connection)
102: [12:12:30] * kinglozzer has joined #silverstripe
103: [12:25:58] * MichalKleiner has joined #silverstripe
104: [12:27:23] * UndefinedOffset has joined #silverstripe
105: [12:32:06] * MichalKleiner quit (Ping timeout: 276 seconds)
106: [12:35:42] * MichalKl_ has joined #silverstripe
107: [12:37:26] * MichalKleiner has joined #silverstripe
108: [12:40:10] * MichalKl_ quit (Ping timeout: 252 seconds)
109: [12:41:45] * MichalKleiner quit (Ping timeout: 246 seconds)
110: [12:45:22] * MichalKleiner has joined #silverstripe
111: [13:04:22] * kinglozzer quit (Remote host closed the connection)
112: [13:04:28] * kinglozzer has joined #silverstripe
113: [13:39:34] * agent44 quit (Quit: zzz)
114: [13:49:34] * agent44 has joined #silverstripe
115: [14:04:41] * Agilix has joined #silverstripe
116: [14:05:33] * muskie9 has joined #silverstripe
117: [14:14:08] <DimiStripe> Hey guys,
118: [14:14:08] <DimiStripe> using mobile module which swaps theme for mobile, however in Page init(), SSViewer::current_theme() always returns main theme , but not mobile . Anyway i can know mobile theme is used in init? (to modify requirements)
119: [14:26:15] * wilson has joined #silverstripe
120: [14:26:40] * wilson is now known as Guest53314
121: [14:28:16] <Guest53314> Hi to all, new installation SS3.3.2. Ive installed using a new db then copy some tables from the SS3.0.3 db. Now i get a blank CMS. I cant get passed the first page i am trying to edit. No errors in the log nor in dev mode. Any clue? Thanks!
122: [14:29:25] <muskie9> Guest53314 why not back up the db from the 3.0.3 install, and drop the entire db into the 3.3.2 install and do a dev/build flush to see if it still works?
123: [14:30:34] * Agilix quit (Ping timeout: 240 seconds)
124: [14:30:35] <Guest53314> <muskie9>Do you really think the problem is related to the db, i might be wrong suggesting this. I could also change the db into my config,s?
125: [14:31:56] <muskie9> not sure, but I've used the same db when upgrading rather than a fresh db and moving over some tables
126: [14:33:53] <Guest53314> <muskie>So i cold just used the config.php infos to change db and user, pointing to the SS3.0.3 db?
127: [14:36:44] * henkpoley has joined #silverstripe
128: [14:36:58] <Guest53314> <muskie9>Same problem. Blank CMS.
129: [14:38:24] * arnhoe quit ()
130: [14:39:42] <muskie9> do you have all requirements? in 3.0.3 siteconfig and reports were bundled in the cms I think, but now they're separate modules
131: [14:39:54] <muskie9> **since 3.2 I believe
132: [14:42:59] <Guest53314> <muskie9>Can you be more specific please? Yes ive seen /sitecong is now a separate folder. You mean i need to remove request to that folder into my requirements? First time i use SS3.3.2
133: [14:44:16] <Guest53314> <muskie9>Is the fact that i dont have all of the PHP pages into /mysite/code can cause this? I mean, i have some page type into the db that arent into the system yet.
134: [14:45:30] <muskie9> possibly, but I think on a dev/build and flush it will ignore the tables
135: [14:46:01] <muskie9> Guest53314 there should be some logs somewhere with what the error could be
136: [14:46:27] <Guest53314> <muskie9>What is weird is that if i add ?flush=1 to the URL i can see that page!
137: [14:46:39] <muskie9> that's odd
138: [14:50:39] <Guest53314> <muskie9>COnfirmed. If i click onto a page, it goes to that page. Another click on another page causes nothing/or a blank right side. If i add ?flush=1 to the page number, i get it back.
139: [14:52:57] <Guest53314> <muskie9>But once there, i cant click on PARAMETERS tab, it causes nothing. Memory/cache problem?
140: [14:55:26] <cloph> a blank page (and not silverstripe error message) typically means error in the php itself, so should find something in your webserver/php-interpreters logs
141: [14:55:43] <muskie9> Guest53314 I think you'll need to dig around to see if you can find any error logs or stack traces... have a read through the environment/error handling docs to help get the error reporting going https://docs.silverstripe.org/en/3.3/developer_guides/debugging/environment_types/ https://docs.silverstripe.org/en/3.3/developer_guides/debugging/error_handling/
142: [15:06:16] * Mike123_ quit (Ping timeout: 250 seconds)
143: [15:08:55] <Guest53314> <muskie9><cloph>Well, its not ALWAYS a blank page, sometimes it just sits onto the same page i am. Its not moving to the other page/infos tab i am clicking.
144: [15:09:25] <Guest53314> <muskie9>I am in /dev mode
145: [15:11:01] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
146: [15:11:41] * henkpoley has left #silverstripe
147: [15:13:02] * muskie9 has joined #silverstripe
148: [15:29:15] * MichalKleiner quit (Remote host closed the connection)
149: [15:41:22] * agent44 quit (Quit: zzz)
150: [15:43:38] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
151: [15:45:22] <ss-helper> SilverStripe - Custom Faceted Search Navigation - http://stackoverflow.com/questions/37573015/silverstripe-custom-faceted-search-navigation
152: [15:49:24] * muskie9 has joined #silverstripe
153: [16:33:55] * kinglozzer quit ()
154: [16:42:54] * lderan quit (Ping timeout: 250 seconds)
155: [17:04:25] * jcwacky has joined #silverstripe
156: [17:06:07] <jcwacky> With the Subsites module, is it possible to use a different subdirectory for each subsite? Rather than a subdomain?
157: [17:08:54] <muskie9> jcwacky I was wondering the same thing, haven't had time to dig in yet though
158: [17:09:32] <jcwacky> Maybe possible with Apache rewrite rules?
159: [17:11:15] <muskie9> possibly, i'm not the best with that though, so I'm hoping it's something simpler ;P
160: [17:14:33] * barry has joined #silverstripe
161: [17:14:33] <ss-helper> barry: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
162: [17:15:28] <barry> hello. after moving a SS site into a sub dir. I can't login to admin. It redirects me back to /archive/Security/login?BackURL=%2Farchive%2Fadmin%2Fpages
163: [17:15:39] <barry> what have i done wrong now?
164: [17:15:46] * agent44 has joined #silverstripe
165: [17:24:30] * barry quit (Ping timeout: 250 seconds)
166: [17:24:50] * jcwacky quit (Quit: Until next time.)
167: [17:25:13] <Guest53314> <muskie9>Hello again, as i said, a ?flush=1 on a page number brings it back to life into the CMS. Ever heard of this?
168: [17:26:29] <Guest53314> <muskie9>Remember i said the PARAMETERS tab didnt react? Well, it is if a open it in a new link!!!! Very weird. Window blocker?
169: [17:40:47] * neomang has joined #silverstripe
170: [17:42:42] <neomang> I'm trying to set the image related to a data object (has_one) in php, I tried doing it with setField but it's not working\
171: [17:42:54] <neomang> what would be the proper way to handle that action
172: [17:52:29] * agent44 quit (Quit: zzz)
173: [18:01:20] * agent44 has joined #silverstripe
174: [18:04:26] * Sly___ quit (Quit: Page closed)
175: [18:25:52] * henkpoley has joined #silverstripe
176: [18:31:12] * UndefinedOffset quit (Quit: Leaving.)
177: [18:33:21] * wmk has joined #silverstripe
178: [18:34:45] * agent44 quit (Quit: zzz)
179: [18:36:00] * Guest53314 quit (Ping timeout: 250 seconds)
180: [18:36:29] * slievr quit (Ping timeout: 258 seconds)
181: [19:12:35] * UndefinedOffset has joined #silverstripe
182: [19:13:37] * Stomach has joined #silverstripe
183: [19:21:08] * wmk quit (Quit: Leaving)
184: [19:28:59] * Stomach quit (Quit: zzz)
185: [19:30:39] * Stomach has joined #silverstripe
186: [19:35:35] * Stomach quit (Quit: zzz)
187: [19:53:23] * MichalKleiner has joined #silverstripe
188: [19:56:00] * Stomach has joined #silverstripe
189: [19:59:12] * MichalKl_ has joined #silverstripe
190: [20:03:12] * MichalKleiner quit (Ping timeout: 276 seconds)
191: [20:11:04] * MichalKl_ quit ()
192: [20:13:46] * MichalKleiner has joined #silverstripe
193: [20:21:51] * phalange has joined #silverstripe
194: [20:21:52] <ss-helper> phalange: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
195: [20:24:44] * Stomach quit (Quit: zzz)
196: [20:25:17] * gelignite has joined #silverstripe
197: [20:26:04] * phalange quit (Ping timeout: 250 seconds)
198: [20:28:03] * Stomach has joined #silverstripe
199: [20:36:30] * agent44 has joined #silverstripe
200: [20:38:11] * agent44 quit (Client Quit)
201: [20:42:19] * Stomach quit (Quit: zzz)
202: [20:50:54] * UndefinedOffset quit (Quit: Leaving.)
203: [20:54:38] * adrexia has joined #silverstripe
204: [20:54:46] * henkpoley quit (Quit: henkpoley)
205: [20:56:38] * Stomach has joined #silverstripe
206: [21:24:56] * micmania1 has joined #silverstripe
207: [21:32:07] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
208: [21:50:51] <Hailwood> neomang, $yourDataObject->TheHasOneRelationID = $theImage->ID;
209: [22:03:48] <Hailwood> Hey does anyone here have privileges to approve members for the "SilverStripe Core Development" google group? My mate has been "pending" for a few months.
210: [22:06:39] * Stomach quit (Ping timeout: 246 seconds)
211: [22:08:38] * Stomach has joined #silverstripe
212: [22:12:11] <micmania1> hailwood: Cam just approved a few.
213: [22:14:20] <Hailwood> Sweet, cheers.
214: [22:19:32] <Audlex> can anyone find an issue with this? http://www.sspaste.com/paste/show/574e680ccb3ce
215: [22:19:34] <Audlex> the treedropdown isn't a dropdown and if i change the name of LearnLink all the items in the gridfield dissapear
216: [22:27:59] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
217: [22:36:35] <Hailwood> Audlex, is the TreeDropdownField rendering as a standard text input
218: [22:41:33] * Blacklite quit (Ping timeout: 244 seconds)
219: [22:45:12] * Blacklite has joined #silverstripe
220: [23:07:06] * MichalKleiner quit ()
221: [23:08:53] * Stomach quit (Quit: zzz)
222: [23:11:01] * muskie9 has joined #silverstripe
223: [23:12:56] * Stomach has joined #silverstripe
224: [23:14:22] * Stomach quit (Read error: Connection reset by peer)
225: [23:14:47] * Stomach has joined #silverstripe
226: [23:16:57] * muskie9__ has joined #silverstripe
227: [23:18:43] * muskie9 quit (Ping timeout: 252 seconds)
228: [23:48:46] * mirrors has joined #silverstripe
229: [23:50:08] <mirrors> Hey all...just hoping someone could help me out or point me in the right direction. I am trying to use the queuedjobs module to add jobs to the queue. I then want to be able to concurrently run 2 or more jobs
230: [23:50:15] <mirrors> any idea how I can do this?

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