All Questions

RSS

3 answers

0 votes

Asked by siji, on 31/5/10 in Views

Session value not getting in view

I have set session value in my controller using the code:

$this-Session-write('current_language',$langName);

but when I am trying to access that in view it shows error. The code in view is:

echo $this-Session-read('current_language');

The error I am...

3 answers

3 votes

Asked by andy, on 10/6/10 in Installation / Configuration

How to use cake PHP in Netbeans?

I am developing web application on Netbean Framework. I want to use PHP framework along with Netbeans is there any way I can make CakePHP as plugin in Netbean?

Thank you.

Andy

3 answers

0 votes

Asked by xpo60rj, on 16/6/10 in Controllers

How do I redirect after saving form data to database?

I'm new to cakephp. I'm trying to build a newsletters subscription field that is placed in my footer element. I can not get my page to redirect back to home after submitting form data to the database along with email notification. The data is...

3 answers

0 votes

Asked by dimis283, 3 weeks, 3 days ago in Controllers

back-end controller

I want to make a controller with some functionality that my back-end controllers extend this and not having that functionality at every controller.

What is the best practice at cakephp?

Simply to create a controller and extend that?

I have already...

3 answers

0 votes

Asked by raji, 2 weeks, 2 days ago in Installation / Configuration

Integrating smarty with CakePHP

Hi,

I am trying to integrate smarty 2.6.26 and Cake 1.3.

I am getting the following error:

Fatal Error (256):

Smarty error: [in /var/www/html/pms/cake/libs/view/errors/missing_controller.ctp line 45]:

syntax error: unrecognized tag 'var'...

3 answers

-2 votes

Asked by veeresh, 1 week, 1 day ago in Controllers

Error: The view for PostsController::index() was not found.

hi

I am new to cake

I working on tutorial blog i got error as below help me

Error: The view for PostsController::index() was not found.

Error: Confirm you have created the file: D:\xampp\htdocs\cake\app\views\posts\index.ctp

Thanks

2 answers

0 votes

Asked by bbender, on 12/11/09 in Controllers

Error: Controller could not be found.

Greetings All,

Thanks to the answer to my other question, I now have my app up and running. yay! Anyway, now I was moving on to replacing the default cake page and replacing it with a page more formatted to my site (assuming it to be in...

2 answers

0 votes

Asked by fly2279, on 11/11/09 in Models

How to find which combination Clubs is being used by Children?

Child hasMany Membership

Membership belongTo Child, Club

Club hasMany Membership

Basically Child HABTM Club with the Membership being the join table,

like at the bottom of this section:...

2 answers

0 votes

Asked by ojtibi, on 30/10/09 in

Odd code in sanitize.php 1.2.5 line 223?

Google Groups original topic

As the poster on the group says, the following code is quite odd:


$data = str_replace("'", "'", str_replace("!", "!", $data));

Any ideas why that line appears in the file?

2 answers

1 vote

Asked by bbender, on 11/11/09 in Views

Index page is blank after new record entry

Greetings all,

I have an "add comments" page and when I try to add a new entry for my page's comments, I am returned to the main page (which is what I want), but the main page is blank!? I then have to refresh the page (usually I can only do it by...

3   4   5   6   7   8   9   10   11

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.