Re: findCount on models that are associated with themselves.

2006-09-22 Thread James Healy
If need be I'll post some extra code for context, but I thought I'd keep things simple at first. James --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Protecting cake source?

2006-09-22 Thread John Zimmerman
I have not tried encoding my scripts but there is actually an open source PHP encoder.It is called Turck MMCachehttp://turck-mmcache.sourceforge.net/index_old.html#encoder I am not for or against the use of an encoder in general. There are specific circumstances to argue one way or the other. Not

Re: findCount on models that are associated with themselves.

2006-09-22 Thread Larry E. Masters aka PhpNut
None needed,It has already been fixed in svn.-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut* @accesspublic */ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Deployment tools

2006-09-22 Thread Mika
There's always ANT, NANT and MSBUILD. They all have FTP extensions for them. Ant: http://ant.apache.org/ (Java) Nant: http://nant.sourceforge.net/ (.NET) Msbuild: http://msdn2.microsoft.com/en-us/library/wea2sca5.aspx (.NET + VS2005) MSBUILD comes with Visual Studio 2005 which is great if

findAll() conditions as an array

2006-09-22 Thread James Healy
2 quick questions on building conditions for a findAll() query as an array: - is it possible to specify two conditions for the same field? - is it possible to specify a 'NOT LIKE' clause? The conditionKeysToString function of DboSource seems to be responsible for handling the conversion from

Re: Deployment tools

2006-09-22 Thread Felix Geisendörfer
I liked ANT until I hit some serious problems with their FTP extension (task). The first problem I had was that it would not list invisible files like ".htaccess" and therefor I couldn't delete folders recursively. Eventually I was able to find the part in the source code that I had to tweak

CakePHP 1.1.8.3544... the start of something new

2006-09-22 Thread Larry E. Masters aka PhpNut
CakePHP 1.1.8.3544 is the latest release and brings us to the point of some more exciting new changes. While this release signals the end of the 1.1 series, it also provides the starting point for the next year. About this time last year 0.10 was released, then a mere 6 months ago 1.0 hit the

Re: Bakehouse anybody ??

2006-09-22 Thread olle
kain: if you have a mac you'll love it. Yeah, my other computer is a Powerbook. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: CakePHP 1.1.8.3544... the start of something new

2006-09-22 Thread olle
Yay! Go, go, go team. Thanks! -Olle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Image Processing

2006-09-22 Thread Olivier Percebois-Garve
What kind of processing do you want to do ?There is a script on sourceforge that I like a lot, it is named phpThumb, you may give it a tryOn 9/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I wanted to get some advice on the best logic to process images via awebsite.Various hosts and their

PEAR::DB quoteSmart

2006-09-22 Thread Stuart
Is there a model method or helper that does the same as PEAR::DB::quoteSmart? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Bakehouse anybody ??

2006-09-22 Thread jitka
http://www.radrails.org/ They can ;-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Cake error: Warning: Unknown: 1 result set(s) not freed

2006-09-22 Thread TWIOF
Nice one, I've got vertrigo running and the errors are gone! However, I no longer seem to be able to run the bake script on the command line, when i access it through command prompt it tries toget me to select a program to open it! Any ideas?

Routing in CakePHP ??

2006-09-22 Thread Galathas
Hi to all bakers :-) I would like to please someone more experienced to help me with following problem. It seems that I am total idiot, but I can not figure out how routing, and linking inside cake project works. What I want to achieve : 1. www.example.com/ --INDEX.THTML (Main page,

Re: exit() after redirect

2006-09-22 Thread MrRio
I think the exit(); is very important and everyone should use it unless they know why they want code to execute afterwards. You can get nasty bugs, especially in authorisation, e.g. - Someone guesses the url: /articles/delete/3 - The auth component redirects the user to a login page. - And then

Re: Routing in CakePHP ??

2006-09-22 Thread Galathas
This really drives me crazy ...:-) 1] have in elements/status.thtml inside code $html-link('Logout','users/logout') - this status.thtml is $html-renderElement() in default.thtml (pages/layouts/default.thtml - default layout ) 2] have UsersController with action logout() - redirect to login()

