Re: Better Performance in Separate Database Tables?

2008-06-12 Thread Cheeze
. With regards performance, don't even think about that being a problem. MySQL for example would handle tens of thousands of records without even blinking, especially if all the data was indexed in one single table. HTH On Jun 12, 2:20 am, Cheeze [EMAIL PROTECTED] wrote: Hi, I'm planning

Better Performance in Separate Database Tables?

2008-06-11 Thread Cheeze
Hi, I'm planning for a project for schools. As you might imagine there are mainly two groups of users - Students and Teachers. I'm at the stage of designing the database tables and was wondering if having separate tables for students and teachers might yield better performance than having a

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

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? Paste your

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 me,

Re: Missing PaginatorHelper Method in View

2008-05-03 Thread Cheeze
Upz anyone? My suspicion is the resolution of the path, but I've checked CAKE_CORE_INCLUDE_PATH and ini_get('include_path') and both show the right path. Looking at cake/libs/view/helpers/ paginator.php is there. I don't know where else to look.

Missing PaginatorHelper Method in View

2008-05-02 Thread Cheeze
Hi, I'm using Cake 1.2.0.6311. I've followed the example from http://bakery.cakephp.org/articles/view/basic-pagination-overview-3 to try out the pagination feature in 1.2. However, I get the error: Warning (512): Method PaginatorHelper::count does not exist [CORE/cake/ libs/view/helper.php,

Re: Building a forum plug-in

2007-11-02 Thread Cheeze
I've seen many projects with a lot of talk at the beginning but nothing concrete was done about it. Perhaps the guys who really need should start something first? And if there are people who want more features, then more will start contributing? Of course documentation must be good ;) On Nov 1,

Re: find all by relationship

2007-10-22 Thread Cheeze
I second Jon's suggestion. Most straightforward. On Oct 22, 8:29 am, Jon Bennett [EMAIL PROTECTED] wrote: I've been looking for a while but I can't seem to find the solution. Basically, I have Countries, which has many States, every State has many Cities, and every City has many Users.

How to Retrieve Query() Results

2007-10-22 Thread Cheeze
Hi, I have some questions on getting results of a query function call. E.g. $this-ProductsUsers-query(UPDATE `products_users` SET `modified`=NOW() WHERE `product_id`='{$pid}' AND `user_id`='{$uid}'); How do I know whether the operation completed with any errors? E.g. whether this statement

Re: pastemonkey.org now live!

2007-10-03 Thread Cheeze
seems cool! On Oct 2, 7:29 am, Tane Piper [EMAIL PROTECTED] wrote: Hey folks, I'm pleased to announce the full service of Paste Monkey is now running athttp://pastemonkey.org. This is a collaborative pastebin developed in CakePHP 1.2, and running AJAX with jQuery. It is still in the beta

Re: Beginner questions about the blog tutorial

2007-07-06 Thread Cheeze
Interesting observation. I didn't see that when I first started. Anyway I just use $this-Model-save($this-data) for both Add and Edit methods. As far as I know, the key difference is the presence of a hidden $id field in the form. On Jul 4, 6:57 pm, vinh.chuc [EMAIL PROTECTED] wrote: Hi ! I'm

Re: The Cake is Rising

2007-05-21 Thread Cheeze
Kudos to the Devs for another great release! On May 21, 3:09 pm, Tane Piper [EMAIL PROTECTED] wrote: Very nice release on 1.2. I had a little surprise when trying to bake a new application, but I prefer the new console. Also, can't wait to test out the new cache stuff. Is there comparison

Re: leading slash problem

2007-05-13 Thread Cheeze
Maybe you can share with us which line did you add to .htaccess? On May 13, 3:09 am, bingo [EMAIL PROTECTED] wrote: nevermind, i was able to solve the problem...the problem was with my .htaccess on my localserver, the files had a different structure and because of that I add another line in

Re: How can I do install xinha to CAKEphp

