#silverstripe IRC Log

IRC log for 2 March 2013

All timestamps are in UTC.

1: [00:03:00] <SphereSilver> For me, it's midnight :)
2: [00:03:00] * SphereSilver quit (Remote host closed the connection)
3: [00:03:00] <SphereSilver> WTF? A Microsoft plugin is marked as a virus!
4: [00:07:00] * SphereSilver has joined #silverstripe
5: [00:07:00] <SphereSilver> Sorry about that. System shutdown due to a MS-program being marked as virus
6: [00:09:00] * SphereSilver quit (Remote host closed the connection)
7: [00:11:00] * SphereSilver has joined #silverstripe
8: [00:12:00] * guci0 quit (Ping timeout: 245 seconds)
9: [00:18:00] <FrozenFire> That is, some other malware infected the "MS program"
10: [00:18:00] <FrozenFire> SphereSilver, Probably an infected executable.
11: [00:20:00] * priithansen has joined #silverstripe
12: [00:21:00] * ajshort has joined #silverstripe
13: [00:22:00] <SphereSilver> It seems so indeed
14: [00:22:00] <SphereSilver> But this was an official MS application
15: [00:23:00] <SphereSilver> I changed nothing, but no more bugs either
16: [00:23:00] <SphereSilver> weird, yesterday my newsmodule had a bug.
17: [00:23:00] <SphereSilver> What's a good batch image-resizer for windows?
18: [00:25:00] <FrozenFire> http://imageresizer.codeplex.com/
19: [00:25:00] <SphereSilver> guess what just crashed my computer ;)
20: [00:25:00] * spronk2 quit (Ping timeout: 255 seconds)
21: [00:26:00] <SphereSilver> Kaspersky marks it as bad and deletes it.
22: [00:26:00] <FrozenFire> Odd
23: [00:27:00] <FrozenFire> Well, that's probably your problem.
24: [00:27:00] <FrozenFire> :P
25: [00:27:00] <FrozenFire> Kaspersky
26: [00:27:00] * spronk2 has joined #silverstripe
27: [00:27:00] * spronk quit (Ping timeout: 276 seconds)
28: [00:28:00] <FrozenFire> Not that I actually have anything against Kaspersky
29: [00:28:00] <FrozenFire> Just haven't heard of it in a long time
30: [00:28:00] <SphereSilver> Kaspersky is the best I know ;)
31: [00:28:00] <SphereSilver> I've been working with corporate systems for a long time, it's the only corp package that doesn't bring the system to a shreeking halt, yet, does it's job ;)
32: [00:29:00] * howardgrigg has joined #silverstripe
33: [00:30:00] * LoveDuckie quit (Read error: Operation timed out)
34: [00:33:00] <azureKnight> If I have a page use Requirements::themedCSS()
35: [00:33:00] <azureKnight> How do I make another page not use that?
36: [00:34:00] <FrozenFire> Yes. That does not mean that you should. :P
37: [00:34:00] <azureKnight> In the php you can write requirements.
38: [00:34:00] <FrozenFire> Your requirements should be in your template
39: [00:34:00] <FrozenFire> Not sure what you mean.
40: [00:35:00] <azureKnight> That's fair.
41: [00:35:00] <azureKnight> Lol.
42: [00:36:00] <SphereSilver> But the template-require misses one crucial point. Minified
43: [00:37:00] <SphereSilver> I prefer the PHP-way, because itcan minify
44: [00:38:00] <FrozenFire> That's purely a limitation of your imagination
45: [00:39:00] <SphereSilver> I'm imagining unicorns nw, does that help? :P
46: [00:40:00] <FrozenFire> A little
47: [00:41:00] <SphereSilver> It's after 1,30 AM. I should go to bed actually. :(
48: [00:46:00] <azureKnight> Hey FrozenFire with that data object rendering to page, would there be any reason why when there's more than one object, the pages wouldn't return?
49: [00:46:00] <FrozenFire> Not sure what you mean
50: [00:47:00] <azureKnight> But the next ones don't.
51: [00:47:00] <FrozenFire> Odd
52: [00:47:00] * SphereSilver quit (Remote host closed the connection)
53: [00:47:00] <FrozenFire> When the list contains more than one?
54: [00:47:00] <azureKnight> Yeah.
55: [00:47:00] <azureKnight> So, we made it so that I can create an object, and then it will give it a url string
56: [00:47:00] <azureKnight> So, the first item works.
57: [00:47:00] <azureKnight> Links great, shows content.
58: [00:48:00] <FrozenFire> The next ones do what?
59: [00:48:00] <azureKnight> Hmm.
60: [00:48:00] <azureKnight> Actually at the end of the renderWith(array()), I have array("Video" => "$item")
61: [00:48:00] <FrozenFire> Yeah, oof.
62: [00:48:00] <FrozenFire> Don't quote that $item
63: [00:48:00] <azureKnight> It takes you to a page not found.
64: [00:48:00] <azureKnight> Oh, sorry, it's not quoted.
65: [00:49:00] <FrozenFire> The second parameter to renderWith is a list of template variables you want to inject into the rendering
66: [00:49:00] <azureKnight> Ah, that's convenient to know.
67: [00:49:00] <azureKnight> But I'm wondering, that Video, shouldn't it be the BasicVideo?
68: [00:49:00] <FrozenFire> Good. :P
69: [00:49:00] <FrozenFire> Video is the name of the template variable it gets scoped in as
70: [00:49:00] <azureKnight> Right. Ok.
71: [00:50:00] <FrozenFire> Then filtering it by the URLSegment
72: [00:50:00] <azureKnight> $request->param("ID"))->First();
73: [00:50:00] <azureKnight> Hmm.
74: [00:50:00] <FrozenFire> That's getting your list of videos
75: [00:51:00] <FrozenFire> And getting the first one from that list
76: [00:51:00] <FrozenFire> That just deals with the picking of the item out of a DataList
77: [00:51:00] <spronk2> hmm
78: [00:51:00] <FrozenFire> Doesn't actually mean to get the first video created
79: [00:51:00] <azureKnight> Ok.
80: [00:52:00] <FrozenFire> Hrmm, just had a thought about DataList
81: [00:52:00] <azureKnight> ?
82: [00:53:00] <FrozenFire> Not specific to your problem
83: [00:53:00] <FrozenFire> I think we should remove that explicit method, and replace it with a dynamic __call handler
84: [00:53:00] <FrozenFire> We have DataList::byID()
85: [00:56:00] <azureKnight> Hmm. This might be a bigger issue at play here. Lol.
86: [00:57:00] <FrozenFire> Basically, so you could do DataList::bySomeField($value);
87: [00:57:00] <FrozenFire> E.g. public function __call($method, $arguments) { if(substr($method, 0, 2) == "by") { $field = substr($method, 2); if($($this->dataClass())->hasField($field)) { return $this->filter("{$field}:ExactMatch", $arguments[0]); } } }
88: [00:59:00] <howardgrigg> azureKnight: you can use Requirements::block()
89: [01:00:00] <howardgrigg> sorry I was a bit behind in the conversation lol hadnt scrolled down
90: [01:00:00] <azureKnight> It would appear that my BasicTraining can't even access the BasicVideos through the normal loop statement.
91: [01:01:00] <azureKnight> No, not that. Let's see.
92: [01:02:00] <FrozenFire> :P
93: [01:02:00] <azureKnight> Gimme a minute.
94: [01:02:00] <FrozenFire> Paste your code
95: [01:02:00] <azureKnight> I'm learning. :O
96: [01:03:00] <azureKnight> Hmm, now it's not returning at all. I'll paste.
97: [01:04:00] <azureKnight> That's both:
98: [01:04:00] <azureKnight> http://sspaste.com/paste/show/51315007abfb5
99: [01:05:00] <FrozenFire> :P
100: [01:05:00] <FrozenFire> That's a very interesting from-scratch GridField you have there
101: [01:06:00] <FrozenFire> :P
102: [01:06:00] <azureKnight> I've tried it before, not for this one, I just use that one out of habit.
103: [01:06:00] <FrozenFire> Did you try GridFieldConfig_RelationEditor?
104: [01:10:00] <azureKnight> I'll try it now.
105: [01:13:00] <azureKnight> It's like the function just died...?
106: [01:14:00] * nickmolhoek quit (Quit: nickmolhoek)
107: [01:14:00] <azureKnight> It's returning a page not found for all of them.
108: [01:14:00] <azureKnight> I'll comb through the code again.
109: [01:18:00] <azureKnight> Hmm??? Might have found issue.
110: [01:19:00] <azureKnight> Weird.
111: [01:19:00] <azureKnight> It's needing to be saved twice.
112: [01:20:00] <azureKnight> Which actually makes sense.
113: [01:20:00] <azureKnight> ::sigh::
114: [01:20:00] <azureKnight> ...
115: [01:22:00] <azureKnight> I like the way your code handles the validation.
116: [01:22:00] <FrozenFire> You had asked about that before, and I don't know why I didn't say yes.
117: [01:22:00] <FrozenFire> Heh. Yeah, you might want to include an onBeforeWrite to handle the URLSegments
118: [01:22:00] <azureKnight> I need to read up on that.
119: [01:22:00] <azureKnight> But yes, the onbeforewrite would be handy.
120: [01:22:00] <azureKnight> Haha.
121: [01:23:00] <FrozenFire> public function onBeforeWrite() { parent::onBeforeWrite(); if(!$this->getField("URLSegment")) $this->URLSegment = $this->URLSegment; }
122: [01:23:00] <azureKnight> Well, thank you.
123: [01:26:00] <azureKnight> One other side question, what's the function to make something not be allowed to save til it gets some information?
124: [01:26:00] <azureKnight> is that like a require($this->Field)?
125: [01:29:00] <azureKnight> Lol...
126: [01:29:00] <azureKnight> I dig that one.
127: [01:29:00] <FrozenFire> public function validate() { $result = parent::validate(); if(empty($this->Field)) $result->error("Sup bitch. You forgot yo Field value"); }
128: [01:29:00] <FrozenFire> return $result
129: [01:48:00] * DigNZ has joined #silverstripe
130: [01:56:00] * maknz has joined #silverstripe
131: [02:06:00] * DigNZ quit (Quit: DigNZ)
132: [02:19:00] * spronk has joined #silverstripe
133: [02:32:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
134: [02:39:00] * DigNZ quit (Client Quit)
135: [02:39:00] * DigNZ has joined #silverstripe
136: [02:41:00] * Colin[pi] quit ()
137: [02:47:00] * joelpitt_ quit (Remote host closed the connection)
138: [03:35:00] * DigNZ has joined #silverstripe
139: [03:52:00] * Error404NotFound has joined #silverstripe
140: [03:54:00] * liam_ has joined #silverstripe
141: [03:55:00] * liam_ is now known as Guest86751
142: [03:55:00] <Guest86751> is there a way to use a dataextension on the controller class and hook in to init?
143: [04:05:00] * dendeffe has joined #silverstripe
144: [04:06:00] * priithansen quit (Quit: priithansen)
145: [04:12:00] * cloph_away has joined #silverstripe
146: [04:14:00] * cloph quit (Ping timeout: 264 seconds)
147: [04:29:00] * DigNZ quit (Quit: DigNZ)
148: [04:35:00] * Guest86751 quit (Quit: Guest86751)
149: [04:36:00] * liam__ has joined #silverstripe
150: [04:42:00] * DigNZ has joined #silverstripe
151: [04:42:00] * DigNZ quit (Client Quit)
152: [04:46:00] <FrozenFire> liam__, Yes
153: [04:46:00] <FrozenFire> It's not DataExtension for non-DataObjects
154: [04:46:00] <FrozenFire> It's just Extension
155: [04:47:00] <FrozenFire> And you use onAfterInit
156: [04:48:00] <FrozenFire> https://github.com/silverstripe/sapphire/blob/3.0/control/Controller.php#L145
157: [05:04:00] * Error404NotFound quit (Read error: Operation timed out)
158: [05:17:00] * Error404NotFound has joined #silverstripe
159: [05:42:00] * liam__ quit (Quit: liam__)
160: [05:51:00] * liam_ has joined #silverstripe
161: [05:51:00] * liam_ is now known as Guest67429
162: [06:32:00] * Guest67429 has left #silverstripe
163: [07:27:00] * Error404NotFound quit (Read error: Connection reset by peer)
164: [07:32:00] * dendeffe quit (Quit: dendeffe)
165: [07:46:00] * SightUnseen has joined #silverstripe
166: [07:47:00] * SightUnseen has left #silverstripe
167: [08:12:00] * dendeffe has joined #silverstripe
168: [08:34:00] * LoveDuckie has joined #silverstripe
169: [09:22:00] * azureKnight quit (Quit: azureKnight)
170: [09:29:00] * gelignite has joined #silverstripe
171: [09:44:00] * iamss has joined #silverstripe
172: [09:47:00] * dendeffe quit (Quit: dendeffe)
173: [09:56:00] * iamss quit (Ping timeout: 245 seconds)
174: [10:29:00] * Shrike_Finland has joined #silverstripe
175: [10:40:00] * SightUnseen has joined #silverstripe
176: [10:40:00] * SightUnseen has left #silverstripe
177: [10:44:00] * Kapdap has joined #silverstripe
178: [10:44:00] * Kapdap quit (Ping timeout: 256 seconds)
179: [10:47:00] * Shrike_Finland quit (Quit: Leaving.)
180: [12:01:00] * eikonos quit (Quit: Leaving.)
181: [12:52:00] * lx-berlin has joined #silverstripe
182: [13:01:00] * NeroReflex has joined #silverstripe
183: [13:01:00] <NeroReflex> hi FrozenFire, i' m Spark_
184: [13:13:00] * ARNHOE has joined #silverstripe
185: [13:16:00] <NeroReflex> could i ask something?
186: [13:16:00] <ARNHOE> This question is probably matter of an opinion but... Is it worth paying for the github private repo's when bitbucket has free private repo's?
187: [13:16:00] * lx-berlin quit (Quit: lx-berlin)
188: [13:17:00] <NeroReflex> i dislike git
189: [13:17:00] <ARNHOE> well, I am still getting used to using git. So atm I want to keep myself to learning git. But pushing to private repo's is there a major difference between those two providers
190: [13:20:00] <NeroReflex> either if i am the admin
191: [13:20:00] <ARNHOE> But NeroReflex what did you wanted to ask? There is probably a little chance I could help oyu, but can always try
192: [13:20:00] * guci0 has joined #silverstripe
193: [13:20:00] <NeroReflex> i installed the cmd
194: [13:20:00] <NeroReflex> *cms
195: [13:20:00] <NeroReflex> everything work fine
196: [13:20:00] <NeroReflex> but i haven' t all privileges
197: [13:21:00] <ARNHOE> Neither if you are a admin? I was going to say you can add a defaultadmin, but you probably tried rebuilding the database already?
198: [13:22:00] <ARNHOE> Doesn't sound a like something I heard before
199: [13:22:00] <NeroReflex> no i installed it yestarday night i hadn' t any time
200: [13:23:00] <ARNHOE> Usually, removing (make backup if something special in in it) and building the database again does some wonders. Otherwise you could add in _config.php Security::setDefaultAdmin("admin", "password"); try login in with that
201: [13:23:00] <ARNHOE> it's unfortunate the problem fixers aren't online atm
202: [13:24:00] <NeroReflex> nope, same limitations
203: [13:25:00] <NeroReflex> i am admin
204: [13:25:00] <NeroReflex> but i haven0 t some privileges
205: [13:25:00] * UncleCheese has joined #silverstripe
206: [13:25:00] <NeroReflex> but, i don' t think it is a problem
207: [13:26:00] <ARNHOE> But what isn't working? Your own created dataobjects for example, or the regular cms objects (SiteTree, Security;members, etc)
208: [13:27:00] * UncleCheese quit (Read error: Connection reset by peer)
209: [13:27:00] <ARNHOE> You can edit/save pages etc?
210: [13:27:00] <NeroReflex> yes
211: [13:28:00] * UncleCheese has joined #silverstripe
212: [13:28:00] <NeroReflex> if i enter in admin cp and click on my name and press "Permessi" the other tab, not the default one, i can see that there are some things i can' t do
213: [13:28:00] <ARNHOE> Zauberfisch: when using your boilerplate and doing a clean installation. Does your _config.php in mysite gets cleared with a clean _config.php file aswell? Or am I doing something wrong
214: [13:28:00] <ARNHOE> lets see, NeroReflex
215: [13:29:00] <NeroReflex> yes i mean that
216: [13:29:00] <ARNHOE> NeroReflex: You mean (if you are on 3.1) that only one thing is green and the rest is red?
217: [13:29:00] <ARNHOE> This is becuase you are super admin already as far I know
218: [13:30:00] <ARNHOE> As far I know that is the situation as it should be and it makes sense, why would you need to give people access again to something when they already have access to it since they are super admin :D
219: [13:31:00] <ARNHOE> slow loading, give me some sec
220: [13:31:00] <NeroReflex> http://img829.imageshack.us/img829/4113/immaginesbi.png
221: [13:31:00] * UncleCheese quit (Read error: Connection reset by peer)
222: [13:32:00] * UncleCheese has joined #silverstripe
223: [13:33:00] <ARNHOE> What does the green one says? Something like, All permissions or Total access in that area?
224: [13:33:00] <NeroReflex> administration rights
225: [13:34:00] <ARNHOE> I don't think something is wrong, your account is already super admin as far I can see
226: [13:35:00] <NeroReflex> ok thanks
227: [13:35:00] * UncleCheese_ has joined #silverstripe
228: [13:35:00] * maknz quit (Ping timeout: 252 seconds)
229: [13:36:00] * UncleCheese_ quit (Read error: Connection reset by peer)
230: [13:36:00] * UncleCheese_ has joined #silverstripe
231: [13:37:00] * UncleCheese quit (Ping timeout: 272 seconds)
232: [13:37:00] * UncleCheese_ quit (Read error: Connection reset by peer)
233: [13:38:00] * UncleCheese has joined #silverstripe
234: [13:41:00] <howardgrigg> NeroReflex: because your role already has those permissions that covers them
235: [13:41:00] <NeroReflex> ok
236: [13:41:00] <howardgrigg> have a look at the administrator role
237: [13:41:00] <ARNHOE> Yeah, that is exactly what I told him. But probably is more complicated (stupid) way
238: [13:43:00] <ajshort> ARNHOE: IMO it's not worth paying for github private repos when you can use bitbucket
239: [13:44:00] <ajshort> github is really good for collaboration features, which you probably don't need to private repos anyway
240: [13:44:00] <ARNHOE> thanks, ajshort! that cleared alot up for me
241: [13:44:00] <Zauberfisch> ARNHOE what do you mean?
242: [13:44:00] <ARNHOE> Ah, well thats the answer that I needed. I am not a advanced coder yet when it comes to version control (So, mabye in general aswell).
243: [13:44:00] <ajshort> all you really need is somewhere to put a copy of the repo in case you rm your local copy :)
244: [13:45:00] <Zauberfisch> all you need to do with the boilerplate is a /dev/build
245: [13:45:00] <Zauberfisch> in fact, the boilerplate uses no installer at all
246: [13:45:00] <ARNHOE> Zauberfisch: I only use your _config.php file. But when I do a clean installation, your whole _config.php gets replaced with the default _config.php file that silverstripe makes.
247: [13:45:00] <Zauberfisch> ARNHOE my boilerplate is not using the silverstripe installer
248: [13:46:00] <ARNHOE> oke, so I shouldnt use the installer (since that replaces the _config) I should just build the db normally
249: [13:46:00] <Zauberfisch> well, yes, you don't need the installer if your server is configured the right way
250: [13:47:00] <Zauberfisch> for that I have the _ss_environement.php
251: [13:47:00] <Zauberfisch> you need to have the DB credentials right for it to work
252: [13:47:00] <Zauberfisch> that takes care of that for me
253: [13:47:00] <ARNHOE> Yeah absolutely true. Now you say it, I don't understand why I always use the installer when doing a new project
254: [13:48:00] <ARNHOE> I see, thanks Ill get a look into ss environoment. I have atleast 15 silverstripe websites on my localhost, enviroment would be a better help with using to manage those or?
255: [13:55:00] * UncleCheese quit (Quit: UncleCheese)
256: [14:01:00] <NeroReflex> i think silverstripe is more complicate that openGL videogames programming -.-
257: [14:13:00] <howardgrigg> Zauberfisch: do you know what would be causing SyntaxError: JSON Parse error: Unexpected identifier "ERROR" in UploadField?
258: [14:13:00] <NeroReflex> oh, i need to put php code in my default page, how can i do it?
259: [14:14:00] <Zauberfisch> actually, I have to go and buy some stuff before the shops close
260: [14:14:00] <Zauberfisch> howardgrigg no, not on top of my head
261: [14:14:00] <Zauberfisch> just poke me in query or in skype
262: [14:14:00] <Zauberfisch> can we talk in 1h?
263: [14:14:00] <Zauberfisch> howardgrigg can you give me more details?
264: [14:15:00] <Zauberfisch> ARNHOE when I start a project on my local host, really all I do is copy the folder and run a dev build
265: [14:15:00] <howardgrigg> Zauberfisch: no worries - im about to head to bed
266: [14:15:00] <Zauberfisch> ARNHOE it certanly would be
267: [14:15:00] <Zauberfisch> ARNHOE I don't even have to write in the database name, silverstripe just takes the folder name of the vhost as database name
268: [14:15:00] <howardgrigg> problem for another day :)
269: [14:16:00] <howardgrigg> oh nice - have fun!
270: [14:16:00] * dendeffe has joined #silverstripe
271: [14:16:00] <Zauberfisch> howardgrigg oh, ok
272: [14:16:00] <Zauberfisch> howardgrigg but I can't help you tomorrow, will be in Vienna, silverstripe Meetup austria
273: [14:16:00] <Zauberfisch> we actually have 10 people this time signed up
274: [14:16:00] <Zauberfisch> yaaay
275: [14:16:00] <Zauberfisch> pretty good for a 2nd meetup in europe
276: [14:16:00] <howardgrigg> thatll be cool
277: [14:17:00] <Zauberfisch> afk now
278: [14:19:00] * lx-berlin has joined #silverstripe
279: [14:20:00] <ARNHOE> Zauberfisch: thanks for telling me about your setup!
280: [14:28:00] * lab_notes has joined #silverstripe
281: [14:38:00] * howardgrigg quit (Remote host closed the connection)
282: [14:43:00] * lx-berlin quit (Quit: lx-berlin)
283: [14:47:00] * lab_notes quit (Quit: leaving)
284: [14:52:00] * ajshort quit (Quit: Leaving)
285: [14:57:00] * lx-berlin has joined #silverstripe
286: [15:09:00] * lx-berlin has left #silverstripe
287: [15:18:00] * dendeffe quit (Quit: dendeffe)
288: [15:19:00] * SphereSilver has joined #silverstripe
289: [15:33:00] * Friksel has joined #silverstripe
290: [15:38:00] * priithansen has joined #silverstripe
291: [16:01:00] <Friksel> does anybody know why user passwords aren't working anymore after copying a silverstripe website and its database to another server?
292: [16:11:00] * UncleCheese has joined #silverstripe
293: [16:13:00] <Zauberfisch> Friksel is everything else working?
294: [16:22:00] * LePhil has joined #silverstripe
295: [16:23:00] <Friksel> @Zauberfish: Yes, all data is working and the CMS/Website are oke. After manually changing the passwords people can login again
296: [16:25:00] * SightUnseen has joined #silverstripe
297: [16:25:00] * SightUnseen has left #silverstripe
298: [16:25:00] * Zauberfisch quit (Ping timeout: 246 seconds)
299: [16:28:00] * Zauberfisch has joined #silverstripe
300: [16:30:00] <SphereSilver> Only thing I can think of, is the new server not supporting the originally used crypt-method.
301: [16:32:00] <LePhil> g'day
302: [16:34:00] * UncleCheese quit (Quit: UncleCheese)
303: [16:34:00] <Friksel> @spheresilver: could it be the salt is saved somewhere outside the database?
304: [16:34:00] <SphereSilver> Nope. The salt is in the db.
305: [16:36:00] <SphereSilver> I was, now I'm at home...
306: [16:36:00] <LoveDuckie> I'm liking the stuff that you are adding :)
307: [16:36:00] <LoveDuckie> haha yeah I was referring to your git commits
308: [16:36:00] <SphereSilver> but also coding :P
309: [16:36:00] <LoveDuckie> Busy at work I see SphereSilver? :P
310: [16:49:00] * UncleCheese has joined #silverstripe
311: [16:49:00] * UncleCheese quit (Client Quit)
312: [16:56:00] <SphereSilver> Ah, ok :) I'm working on integrating the "Fetch me a beer" function. I've been wanting to do that for a long, long, long time already :P
313: [16:59:00] <SphereSilver> But I haven't found a good beer-image-API yet :)
314: [17:00:00] <SphereSilver> Google Search is kinda sucky on that, since it prioritizes the originating website :/
315: [17:05:00] * void_jd has joined #silverstripe
316: [17:06:00] * void_jd quit (Client Quit)
317: [17:12:00] <LePhil> can someone help me with a settings problem? 2 domains on the same host, one with an SS page
318: [17:13:00] <LePhil> i'm kinda lost in all these SS/htaccess/hoster settings
319: [17:21:00] <SphereSilver> That is too vague to say anything about. What do you have and what do you want to accomplish?
320: [17:31:00] <LePhil> my SS installation lies in /main and should be accessed over otherdomain.com or www.otherdomain.com
321: [17:31:00] <LePhil> my "real" domain, mydomain.com should just point to the root directory as I have not yet decided on what to do with it. I have some little projects on there but nothing real
322: [17:32:00] <LePhil> right now I can access otherdomain.com and it shows up perfectly (even though you can see /main in the url, but that's ok)
323: [17:32:00] <SphereSilver> That means you want to "park" the domain. That's outside of SS, you need to tell the parked domain to go to the master domain via your config
324: [17:32:00] <LePhil> but if I visit mydomain.com, I see the same content as on otherdomain.com
325: [17:33:00] <LePhil> config being the htaccess?
326: [17:33:00] <SphereSilver> that makes sense. If you have parked it at otherdomain.com, it will act as original domain.
327: [17:33:00] <SphereSilver> config being either the domain administration system, or htaccess
328: [17:33:00] <LePhil> I set up the account for mydomain.com
329: [17:33:00] <LePhil> which is the main domain
330: [17:33:00] <LePhil> according to the settings
331: [17:34:00] <LePhil> I *think* the problem lies in the htaccess because SS redirects ALL queries to /main
332: [17:34:00] <LePhil> with RewriteBase '/main'
333: [17:35:00] <LePhil> but I'm not familiar with these rules
334: [17:35:00] <SphereSilver> That's correct. So any domain pointed to the main, will act as the main domain ;)
335: [17:35:00] <SphereSilver> Parking and adding are two whole different thinks :)
336: [17:37:00] <LePhil> if I check my settings from the hoster, it says that otherdomain.com's target folder is the root directory and its target domain is mydomain.com, the type being of "redirection"
337: [17:39:00] <LePhil> I still can access files on mydomain.com by calling them directly, e.g mydomain.com/test/index.html
338: [17:40:00] <LePhil> can't find any option to park a domain
339: [17:40:00] <LePhil> but mydomain.com/test/ shows SS's Page not found-page
340: [17:43:00] <SphereSilver> I'm off. Got a visitor in about an hour and gotta do some shopping.
341: [17:43:00] <SphereSilver> add "ignore directories" to your htaccess. SS is trying to resolve directories as locations. Maybe that helps?
342: [17:44:00] <SphereSilver> g'night!
343: [17:44:00] * SphereSilver quit (Quit: If it's not broke. It's lacking features.)
344: [17:45:00] <LePhil> aaaand he's gone
345: [17:45:00] <LePhil> thanks, trying to do that
346: [18:02:00] <LePhil> aaand me too..
347: [18:07:00] * LePhil quit (Ping timeout: 245 seconds)
348: [18:08:00] <NeroReflex> i really need to use php code into the page of a theme, what should I do?!?
349: [18:09:00] <NeroReflex> or.... ehm....... i have to use mysql database
350: [18:22:00] <FrozenFire> You really do not
351: [18:23:00] <FrozenFire> Ever.
352: [18:23:00] <FrozenFire> Do not put controller or model functionality in your view.
353: [18:33:00] <NeroReflex> but, i have to get a list of elements from my database!
354: [18:36:00] <FrozenFire> Your controller puts the things you need from your model into your view for it to access.
355: [18:36:00] <FrozenFire> Your view presents the interface for your controller to put things back into the model.
356: [18:36:00] <FrozenFire> That's how MVC works.
357: [18:36:00] <FrozenFire> So do it in your model.
358: [18:42:00] <NeroReflex> ok, thanks ah FrozenFire i am Spark_ :D
359: [18:52:00] * Friksel quit (Ping timeout: 245 seconds)
360: [18:53:00] * NeroReflex quit (Ping timeout: 245 seconds)
361: [18:59:00] * dendeffe has joined #silverstripe
362: [19:06:00] * ARNHOE quit (Remote host closed the connection)
363: [19:18:00] * UncleCheese has joined #silverstripe
364: [19:29:00] * ARNHOE has joined #silverstripe
365: [20:10:00] * UncleCheese quit (Quit: UncleCheese)
366: [20:11:00] * ryanwachtl_ has joined #silverstripe
367: [20:25:00] * zfmf has joined #silverstripe
368: [20:30:00] * ryanwachtl_ quit (Ping timeout: 245 seconds)
369: [20:39:00] * SightUnseen has joined #silverstripe
370: [20:46:00] * SightUnseen has left #silverstripe
371: [21:00:00] * UncleCheese has joined #silverstripe
372: [21:20:00] * zfmf has left #silverstripe
373: [21:20:00] * UncleCheese quit (Quit: UncleCheese)
374: [21:23:00] * dendeffe quit (Quit: dendeffe)
375: [21:44:00] * ARNHOE quit (Remote host closed the connection)
376: [21:45:00] * void_jd has joined #silverstripe
377: [22:05:00] * willr has joined #silverstripe
378: [22:06:00] * willr has joined #silverstripe
379: [22:06:00] * willr quit (Client Quit)
380: [22:10:00] * SightUnseen has joined #silverstripe
381: [22:12:00] * SightUnseen has left #silverstripe
382: [22:36:00] * void_jd quit (Ping timeout: 256 seconds)
383: [22:38:00] * SightUnseen1 has left #silverstripe
384: [22:38:00] * SightUnseen1 has joined #silverstripe
385: [22:53:00] * eikonos quit (Changing host)
386: [22:53:00] * eikonos has joined #silverstripe
387: [22:53:00] * eikonos has joined #silverstripe
388: [23:39:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
389: [23:41:00] <nimeso> Nicly put Frozen btw
390: [23:49:00] * Liquide has joined #silverstripe

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