Re: Problem with Postgresql 8.2 on Windows XP

2008-01-17 Thread Chris Hartjes
need to make sure that the CLI version of PHP you have installed also has support for Postgres. Check to see if you have two different php.ini files, one for web and one for CLI. Some PHP installs do that. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants

Re: Auth in 1.2

2008-01-15 Thread Chris Hartjes
mentioned before I would try removing 'Acl' from the list of components and make sure it worked just fine with only the 'Auth' component. Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net

Re: trouble with routes

2008-01-14 Thread Chris Hartjes
am I going wrong here? Where did you get that impression, as I do not remember seeing any documentation to that effect. Perhaps that's something that other frameworks do, but not Cake. Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants

Re: trouble with routes

2008-01-14 Thread Chris Hartjes
(with respect to having a huge collection of static pages). -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message

Re: Auth in 1.2

2008-01-14 Thread Chris Hartjes
be getting error messages for incorrect passwords even now? Grateful for anyone's input! I'd suggest that you remove ACL from the equation for now and make sure that you can get Auth working first. Remember the motto: make it work, then make it work better. -- Chris Hartjes Internet Loudmouth Motto

Re: v1.2 $beforeFilter property warning

2008-01-14 Thread Chris Hartjes
using $beforeFilter, as that is something that I have not seen before. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: Need ideas on using cake in a tabbed design.

2008-01-13 Thread Chris Hartjes
hope this clears the issue. That's some Ajax work, sort of out of the scope of Cake. Since the built-in helper uses Scriptaculous / Prototype I suggest you read up on them. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http

Re: Sessions, redirects and setFlash

2008-01-13 Thread Chris Hartjes
First thing to check when sessions go haywire is your security level in config/copre.php. Make sure it's set to low, as on high it regenerates the session on every refresh (or so I remember being told). Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding

Re: saveAll function not saving

2008-01-12 Thread Chris Hartjes
On Jan 12, 2008 3:07 PM, lordG [EMAIL PROTECTED] wrote: My suggestion would be at least to assign a variable to the model like $assignDefaults = true/false, which can control if the save grabs the defaults or not. Edge case. Move on. -- Chris Hartjes Internet Loudmouth Motto for 2008

Re: how display result in view with $this-$Modelname-Query()

2008-01-11 Thread Chris Hartjes
-Query(select count(Customer.id) from customers as Customer); print_r($result); I'm pretty sure you can do this same query using a find(), but the syntax escapes me this early in the morning. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes

Re: PHP has encountered a Stack overflow

2008-01-10 Thread Chris Hartjes
is. Try increasing the amount of memory that PHP is using in your php.ini. Look for 'memory_limit' in there. Sounds like you need to increase it. Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http

Re: How to set up PEAR and MDB2 for Cake Migrations?

2008-01-10 Thread Chris Hartjes
to install PEAR packages (which is what those two things are). Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: Populating the index page on fly

2008-01-10 Thread Chris Hartjes
. by app controller i think you mean app_controller.php. Pardon my ignorance but why can't you just create a controller and a view for the main page of your app? In order to populate a page with all sorts of random images, well, you're gonna need a controller no matter what. -- Chris Hartjes Internet

Re: Populating the index page on fly

2008-01-10 Thread Chris Hartjes
with that. :) You are thinking about this wrong though. You can do this with a one controller, and code inside that controller determines what tabs get pulled up, then you pass that info to the view and treat all those tabs as elements. I think. -- Chris Hartjes Internet Loudmouth Motto for 2008

Re: Do I develop user authentication or the site itself first?

2008-01-09 Thread Chris Hartjes
have several links at my blog (address below) that cover using the Auth component. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: Rendering a different main page

2008-01-09 Thread Chris Hartjes
you tried using custom routes? -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Formhelper error

2008-01-08 Thread Chris Hartjes
On Jan 6, 2008 10:10 PM, ProFire [EMAIL PROTECTED] wrote: In my view, this is how I use my form: echo $form-input(Account.username, array()); Why are you passing an empty array as the second parameter? It's not needed. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from

Need some help with advanced pagination

2008-01-08 Thread Chris Hartjes
to paginate through them. Not being a big pagination guy, I'd appreciate being pointed in the right direction. Is it possible that I need a Series model to make this happen? -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http

Re: Need some help with advanced pagination

2008-01-08 Thread Chris Hartjes
Retrosheet to create the card game our league uses. As a further aside, my current employers are a stats data company, and one of our projects is to provide info from Retrosheet to some of our clients. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling

Re: Need some help with advanced pagination

