#silverstripe IRC Log

IRC log for 28 March 2017

All timestamps are in UTC.

1: [00:09:30] * Shrike_Finland has joined #silverstripe
2: [00:09:39] * Shrike_Finland quit (Client Quit)
3: [01:48:42] * Audlex quit ()
4: [01:55:24] * Audlex has joined #silverstripe
5: [03:45:59] * Audlex- has joined #silverstripe
6: [03:50:06] * Audlex quit (Ping timeout: 240 seconds)
7: [04:20:10] * Shrike_Finland has joined #silverstripe
8: [04:20:20] * Shrike_Finland quit (Client Quit)
9: [04:30:07] <ss-helper> Silverstripe URL patterns $url_handlers not working - namespaces seem to conflict - http://stackoverflow.com/questions/43060595/silverstripe-url-patterns-url-handlers-not-working-namespaces-seem-to-conflic
10: [07:38:13] * swaiba quit (Remote host closed the connection)
11: [07:39:53] * zippy has joined #silverstripe
12: [07:40:13] <zippy> good monkey ss-helper
13: [07:42:22] * deschebbs has joined #silverstripe
14: [08:01:43] * kinglozzer has joined #silverstripe
15: [08:03:01] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
16: [08:07:20] * zippy has joined #silverstripe
17: [08:18:20] * Shrike_Finland has joined #silverstripe
18: [08:26:35] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
19: [08:41:34] * agent44 has joined #silverstripe
20: [08:49:11] * Shrike_Finland quit (Quit: Leaving.)
21: [08:53:19] * deschebbs quit (Quit: Konversation terminated!)
22: [09:17:38] * Shrike_Finland has joined #silverstripe
23: [10:08:52] * terryapodaca has joined #silverstripe
24: [10:11:20] <terryapodaca> ok SS guys....with this PHP 5.6 upgrade just about every host has upgraded to, I have some odd issues. I have a much older site (http://4wayinvestments.com/ SS 2.4.13 ) that is running just fine on PHP 5.6.
25: [10:11:55] <terryapodaca> But I have a similar site (http://firstchoicetransport.com/) that just wont work
26: [10:12:54] <kinglozzer> terryapodaca: https://github.com/silverstripe/silverstripe-framework/commit/9ffa903d50692dad4f3acb9908aa6769d17ebcb8
27: [10:13:04] <kinglozzer> You need to upgrade to the latest 2.4
28: [10:13:15] * DarjusIT has joined #silverstripe
29: [10:15:29] <terryapodaca> is there a "stable" security (or what ever) download from the .org site like there use to be? I didn't do these sites in Composer or anything way back then
30: [10:15:56] <kinglozzer> Yeah there should be
31: [10:16:36] <kinglozzer> terryapodaca: https://www.silverstripe.org/download/release-archive/
32: [10:17:26] <terryapodaca> ah ha! there it is, thanks kinglozzer!
33: [10:23:41] <DarjusIT> Hi all where I can get SS_DATABASE_TIMEZONE list?
34: [10:26:24] <cloph> what is your actual question?
35: [10:32:32] <DarjusIT> I need to set up lithuanian time so i tried 'Europe/Vilnius' but it gives me error, I tried to look up for list of timezones for SS, but not found.
36: [10:38:07] <cloph> for mysql, it also accepts a offset like +02:00 for example, see framework/model/MySQLDatabase.php
37: [10:40:42] <cloph> (not that in general for timezone support in mysql, you need to have the time zone information tables created in mysql)
38: [10:41:13] <cloph> https://dev.mysql.com/doc/refman/5.5/en/time-zone-support.html#time-zone-installation
39: [10:42:39] <DarjusIT> ok cloph thx, I solved form other corner, in htaccess set php timezone
40: [11:09:57] * india has joined #silverstripe
41: [11:09:58] <ss-helper> india: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
42: [11:10:20] * india is now known as Guest53591
43: [11:11:35] * Shrike_Finland quit (Quit: Leaving.)
44: [11:16:29] <Guest53591> while running cli-script from terminal getting the error
45: [11:16:30] <Guest53591> http://snippi.com/s/3pfleks
46: [11:17:10] <Guest53591> can anyone let me know whats the issue?
47: [11:19:54] <cloph> running as different user and thus not having access permissions?
48: [11:22:42] <Guest53591> whats the solution?
49: [11:23:17] <Guest53591> getting the same error while running php framework/cli-script.php dev/build from command line
50: [11:29:27] <kinglozzer> Guest53591: Does that file exist?
51: [11:29:35] <kinglozzer> /var/www/html/site-name/bootstrap-forms/_config.php
52: [11:29:36] <kinglozzer> ?
53: [11:29:37] <cloph> "sudo -u your-website-user-account php-cli framework/cli-script.php dev/build"
54: [11:30:02] <kinglozzer> Ah, you've tried dev/build, nvm
55: [11:30:53] <cloph> not sure if it really is site-name in one instance, but relishtour in other cases, if so, then it is a pretty unusual setup
56: [12:06:23] * samsamek has joined #silverstripe
57: [12:06:42] <samsamek> Hi all!
58: [12:08:15] <samsamek> When changing a page’s pagetype from “Foo” to “Bar”, will onAfterDelete be called?
59: [12:11:55] <DarjusIT> samsamek, you mean if it be activated on changing page type?
60: [12:26:52] * UndefinedOffset has joined #silverstripe
61: [12:28:35] * Shrike_Finland has joined #silverstripe
62: [12:46:59] <samsamek> DarjusIT: yes indeed
63: [12:47:19] <DarjusIT> it would not
64: [12:47:25] <samsamek> when you “archive” a page, onAfterDelete will be called obviously. But does it also happen on changing pagetype?
65: [12:47:28] <samsamek> I see
66: [12:47:50] <DarjusIT> it just changes ClassName in Sitetree
67: [12:48:00] <DarjusIT> data table
68: [12:48:17] <samsamek> oh darn, any idea how to make a method call when pagetype changes?
69: [12:50:25] <DarjusIT> in teory if you make Sitetree dataextension and set onafter or onbefore save methods to check ClassName change, you can do something. but I havent done sutch so no garanties samsamek
70: [12:51:13] <DarjusIT> but be careful that will activates 3 times depending on sitetree version tables
71: [12:54:49] <samsamek> thats actually a good idea
72: [13:11:09] * Shrike_Finland quit (Quit: Leaving.)
73: [13:11:25] * Shrike_Finland has joined #silverstripe
74: [13:16:04] * Shrike_Finland quit (Ping timeout: 260 seconds)
75: [13:20:10] * terryapodaca has left #silverstripe
76: [14:04:06] * samsamek quit (Quit: samsamek)
77: [14:15:04] * samsamek has joined #silverstripe
78: [14:24:23] * UndefinedOffset quit (Quit: Leaving.)
79: [14:28:32] <Guest53591> how to access a file in assets folder via public url in silverstrip
80: [14:28:34] <Guest53591> ?
81: [14:29:10] <kinglozzer> Via the URL... unless I'm missing something
82: [14:29:19] <kinglozzer> http://mysite.com/assets/path/to/file.jpg
83: [14:31:05] <Guest53591> corect
84: [14:31:10] <Guest53591> thanx for hlp
85: [14:31:16] <Guest53591> it workds
86: [14:31:19] <Guest53591> it worked
87: [14:32:04] <Guest53591> can a method in any controller be called as post and get both?
88: [14:32:20] <Guest53591> do we have any tutorial that does the following
89: [14:33:00] <Guest53591> get input from user in a form , when submit is hit, it should display data from database on a page
90: [14:33:37] <Guest53591> the page where the data is displayed can be refreshed by ajax call and passing some modifiers
91: [14:33:50] <Guest53591> hope i am clear to point out my issue
92: [14:38:58] <Guest53591> @kinglozzer http://mysite.com/assets/path/to/file.jpg worked but what i want is url http://mysite.com/anyname should display the content of http://mysite.com/assets/path/to/file.jpg
93: [14:40:31] * UndefinedOffset has joined #silverstripe
94: [14:46:53] * samsamek quit (Quit: samsamek)
95: [14:55:17] * UndefinedOffset quit (Read error: Connection reset by peer)
96: [14:55:48] * UndefinedOffset has joined #silverstripe
97: [15:17:24] * slievr has joined #silverstripe
98: [15:18:31] <slievr> hello, I'd like to know how I'd let a url_handler fail and move onto the next rules
99: [15:20:06] <slievr> e.g. /member/information matches the url handler but no member can be found, so default routing should be used
100: [15:34:15] * UndefinedOffset quit (Quit: Leaving.)
101: [15:46:23] * UndefinedOffset has joined #silverstripe
102: [16:26:57] * samsamek has joined #silverstripe
103: [16:27:17] * kinglozzer quit ()
104: [16:31:09] * Guest53591 quit (Ping timeout: 260 seconds)
105: [16:49:19] * gew has joined #silverstripe
106: [16:49:20] <ss-helper> gew: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
107: [16:50:06] <gew> guys , how can i access assets/path/to/file.jpg in silverstripe template ?
108: [16:57:29] * agent44 quit (Quit: zzz)
109: [17:38:57] * DarjusIT quit (Ping timeout: 240 seconds)
110: [18:08:24] * helenclarko has joined #silverstripe
111: [18:08:57] <helenclarko> hey all, has anyone used milkyway-multimedia/ss-shop-checkout-extras
112: [18:08:58] <helenclarko> ? I need some help with setup.
113: [18:15:23] * gelignite has joined #silverstripe
114: [18:30:34] * UndefinedOffset quit (Quit: Leaving.)
115: [18:46:01] * UndefinedOffset has joined #silverstripe
116: [18:51:10] * gew quit (Ping timeout: 260 seconds)
117: [19:02:49] * DarjusIT has joined #silverstripe
118: [19:15:45] * UndefinedOffset quit (Quit: Leaving.)
119: [19:18:15] * samsamek quit (Quit: samsamek)
120: [19:31:09] * Azure|dc has joined #silverstripe
121: [19:33:27] * Azure quit (Ping timeout: 240 seconds)
122: [19:41:43] * novaweb quit (Quit: Page closed)
123: [20:00:15] * UndefinedOffset has joined #silverstripe
124: [20:03:53] * samsamek has joined #silverstripe
125: [20:24:19] * samsamek quit (Quit: samsamek)
126: [20:35:35] * Nightjar has joined #silverstripe
127: [20:57:15] * DarjusIT quit (Quit: Leaving)
128: [21:20:30] * UndefinedOffset quit (Quit: Leaving.)
129: [21:21:58] * Nightjar_ has joined #silverstripe
130: [21:26:04] * Nightjar quit (Ping timeout: 260 seconds)
131: [21:26:32] * Nightjar_ quit (Ping timeout: 260 seconds)
132: [21:58:30] * Nightjar has joined #silverstripe
133: [22:08:54] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
134: [22:19:42] * UncleCheese has joined #silverstripe
135: [23:00:01] * ss-helper quit (Remote host closed the connection)
136: [23:00:14] * ss-helper has joined #silverstripe
137: [23:45:05] * slievr1 has joined #silverstripe
138: [23:46:06] * slievr quit (Ping timeout: 240 seconds)

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