All Questions

RSS

0 answers

0 votes

Asked by Ranilson, 4 minutes ago in Controllers

Add a record and update another table

Hi everyone,

I would like to know how to add a record to one specific table and, after doing that, update another table's field, but I need to do that using the same action.

Thanks

1 answer

0 votes

Asked by Ranilson, 4 minutes ago in Controllers

Add a record and update another table

Hi everyone,

I would like to know how to add a record to one specific table and, after doing that, update another table's field, but I need to do that using the same action.

Thanks

1 answer

0 votes

Asked by mrfusion, 16 minutes ago in Installation / Configuration

Trying to upgrade from CakPHP 1.1

Hi,

I am pretty novice when it comes to PHP so this is a daunting task pushed my way. The guy who made the site to begin with don't seem to want to do the upgrade, so I, who am a webdesigner, have to get into the code and make it work.

So my...

1 answer

0 votes

Asked by LordRaven, 2 hours, 21 minutes ago in Views

Media Views - Blank page

Hello, Im unable to get the Media View to force the download to start, I check the cake logs and apache logs and there is no errors.

In apache access log Im getting (192.168.0.2 - - [11/Mar/2010:18:11:57 +0100] "GET...

0 answers

0 votes

Asked by blacksymmetry, 4 hours, 3 minutes ago in Views

Send mail failed on production server

Hello I would like to ask:

In production server enviroment i have got :send forgot password function:

On localhost is everything fine, but on production server i got error message:


Missing View

Error: The view for UsersController::password() was...

1 answer

0 votes

Asked by ade007, 6 hours, 22 minutes ago in Models

Restricting UPDATE, model should only INSERT

How can I restrict a model from updating data? I need the most reliable solution. Data shouldn`t be touched in any circumstances.

Something like, is if id is present in a save call, ignore the id, make and insert and maybe log the action that...

1 answer

0 votes

Asked by AlbAsk, 7 hours, 32 minutes ago in Models

Fckeditor in cakePhp

I'm trying to use Fckeditor in cakePhp.

I have followed all the instruction at http://bakery.cakephp.org/articles/view/simple-fck-editor-helper

but I got an error :

Missing Helper Class

Error: The helper class FckHelper can not be found or does not...

3 answers

0 votes

Asked by jamesl, 9 hours, 21 minutes ago in Models

conditional add

Is it possible to add a condition to the add and update methods?

for example could you add a condition to check that a field value that is about to be added doesnt already exist in the table?

thanks.

0 answers

0 votes

Asked by bombaler, 11 hours, 8 minutes ago in Shells

vague documentation for observeField

I have observedField but I can't get the paramater using $this->data. Is there any documentation about the use of $this->data??? How the paramaters are named and how can they be accessed??

1 answer

0 votes

Asked by bombaler, 14 hours ago in Helpers

Ajax Helper requirement

What are the files needed in order to use the AJAX helper and should it placed.

The manual (cookbook) says that it should be in /app/webroot/js but it doesn't say which files are needed. Scriptaculous files are may and the downloaded zip files...

<< previous 1   2   3   4   5   6   7   8   9

How does CakePHP Questions work?

CakePHP Questions is easy to use: Register and login or directly login using OpenID and just ask your question!

After you ask your question you just need to wait until you have got some answers and pick the correct answer.

Other users might help you by finding the right answer by voting and giving comments.