2008-01-08 Thread Chris Hartjes
(makeups due to rainouts etc) so I don't think I need to paginate through individual games. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard

Re: Need some help with advanced pagination

2008-01-08 Thread Chris Hartjes
you mention. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Environment settings

2008-01-08 Thread Chris Hartjes
in the beforeFilter() for AppController? Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because

Re: Need some help with advanced pagination

2008-01-08 Thread Chris Hartjes
/* optionnaly you can set the cond ie : $cond = array('league_id' = $id) */ $this-set('games', $this-paginate('Game', $cond)) } There is not warranty that will work, and it might contain some typo :-) Thanks so much for the help. I'll try it out and lay blame where appropriate. -- Chris

Re: bakery hates me

2008-01-07 Thread Chris Hartjes
features and quite stable for production use 3) cakephp-open, which is your proposed open svn branch full of all sorts of unvetted code -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard

Re: Custom URL format

2008-01-07 Thread Chris Hartjes
Or does it have to be strictly in this format: /app/controller/action/ username? Thanks in advance You can use custom routes to do this. Check out the section on 'routes' at http://tempdocs.cakephp.org -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling

Re: Getting Data from 2 tables

2008-01-07 Thread Chris Hartjes
-set-class-eats-arrays-for-breakfast/ Hope that points you in the right direction. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard

Re: scripts for layout in cake 1.2

2008-01-07 Thread Chris Hartjes
for certain views, now the css also prints outside of the head tag, which then causes the styles to be applied last. Why do you want the javascript to be executed last? -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http

Re: Using model objects in the controllers

2008-01-07 Thread Chris Hartjes
not be sharing the same definition as you, but that looks like clean access to model objects to me. Perhaps if you were to give a coding example it would help us to understand the problem you are facing. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes

Re: scripts for layout in cake 1.2

2008-01-07 Thread Chris Hartjes
://developer.yahoo.com/performance/rules.html#js_bottom Cool. Thanks for the link. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: {n} in generateList : What does that mean ?

2008-01-07 Thread Chris Hartjes
fields. I do not understand what the {n} means. I cannot find any tip in the API doc. Anybody could teach me a bit ? Try checking out this link, it might explain it better: http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/ -- Chris Hartjes Internet Loudmouth Motto

Re: Updating a Record with an auto increment id

2008-01-05 Thread Chris Hartjes
that $this-data['Customer']['id'] is set to some value because if it is missing, then it looks like (to me anyway) that it is defaulting to 0. Tell me if that makes sense. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http

Re: bakery hates me

2008-01-04 Thread Chris Hartjes
really matters, not turnaround time for bugs. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: Upgrade problems

2008-01-03 Thread Chris Hartjes
just to get an idea of how they approach solving problems. Hope that helps. -- Chris Hartjes Internet Loudmouth Motto for 2008: Moving from herding elephants to handling snakes... @TheKeyBoard: http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: bakery hates me

2008-01-02 Thread Chris Hartjes
agree, but unless people post tickets to trac specifically outlining the problems they were having, it remains unlikely that the problem will be addressed. That's just the reality of how bugs are handled for this project. -- Chris Hartjes My motto for 2007: Moving from herding elephants

Re: Require SSL for entire site?

2008-01-01 Thread Chris Hartjes
On Dec 31, 2007 11:48 AM, Chris Hartjes [EMAIL PROTECTED] wrote: Well, if you did want to do that sort of thing you could put it in a beforeFilter() method in app_controller, but can you really trust the contents of $_SERVER['HTTPS'] to be correct? If I understand correctly, that info can

Re: Require SSL for entire site?

2007-12-31 Thread Chris Hartjes
with lots of other $_SERVER values. Also, can't you limit access to stuff via the web server itself? I may be ignorant about setting up https in Apache, but it seems to make sense that you could say 'https uses code sitting over here while http uses stuff over there'. -- Chris Hartjes My motto

Re: Memcache and CakePHP

2007-12-30 Thread Chris Hartjes
to the actual application. If so, what is it? As far as I know, your app *should* start using memcache for all the caching. Nothing else for you to do. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Memcache and CakePHP

2007-12-30 Thread Chris Hartjes
Memcache::ExtendedStats to create your own memcache-monitoring script. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: $this-User-save() skips validation?

