Re: Error: Mysql requires a database connection

2013-07-28 Thread vikas bose
or class file. b. either open *.ini file and enable it 3. if pdo driver is not in your list then you need to install it and then access it Thanks Vikas Bose On Fri, Jul 26, 2013 at 2:02 PM, Harish Tewari harishwat...@gmail.comwrote: i am facing same problem pdo driver is not enabled

Re: The page isn't redirecting properly

2010-05-31 Thread vikas bose
hai now u goto the core.php file to make some changes on it, see the line number 56 Configure::write('App.baseUrl', env('SCRIPT_NAME')); if it is commented then open it so that your url would be http://example.com/index.php/controller/action/parm1/parm2 etc. because some time the .htaccess

Re: externally appending to cake's query debug log

2009-12-20 Thread vikas yadav
can be changed so that the SQL queries it calls (outside of cake) can also be appended to cake's standard debug sql query log? We can hack both codes but we could not locate a good safe point. Please suggest. Vikas any ideas people? Check out the new CakePHP Questions site http://cakeqs.org

how to validate texbox which is not related to table's field

2009-04-16 Thread vikas
date or not? so for that I have to use my own javascript validation or is there inbuilt facility in cakephp?? Thanx in advance.. vikas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post

Re: What do ARO and ACO stand for?

2009-04-06 Thread vikas
Important tutorial on ACL : http://brolly.ca/blog/web-development/cakephp-acl-tutorial/ --~--~-~--~~~---~--~~ 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

problem over using other table instead of users table for AUTH:

2009-03-14 Thread vikas
Hello all.. I have used Auth component for check user login.. Insted of users table- I have used table named 'logins' for authentication. In which there is email and password field is used for authentication. in beforeFilter() of app_controller i have written:

how to use template in email

