Database connection failure

2011-09-22 Thread Rishab Jain
Hi guys, To connect to a database, I have 2 hostnames which can be connected to. Both of them carry the same data. Basically they're used to balance the load. I can set the data source to any one of them. I'm able to do that. However, my problem is that, in case any of the hosts go down, I

Re: Issue with getNumRows

2011-05-03 Thread Rishab Jain
Well I agree it might not be a bug, however, I really don't understand the need to have execute a find('count) function again to fetch the total number of rows. I'm not getting into pagination coz I've already built something and don't have the time now to move on to the cake pagination. I just

Re: thumbnail generator

2011-04-11 Thread Rishab Jain
Thanks everyone. I tried the video suggested by Chris, and it worked ! Thanks again Rishab On 4/9/11, Chris theswimmingf...@gmail.com wrote: This video on cake TV worked for me fyi. I tried just about every single image upload I could find. This tutorial is the only one I found that worked

How to use a function of a controller from another controller

2011-04-11 Thread Rishab Jain
Hi all, There's a controller: class PhotosController extends AppController { var $name = 'Photos'; function index() { // I need to call the method getAllUsers() of the Users Controller here. } } And,

thumbnail generator

2011-04-08 Thread Rishab Jain
Hi, I tried so many thumbnail generators available over internet. But none of them proved to be of a good quality. I need a thumbnail generator which I can use to generate 2 separate copies the image uploaded of 2 different sizes. Has someone used any generator in cakephp? regards, Rishab --

Re: check for the users who are logged in

2011-04-01 Thread Rishab Jain
file to keep the sessions in database. In this regard you will be able to count and display, which user is currently logged in. On Fri, Apr 1, 2011 at 12:13 AM, cricket zijn.digi...@gmail.com wrote: On Thu, Mar 31, 2011 at 1:03 PM, Rishab Jain jairis...@gmail.com wrote: Hi, Since cake

multiple file upload in php

2011-03-31 Thread Rishab Jain
Hi, Does anybody know of a good multiple file upload in cakephp (or even php for that matter). I'm not looking for many input tags for upload, but for an interface where I can upload many files in one go. And it should be a freeware. regards, Rishab -- Our newest site for the community:

Re: multiple file upload in php

2011-03-31 Thread Rishab Jain
easy to implement your own multiple file uploading functionality. Do let me know if you need instructions to implement your own functionality. Thanks, Ravi Verma On Mar 31, 12:46 pm, Rishab Jain jairis...@gmail.com wrote: Hi, Does anybody know of a good multiple file upload in cakephp

implement comet in cakephp

2011-03-31 Thread Rishab Jain
Hi, Does anybody know how to implement comet in cakephp? regards, Rishab -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe

check for the users who are logged in

2011-03-31 Thread Rishab Jain
Hi, Since cake is taking care of the session, I want to know who all members of the site are currently logged in. Has anybody ever written code something similar to this? It would be great if you could help me here. regards, Rishab -- Our newest site for the community: CakePHP Video Tutorials

Re: multiple file upload in php

2011-03-31 Thread Rishab Jain
On Mar 31, 12:46 pm, Rishab Jain jairis...@gmail.com wrote: Hi, Does anybody know of a good multiple file upload in cakephp (or even php for that matter). I'm not looking for many input tags for upload, but for an interface where I can upload many files in one go. And it should

session management

2011-03-30 Thread Rishab Jain
Hi All, I'm using the Auth for session management in cakephp. But I have no idea as to how to configure the timeout and other variables. Can someone help? regards, Rishab -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions

issue with saving data in model

2011-03-28 Thread Rishab Jain
Hi All, I'm facing a very weird problem. I'm trying to save data in a loop where 1 person is sending msg to many people.. Here's the print_r of the 3 arrays before I call the 'save' function in the model. Array ( [Message] = Array ( [sender_uid_fk_users] = 1

Re: issue with saving data in model

2011-03-28 Thread Rishab Jain
Class Outfit jeremybu...@classoutfit.com http://www.classoutfit.com On 28 Mar 2011, at 16:21, Rishab Jain wrote: Hi All, I'm facing a very weird problem. I'm trying to save data in a loop where 1 person is sending msg to many people.. Here's the print_r of the 3 arrays before I call

issues with document root and rewrite urls

2011-03-28 Thread Rishab Jain
Hi, I have a setup where I want the document root to set to the main directory where my application is residing. Currently, the path to my directory is something like this: /var/www/html/dev.mydomain.com/aaa/code_project/ app/ cake/ index.php

Need a 'video capturing through webcam' tool or code

2011-03-25 Thread Rishab Jain
Hi All, I need a video capturing through webcam plugin for cakephp. If not cake, then in simple php will also do. Does anybody know of such a plugin? regards, Rishab -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Implementing social networking using CakePHP

2011-03-03 Thread Rishab Jain
Hi guys, I am planning to write a social networking website from the scratch. I wish to use CakePHP. Can anybody let me know the positives and negatives of using cakephp? Also, it would be great if anybody can provide me any information related to the development. or even the source code. Thanks