Questions tagged with cakephp2

0 answers

0 votes

Asked by ghasemfattahpour, on 22/3/11 in CakeQS

Cakephp When used in version 2 to the public?

Cakephp When used in version 2 to the public?

thanks

1 answer

0 votes

Asked by atkrad, 2 weeks, 1 day ago in Controllers

How to get values from checked checkboxes in controller?

How to get values from checked checkboxes in controller?

1 answer

0 votes

Asked by webjay, on 20/6/11 in Models

CakePHP 2.0 API

Where can I find the CakePHP 2.0 API?

It's mentioned here.

2 answers

0 votes

Asked by 1onema, on 21/6/11 in Controllers

Fatal error: Call to a member function find() on a non-object

I've done the tutorial on how to create a blog, and now I want to create my own blog with a different database schema.

I downloaded a new version of cakephp 2.0 and started from scratch.

All the setup and initial configuration are set up correctly...

2 answers

0 votes

Asked by MenOne, on 30/8/11 in Shells

Help me create DbAcl in CakePHP 2.0

Hi!

Sorry for my english.

In version 1.3 it was not a problem.

In 2.0, I can not run "cake" file.

Message: "command not found".

I'm working on ubuntu

1 answer

0 votes

Asked by manzati93, on 18/9/11 in Components

CakePHP 2.0.0-RC1, is supposed that Auth don't hash passwords?

I've readed that in CakePHP 2.0.0-RC1 cake no longer hashes the password post fields. So i've writed my own code that hashes the password field and try to login. But it seems that cake hashes the password field when trying the mysql query!

In fact...

1 answer

0 votes

Asked by zatarain, on 25/9/11 in Models

Do virtual field works same in CakePHP 2.0 and CakePHP 1.3?

I has been reviewing the cook book documentation for version 2.0 in this link and always is mentioned the version 1.3.

0 answers

0 votes

Asked by horechek, on 1/10/11 in Installation / Configuration

some string before html output

I'm using cakephp 2.0 This is my site http://free-freelance.com/users and at the very top there 1f77 or any other then 4 characters. What is it?

1 answer

0 votes

Asked by cstea, on 10/10/11 in Models

Form labels missing localization

Not sure if this was removed by design or not, but on Cake 2 Form labels are no longer using localization.

1 answer

0 votes

Asked by loganbest, on 18/10/11 in Models

Loading Components

I'm trying to update my Cake 1.3 app to 2.0. In some of the Model methods I'm loading the Session and Email components like this:


App::uses('SessionComponent', 'Controller/Component');
App::uses('EmailComponent',...

1 answer

0 votes

Asked by guitcastro, on 21/10/11 in Helpers

How to instance a Helper in a Component (cake 2.0 )

I'm trying to update CakePHP Comments Plugin to run in cakephp 2.0 (asap i will share it).

I did a lot of small changes, and i belive it's almost done, i have changed the code the mininum possible, in fact almost i did was follow the migration...

1 answer

0 votes

Asked by igurpi, on 24/10/11 in Models

How to use helper aliasing in Cakephp 2.0

I've read aboout Helper Aliasing on 2.0:

http://book.cakephp.org/2.0/en/appendices/new-features-in-cakephp-2-0.html#aliasing

But It doesn't work with Html Helper. I have this in my AppController:

public $helpers = array(

'Html' = array('className' =...

1 answer

0 votes

Asked by fly2279, on 25/10/11 in Models

Custom Exception Renderer in 2.0

I'm trying to use a custom layout for rendering exceptions in cakephp 2.0. I've tried using a custom exception renderercustom exception renderer but I don't know how to extend the original class so that it uses a different layout that the...

2 answers

0 votes

Asked by aschelch, on 26/10/11 in Models

Any news about Oracle datasource with CakePHP 2.0

Good morning,

Working on an intranet for my company with CakePHP 1.3, I would like to know if there is any news about Oracle datasource for CakePHP 2.0.

Thanks in advance.

1 answer

0 votes

Asked by fly2279, on 26/10/11 in Models

Modifying default exception message in 2.0

I am wanting to change the default message given by various exceptions, not just over-ride them in the controller when throwing an exception. I know you can over-ride the default by throw new MethodNotAllowedException('My overriding message');...

1 answer

0 votes

Asked by jymboche, on 27/10/11 in Plugins

Cakephp 2.0 App::import or App::uses not working

Cakephp 2.0 is giving me major headaches.

Alright.... I have a plugin that uses a phpmailer, and after upgrading to 2-stable its not being included.

I've read the book and the api section and still cant figure out how to use it. App::import doesn't...

2 answers

0 votes

Asked by mensch, on 29/10/11 in Components

How to get Authentication working again in CakePHP 2.0 after migration?

After migrating a fully functional Cake 1.3 application to the recently released 2.0 version Authentication has ceased to work.

I've changed the calling of the AuthComponent and the structure of the login action according to the updated 2.0...

1 answer

0 votes

Asked by jymboche, on 1/11/11 in Helpers

Cakephp 2.0 Form Helper postLink

On most of my admin index pages, I have a multi checkbox for selecting multiple records and submitting them to the function admin_multi in my controller (For batch unpublishing, deleting, etc...).

Also, at the end of the row for each record is a...

1 answer

0 votes

Asked by KunalKhatri, on 21/11/11 in Models

CakePhp 2.0 Ajax autoComplete

Since CakePhp 1.3 $this-ajax or The AJAX helper was deprecated, what is the nearest alternative to $ajax-autoComplete.

I did see many helpers available, but all of them (well, mostly) are for CakePHP 1.3 which has $ajax helper.

Any help is...

1 answer

0 votes

Asked by , on 25/11/11 in Models

Cakephp 2.0.3 userModel change ?

I'm using cakephp 2.0.3

I have been doing tutorials.

I'm using auth component how can i change userModel or user table.

i have been tried


	public $components = array(
		'Session',
		'Auth' => array(
			'Form' => array('userModel' => 'Member'), //...
<< previous 1   2   3