Re: Bug: Saving HABTM relationship, "Column in where clause is ambiguous"

2008-05-06 Thread David Christopher Zentgraf
That just makes it throw another error: SQL Error: 1054: Unknown column 'UserFriend.User.user_id' in 'on clause' And it's not the HABTM relationship that's causing the problem. I don't know why, but before saving a HABTM relationship Cake seems to do a lot of SELECTs for every related model, to

Re: Bug: Saving HABTM relationship, "Column in where clause is ambiguous"

2008-05-06 Thread David Christopher Zentgraf
Not quite sure what you're getting at, but please have a look: class User extends AppModel { var $name = 'User'; var $belongsTo = array( 'DefaultAccount' => array( 'className' => 'Account',

Re: tempdocs.cakephp.org

2008-05-06 Thread Filip Camerman
superb, thanx, hadn't seen that link :) On May 6, 11:45 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On Tue, May 6, 2008 at 2:55 PM, Filip Camerman <[EMAIL PROTECTED]> wrote: > > > it was actually handy to have everything on one page, would be nice to > > still have that as an extra. > > S

Re: Bug: Saving HABTM relationship, "Column in where clause is ambiguous"

2008-05-06 Thread Grant Cox
Can you post your $hasAndBelongsToMany variable definition? I think you'll be able to fix your issue by just using the model alias prefixes in the 'foreignKey' and/or 'associationForeignKey' values. On May 7, 2:25 pm, David Christopher Zentgraf <[EMAIL PROTECTED]> wrote: > Hi, > > I'm stumbling

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Dr. Tarique Sani
On Wed, May 7, 2008 at 11:17 AM, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote: > > The URL is now: > > http://www.unauthorizedcakeguide.com/ Visit from the CakePHP police? ;) Cheers Tarique -- = Cheesecake-Photoblog: http://cheesecake

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Aaron Shafovaloff
The URL is now: http://www.unauthorizedcakeguide.com/ On May 6, 11:16 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On Wed, May 7, 2008 at 8:14 AM, Aaron Shafovaloff <[EMAIL PROTECTED]> > wrote: > > > > > My meager, scanty effort has begun here: > > >http://www.cakedocs.org/ > > Sigh! what

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Dr. Tarique Sani
On Wed, May 7, 2008 at 8:14 AM, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote: > > My meager, scanty effort has begun here: > > http://www.cakedocs.org/ Sigh! what a waste I may have differences of opinion on some of the ideas of core devs on some semantics of *freedom* as applied to Open Source.

Bug: Saving HABTM relationship, "Column in where clause is ambiguous"

2008-05-06 Thread David Christopher Zentgraf
Hi, I'm stumbling across bug number 4194. https://trac.cakephp.org/ticket/4194 I have a User model, which has a `name` field. This User hasMany Accounts, which also have a `name` field. The User also hasAndBelongsToMany other Users as a friend relationship. User (`name`, ...) | |- hasMany | |-

How can I debug cakephp in eclipse with phpeclipse

2008-05-06 Thread butterfly
I am a newer in php ,and I am learining cake php in eclipse an phpeclise, I want to set point in controller file but couldn't successefull , I am confuse that if cakephp coulded be debugged in eclipse and phpeclipse?Can any body help? many thanks -- View this message in context: http://www.na

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Aaron Shafovaloff
My meager, scanty effort has begun here: http://www.cakedocs.org/ On May 6, 12:20 pm, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote: > Well, the book does harness collective intelligence and collaboration, > but I personally think wikis do that best. In summary, I like the > flexibility of interl

adv routing questions ....i think

2008-05-06 Thread trav
Hey bakers, I am building an application that has 6 databases. Some of the tables are called the same name. I have organized my controllers/views into sub directorys for each database. eg. controllers/ db1/ users_controller.php db2/ users_controller.php The Problem:

Re: Weird 404 error

2008-05-06 Thread Sam Sherlock
try (an adaption) of this AddType x-mapp-php5 .php RewriteEngine on RewriteRule /v6$ /v6/ [L] RewriteRule^$/v6/webroot/[L] RewriteRule(.*) /v6/webroot/$1[L] the cake app is in this v6 dir hth - S 2008/5/7 Tallbrick <[EMAIL PROTECTED]>: > > I have also

