Strange error within a controller action

2013-11-26 Thread Pierre
Good evening I am using responsiveFilemanager9 http://www.responsivefilemanager.com/with cakePHP to manage the image. It's great tools and it work excepted with the TinyMCE. From tinyMCE when I would like to to add a image, filemanager9 is opening and I got an error message as this Missing

Multitable problem

2013-02-11 Thread Jean-Pierre Bolengo
may have a tint 3. - 4. One supplier may have many glasses, one glass belongss to one customer 4. - 5. Multiple glasses may have multiple colors 4. - 6. Multiple glasses may have multiple tints So how can I realize this with cakePHP? Thank you for your help Jean-Pierre -- Like Us on FaceBook

Tests - Fixture does not truncate tables

2012-05-23 Thread Pierre Boutet
Hi, I am using Cake Tests, on cake 2.1.1 (upgraded from cake 1.3) and I have a problem : when running tests, tables are not truncated after each test. I use the params $dropTables = false; because I don't want create tables before each test, only fill them and truncate after tests. I don't find

Unexpected clear of cached elements

2011-11-29 Thread Pierre UNGLAS
Hello, I can see in my app\tmp\cache\views that all the elements that I Have cached create in this folder a cached view. The problem is that these cached views seems to have a very short time of life and even sometimes they disappear. For the moment I couldn't find what happen. The debug level

RE: 2.0 Cheat Sheet pdf

2011-11-10 Thread Kervin L. Pierre
This cheatsheet is great, if anyone updates it for 2.0 please post Best regards, Kervin From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of Justin Edwards Sent: Thursday, November 10, 2011 11:29 AM To: cake-php@googlegroups.com Subject: Re: 2.0 Cheat Sheet pdf

Privacy Behavior

2010-09-15 Thread Pierre Lechelle
Hello, In my application, i have a model named Privacy who define if a user can access or not to an element. For the moment, i've created a function in my AppController who returns me all the conditions to retrieve only the elements that the user can see. I want to simplify this method. I've

Reasons for moving from the MIT license to the 3-clause BSD one

2009-07-16 Thread Pierre MARTIN
between these two licenses as they both are not copylefted. It would be awesome if someone could explain to the curious guy I am what are the differences between these two licenses, and the reason of this choice. Thanks in advance! Pierre --~--~-~--~~~---~--~~ You

Re: Poll: what do you hate about CakePHP?

2009-05-19 Thread Pierre MARTIN
+1 for the MeioUpload behavior and its seamless integration ... or something similar to be included int the core behaviors. On 19 mai, 07:17, DanielMedia danielmedi...@gmail.com wrote: +1 with Matt Curry on this: Remove Model::recursive.  All find calls would return just the model and if you

Re: Poll: what do you hate about CakePHP?

2009-05-13 Thread Pierre MARTIN
+1 for a slug automagical field ! On 13 mai, 05:47, Reuben Helms reuben.he...@gmail.com wrote: Cake PHP is leaps and bounds ahead of what I used to use, but I'd like to see... * Improved support for Search Engine Friendly URLs.  There are many types of SEF, and while there are already

Re: Poll: what do you hate about CakePHP?

2009-05-12 Thread Pierre MARTIN
a summary of all these points will be communicated elsewhere. I love CakePHP and its developers, thank you for everything which has been done ... Pierre (aka real34) On 12 mai, 22:18, yodi y...@yodi.web.id wrote: 1. PHP 4 Support *let's make CakePHP more fast with full PHP 5 2. Prototype

Re: Poll: what do you hate about CakePHP?

