#silverstripe IRC Log

IRC log for 5 January 2017

All timestamps are in UTC.

1: [00:00:06] * muskie9 has joined #silverstripe
2: [00:03:32] * janneklouman-- has joined #silverstripe
3: [00:14:05] * filisko quit (Ping timeout: 272 seconds)
4: [00:16:06] * samsamek has joined #silverstripe
5: [00:21:13] * samsamek quit (Quit: samsamek)
6: [00:25:20] * DanaeNZ quit (Remote host closed the connection)
7: [00:33:25] * DanaeNZ has joined #silverstripe
8: [00:47:40] * janneklouman-- quit (Ping timeout: 245 seconds)
9: [01:08:15] * shellbackpacific has joined #silverstripe
10: [01:15:16] * jarard01 has joined #silverstripe
11: [01:15:16] <ss-helper> jarard01: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
12: [01:18:57] * jarard02 quit (Ping timeout: 268 seconds)
13: [01:29:37] * DarjusIT quit (Read error: Connection reset by peer)
14: [01:35:17] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
15: [01:37:33] * muskie9 has joined #silverstripe
16: [01:54:47] * shellbackpacific quit (Read error: No route to host)
17: [02:32:52] * Azure quit (Quit: Oops.)
18: [02:55:31] * janneklouman-- has joined #silverstripe
19: [03:00:03] * janneklouman-- quit (Ping timeout: 248 seconds)
20: [03:05:20] * Kapdap quit (*.net *.split)
21: [03:05:20] * Firesphere quit (*.net *.split)
22: [03:05:27] * Kapdap_ has joined #silverstripe
23: [03:05:30] * Firesphere_ has joined #silverstripe
24: [03:05:30] * Firesphere_ is now known as Firesphere
25: [03:05:59] * Firesphere quit (Changing host)
26: [03:05:59] * Firesphere has joined #silverstripe
27: [03:10:26] * Azure has joined #silverstripe
28: [03:54:58] * DanaeNZ quit (Quit: TIME TO FEED)
29: [04:06:24] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
30: [04:33:19] * see8 has joined #silverstripe
31: [06:41:58] * micmania1 quit (Ping timeout: 258 seconds)
32: [06:42:13] * micmania1 has joined #silverstripe
33: [07:42:22] * Eliseth has joined #silverstripe
34: [08:42:40] * samsamek has joined #silverstripe
35: [09:00:08] * kinglozzer has joined #silverstripe
36: [09:16:00] * janneklouman-- has joined #silverstripe
37: [09:23:08] * NETim_ has joined #silverstripe
38: [09:46:05] * see8 quit (Quit: see8)
39: [09:58:47] * samsamek quit (Quit: samsamek)
40: [09:59:25] * samsamek has joined #silverstripe
41: [10:10:10] * Firesphere quit (Remote host closed the connection)
42: [10:10:43] * Firesphere has joined #silverstripe
43: [10:10:45] * Firesphere quit (Changing host)
44: [10:10:46] * Firesphere has joined #silverstripe
45: [10:23:32] * webdoc has joined #silverstripe
46: [10:47:12] * Azure quit (Read error: Connection reset by peer)
47: [10:50:54] * Azure has joined #silverstripe
48: [10:59:55] <webdoc> Hi how i can change the upload max file size from 50 MB to more
49: [11:00:33] <webdoc> in php info i can see that the max is allowed to 300MB but somehow its not allowing to upload more thean 50
50: [11:17:11] <kinglozzer> webdoc: Have you checked post_max_size too?
51: [11:22:38] <webdoc> post_max_size 200M
52: [11:24:51] <webdoc> if i upload 102 MB file in 66% its stucks and gives internal server error
53: [11:25:22] <webdoc> if i upload 48MB file no problem
54: [11:26:16] <kinglozzer> webdoc: What's the error?
55: [11:26:28] <kinglozzer> Checked your logs to find out?
56: [11:26:55] <kinglozzer> Sounds like it's crashing or something to me, if it was being limited by a config setting it wouldn't let you try to upload a file that large
57: [11:27:25] <webdoc> Sorry your upload failed
58: [11:27:51] <kinglozzer> What does it say in the server error log?
59: [11:28:05] <webdoc> how i can limit it via config
60: [11:28:42] <webdoc> its not in some page type where i have set the validator size
61: [11:28:52] <kinglozzer> webdoc: You want to set a smaller maximum file size?
62: [11:29:01] <webdoc> its in assets upload folder uploading file
63: [11:30:00] <kinglozzer> Just change your upload_max_filesize to a smaller amount if you want to limit it
64: [11:30:03] <webdoc> no i want to be able to upload 150MB PDF's via admin/assets/ uploader
65: [11:30:13] <webdoc> in ss 3.1.20
66: [11:32:11] <kinglozzer> Sorry, your question "how i can limit it via config" confused me - I thought you wanted to set a limit
67: [11:32:48] <webdoc> sended the phpinfo addess
68: [11:32:54] <webdoc> adress
69: [11:32:55] <kinglozzer> If it lets you try to upload a file that large, then it's not a config setting that's stopping it
70: [11:32:58] <kinglozzer> It's likely crashing
71: [11:33:01] <kinglozzer> Check your server error logs
72: [11:36:22] * filisko has joined #silverstripe
73: [11:49:55] * jarard has joined #silverstripe
74: [11:49:56] <ss-helper> jarard: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
75: [11:52:04] * jarard01 quit (Ping timeout: 258 seconds)
76: [11:55:44] * xyphoid_ quit (*.net *.split)
77: [11:55:50] * xyphoid has joined #silverstripe
78: [11:58:31] <webdoc> i gave the error to server admins to chew
79: [12:01:43] * NETim has joined #silverstripe
80: [12:03:55] * NETim_ quit (Ping timeout: 245 seconds)
81: [12:04:41] * janneklouman-- quit (Ping timeout: 272 seconds)
82: [12:11:31] * micmania1 quit (Ping timeout: 246 seconds)
83: [12:20:08] * NETim_ has joined #silverstripe
84: [12:21:58] * NETim quit (Ping timeout: 258 seconds)
85: [12:22:15] * NETim has joined #silverstripe
86: [12:24:39] * NETim_ quit (Ping timeout: 258 seconds)
87: [12:26:57] * NETim quit (Ping timeout: 258 seconds)
88: [12:29:51] * janneklouman-- has joined #silverstripe
89: [12:38:54] * webdoc quit (Ping timeout: 260 seconds)
90: [12:50:04] * webdoc has joined #silverstripe
91: [13:23:02] * UndefinedOffset has joined #silverstripe
92: [14:04:42] <Firesphere> Sounds like a GD error actually
93: [14:04:51] <Firesphere> GD or Imagick running out of memory
94: [14:09:41] <kinglozzer> Nah, he PM'ed me, it was fastcgi config blocking it at an apache level
95: [14:09:58] <kinglozzer> http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidmaxrequestlen <<
96: [14:15:52] * muskie9 has joined #silverstripe
97: [14:41:54] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
98: [14:42:15] * muskie9 has joined #silverstripe
99: [16:06:45] * muskie9 quit (Ping timeout: 256 seconds)
100: [16:21:59] * Eliseth quit (Quit: Textual IRC Client: www.textualapp.com)
101: [16:51:29] * webdoc quit (Ping timeout: 260 seconds)
102: [17:10:19] <samsamek> So, I’m creating a Form object outside of Controller class. This makes it hard to pass the current controller into the Form (first argument). How can easily ’spoof’ the page_controller of a certain page?
103: [17:11:26] <samsamek> ie, creating an instance of a certain page’s Page_Controller
104: [17:11:59] <kinglozzer> samsamek: $controller = ModelAsController::controller_for($page)
105: [17:12:31] <samsamek> Trying..
106: [17:12:44] <samsamek> $page being a class name?
107: [17:12:55] <kinglozzer> samsamek: No, an instance of the page
108: [17:13:12] <samsamek> okay
109: [17:15:11] * janneklouman-- quit (Ping timeout: 245 seconds)
110: [17:15:31] * Azure quit (Ping timeout: 248 seconds)
111: [17:15:40] * Azure|dc has joined #silverstripe
112: [17:16:41] * janneklouman-- has joined #silverstripe
113: [17:16:42] <samsamek> kinglozzer: awesome, worked
114: [17:21:23] * janneklouman-- quit (Ping timeout: 248 seconds)
115: [17:26:21] * kinglozzer quit ()
116: [17:29:41] * giovdk has joined #silverstripe
117: [17:31:04] <giovdk> Hello, using entwine I'm trying to "extend" the onsubmit event on .cms-edit-form but I get the "Changes that you made may not be saved" dialog from the browser
118: [17:31:21] <giovdk> do you know what's the best way to approach this?
119: [17:44:15] <giovdk> ok found it: return this._super(e, button); ...I wasn't passing button
120: [17:49:31] * Azure has joined #silverstripe
121: [17:50:11] * Azure|dc quit (Ping timeout: 248 seconds)
122: [18:00:20] * giovdk quit (Ping timeout: 260 seconds)
123: [19:09:58] * janneklouman-- has joined #silverstripe
124: [19:16:55] * muskie9 has joined #silverstripe
125: [19:23:03] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
126: [19:36:49] * samsamek quit (Quit: samsamek)
127: [19:50:49] * janneklouman-- quit (Ping timeout: 272 seconds)
128: [20:22:32] * muskie9 has joined #silverstripe
129: [20:38:02] * janneklouman-- has joined #silverstripe
130: [20:42:32] * janneklouman-- quit (Ping timeout: 240 seconds)
131: [20:51:11] * samsamek has joined #silverstripe
132: [21:21:54] * DanaeNZ has joined #silverstripe
133: [21:44:59] * UndefinedOffset quit (Quit: Leaving.)
134: [21:45:27] * gelignite has joined #silverstripe
135: [22:38:00] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
136: [22:45:30] * muskie9 quit (Read error: No route to host)
137: [23:00:01] * ss-helper quit (Remote host closed the connection)
138: [23:00:15] * ss-helper has joined #silverstripe
139: [23:05:38] * janneklouman-- has joined #silverstripe
140: [23:10:13] * janneklouman-- quit (Ping timeout: 246 seconds)
141: [23:15:15] <samsamek> When you exec an AJAX request to controller method (eg: domain.com/contact/submitform), you should be able to get the form values like this right: $this->getRequest->param(‘name’);

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