#silverstripe IRC Log

IRC log for 23 June 2017

All timestamps are in UTC.

1: [00:00:02] * ss-helper quit (Remote host closed the connection)
2: [00:00:17] * ss-helper has joined #silverstripe
3: [01:39:45] * akki has joined #silverstripe
4: [01:39:45] <ss-helper> akki: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
5: [01:39:52] <akki> anyone here now?
6: [01:45:12] <akki> I read from the Silverstripe forums that NZST 9am-9pm usually there are people ....
7: [01:45:17] <akki> anyone out there?
8: [02:04:20] <Zauberfisch> akki: kind of empty these days D:
9: [02:10:35] <akki> Hi Zauber
10: [02:10:54] <akki> I am in a bit of trouble with a project
11: [02:11:24] <akki> cud u help me out a bit...
12: [02:12:03] <akki> i am trying to renderWith a custom template and trying to do it on an array lst
13: [02:12:05] <akki> list
14: [02:12:41] <akki> return $productList->renderWith("ProductList");
15: [02:12:59] <akki> doesnt work when i try to loop in the template
16: [02:13:15] <akki> if a DataArray it works
17: [02:17:08] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18: [02:17:29] <Zauberfisch> Uhm
19: [02:17:31] <Zauberfisch> what doesn't work?
20: [02:18:02] <akki> ok that part i solved :P
21: [02:18:17] <akki> I didnt know that $me is supposed to be used. New to SS
22: [02:18:26] <akki> I have a second problem
23: [02:19:06] <akki> do u guys use pastie?
24: [02:19:22] <Zauberfisch> yes
25: [02:19:58] <akki> hold on i will send u the code
26: [02:22:00] <akki> https://pastebin.com/MeQGfEu8
27: [02:22:09] <akki> my database columns exist
28: [02:22:30] <Zauberfisch> forgot to /dev/build?
29: [02:22:44] <akki> dev/build
30: [02:22:50] <akki> sorry really a novice :(
31: [02:23:06] <Zauberfisch> visit domain.com/dev/build?flush=1
32: [02:23:10] <Zauberfisch> that rebuilds the database
33: [02:23:47] <akki> u mean kind of migration to generate the tables ?
34: [02:24:15] <akki> i added the columns on the database manually tho
35: [02:24:18] <Zauberfisch> stuff like $db is a definition of what the database should be, but you have to visit the dev/build site or call the cli script to actually have silverstripe create the database columns
36: [02:24:26] <Zauberfisch> :O
37: [02:24:45] <Zauberfisch> possible to add them manually, but better run /dev/build and let silverstripe handle it
38: [02:25:16] <Zauberfisch> sounds like you should go through the basic tutorials :P
39: [02:25:31] <akki> ok
40: [02:25:48] <akki> dev build wouldnt mess existing data , right?
41: [02:25:58] <akki> its been 3 weeks i started off on silverstripe
42: [02:26:12] <akki> and had to rush into coding :(
43: [02:26:29] <Zauberfisch> in a standard setup, no. silverstripe wouldn't delete data, but instead rename columns or tables
44: [02:26:39] <Zauberfisch> but not quiet sure about your configuration
45: [02:26:48] <Zauberfisch> probably best to make a backup of the database
46: [02:27:56] <akki> ok let me have a trye
47: [02:32:53] <akki> Hey Zauber
48: [02:33:00] <akki> it ran but had a glitch
49: [02:33:12] <akki> one of my newly created model actually failed to create
50: [02:33:28] <Zauberfisch> error message?
51: [02:33:41] <akki> duplicate key ID
52: [02:34:12] <akki> i deleted the manually created table and tried again but failed
53: [02:35:14] <akki> https://pastebin.com/NKJYQd3T
54: [02:37:28] <akki> Duplicate column name 'ID'
55: [02:37:49] <akki> failed again . there is no paypalTransaction created in the database either
56: [03:34:01] <Zauberfisch> if it fails, it will stop at that point probably
57: [03:34:07] <Zauberfisch> so it wont process anything that comes after
58: [03:34:19] <Zauberfisch> are you on a windows server by any chance?
59: [03:34:33] <Zauberfisch> or have a windows based database server?
60: [03:34:45] <Zauberfisch> or any other database that is case insensitive?
61: [03:34:47] <Zauberfisch> akki: ^
62: [05:53:01] <akki> sorry i was out for lunch
63: [05:53:07] <akki> i am on windows
64: [05:53:47] <akki> i am using xampp on my local
65: [06:34:30] * soli23 has joined #silverstripe
66: [07:13:54] <Zauberfisch> akki: perhaps it's a case issue
67: [07:14:06] <Zauberfisch> silverstripe is know to be a bit weird that way
68: [07:14:27] <Zauberfisch> if you created the column ID as lowercase id it will try to create a new column with uppercase ID
69: [07:14:35] <Zauberfisch> or something like that
70: [07:15:04] <Zauberfisch> I just remember that being some weirdness. and since you created your database manually apprently, that's quiet likely the problemn
71: [07:15:07] <Zauberfisch> -n
72: [07:19:18] <Zauberfisch> akki: make sure you include my name when you respond, so I see that you sent a message
73: [07:23:11] * terryapodaca quit (Quit: Later fellas......I'm out.)
74: [08:12:43] * filisko has joined #silverstripe
75: [08:26:59] * akki quit (Ping timeout: 240 seconds)
76: [09:43:43] * BackEndCoder quit (Excess Flood)
77: [09:44:55] * BackEndCoder has joined #silverstripe
78: [10:05:04] * soli23 quit (Ping timeout: 268 seconds)
79: [11:00:45] * soli23 has joined #silverstripe
80: [11:56:42] * DimiStripe_alt has joined #silverstripe
81: [11:59:37] * DimiStripe_alt1 has joined #silverstripe
82: [12:00:00] * DimiStripe quit (Ping timeout: 276 seconds)
83: [12:00:01] * DimiStripe_alt1 is now known as DimiStripe
84: [12:03:48] * DimiStripe_alt quit (Ping timeout: 260 seconds)
85: [12:04:53] * DimiStripe_alt has joined #silverstripe
86: [12:08:41] * DimiStripe quit (Ping timeout: 255 seconds)
87: [12:08:42] * DimiStripe_alt is now known as DimiStripe
88: [12:18:25] * DimiStripe_alt has joined #silverstripe
89: [12:20:48] * DimiStripe quit (Ping timeout: 240 seconds)
90: [12:20:49] * DimiStripe_alt is now known as DimiStripe
91: [12:28:44] * UndefinedOffset has joined #silverstripe
92: [13:13:49] * filisko quit (Remote host closed the connection)
93: [13:43:37] * DarjusIT has joined #silverstripe
94: [13:45:45] <DarjusIT> Hi whitch facebook login module is bets?
95: [13:45:51] <DarjusIT> best
96: [14:31:32] * soli23 quit (Quit: Konversation terminated!)
97: [14:53:54] * ahr3n has joined #silverstripe
98: [15:13:24] * ahr3n quit (Ping timeout: 268 seconds)
99: [17:52:30] * UndefinedOffset quit (Quit: Leaving.)
100: [18:59:46] * UndefinedOffset has joined #silverstripe
101: [19:31:54] * UndefinedOffset quit (Quit: Leaving.)
102: [20:15:21] * UndefinedOffset has joined #silverstripe
103: [20:17:46] * UndefinedOffset quit (Client Quit)
104: [21:50:41] * DarjusIT quit (Read error: Connection reset by peer)

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