Re: how to use multiple database connections.

2011-12-25 Thread Jack
sync means when i am inserting record in mysql database simultaneously i want add/edit/delete same record in postgres database too. means same operations should get carried out in both DB. On Dec 24, 6:42 am, Geoff Douglas wrote: > What do you mean when you say "sync?" -- Our newest site for th

Re: Use classes from a different controller

2011-12-25 Thread euromark
classic design failure you shouldn't (ever) use a controller in another controller design your actions the way that they use the model to get the data this way you can call these model methods from other controllers, as well so it boils down to $this->Model->ownPosts($uid) etc On 25 Dez., 19:1

Use classes from a different controller

2011-12-25 Thread J.
Hello. I'm building an app derivated from the cakephp blog tutorial. On the User profils, I want to display which posts they own (my posts have a owner_id field) with a foreach. But to use the classes from my Posts Controller in my UsersController, I used this code : App::import('Controller', '

Re: Web-App works local but not on my Server

2011-12-25 Thread Gerrit
The request has been black-holed Error: The requested address '/users/login' was not found on this server. Stack Trace #0 /home/www/workutil/lib/Cake/Controller/Component/ SecurityComponent.php(207): SecurityComponent- >blackHole(Object(UsersController), 'csrf') #1 [internal function]: SecurityCo