Re: CakePHP 1.1.8.3544... the start of something new

2006-09-22 Thread Chris Hartjes
On 9/22/06, Larry E. Masters aka PhpNut [EMAIL PROTECTED] wrote: That's right. We have been talking about replacing the wiki and bringing in the Bakery. Well, the doors are open at http://bakery.cakephp.org . Over the next few days we hope everyone will help us move the content from the wiki

Re: CakePHP 1.1.8.3544... the start of something new

2006-09-22 Thread nate
bbuchs wrote: Is it more than a little ironic that the article on the first page is touting how easy it is to add an RSS feed to an app, yet the Bakery doesn't have one? No, it doesn't have one. We're too busy outdoing ourselves. --~--~-~--~~~---~--~~ You

Re: exit() after redirect

2006-09-22 Thread nate
Mika wrote: This is exactly why I asked the question in the first place. I see that exit() seems to be recommended all over the place, but people should realise that it will stop the flow of cake totally at that spot. This is usually not a problem, as Nate said, but if you've set some

Re: CakePHP 1.1.8.3544... the start of something new

2006-09-22 Thread John David Anderson
On Sep 22, 2006, at 8:30 AM, nate wrote: bbuchs wrote: Is it more than a little ironic that the article on the first page is touting how easy it is to add an RSS feed to an app, yet the Bakery doesn't have one? No, it doesn't have one. We're too busy outdoing ourselves. Yeah: we've

Re: Routing in CakePHP ??

2006-09-22 Thread nate
Try this instead: $html-link('Logout','/users/logout') Note the leading slash before users (/users...). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: CakePHP 1.1.8.3544... the start of something new

2006-09-22 Thread John David Anderson (_psychic_)
On Sep 22, 2006, at 8:30 AM, nate wrote: bbuchs wrote: Is it more than a little ironic that the article on the first page is touting how easy it is to add an RSS feed to an app, yet the Bakery doesn't have one? http://bakery.cakephp.org/articles/rss/tutorials

Upgrading

2006-09-22 Thread Raquel
I'm totally new to CakePHP, so please forgive my newbie question. I've installed cake_1.1.7.3363 and am now wanting to upgrade to the latest, cake_1.1.8.3544. Am I correct that all I need to do is to copy the new /cake/ directory over the new and everything is good, leaving the /app/ and

Re: Routing in CakePHP ??

2006-09-22 Thread Galathas
YES !! YES !! YES !! Its IT !! Thanks much nate !! Sory for stupid question :-) Have a nice day ! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: findAll() memory exhaustion

2006-09-22 Thread Cheeze
Ah! That's new! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: exit() after redirect

2006-09-22 Thread [EMAIL PROTECTED]
I was wondering when recommending exit() became the defacto standard. Thanks Samuel. MrRio, that is flawed. If you did a redirect() and then called return false the result to stop the current action, redirect them, and NOT delete the article is the same as exit() without the CakePHP breaking

Re: Upgrading

2006-09-22 Thread [EMAIL PROTECTED]
That should work. Unless the index.php files in the webroot have changed or there are new config parameters available in app/config/config.php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To

Re: Stats

2006-09-22 Thread Brian French
i believe google uses urchin. I think there is an open-source one out there too that is also based on urchin. John David Anderson (_psychic_) wrote: On Sep 21, 2006, at 7:48 AM, [EMAIL PROTECTED] wrote: Hello, i looking for some code that would help me to 1) display "realtime"

Re: Help getting started: creating related records

2006-09-22 Thread Brian French
you could try to maybe bake your view and then modify that form to work how you want it. http://wiki.cakephp.org/docs:bake Andrew wrote: Note: please ignore the line echo $html-hidden('Option/decision_id', 55); That was in there for debugging and never actually did anything.