2009-05-08 Thread Pierre MARTIN
Good initiative ! This poll has been relayed on the french forum (http://forum.cakephp- fr.org/viewtopic.php?pid=3340). I'll send you a summary in the next few days ! Pierre On 8 mai, 14:28, jstein jst...@image.dk wrote: On May 8, 10:39 am, Affinity goo...@affinitywebsolutions.co.uk wrote

Re: Distributing a translation memory of the CookBook

2009-04-24 Thread Pierre MARTIN
it will help us! Pierre On 26 fév, 16:00, nuto akaimuras...@gmail.com wrote: Hi Gwoo, Thank you very much for your reply. I will distribute a TM for the Japanesetranslation. It will be great help to other translators and Japanese bakers. Sincerely yours

Re: CakePHP in Google Summer of Code

2009-03-12 Thread Pierre MARTIN
definitely make CakePHP the best framework ever ! Pierre On 12 mar, 15:00, jcorrea javier.cor...@gmail.com wrote: Why not do something about cake's performance? On 11 mar, 13:14, Diego Caro A. diegoc...@gmail.com wrote: Hello everyone,            today I went to a talk by Google Summer of Code

Duplicate a CakePHP project

2008-07-17 Thread Pierre MARCOURT
to the database, because we don't want them to use the same as us. Plus, in my JavaScript files the path will change, /myproject should be replaced by /project-orther-company I don't know if there is an easy way to do that thanks to CakePHP ? Thanks for your help -- *Pierre MARCOURT

Send text/plain email using PHPMailer

2008-07-17 Thread Pierre MARCOURT
; $this-Email-send(); I keep receiving it in HTML with my default email template. I hope that someone can help me.. Thanks. -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214 Fort Lauderdale, FL 33304

Re: Duplicate a CakePHP project

2008-07-17 Thread Pierre MARCOURT
this easier, but I believe it's the wrong tool for the job. You want to be using version control, i.e subversion. You can then easily branch your code for myproject, and merge changes from one app to the other as you need. On Jul 17, 1:44 pm, Pierre MARCOURT [EMAIL PROTECTED] wrote

Re: Duplicate a CakePHP project

2008-07-17 Thread Pierre MARCOURT
Thanks Daniel, i think your article deals exactly with my problem. Daniel Hofstetter wrote: Hi Pierre, I made a project in CakePHP for my company at :http://www.website.com/myproject The thing is the company does not use CakePHP, so I had to install it in the directory /myproject

Send text/plain Email using CRON

2008-07-16 Thread Pierre MARCOURT
, the email will be sent as I want. Is there something wrong with mail() PHP function in CakePHP ? Or do you know what I should do with PHPMailer to send text/plain email ? Thanks. -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214

Call JavaScript function in Ajax view

2008-07-15 Thread Pierre MARCOURT
Hello, I am using CakePHP v1.1 and it seems that for some reason, I am not able to call JavaScript function in an Ajax View. Is there something I have to do for that ? Thanks. -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite

set debug to 2 regarding the user connected otherwise set it to 0

2008-07-07 Thread Pierre MARCOURT
, there is an identification, is there a chance that i can do something like this : if($user == me) { set(debug) to 2 } It maybe an easy question, but I did not find out a way to do that... So if you have an idea, it would be great ! Thanks -- *Pierre MARCOURT* *IT Department

Re: set debug to 2 regarding the user connected otherwise set it to 0

2008-07-07 Thread Pierre MARCOURT
Thanks a lot Daniel. That's just what i needed. Daniel Hofstetter wrote: Hi Pierre, I would like to know if it is possible to set the debug to a certain value regarding the user who is connected. I put my project in test today, so my company can test it but I don't want them to see all

Error using Cron

2008-06-24 Thread Pierre MARCOURT
/cake/basics.php on line 142 If someone has an idea, it would be great ?! Thanks for your help. -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214 Fort Lauderdale, FL 33304 Phone: 954-861-6310 Fax: 954-861

Re: email headers visible in content of message?

2008-06-20 Thread Pierre MARTIN
Thank you very much jsntv200 !! It works perfectly ... Pierre On 20 juin, 15:56, jsntv200 [EMAIL PROTECTED] wrote: I won't mention the wasted hours I spent trying to resolve this one, so thought i'd save you some pain. Basically boils down to line breaks. The email component has them set

Re: email headers visible in content of message?

2008-06-19 Thread Pierre MARTIN
Hello aranworld, I've got the same kind of problem (http://bin.cakephp.org/view/ 743099631). Thus I'm interested in your solution ... and if this is a bug to fix, I hope somebody will read these page. If somebody needs further information, I'll be there. Pierre MARTIN On 18 juin, 18:08

Email CakePHP

2008-06-17 Thread Pierre MARCOURT
(); because if I comment it, the message The email has been successfully sent is displayed and my form present. Does Someone know what i should do to fix this ? Thanks for your help -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214

UTF-8 : I don't get it !

2008-06-10 Thread Pierre MARCOURT
have more idea to fix this. Regards, -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214 Fort Lauderdale, FL 33304 Phone: 954-861-6310 Fax: 954-861-2001 --~--~-~--~~~---~--~~ You

Re: UTF-8 : I don't get it !

2008-06-10 Thread Pierre MARCOURT
Jaworski wrote: On 10 Cze, 16:23, Pierre MARCOURT [EMAIL PROTECTED] wrote: Hi, I have just uploaded my CakePHP project on a remote server but I meet an issue. In all my views, I get the text  on the top. I know this is a problem (on FF) regarding to the character encoding (cf.http

Re: UTF-8 : I don't get it !

2008-06-10 Thread Pierre MARCOURT
. About the page encoding problem: you don't need to edit any server configuration file. Open app/config/bootstrap.php file and add at the end: ini_set('default_charset', ''); This should do the trick. On 10 Cze, 17:37, Pierre MARCOURT [EMAIL PROTECTED] wrote: I double checked and I noticed

Re: UTF-8 : I don't get it !

2008-06-10 Thread Pierre MARCOURT
('default_charset', 'utf-8'); Alternatively, you can set the charset manually using: header('Content-type: text/html; charset=utf-8'); -Jonathan On Tue, Jun 10, 2008 at 1:34 PM, Pierre MARCOURT [EMAIL PROTECTED] wrote: Thanks Marcin, I am still having this problem. I tried what you say

UNION CakePHP/MySQL

2008-05-16 Thread Pierre MARCOURT
that we can have with /find()/ or /findAll()/. So, to make it works, I am doing 2 different requests (by using /findAll()/) and I merge the 2 results in a array(). To be honest, I don't like my idea at all. I would like to know if there is another way to do it better ? Thanks. -- *Pierre

Re: UNION CakePHP/MySQL

2008-05-16 Thread Pierre MARCOURT
('SELECT Product.id FROM [complicated sql] UNION SELECT Product.id FROM [complicated sql]'); $ids = Set::extract($tmp, '{n}.0.id'); $products = $this-findAll(array('Product.id' = $ids)); hth grigri On May 16, 2:17 pm, Pierre MARCOURT [EMAIL PROTECTED] wrote: Hi, I would like to make

Re: UNION CakePHP/MySQL

2008-05-16 Thread Pierre MARCOURT
' = date('Y-m-d') ), 'order' = 'duedate ASC' )); On May 16, 2:53 pm, Pierre MARCOURT [EMAIL PROTECTED] wrote: Here are the requests I am doing : $tab1 = $this-Task-findAll('user_id = ' . $user_id . ' AND duedate = ' . date('Y-m-d') . '', null, 'duedate ASC'); $tab2 = $this-Task

Re: UNION CakePHP/MySQL

2008-05-16 Thread Pierre MARCOURT
= $this-Task-findAll( array( 'or' = array( array('user_id' = $user_id), array('alternate_id' = $user_id, 'user_id' = ' ' . $user_id) ), 'duedate' = date('Y-m-d') ), null, 'duedate ASC' )); On May 16, 3:23 pm, Pierre MARCOURT [EMAIL PROTECTED] wrote

Re: UNION CakePHP/MySQL

2008-05-16 Thread Pierre MARCOURT
, it is just what I needed ! Glad I could help. Do you understand *why* it works? -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214 Fort Lauderdale, FL 33304 Phone: 954-861-6310 Fax: 954-861

Re: Ajax + JS (unobtrusive date picker)

2008-05-09 Thread Pierre MARCOURT
), but no luck there either. Any ideas would be greatly appreciated! - Cake Fan -- *Pierre MARCOURT* *IT Department* *CableOrganizer.com* 5610 NW 12th Ave, suite 214 Fort Lauderdale, FL 33304 Phone: 954-861-6310 Fax: 954-861-2001

Problem using Dialog.confirm due to my controller...

2008-05-05 Thread Pierre MARCOURT
, and for 2 of them, the user could not add a memo. He will have to change of page and find a good one to save the data. _My question_ : Is there something to do or to not do when you use new Ajax.Request ? Because I don't see a big difference in my 7 controllers. Thanks for your help. -- Pierre

Re: Slow...

2008-04-25 Thread Pierre MARCOURT
the relationships in your model. I haven't gone into production yet with my app so I haven't figured out what I'm going to do about this. Optimization comes last (although it's slowing me down a bit during development). -- Pierre [EMAIL PROTECTED] _ CableOrganizer.com 5610

Slow...

2008-04-24 Thread Pierre MARCOURT
Hi, I am programming using CakePHP / Ajax and the more I program, the more my website is slow. I don't understand why, because I am programming the way you have to when you use CakePHP. And I don't think that I am doing to much queries. Is there some important things I have to avoid when I

Re: Slow...

2008-04-24 Thread Pierre MARCOURT
. Thanks your your help. Chris Hartjes a écrit : On Thu, Apr 24, 2008 at 8:33 AM, Pierre MARCOURT [EMAIL PROTECTED] wrote: I am using a lot Ajax and Scritptaculous, is that a problem ? Almost my entire site is in Ajax. Yes, that is bound to be slow without a lot of thought on the use