Re: Weird 404 error

2008-05-06 Thread Tallbrick
I have also encountered this issue and have not yet found the solution. The issue is definatly intermittent - at times accessing with a www prefix will generate the error and sometimes not... And the error that I get is always: === Warning: include(cake/bootstrap.php) [f

Re: Warning: imagejpeg(): Unable to open

2008-05-06 Thread Grant Cox
I agree it is probably permissions (or case sensitivity). However, why are you using imagejpeg() to write a .gif file ? On May 7, 8:52 am, francky06l <[EMAIL PROTECTED]> wrote: > Story of writing permissions on folder maybe ? > --~--~-~--~~~---~--~~ You received

Re: Warning: imagejpeg(): Unable to open

2008-05-06 Thread francky06l
Story of writing permissions on folder maybe ? On May 6, 11:53 pm, maxi <[EMAIL PROTECTED]> wrote: > Problem is attach images when webpagee setup on Internet..Attach image > on wamp sever(localhost) is OK, but when I set webpage on Internet and > I try attach image I get this message: > > Warning

Warning: imagejpeg(): Unable to open

2008-05-06 Thread maxi
Problem is attach images when webpagee setup on Internet..Attach image on wamp sever(localhost) is OK, but when I set webpage on Internet and I try attach image I get this message: Warning: imagejpeg(): Unable to open '/hsphere/local/home/pcnet/ pcnet.com.ba/Arhiva01/vjezba_d/app/webroot/img/phot

Help with CakePHP URLs thru SonicWall SSL VPN

2008-05-06 Thread jonathan
Hi All, Been using Cake for quite awhile and it is the best thing since sliced... well - you get the idea. Anyway, I am setting up a super- secure network for users of my Cake app. The security is handled by a SonicWall SSL-VPN 2000 appliance. Unfortunately, it mucks with the URL so it breaks

Re: Form field validation when there is no model.

2008-05-06 Thread francky06l
It reminds me this thread : http://groups.google.com/group/cake-php/browse_thread/thread/97a22aa593af6d18/5fd8ad915fb5a2dd#5fd8ad915fb5a2dd On May 6, 10:31 pm, mustan9 <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to use Cake's built in field validation rules for data > submitted from a fo

Re: Create function library [SOLVED]

2008-05-06 Thread Marcin Domanski
Try sluggable behavior from the bakery :) On Tue, May 6, 2008 at 10:24 PM, francky06l <[EMAIL PROTECTED]> wrote: > > > > On May 6, 10:17 pm, "Nicolás Andrade" > > <[EMAIL PROTECTED]> wrote: > > Done in the following way: > > > > 1-In model, created function NameToUrl where special characters a

Form field validation when there is no model.

2008-05-06 Thread mustan9
Hi, Is it possible to use Cake's built in field validation rules for data submitted from a form, when there is no AppModel for that controller. For example; I have a controller that performs actions on a system service. So it has actions like start, stop, and submit job. I'd like to display a d

Re: Create function library [SOLVED]

2008-05-06 Thread francky06l
On May 6, 10:17 pm, "Nicolás Andrade" <[EMAIL PROTECTED]> wrote: > Done in the following way: > > 1-In model, created function NameToUrl where special characters and spaces > are stripped. > Anyway, I was wondering where I must put my custom functions in CakePHP to > be available through the en

Re: Create function library [SOLVED]