2009-03-03 Thread vikas
Hello every one.. I am trying to use inbuilt email component of cakephp to send email. In article given at www.cakephp.org (http://book.cakephp.org/view/270/Class-Attributes-and-Variables) we can set some values: in that they have given: template- The email element to use for the

Re: how to set current time for local computer

2009-03-02 Thread vikas
ya this is really helpful to me.. thanks --~--~-~--~~~---~--~~ 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 email to

how to set current time for local computer

2009-02-28 Thread vikas
Hello all.. My problem is my site is running on a server resides on different country.. I used to show the current time on a home page.. but It shows me server time..which is nearly 12 hours behind my country.. I want to show user a time of a computer he or she uses.. P.S. : I used date()

Re: JQuery UI on cake

2009-02-27 Thread vikas gupta
as of where to start. Can anyone explain to me how to implement JQuery UI to Cake, or if anyone has a good link to a tutorial, it would be very appreciated. Thanks -- Regards Vikas Gupta --~--~-~--~~~---~--~~ You received

how to fill select dropdown box with data in element?

2009-02-26 Thread vikas
Hello all.. I have a problem given below: I made a element: search.thtml where there is some form elements. In that there is religion select box. I have a table called religions, where all religions name is stored. I made also searches table, so every time user searches, it will be stored in

how to display message no record found

2009-02-18 Thread vikas
I have UsersController. In that I have a index() action. In that action, the code is: $data = $this-paginate('User'); $this-set(compact('data')); Now I want to check that is there data available or not. Means if there is no record then I will get no record in array. But how to check this thing

Re: how to display message no record found

2009-02-18 Thread vikas
Ya you are right.. my problem is solved.. thanx --~--~-~--~~~---~--~~ 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 email

want to know about changing layout look

2009-02-06 Thread vikas
Hello all.. I read layout tutorial from http://book.cakephp.org/view/96/Layouts I got the point about how to create default.ctp and $title_for_layout, $content_for_layout.. but I want a look of my website as like our cakephp group page where right side has a menus.. so is there need to change

How to save multilingual data in database?

2009-02-04 Thread vikas
Hello all.. I am working on a matrimonial site which is multilingual.. I want that when new user register himself his with information, it will store be store in language he choose initially.. say suppose user select french language initially.. and then register himself with data in french..

Re: loading cake into code

2009-02-02 Thread Vikas Yadav
Hi, I wanted to do something similar but did not get a thread response. I wanted to append to cakes sql log from code that is written outside cake or maybe use cake's model-query method so that would happen automatically. Any suggestions? Thanks, Vikas On Mon, 2009-02-02 at 04:51 -0800, Martin

need Help on Internationalization in CakePHP

2009-02-02 Thread vikas
Hello all.. I want to convert my site in multilingual site. I have read the tutorial of Internationalization in CakePHP at http://book.cakephp.org/view/163/Internationalization-in-CakePHP. But not so much helpful, also no idea about what url have to use... So if somebody has a example file of

problem with routing

2009-01-30 Thread vikas
Hello all.. I have made an element name attendance.thtml, and its working great. I want to see this element in every page so i have added it in a default.ctp file. In this element i have added one select dropdown box for viewing report (note: initially I have also problem with getting value

how to get value from select drop down box

2009-01-29 Thread vikas
Hello all.. bit confused.. I have report generation option in my application. In that I want to generate attendnace report by month, by quarter etc. So I would like to put select dropdown box where there is options like ByMonth,ByQuarte, etc.. User selects the option and see the report.. So

Re: how to get value from select drop down box

2009-01-29 Thread vikas
thanks Martin.. I got the point.. and problem is solved... --~--~-~--~~~---~--~~ 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,

controller not found..

2009-01-21 Thread vikas
Hello all.. I have a problem... I have functionality called 'attendance for user'. When user login after logged in there is MarkIn and MarkOut button. when he clicks on MarkIn button, new entry will be placed in 'attendances' table for current date. My attendances table has a fileds given

how to enable or disable buton

2009-01-17 Thread vikas
Hello all.. I am working on application in which i have to add functionality like attendance. there are two buttons 1. Mark In and 2. Mark Out Database has 'attendances' table. When user Marked In table get new entry. and when he mark out that entry is updated. So once user click Mark In

how to use javascript helper??

2009-01-10 Thread vikas
Hey all.. I want to use javascript helper in my project to see its power. But I cant understand how to use it.. Can anyone explain me how to use it or give link to any tutorial or example. --~--~-~--~~~---~--~~ You received this message because you are subscribed

ACL's permission problem

2009-01-09 Thread vikas
hey all.. now my aro, aco, aro_aco entry is perfect. but now one new problem arise.. I checked permission for the current logged in user using yout check()-given above. If logged in user has no permission it shows me the message “permission denied”… But still It allows that logged in user to

Re: ACL Questions

2009-01-07 Thread vikas
Hey Fred.. I have some useful tutorial links... I hope it will help u.. links: http://bakery.cakephp.org/articles/view/user-permissions-and-cakephp-acl http://umbrellanetwork.ca/cakephp/cakephp-acl-concepts-from-a-former-noob/

Re: need help on ACM plugin

2009-01-05 Thread vikas
Also need for minimum table structure for ACM plugins.. --~--~-~--~~~---~--~~ 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,

need help on ACM plugin

2009-01-05 Thread vikas
hi all... I want to use ACM plugin for my project which is available at: http://cakeforge.org/projects/acm/ But the problem is there is not much documentation on that helper... when I am trying to use that plugin according to the documentation I got error given below:

problem with crating a table structure for the acl

2009-01-01 Thread vikas
hello all.. HAPPY NEW YEAR... Still problem contenious with ACL in new year also... :) I have problem with crating a table structure for the acl I am trying to create ACL table structure using command: 'cake acl initdb' but this shows me error: Your database configuration was not found. But

problem with password using AUTH

2008-12-31 Thread vikas
hi.. I used password field to store a password. I used the Auth component as it will automatically hash the password field. Now problem is when user edit his information, in password field the it shown as hash string(for example like *). so this means the original password is

Problem with auth component

2008-12-30 Thread vikas
hi I have used auth component in login page. so i havent used session because Its automatic in the Auth component. now the problem is after login by valid user, if user will remain idle for few minutes it will automatically loggedout, thats ok. but after automatic logged out he still stays on

Re: Problem with auth component

2008-12-30 Thread vikas
ya I have set Auth to be used across all controllers. It is ok that only authorised user can access that controller..thats not problem for me. but the problem is that loggedin user automatically loggedout if he remains idle for few minutes...(I have mentioned this problem before also..), and he

Re: Problem with auth component

2008-12-30 Thread vikas
and ya i have to clerify that i have written this line in 'app_controller' file: * var $components = array('Auth'); --~--~-~--~~~---~--~~ You received this message because you are

Useful tutorial on ACL

2008-12-29 Thread vikas
CakePHP + ACL concepts from a (former) noob http://brolly.ca/blog/web-development/cakephp-acl-tutorial/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: problem with ACL...

2008-12-29 Thread vikas
ya i refer that tutorial but its very confusing.. but can u give me some idea about ACO table entry??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

problem with ACL...

2008-12-26 Thread vikas
Hi.. I am learning cakephp myself and uptill now ACL is the tuffest topic.. I am working on a project called TMS-Task Management System. In that There is groups table which has a entry like administrator,manager,developer,designer,client. And I have a users table. In which each user belongs to

about form fields

2008-12-23 Thread vikas
hello all... I am new to cakephp n need a help.. I have project and task table. each project has more than one task. my projects table is: ** id int(11) auto_increment Primary key namevarchar(50) details text start_date

problem with tablenames

2008-12-22 Thread vikas
hello all I want to know about table's naming convention. I have table which I gave name project_users. now my model's coding for this model is: ?php class ProjectUser extends AppModel { var $name = 'ProjectUser'; ? and controller's coding is: ?php class ProjectUsersController

Re: how to fetch record from multile tables for view

2008-12-22 Thread vikas
thanks i got the point and its working.. --~--~-~--~~~---~--~~ 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 email to

Re: how to fetch record from multile tables for view

2008-12-22 Thread vikas
thanks i got the point and its working.. --~--~-~--~~~---~--~~ 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 email to

Re: problem with tablenames

2008-12-22 Thread vikas
really thanks I was wrong about url... its working now... --~--~-~--~~~---~--~~ 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

Re: problem with tablenames

2008-12-22 Thread vikas
really thanks I was wrong about url... its working now... --~--~-~--~~~---~--~~ 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

how to fetch record from multile tables for view

2008-12-20 Thread vikas
Hello friends.. once again need help.. I have a users table and projects table in my database. which has a field given below. Table: users `id` int(11) NOT NULL auto_increment, `username` varchar(100) NOT NULL, `password` varchar(100) NOT NULL, `email` varchar(255) default NULL,

Re: how to set session when Auth component is used in login page

2008-12-20 Thread vikas
thanks its working.. --~--~-~--~~~---~--~~ 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 email to

how to set session when Auth component is used in login page

2008-12-19 Thread vikas
hello every one... I am learning cakephp myself.. I have used auth component in login page. now I want to set session for that logged in user.. so is there need to use session component or use auth session directly? --~--~-~--~~~---~--~~ You received this

how to fill form for editing a record from database

2008-12-17 Thread vikas
hello everyone, as I m new for cake php i m leaning myself cakephp... I want help about fill the form when we edit any record from databse. for example I have a edit() method in posts_controller as per below..: