Re: if my program no need to use a database connection,how can i shutdown it?

2008-10-27 Thread xelios
wot about using var $uses = array(); in your controller... On Oct 27, 8:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi,i have used cakephp for a while,right now i have a project no need > to use database,but how can i totally shutdown it.that mean don't let > cake to instance the d

__view() Is this any cake's built in function??

2008-10-27 Thread xelios
__view() Is this any cake's built in function?? --~--~-~--~~~---~--~~ 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 em

Wizard component: problem with proceding to next step...

2008-10-26 Thread xelios
My steps are as follows: $this->Wizard->steps = array('account','shipping','step2'); On clicking the "Next" button, it throws following error: Warning (512): Step validation: shipping is not a valid step. [APP \controllers\components\wizard.php, line 151] Form tag in account.ctp is as follow

Re: what this function does> Router::connect()

2008-10-24 Thread xelios
Thx On Oct 24, 5:07 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > http://book.cakephp.org/view/542/Defining-Routes > > On Fri, Oct 24, 2008 at 9:48 AM, xelios <[EMAIL PROTECTED]> wrote: > > > I am using WizardComponent, can anybody tell me wot the

what this function does> Router::connect()

2008-10-24 Thread xelios
I am using WizardComponent, can anybody tell me wot the following function does and where it should be placed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake

can anybody help me in using Wizard component

2008-10-24 Thread xelios
Can anybody please give me a working example of wizard or guide me step by step process of installing and using this component. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, s

how to use our own class in cakephp?

2008-10-23 Thread xelios
how to use our own class in cakephp? --~--~-~--~~~---~--~~ 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 [EMAIL

Re: problem with using TCPDF...

2008-10-23 Thread xelios
I've placed that class in vendors folder but still it is throwing error... On Oct 23, 3:01 pm, djiize <[EMAIL PROTECTED]> wrote: > your cake app cannot find the class XTCPDF > > On 23 oct, 07:03, xelios <[EMAIL PROTECTED]> wrote: > > > I am using TCPDF for cre

Re: TCPDF is not generating pdf...

2008-10-23 Thread xelios
"nope" itself is a big clue... On Oct 23, 2:49 pm, Penfold <[EMAIL PROTECTED]> wrote: > nope > > On 23 Oct, 06:51, xelios <[EMAIL PROTECTED]> wrote: > > > on visiting the page.. {http://localhost/cake12/CakePHP/books/viewPdf} > > >

can we generate 2D barcode with TCPDF..

2008-10-23 Thread xelios
Is it possible to generate 2D barcode with TCPDF.. --~--~-~--~~~---~--~~ 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 e

file does not start with '%PDF-'

2008-10-23 Thread xelios
While using TCPDF with CakePHP, It generates an error "file does not start with '%PDF-'" What to do 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

TCPDF is not generating pdf...

2008-10-22 Thread xelios
on visiting the page.. {http://localhost/cake12/CakePHP/books/viewPdf} It is displaying a blank page... any clue... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to thi

problem with using TCPDF...

2008-10-22 Thread xelios
I am using TCPDF for creating pdf. I have following problem: Fatal error: Class 'XTCPDF' not found in C:\xampp\htdocs\cake12\CakePHP \app\views\books\view_pdf.ctp on line 3.. please help me! --~--~-~--~~~---~--~~ You received this message because you are subscrib

can we write arabic using TCPDF...

2008-10-22 Thread xelios
Hi, using TCPDF can we write arabic in pdf... --~--~-~--~~~---~--~~ 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

Re: How to print query...

2008-10-22 Thread xelios
/ BUT I WANT TO SEE ACTUAL QUERY EXECUTED. On Oct 22, 3:47 pm, phpcurious <[EMAIL PROTECTED]> wrote: > if you don't see any debug dump, that could have been due to your > $cakeDebug is either empty or not in defaul

Re: How to print query...

2008-10-22 Thread xelios
ug messages and SQL output. >  *      3: As in 2, but also with full controller dump. >  * >  * In production mode, flash messages redirect after a time interval. >  * In development mode, you need to click the flash message to > continue. >  */ > --- > > On Oct 22, 12:20 p

How to print query...

2008-10-22 Thread xelios
I've an error in my sql query. How can I print query for debugging purposes. --~--~-~--~~~---~--~~ 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 unsubscri

Re: Object not found! error...

2008-10-16 Thread xelios
Upgraded to v1.2 and everything is ok 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 group, send email to

Re: How to use helpers??

2008-10-16 Thread xelios
Upgraded to 1.2 and everything is ok now... Thx everybody. --~--~-~--~~~---~--~~ 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 grou

Re: How to use helpers??

2008-10-16 Thread xelios
m using v1.1.x Following is the error: Fatal error: Call to undefined method FormHelper::create() in C:\xampp \htdocs\cake\app\views\tasks\add.ctp on line 1 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP"

Re: How to use helpers??

2008-10-16 Thread xelios
My controller file:: // set('tasks', $this->Task->findAll()); } function add() { if (!empty($this->data)) { $this->Task->create(); if ($this->Task->save($this->data)) { $this->Sessi

How to use helpers??

2008-10-16 Thread xelios
Whenever I use helpers, "Call to undefined function..." error occure. This might be due to declaration issues. I've declared in my controller class. var $helpers = array('Html', 'Form'); but still having problems. --~--~-~--~~~---~--~~ You received this message be

Problem with using Helpers "Call to undefined method FormHelper::create()..."

2008-10-16 Thread xelios
Following is the code of my "register.ctp" page... / ***/ Please fill out the form below to register an account. create('User', array('action' => 'register'));?> input('first_name'); echo $form->input('la

Re: Object not found! error...

2008-10-16 Thread xelios
"var $useTable = 'users'; " Wot is the purpose of above line... --~--~-~--~~~---~--~~ 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 t

Re: Object not found! error...

2008-10-16 Thread xelios
I am working on v1.1.20 now I have created a new view for displaying the users, its working fi9. But the problem I mentioned in my earlier posts is still there.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: Object not found! error...

2008-10-16 Thread xelios
I am working on v1.1.20 now I have created a new view for displaying the users, its working fi9. But the problem I mentioned in my earlier posts is still there.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake

Re: Object not found! error...

2008-10-16 Thread xelios
I didn't find any typo... Following are my files... / */ C:\xampp\htdocs\cake\app\models\user.php / */ / *

Object not found! error...

2008-10-16 Thread xelios
I am following a tutorial for CakePHP from "https:// www6.software.ibm.com/developerworks/education/os-php-cake1/ section3.html" I created a view for registration, on submitting it should submit values to the database. But it is displaying error "Object not found!". Following is my view code:

ma a newbie - want to know how to install and create my first app..

2008-07-13 Thread xelios
ma a newbie - want to know how to install and create my first app.. --~--~-~--~~~---~--~~ 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