2007-05-11 Thread Cheeze
It's fairly straightforward. Just put the Javascript files (the entire Xinha folder) into the Javascript (js) directory. Link the related Javascript code in your layout file (or at least on those pages which you want the editor function). Finally get the ID names of the fields that you want to

Re: Strange behaviour when saving data

2007-05-04 Thread Cheeze
Have you tired calling the model's create() method before calling the save() method? create() initializes the model for saving a new record (http://api.cakephp.org/ class_model.html#2edb2497b980ad65e76ddda6d2494d97) On May 3, 8:33 pm, ifcanduela [EMAIL PROTECTED] wrote: I'll follow your advice

Re: creating static links to documents

2007-04-16 Thread Cheeze
Hi, You mentioned that you place the controllers in a sub-domain. Do you mean something like this: subdom.example.com/admin/userscontroller? If not, can you provide an example? On Apr 16, 2:13 am, jyrgen [EMAIL PROTECTED] wrote: I get missing controller errors AdminusersController should

Re: adressing css-files (for yui) outside the css folder

2007-03-20 Thread Cheeze
$this-controler-webroot.$this-yui_folder . DS . $file . DS . $file . .css; I don't understand what you are trying to achieve with this line. What kind of result do you expect to get from this line? --~--~-~--~~~---~--~~ You received this message because you

Re: my .htacces file

2007-03-17 Thread Cheeze
I'm not very sure of what the cause of your problem might be, so I'm just gonna suggest some things you can check. - Is .htaccess in the folder of your cake directory in your server root? - Have you made sure the .htaccess files are in the app and webroot directories? In any case I don't think

Re: My application using cakePHP

2007-02-16 Thread Cheeze
Very nice effort. I can see it is feature packed with a good effort at incorporating JavaScript effects. But maybe it is the JavaScript that is slowing the site down? On Feb 15, 4:49 pm, Eric C Blount [EMAIL PROTECTED] wrote: Slow, so very slow (see traceroute at the bottom). Makes it hard to

Re: Regarding http://cakephp.org page layout

2007-02-10 Thread Cheeze
decisions that dictate the project, usually affecting the project's progress negatively. Just my 2 cents worth. Cheeze On Feb 10, 8:59 pm, NOSLOW [EMAIL PROTECTED] wrote: Ask your client this: Do you replace your keyboard every time you misspell a word? When he answers of course

Re: Cake 1.2

2007-01-14 Thread Cheeze
How about an incremental documentation process? I'm not even sure what exactly I'm talking about here, haha. Right now I'm helping document the code (and hopefully a developer/user guide in the future) for Bakesale with a few hours of work every week. Been really busy but I still want 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: Copying a db record

2006-09-19 Thread Cheeze
Very interesting indeed! Is this considered a bug? Maybe it ought to be tracked? If correction of this bug isn't possible, maybe it should be placed in somewhere obvious? Will help save a lot of headaches for those unaware - even the veterans.

Re: Runniing application in different Time zones.

2006-09-19 Thread Cheeze
Appreciate the update. It'll help other people as well. Just wanna check with you - by 'setting the cookie to domain wide root path' do you mean you set the cookie in AppController? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Session-Write() problems

2006-09-13 Thread Cheeze
I'm just throwing up suggestions here. Maybe the session folder is not set in your php.ini file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Import Existing Sessions into CAKE

2006-09-11 Thread Cheeze
Bumps for you. I would be very interested to know how to do this as well. --~--~-~--~~~---~--~~ 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: data associations

2006-08-28 Thread Cheeze
I would like to find out more about this as well. Any takers? --~--~-~--~~~---~--~~ 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

Notice: Undefined variable:

2006-08-10 Thread Cheeze
Hi, I've got quite a fundamental problem when using Cake. I've searched through the postings but no appropriate solution. It's like this: I've created an edit function in my controller and a corresponding edit.thtml file. I've got 2 simple tables (abbreviated): products ( id int(11), name