2008-05-06 Thread Nicolás Andrade
Done in the following way: 1-In model, created function NameToUrl where special characters and spaces are stripped. 2-In TABLE, added field urlName 3-In controller, methods Save and Edit, after validation, added the following line: $this->data['Video']['urlName'] = $this->Video->NameToUrl($this-

Re: Sending Newsletter problems

2008-05-06 Thread mbavio
Thanks guys for your recomendations. > On Tue, May 6, 2008 at 4:52 PM, duRqoo <[EMAIL PROTECTED]> wrote: > > It's really strange that your emails size is growing, but one thing > > i've noticed from your code is that you are sending mails to each > > address separately. Try using $cc or $bcc a

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Aaron Shafovaloff
Well, the book does harness collective intelligence and collaboration, but I personally think wikis do that best. In summary, I like the flexibility of interlinking (I think that's what it's called), of evolving large pages into smaller chunks, of categorizing pages, of discussion areas attached t

Re: Something on the top of CakePHP

2008-05-06 Thread Marcin Domanski
On Tue, May 6, 2008 at 7:59 PM, Mariano Iglesias <[EMAIL PROTECTED]> wrote: > > Just because. Or what, am I supposed to conf you in everytime I make a call > to gwoo? You know i can't be there for you Mariano every time you need a hug ;) > Who says that everything that Larry, Nate, Garret, and

RE: Something on the top of CakePHP

2008-05-06 Thread Mariano Iglesias
Just because. Or what, am I supposed to conf you in everytime I make a call to gwoo? Who says that everything that Larry, Nate, Garret, and the rest of the CakePHP team has to be 100% fully disclosed? Heck, you are being told what goes on in the channel and you question why is it closed? So what

Re: Something on the top of CakePHP

2008-05-06 Thread Marcin Domanski
> Because we're friends who happen to have the common goal of > contributing to the development of CakePHP. If you want to actively > work on something related to the project, you can join, too. Ok nate now im worried.. whats up with those polite responses ?;) -- Marcin Domanski http://kab

Re: Something on the top of CakePHP

2008-05-06 Thread nate
On May 6, 12:54 pm, "Marcin Domanski" <[EMAIL PROTECTED]> wrote: > On Tue, May 6, 2008 at 5:51 PM, Gwoo <[EMAIL PROTECTED]> wrote: > > >  > > It is not related to CakePHP support which is the mission of the group. > > >  We do less talking about what is going on in CakePHP in the dev > >  channe

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread AD7six
On May 6, 7:38 pm, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote: > > The answer seems to be because some people believe that a wiki is the > > solution to all of mankind's problems. > > You are correct. :-) I think wikis best harness the power of > collective intelligence and collaboration for p

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Aaron Shafovaloff
> The answer seems to be because some people believe that a wiki is the > solution to all of mankind's problems. You are correct. :-) I think wikis best harness the power of collective intelligence and collaboration for projects like documentation. Also, it it makes sense that CakePHP documentat

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Marcin Domanski
> Aren't the PHP docs mirrored instead of duplicated and updated independently? Yeah it was me hijacking the thread. My concern was the openness of the docs not creating a wiki or anything. And php.net and djangobook was an example of docs on free license. As a general rule i like the things i wr

Re: Missing PaginatorHelper Method in View

2008-05-06 Thread Cheeze
On May 7, 12:37 am, Gwoo <[EMAIL PROTECTED]> wrote: > The PaginatorHelper is added automatically when you call > Controller::paginate(). So, since you have it wrapped in a control > structure it is not always called. For your case, adding it to the > helpers array would solve your issues. Believe

Ajax + JS (unobtrusive date picker)

2008-05-06 Thread Cake Fan
Working with cakephp 1.2 here. I have a somewhat simple problem that I can't seem to resolve with what I've found so far in the GG's.. I have a simple page that submits a "task" via AJAX. This form contains the unobtrusive date picker (http://bakery.cakephp.org/ articles/view/using-the-unobtrus

Re: Create function library

2008-05-06 Thread Nicolás Andrade
No, I did not. I did not even know about it; so I'll look for it and tell you what I've found. Thanks!! n. On Tue, May 6, 2008 at 2:01 PM, francky06l <[EMAIL PROTECTED]> wrote: > > Did you try the inflector class ? inflector::humanize, or > inflector::underscore . Just a hint.. > > hth > > On

Re: Create function library

2008-05-06 Thread francky06l
Did you try the inflector class ? inflector::humanize, or inflector::underscore . Just a hint.. hth On May 6, 6:52 pm, "Nicolás Andrade" <[EMAIL PROTECTED]> wrote: > Hi, I'm working in a project where are shown artists and songs. > > The following URL shows artist info and links to different vi

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread Sliv
Well, requestAction can be costly, perhaps that is what you are running into. You may want to try creating a method in your model that binds the necessary associations and returns the data you want to the controller. --~--~-~--~~~---~--~~ You received this message

Re: Something on the top of CakePHP

2008-05-06 Thread Marcin Domanski
On Tue, May 6, 2008 at 5:51 PM, Gwoo <[EMAIL PROTECTED]> wrote: > > > > > For me censorship is not the solution. Good thing its a mailing list > > and people don't have to look at it on the GGroup interface. > > I do not believe in censorship either, which is why i left the thread > open. I w

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread alxlevin
Ok, I've added a bindModel to just before the find call I wanted to make on the ProfileMedia model. This works without crashing. Is this a cake bug here? As mentioned way back at the beginnning of the thread, I'm running CakePHP 1.2.0.6311 Beta. On May 6, 12:41 pm, alxlevin <[EMAIL PROTECTED]>

Create function library

2008-05-06 Thread Nicolás Andrade
Hi, I'm working in a project where are shown artists and songs. The following URL shows artist info and links to different videos, using Routes: http://videos.dev/artist/jamiroquai/ What I did is define the route to searchByArtistName() and then I search using name field. Problem comes with, i

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread alxlevin
Same result: PHP has encountered a Stack overflow I'm not sure if it's just my inexperience with Cake. Given an array of ProfileMedias, I need to get an array of Contests. As far as I can tell, this is the appropriate way of doing this. Please let me know though if I'm off base here. On May 6

Re: Missing PaginatorHelper Method in View

2008-05-06 Thread Gwoo
The PaginatorHelper is added automatically when you call Controller::paginate(). So, since you have it wrapped in a control structure it is not always called. For your case, adding it to the helpers array would solve your issues. --~--~-~--~~~---~--~~ You received t

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread Sliv
Have you tried commenting out the $recursion var? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send e

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread alxlevin
Ok, I'm pretty sure that I've got it narrowed down to not being the environment. I think it has something to do with the hasAndBelongsToManyRelationship I defined for the model used in the first element. Please keep in mind that this exact same element does in fact work on other pages. I have a

Re: SQL error when adding item using the scaffolding

2008-05-06 Thread benjam
Because it is still an issue, and has not been fixed yet. On May 5, 2:59 pm, AD7six <[EMAIL PROTECTED]> wrote: > benjam wrote: > > My thinking is that it's a cake problem. > > Why are you resurrecting this old thread. --~--~-~--~~~---~--~~ You received this mess

Re: Something on the top of CakePHP

2008-05-06 Thread Gwoo
On May 6, 8:57 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > Someday we will meet and talk about semantics and winning debater's points > :) CakeFest Argentina, Dec 2-5. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: Missing PaginatorHelper Method in View

2008-05-06 Thread Cheeze
On May 6, 9:43 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On Tue, May 6, 2008 at 9:41 AM, Cheeze <[EMAIL PROTECTED]> wrote: > > > I've tried to use my application on different servers and all gave the > > same result. > > > Can anyone provide some advise on how I can proceed to debug this

Re: Something on the top of CakePHP

2008-05-06 Thread Dr. Tarique Sani
On Tue, May 6, 2008 at 9:02 PM, Gwoo <[EMAIL PROTECTED]> wrote: > I point you to a definition..."Communism is a socioeconomic > structure that promotes the establishment of a classless, stateless > society based on common ownership of the means of production.[1]". > Now, if you had said "Altruism

Re: Something on the top of CakePHP

2008-05-06 Thread Gwoo
> > For me censorship is not the solution. Good thing its a mailing list > and people don't have to look at it on the GGroup interface. I do not believe in censorship either, which is why i left the thread open. I was looking for some reaction and if people consider it helpful then I will leave i

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Chris Hartjes
On Tue, May 6, 2008 at 11:34 AM, Marcin Domanski <[EMAIL PROTECTED]> wrote: > Why isn't that a problem for php docs ? djangobook.com ? Aren't the PHP docs mirrored instead of duplicated and updated independantly? I might be grumpy, but on this issue I feel meh. If people want to go and create

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Marcin Domanski
[snip] > > Why don't you want that ? wikipedia is freely available and i don't > > see the problem where articles are available on other sites as long as > > people know its from wikipedia. > > There's also *one* wikipedia. How many side wikipedia efforts are > flourishing? There are sites (e

Re: Something on the top of CakePHP

2008-05-06 Thread Gwoo
> > FWIW - I differ here - a prime motivator for writing open source is > "scratching your own itch" I have no problem with scratching your own itch if it also has application to the greater community. For instance, I have been working on an Actionscript project that I wanted to get up on Ohloh.

Re: Mass edit in CakePHP?

2008-05-06 Thread [EMAIL PROTECTED]
I recommended using ajax because you wouldn't have to access the database as much. From the way you describe, it sounds like there will be many records displayed at the same time on one page. Without Ajax, each time you submitted, you would have to re-query the data from all the records on the pag

Re: tempdocs.cakephp.org

2008-05-06 Thread Sliv
It is my understanding that tempdocs.cakephp.org will soon be a redirect to the cookbook, so that those who are unaware of the completed migration will not have a dead link. Stay tuned... --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Sending Newsletter problems

2008-05-06 Thread Marcin Domanski
I don't know the answer to your problem but you can look at swift mailer - they have some nice ways of sending mass emails. I've built a swift mailer sender on top of email component but it was client work so unfortunately i cant share it :/ there was a mass mailer component at devmoz.com afair O

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread mbavio
This forking wiki has nothing to do with the attemp to fork CakePHP, or has it? Seems like we are under attack! On May 6, 11:50 am, John David Anderson <[EMAIL PROTECTED]> wrote: > On May 6, 2008, at 8:36 AM, Marcin Domanski wrote: > > > > >>> Hey > The content is owned by the Cake Software

Re: Mass edit in CakePHP?

2008-05-06 Thread SumanRS
Thanks, this is along the lines of what I am looking for. Why AJAX though? Is it possible for me to list all rows and have an editable textfield for only the new field I added? If so, would updateAll() work as in grigri's idea? Also, if I wanted to make this applicable for several models, would

Re: Sending Newsletter problems

2008-05-06 Thread duRqoo
Hello, i've was solving similar functionality not so far ago, but it worked without problems. It's really strange that your emails size is growing, but one thing i've noticed from your code is that you are sending mails to each address separately. Try using $cc or $bcc attribute, so u can send sa

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread John David Anderson
On May 6, 2008, at 8:36 AM, Marcin Domanski wrote: > >>> Hey The content is owned by the Cake Software Foundation (...) >>> Can you elaborate why is that ? >>> Why not use GPL ? GFDL ? Creative Commons ? >>> For me it's wierd that a community contributed documentation >>> cannot be >>> us

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Marcin Domanski
> > Hey > >> The content is owned by the Cake Software Foundation (...) > > Can you elaborate why is that ? > > Why not use GPL ? GFDL ? Creative Commons ? > > For me it's wierd that a community contributed documentation cannot be > > used by the community without an approval. > > Mostly be

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
Oh, there's no "fault" here, this is all on a volunteer basis. I would simply hope that if people have the time/ability to fork wiki's, they would have the time/ability to join the cookbook development team in some way and that their would be a doorway/path open for them to do so. > That's all m

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread AD7six
On May 6, 2:50 pm, Sliv <[EMAIL PROTECTED]> wrote: > I think some people are anxious to see the enhancement tickets for the > cookbook get some kind of response, particularly the ones that give > feedback as to the status of contributed content, versioning, etc. > These are "wiki" type enhanceme

Sending Newsletter problems

2008-05-06 Thread mbavio
Hi bakers, I have a little problem and I cant fint a decent solution, so I thought that here someone would delight me with some brilliant solution... I´m sending massive mails (Newsletter) to about 300 people. After the first sent, some users complained that the mail was producing an Outlook erro

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread John David Anderson
On May 6, 2008, at 7:50 AM, the_woodsman wrote: > > I second the urgent need for more wiki like features in the Cook Book > - I've made a few alterations and comments on the content, but having > no idea if any of them were ever accepted, or indeed if the book has > even been updated in the last

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread John David Anderson
On May 6, 2008, at 7:47 AM, Sliv wrote: > > Just a guess, but probably for forking wiki's. That's exactly why we don't allow that. :) I hope you can see why that'd be a problem. -- John --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread Sliv
Well, I don't want to mislead you, but I would try doing the ol' "comment everything and backstep"... also try setting debug to 0 to see if there's any different result. My point was just that these kinds of things I think are like segmentation faults where you try to find a problem in the code a

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread the_woodsman
I second the urgent need for more wiki like features in the Cook Book - I've made a few alterations and comments on the content, but having no idea if any of them were ever accepted, or indeed if the book has even been updated in the last week/month/year, it's hard to be motivated to do more. A f

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
Just a guess, but probably for forking wiki's. ...and I find it funny how similar saying "forking wiki's" sounds to something good ol' Chris would say :D > What did you want to use it for? > > -- John --~--~-~--~~~---~--~~ You received this message because you are

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread John David Anderson
On May 6, 2008, at 2:39 AM, Marcin Domanski wrote: > > Hey >> The content is owned by the Cake Software Foundation (...) > Can you elaborate why is that ? > Why not use GPL ? GFDL ? Creative Commons ? > For me it's wierd that a community contributed documentation cannot be > used by the communit

Re: requestAction inside elements creates a Stack Overflow

2008-05-06 Thread alxlevin
Unfortunately I don't easily have access to another server. However, there are other requestAction calls working correctly even on the same page. Any ideas as to what I should be looking for in the server environment? This is obviously a critical problem. I'd hate to completely bypass cake in

Re: Missing PaginatorHelper Method in View

2008-05-06 Thread Chris Hartjes
On Tue, May 6, 2008 at 9:41 AM, Cheeze <[EMAIL PROTECTED]> wrote: > > I've tried to use my application on different servers and all gave the > same result. > > Can anyone provide some advise on how I can proceed to debug this? > Paste your code into http://bin.cakephp.org -- Chris Hartjes In

Re: Missing PaginatorHelper Method in View

2008-05-06 Thread Cheeze
I've tried to use my application on different servers and all gave the same result. Can anyone provide some advise on how I can proceed to debug this? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP

Making Paginator first sort direction DESC

2008-05-06 Thread Tim W
Hi all, Paginator's great, like the rest of Cake, but there's one little thing I haven't been able to work out. By default when you click on a column to sort it will sort ASC (ascending), but i'd like the first sort to be DESC (descending). The options suggest this might be possible, but I haven'

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Amit Badkas
On Tue, May 6, 2008 at 6:46 PM, Sliv <[EMAIL PROTECTED]> wrote: > > I don't actually know, but contact [EMAIL PROTECTED], I am sure he (and > everyone) would welcome offers to help. - Did that Amit http://amitrb.wordpress.com/ http://coppermine-gallery.net/ http://cheesecake-photoblog.org/ ht

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
I don't actually know, but contact [EMAIL PROTECTED], I am sure he (and everyone) would welcome offers to help. > - Where is the SVN for cookbook code? Would like see if I can help out with > some patches --~--~-~--~~~---~--~~ You received this message because you

Re: error message appear on the top of html

2008-05-06 Thread Sliv
Have you tried $this->Session->setFlash(__($message, true)); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this g

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Amit Badkas
On Tue, May 6, 2008 at 6:20 PM, Sliv <[EMAIL PROTECTED]> wrote: > > I think some people are anxious to see the enhancement tickets for the > cookbook get some kind of response, particularly the ones that give > feedback as to the status of contributed content, versioning, etc. - Where is the SVN

Re: Paginate custom SQL queries

2008-05-06 Thread Sliv
Filip: Others might be interested in your efforts as well, perhaps you would be interested in posting to http://bin.cakephp.org and posting the URL here. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" gro

RE: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Mariano Iglesias
Getting traffic, nate. Getting traffic. How many projects try to benefit from the popularity of another project for the sole purpose of getting some users in, and then placing an adsense? -MI --- CakeFest: December, 2008 -

Re: i want to make tow app file in the same cake installation ?? can i do that ??

2008-05-06 Thread Sliv
I think you want to read the advanced installation section at http://book.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To

Re: Dynamic Report/Report Creator.

2008-05-06 Thread Sliv
Suggestion: I would probably have a look at the bake/console code and "borrow" some ideas... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroup

i want to make tow app file in the same cake installation ?? can i do that ??

2008-05-06 Thread amro . t17
hi all backers Im building an application using cakephp the application have an admin side and the view side or the site files my question is i wanna separate the admin side from the website files but i would like also to let the tow sides or the tow application in the same cakephp installation

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
On a side note, have you folks (those wanting to fork a doc wiki) already tried offering to Gwoo/John to help code/write the cookbook app and have since decided to venture out on your own, or are you just unsatisfied with the cookbook without offering to assist and wanting to spearhead your own id

Re: Validating related models

2008-05-06 Thread Sliv
I haven't looked at it recently, but my guess would be to check the latest revision of the saveAll method... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-p

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Sliv
I think some people are anxious to see the enhancement tickets for the cookbook get some kind of response, particularly the ones that give feedback as to the status of contributed content, versioning, etc. These are "wiki" type enhancements that would help resolve the issue where people submit som

Re: Validating related models

2008-05-06 Thread ygneo
I've finally do it like this, and It's work, but maybe there is a better solution... On 30 abr, 01:31, "b logica" <[EMAIL PROTECTED]> wrote: > In the controller should be ok: > > if ($this->Model->OtherModel->validates()) > > On Tue, Apr 29, 2008 at 5:50 AM,ygneo<[EMAIL PROTECTED]> wrote: > > >

Re: Paginate custom SQL queries

2008-05-06 Thread Filip Camerman
Hi, I also needed to paginate custom queries and decided to make my own pagination which turned out to be easier than I thought, after all pagination is just adding LIMIT x,y to your query and determining x based on your current page. I wrote some global functions for all my pagination needs and

Re: tempdocs.cakephp.org

2008-05-06 Thread Dr. Tarique Sani
On Tue, May 6, 2008 at 2:55 PM, Filip Camerman <[EMAIL PROTECTED]> wrote: > > it was actually handy to have everything on one page, would be nice to > still have that as an extra. Seek and you shall find - http://book.cakephp.org/complete/3/the-manual :) Tarique -- ==

Re: Is Cake 1.2 ready to use in production?

2008-05-06 Thread Filip Camerman
Been using 1.2 in production since alpha, never a problem. After all, it's all just php code and php isn't beta :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email t

Re: Something on the top of CakePHP

2008-05-06 Thread Marcin Domanski
On Mon, May 5, 2008 at 8:19 PM, Gwoo <[EMAIL PROTECTED]> wrote: > For me, it is time to remove this thread. For me censorship is not the solution. Good thing its a mailing list and people don't have to look at it on the GGroup interface. > It is not related to CakePHP support which is the missio

Re: tempdocs.cakephp.org

2008-05-06 Thread Filip Camerman
it was actually handy to have everything on one page, would be nice to still have that as an extra. On May 6, 8:18 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On Tue, May 6, 2008 at 11:41 AM, . <[EMAIL PROTECTED]> wrote: > > what happened to tempdocs.cakephp.org? > > Grew up to be book.c

Re: Loading external Javascript in AJAX layout

2008-05-06 Thread Bartek Muracki
Thank you all, will let you know if I sorted it out. On 6 Maj, 01:01, Daddy Cool <[EMAIL PROTECTED]> wrote: > Might help > :http://groups.google.com/group/cake-php/browse_thread/thread/acd4762c... --~--~-~--~~~---~--~~ You received this message because you are sub

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Marcin Domanski
Hey > The content is owned by the Cake Software Foundation (...) Can you elaborate why is that ? Why not use GPL ? GFDL ? Creative Commons ? For me it's wierd that a community contributed documentation cannot be used by the community without an approval. -- Marcin Domanski http://kabturek.info

Dynamic Report/Report Creator.

2008-05-06 Thread laeffe
Hi all. I'm trying to create a dynamical report creator, or what you could call it. What I need is some way of specifying which models and it's related ones i want, and then creating a table with the data in it. My first experiment included using the bindable behavior's restrict function and late

Re: Re-saving user re-hashes password

2008-05-06 Thread drumdance
NEVER MIND! About two seconds after I posted this I realized that *of course* you won't want to be able to load orig passwords into the form. I cam up with a scheme in which password fields are disabled and empty unless you click a link to change them, in which case the password validation is the

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread AD7six
On May 6, 4:59 am, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote: > Thanks for the clarification. I'll just start from scratch. You know that you (and I mean you not other people) can edit/add content to the book? Cheers, AD --~--~-~--~~~---~--~~ You received th

Re: Is the documentation at book.cakephp.org open source?

2008-05-06 Thread Stephen Orr
The answer seems to be because some people believe that a wiki is the solution to all of mankind's problems. I'd rather see people contributing to the main docs personally, since it was launched the Book has really helped me get answers faster (there's still some things I need to refer to the API