2007-12-30 Thread Chris Hartjes
the saving stuff just a little bit wrong I think. Try this: $password = $sanitize-escape($this-data['User']['password']; $this-User-id = $this-Session-read('userid'); $this-User-save($this-data); Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http

Re: CakePHP on a Apache alias, example.com/cakewww/ - HELP!

2007-12-28 Thread Chris Hartjes
are trying to: installing CakePHP in a subdirectory using an Apache alias. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: constructng result array when using findall

2007-12-28 Thread Chris Hartjes
::extract methods, which you could use to take that result set and reorganize things. Check out this link for some more info: http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/ That might be the best way to do what you're after. -- Chris Hartjes My motto

Re: 2 questions

2007-12-28 Thread Chris Hartjes
. No shame in writing custom model functions that use hand-built SQL. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: 2 questions

2007-12-28 Thread Chris Hartjes
it, so your algorithm might be 1) Run $this-Model-validates($data) 2) If valid, then run custom method that does the update Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: New To Cake PHP

2007-12-28 Thread Chris Hartjes
On Dec 28, 2007 1:23 PM, gourab singha [EMAIL PROTECTED] wrote: Is ther any reference for cakephp job for freasher as like me. http://tempdoc.cakephp.org -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: share views between actions?

2007-12-27 Thread Chris Hartjes
$this-foo(); } Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: share views between actions?

2007-12-27 Thread Chris Hartjes
in a controller if you do not wish to create a view. That's all. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: share views between actions?

2007-12-27 Thread Chris Hartjes
it. To do anything else is banging your head against the framework in a most uncomfortable way. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because

Re: share views between actions?

2007-12-27 Thread Chris Hartjes
never worry about being a dick Glad it was a simple solution to a problem I was too dumb to understand. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: Cake is overwriting a record instead of adding a new record

2007-12-26 Thread Chris Hartjes
. That way you can insure a new record is supposed to be created. I also agree with davidgregan's suggestion about making sure you have the id field for your tables either an auto-increment field or generate your own unique ID's Hope that helps. -- Chris Hartjes My motto for 2007: Just build

Re: User Routing -- or user account urls -- or multiple instances of cake?

2007-12-24 Thread Chris Hartjes
. Probably the easiest way to do it. http://tempdocs.cakephp.org/#TOC35993 Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message

Re: routes.php and the root directory

2007-12-24 Thread Chris Hartjes
the equivalent in IIS) so that it looks for webroot/index.php. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: include everywhere | app_controller.php

2007-12-21 Thread Chris Hartjes
spot for that, in my opinion, would be in a beforeFilter() method in app_controller. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: New To Cake PHP

2007-12-21 Thread Chris Hartjes
suggest you look at the example in the manual on building a blog using CakePHP. While the code isn't 100% perfect, it is a great introduction to some key features of CakePHP. Hope that helps. Also, don't forget to use Google. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard

Re: PHP Version 6 compatibilty

2007-12-21 Thread Chris Hartjes
the impression that the following is true: PHP 6 = PHP 5.3+ with full native unicode support So it's anyone's guess as to when the end of support for PHP 5.3 will be. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: Problems going to production with CakePHP

2007-12-21 Thread Chris Hartjes
/cache/ in case that is causing problems. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Login of different types of users

2007-12-20 Thread Chris Hartjes
That will give you all the posts / tutorials where I talked about using Auth. Hope that helps. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message

Re: image link dorks up my session

2007-12-20 Thread Chris Hartjes
On Dec 20, 2007 4:50 PM, hmpierson [EMAIL PROTECTED] wrote: You should have quit while you were behind with your wise mouth. Very helpful. Thanks! -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: PHP Version 6 compatibilty

2007-12-19 Thread Chris Hartjes
will be PHP 5.3 (and beyond) with native unicode support, my guess is that it will be just fine. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because

Re: image link dorks up my session

2007-12-19 Thread Chris Hartjes
leads me to suspect that code is causing the problem not CakePHP. But that's just my opinion. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because

Re: image link dorks up my session

2007-12-19 Thread Chris Hartjes
with evidence to the contrary. Just because you don't like the answer doesn't mean that it isn't helpful or isn't valid. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: image link dorks up my session

2007-12-19 Thread Chris Hartjes
down the security level in their configuration file if similar session problems occur. See, wasn't that easy? Now, if you want r5982 then you need to start using the version from SVN instead of downloading from the web site. I believe you can find the link on trac.cakephp.org. -- Chris Hartjes

Re: Problem while saving in CakePHP 1.2

2007-12-18 Thread Chris Hartjes
On Dec 18, 2007 2:07 PM, Ldg27 [EMAIL PROTECTED] wrote: $this-User-save($this-data); Try sticking $this-User-create() in front of $this-User-save($this-data) -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net

Re: Problem while saving in CakePHP 1.2

2007-12-18 Thread Chris Hartjes
working or $this-data is empty. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: PHP Version 6 compatibilty

2007-12-18 Thread Chris Hartjes
On Dec 18, 2007 3:36 PM, Stefan [EMAIL PROTECTED] wrote: Having good ol SQL Server character coding problem. Supposedly PHP6 fixes the problem, Cake compatible with V6 or not? PHP 6 isn't even close to a stable release, so I would have to say no. -- Chris Hartjes My motto for 2007: Just

Re: Creating a Site down error page?

2007-12-17 Thread Chris Hartjes
, I'd put it in the beforeFilter() of app_controller like some others have suggested. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: Stop Users From Going Back After Logout

2007-12-17 Thread Chris Hartjes
/2007/11/20/follow-up-to-a-hopefully-usefull-tutorial-for-using-cakephps-auth-component/ -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: Will CakePHP be able to survive as the Zend Framework matures?

2007-12-17 Thread Chris Hartjes
to generate reports without problems in Chinese.) and ezComponents (like the work-flow engine). :) Why would those components be included in CakePHP when you can easily incorporate them from ZF and ezComponents (although I have not seen an example of doing this) into CakePHP already? -- Chris

Re: chaging default model

2007-12-16 Thread Chris Hartjes
not display the info as an element in your page and then use an Ajax submit to process the information? No need to mess around with RequestAction or anything like that as far as I can see. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net

Re: simple noob question - accessing model functions from bootstrap.php

2007-12-16 Thread Chris Hartjes
in a beforeFilter() method in your app_controller 2) take a look at the Configure class if using 1.2 -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: Few questions from a Cake newcomer...

2007-12-16 Thread Chris Hartjes
' controller, again with a custom route to make calls to domain.com/legal go to pages/legal Others will correct me I'm sure. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You

Re: Shouldn't the Text Helper use multibyte strings instead?

2007-12-15 Thread Chris Hartjes
On Dec 15, 2007 12:05 PM, mclee [EMAIL PROTECTED] wrote: Well, we have 'function_exists', don't we? Surely we can do a degrade if mb_substr is not installed. Are you volunteering to do it? -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http

Re: Can CakePHP allow a /users/username/action directory syntax?

2007-12-15 Thread Chris Hartjes
pairs. Read up in the old manual and the new manual (http://tempdocs.cakephp.org) on how to create routes. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received

Re: Extended Validation !?

2007-12-15 Thread Chris Hartjes
... is there a way to use the validation for this or has it to be manually Sounds to me like it is definitely custom validation, which means you'll have to do it manually. Luckily it's very easy to do it. http://tempdocs.cakephp.org/#TOC121877 Hope that helps. -- Chris Hartjes My motto

Re: Accelerating cakePHP

2007-12-15 Thread Chris Hartjes
traffic. However, I would suggest the following: 1) install a PHP opcode cache like APC 2) make sure you have appropriate database indexes in place 3) spend some time profiling your code using tools like Xdebug and Cachegrind to find out where the slow spots really are. -- Chris Hartjes My

Re: Shouldn't the Text Helper use multibyte strings instead?

2007-12-15 Thread Chris Hartjes
it is by going to trac.cakephp.org and filing a ticket along with your patch. If the core dev team likes it, it will make it's way into the code. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: download file

2007-12-14 Thread Chris Hartjes
making a coherent answer? It's far easier to shake my head in amazement that this person actually expects an answer and delete the message. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: form-create() ::: how can use onSubmit in form-create()

2007-12-14 Thread Chris Hartjes
on the API. Not a manual itself. Check out the in-progress documentation for 1.2 at http://tempdocs.cakephp.org. Also check out http://bakery.cakephp.org. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: form-create() ::: how can use onSubmit in form-create()

2007-12-14 Thread Chris Hartjes
disaster. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: cake 1.2.x.x console problems

2007-12-13 Thread Chris Hartjes
, etc. You don't run the console utilities that way. If you followed the screencasts and put the cake console script in your path, then you'd access bake by doing this: cake bake That's it. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net

Re: Site remake with big plans - Suggestions?

2007-12-12 Thread Chris Hartjes
On Dec 12, 2007 2:21 PM, 703designs [EMAIL PROTECTED] wrote: One specific question I have: If I go forward with Cake, should I use the stable 1.18, or go with the PreBeta? PreBeta for sure. Ignore the chicken littles talking about broken functionality. -- Chris Hartjes My motto for 2007

Re: findAllThreaded Returning Empty

2007-12-12 Thread Chris Hartjes
in APP/tmp/cache that is messing things up. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: findAllThreaded Returning Empty

2007-12-12 Thread Chris Hartjes
. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake

Re: Using Ajax in an Ajax rendered View

2007-12-12 Thread Chris Hartjes
, but if it is, I'd like to know how to disable it. I have never seen the renderer 'strip the javascript away', so this sounds like there is different problem. Why on earth would would a renderer get rid of anything you put in your templates? -- Chris Hartjes My motto for 2007: Just build

Re: Limited number of Conditions??

2007-12-12 Thread Chris Hartjes
be appearing in your web server error logs. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: findAll, associations, HABTM

2007-12-11 Thread Chris Hartjes
and giving surly customer service. I don't remember anyone being promised anything. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: findAll, associations, HABTM

2007-12-11 Thread Chris Hartjes
the application fast by using all sorts of helpers. Luckily you're not locked in to using Cake's DB model if you really don't want to, you just lose all those nicely formatted result sets. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard

Re: views without controllers

2007-12-10 Thread Chris Hartjes
the very nature of MVC I think you could not create a view without a controller... -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: strategy for field maintenance/upgrades

2007-12-06 Thread Chris Hartjes
On Dec 6, 2007 4:10 PM, Howard Glynn [EMAIL PROTECTED] wrote: Chris Hartjes has mentioned Capistrano on his blog which I admit I had not heard of until recently; I took a look and it does sound appealing especially for the kind of development deployment I am talking about here (single

Re: Best way to handle ssl webservices when passing XML

2007-12-05 Thread Chris Hartjes
On Dec 5, 2007 11:25 AM, francky06l [EMAIL PROTECTED] wrote: Maybe using Curl. There is Curl model on the bakery, I have used it to make http / https requests. No need for cURL, actually. Check out this link: http://netevil.org/blog/2006/nov/http-post-from-php-without-curl -- Chris

Re: Stop Users From Going Back After Logout

2007-12-04 Thread Chris Hartjes
tutorials on using the Auth component on my blog. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Re: Stop Users From Going Back After Logout

2007-12-04 Thread Chris Hartjes
On Dec 4, 2007 1:26 PM, Joyce [EMAIL PROTECTED] wrote: Thanks Chris, I will look through your tutorials. I am using CakePHP 1.1, can that work? The Auth component is not available in 1.2, but I believe you can use the Security component to do similar things. -- Chris Hartjes My motto

Re: Creating and persisting objects independent of the controller

2007-12-04 Thread Chris Hartjes
to ignore it'? -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: Getting information from an external database

2007-12-03 Thread Chris Hartjes
not 100% sure you can do associations across multiple databases... -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: cakephp, extending to a subdomain?

2007-12-02 Thread Chris Hartjes
index.php /home/example/www/about at first i actually encountered 500 errors when visiting about.example.com, but figured it would actually be great if i can use that on a sub domain. Um, isn't that really a web server configuration issue rather than a Cake issue? -- Chris Hartjes My motto

Re: Exclude Array Item on Save

2007-12-01 Thread Chris Hartjes
accomplish this in your forms? Is there a CakePHP syntax to tell it to not update a field? Try putting the code that unsets that element in the array in a beforeSave() method in the model. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net

Re: Update gone wrong.

2007-11-30 Thread Chris Hartjes
On Nov 30, 2007 9:10 PM, Chris Hartjes [EMAIL PROTECTED] wrote: On Nov 30, 2007 7:33 PM, Mech7 [EMAIL PROTECTED] wrote: It still does not work.. it can't read the cache configuration.. even though all it is supposed to do is throw up an error and revert to default file caching.. Hrm, you

Re: Input field read only

2007-11-30 Thread Chris Hartjes
On Nov 30, 2007 1:29 PM, Brian [EMAIL PROTECTED] wrote: this doesn't work either: ?php echo $html-inputTag('Employee/start_date', array('size' = '4 0', 'disabled' = true)) ? Have you thought about using a hidden field and simply displaying the data? -- Chris Hartjes My motto for 2007

Re: Input field read only

2007-11-30 Thread Chris Hartjes
be doing something as silly as setting the 'disabled' = true value in the wrong array... -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you

Re: cake + php5 = bad performance?

2007-11-30 Thread Chris Hartjes
is going to be talking to whatever data source you're using, whether it's a database or remote web service. PHP 5 isn't the problem: crappy code by developers who don't know what they are doing is the problem. -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http

Re: Update gone wrong.

2007-11-30 Thread Chris Hartjes
there that says to put Configure::write('Cache.disable', true) in your core.php file? -- Chris Hartjes My motto for 2007: Just build it, damnit! @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~-~--~~~---~--~~ You received this message because you are subscribed

<    1   2   3   4   5   6   7   8   9   10   >