Re: Slow...

2008-04-24 Thread Pierre MARCOURT
with lots of javascript run VERY slow under firebug. Try testing in another browser or turning firebug off and see if that helps. On Apr 24, 9:32 am, Pierre MARCOURT [EMAIL PROTECTED] wrote: Thanks for the advice Chris, I am going to try jQuery and see if it is better. Chris Hartjes a écrit

Problem on serializing Ajax data with Cake

2008-04-17 Thread Pierre MARCOURT
Hi, I am using the $ajax-sortable function to change the order of a list (3 items). Then I want to save the order in a database but I have a problem. When I use Sortable.serialize to send the data to my controller, my array is empty... Here is the code I use in my view : ?php echo

Re: Submit “multipart/form-data” forms with CakePHP / Ajax

2008-04-14 Thread Pierre MARCOURT
don't want to ask for changing setting in the browser... So I don't know yet how to make it work, if someone has another idea ? Thanks. Chris Hartjes a écrit : On Fri, Apr 11, 2008 at 4:40 PM, Pierre MARCOURT [EMAIL PROTECTED] wrote: Thanks Chris, but when I try to use the create method

Re: Submit multipart/form-data forms with CakePHP / Ajax

2008-04-14 Thread Pierre MARCOURT
: My point was that Ajax doesn't let you use multipart/data. You'll need to either use something like swfupload or post to an iframe, etc. http://www.railsforum.com/viewtopic.php?id=11430 On Apr 14, 11:29 pm, Pierre MARCOURT [EMAIL PROTECTED] wrote: Yes Chris, I am using CakePHP 1.1.19.6305

Problem in using Ajax to submit a form

2008-04-11 Thread Pierre MARCOURT
Hi, I must clarify that I did several tutorials. I tried with the Cakebaker tutorial : http://cakebaker.42dh.com/2006/01/18/submit-a-form-with-ajax/ I looked at the API but I don't understand what's going on. If someone has an idea... Pierre MARCOURT a écrit : Hi, I have a problem when I

Submit “multipart/form-data” forms with CakePHP / Ajax

2008-04-11 Thread Pierre MARCOURT
Hi, Is there a way to submit “multipart/form-data” forms with CakePHP / Ajax ? I can’t manage uploading files this way… It seems that it is not possible due to security restrictions in the browser, is it ? Does someone know a way to manage it (without using IFrames or similar) ? Thanks.

Re: Submit “multipart/form-data” forms with CakePHP / Ajax

2008-04-11 Thread Pierre MARCOURT
11, 2008 at 3:40 PM, Pierre MARCOURT [EMAIL PROTECTED] wrote: Hi, Is there a way to submit multipart/form-data forms with CakePHP / Ajax ? I can't manage uploading files this way... It seems that it is not possible due to security restrictions in the browser, is it ? http

Re: Multiple Query Results One Large List

2007-09-24 Thread Pierre Lombard
everything you need. There may be also some cleaner solutions with SQL advanced structures (views, ...) but I would need to check how that's supported in cake (it may also add a dependency on your DBMS). Of course, if someone as a simple cakephp-native method, I'd like to know too :-) Regards, -- Pierre

Validating two models

2007-02-05 Thread Pierre
Hi, I'm currently trying to save two models from a single form. While the saving part is working just fine, i can't find a way to display error messages in my form. I'm not passing any paramaters to the validateErrors() function in my controller, should I ? In other words, is it enough to call

Re: Components

2006-05-16 Thread Pierre
Thanks brandags... But i figured out the error... It was an incorrect Sql query... Sorry to have wasted your time and good night/morning/afternoon (i don't know where you're from ^^) --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: About PagesController

2006-05-07 Thread Pierre
Thanks a lot for such a quick response! Pierre --~--~-~--~~~---~--~~ 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