Cakephp netbeans plugin no command available on mac

2013-06-19 Thread Levavasseur Jacques
When i try to run command with thé netbeans cakephp plugin i've got no command available. To resolve this i add this in lib/Cake/Cache/CacheEngine.php at line 60 if(strpos(PHP_OS,'WIN')===false) : date_default_timezone_set('GMT'); endif; For me it's work with GMT but you can specify your timez

Pagination->sort associated Model

2013-05-06 Thread Levavasseur Jacques
Hello, I use cakephp 2.3.4 When I use paginator->sort on a field of model default I have no problem. But if I want to sort on a field associated, sorting is the default. I use the code: $this->Paginator->sort(Model.NOM','HeaderName') when I look at $ this-> params is what I get, you can see it at t

Re: Security Release - CakePHP 1.2.12, 1.3.16, 2.2.8 and 2.3.4

2013-05-03 Thread Jacques Levavasseur
I set the default timezone in CacheEngine.php at Line 60 because i've got en error when i use netbeans cakephp plugin with strtotime -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to

Bug in Cache/CacheEngine.php at Line 60 wehnelt i use netbeans plugin

2013-05-03 Thread Jacques Levavasseur
I add date_default_timezone_set('Europe/Paris') because Therese si an error Wotherspoon strtotime -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group

Re: HABTM pagination issue

2009-09-15 Thread Jacques
Having a similar problem, anyone have any ideas? On Sep 2, 8:08 am, double07 wrote: > Hi All, > > I'm having an issue with usingHABTMwithpagination... > > My app has a users and roles table - usersHABTMroles, roles have > many users. > > In my users index controller I'm trying to limit thepagina

Re: Containable, Pagination and HABTM

2009-08-18 Thread Jacques
. Thanks Jacques I can easily paginate the contacts On Aug 12, 7:37 pm, sunertl wrote: > On 12 Aug., 19:00, brian wrote: > > > Why not just use find()? Can a User belong to so many Groups that you > > need to paginate them? > > Normally, a user will belong to

Re: CakePHP Editor/IDE

2009-08-06 Thread Jacques
Hi there, have a look at http://mark-story.com/posts/view/code-completion-for-cakephp-in-eclipse Not sure if that'll help - but I use eclipse - suits my needs. Ciao Jacques On Aug 5, 11:23 pm, maigel wrote: > Hi cakephp programmers, > I was wondering which Editor/IDE you guys us

Re: Sending email with attachments

2009-08-06 Thread Jacques
Hi Does the attachments array not require a physical path to the file e.g. $this->Email->attachments = array('/var//files/' .$filename ); or another example $consultant_id = $consultant['Consultant']['id']; $this->Email->attachments = array('/var//files/consfile' . $consultant_id . '.csv')

Re: Correct Way to save HTML code to database

2009-07-15 Thread Jacques
Hi All, I came right thanks - the problem was the character set being read in not being utf-8 a simple php mb_convert solved the problem. Cheers J On Jul 15, 9:18 am, Jacques wrote: > Hi There, > > I am having a problem saving html code to a MySQL field using the > sa

Correct Way to save HTML code to database

2009-07-15 Thread Jacques
by a user at a later stage) Thanks Jacques --~--~-~--~~~---~--~~ 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, sen

Wamp cakePHP allright except bake

2008-10-27 Thread Jacques Coeur
Hi, I am using cakephp and I am currently following the tutorial from IBM (currently part2). Everything was working fine until I needed to bake the Models (or the Controller). Whever I choose the test or default settings, I get : """ Fatal error : call to undefined function mysql_connect() in ..