Log message #2300653

# At Username Text
# Sep 22nd 2011, 17:37 ujjain the requests should not hit cake, but just redirect. Above.
# Sep 22nd 2011, 17:37 cakenoob below or above?
# Sep 22nd 2011, 17:37 ujjain put the 3 lines above the cakephp content.
# Sep 22nd 2011, 17:37 ujjain Yes.
# Sep 22nd 2011, 17:37 cakenoob in the .htaccess I put this below the above the cakephp RewriteCond %{REQUEST_FILENAME} !-d?
# Sep 22nd 2011, 17:37 ujjain or else <directory... >
# Sep 22nd 2011, 17:36 ujjain You can edit your httpd.conf? I am not sure to be honest where you can place it. Maybe in the <virtualhost ...>
# Sep 22nd 2011, 17:35 ujjain http://www.web-portfolio.be/seo/301-redirect-none-www.php
# Sep 22nd 2011, 17:35 cakenoob yes, what lines do I put
# Sep 22nd 2011, 17:35 ujjain alternative => httpd.conf editing.
# Sep 22nd 2011, 17:35 ujjain You should edit your app/webroot/.htaccess file.
# Sep 22nd 2011, 17:31 cakenoob anyone know how to do non-www to www redirection in cakephp .htaccess without going to /app/webroot?
# Sep 22nd 2011, 17:30 ujjain I have $this->Question->Answer->findByQuestionId. I am not sure what to use when (var $uses etc).
# Sep 22nd 2011, 17:29 ujjain thanks, it works.
# Sep 22nd 2011, 17:28 ujjain ScottO_: right, I thought so, I never work like that, but it seems an easy way to do things instead of a find('all') with conditions.
# Sep 22nd 2011, 17:28 ScottO_ ujjain: try $this->Answer->findByQuestionId($id);
# Sep 22nd 2011, 17:27 ScottO_ ujjain: it means it cant find that model method
# Sep 22nd 2011, 17:25 ujjain does that mean Cake understands it but the model is wrong?
# Sep 22nd 2011, 17:24 ujjain I think it doesn't work, Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'findAnswerbyQuestionId' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
# Sep 22nd 2011, 17:24 delfis very smart.
# Sep 22nd 2011, 17:23 ujjain delfis: that does not work either.
# Sep 22nd 2011, 17:23 robcowie thats what I thought, but using the examples on the above linked post did not work, I check the bug tracker link as well
# Sep 22nd 2011, 17:22 TooMuchCaffeine robcowie: correction. if linked model is hasMany then saveAll recursively calls itself
# Sep 22nd 2011, 17:21 delfis uppercase I
# Sep 22nd 2011, 17:21 delfis Id
# Sep 22nd 2011, 17:21 ujjain I had $this->Question->find... but that does not find User's for Answers.
# Sep 22nd 2011, 17:21 diverdude TooMuchCaffeine, hey, did you ever have problems with "segmentation fault" in cakephp?
# Sep 22nd 2011, 17:21 ujjain I never used find blabla by blabla, how can I make this work? $this->set('answers', $this->Question->Answer->findAnswerbyQuestionid(null, $id));
# Sep 22nd 2011, 17:20 delfis and can tell his experience :p
# Sep 22nd 2011, 17:20 delfis i know that someone have tried something
# Sep 22nd 2011, 17:19 delfis Dunhamzzz, google won`t give me answer from experience
# Sep 22nd 2011, 17:19 Dunhamzzz !tell delfis about google jQueryui calendar
# Sep 22nd 2011, 17:19 Dunhamzzz jqueryui
# Sep 22nd 2011, 17:19 delfis jquery i think
# Sep 22nd 2011, 17:19 delfis )
# Sep 22nd 2011, 17:19 delfis ?
# Sep 22nd 2011, 17:19 delfis can you suggest me simple calendar
# Sep 22nd 2011, 17:16 TheWarden have a good one
# Sep 22nd 2011, 17:16 scoutmstershke I'm going to lunch bitches
# Sep 22nd 2011, 17:16 delfis ;)
# Sep 22nd 2011, 17:15 scoutmstershke I always do