cakephp-1.3

Download cakephp manual.

Hi, From where I could download manual of cakephp 1.3 .......? ...

Date validation in Cake

How can I get the built-in date formatting working in my Cake app? Maybe I am making some simple mistake. I'm focused on the model code right now, I think this is what I am screwing up. On the page it looks like it's working, showing three select widgets with months, days, years in that order. However, when I submit the form I'm getting...

security component of cakephp restricts form submission

Hi all, I am facing a strange problem with the security component. I have a form with following fields in it: First Name (firstname) Last Name (lastname) Primary Email (primaryemail) Password (password) Retype Password Secondary Email (secondaryemail) Residence Address (address) State City (city_id) Location (location_id) Designation ...

Save the Errors in Database instead of errors.log in cakePHP

Hello folks, I need to save the Errors in a database table instead of writing in into errors.log?? How can i achieve it??? thanks in advance ...

Cakephp Email Plugin/compnonent help

I am building an application that will need to send emails on numerous occations like Account activation. Passwrod Reset link.. various notifications. I am using Cakephp 1.3.2. Would prefer a plugin or component where i can create templates and just pass variables and it sends an email. Thanks a lot in advance ...

How do I use a standalone class in cakephp 1.3?

I have a standalone class I wrote in PHP for some very basic LDAP/AD functions. and I would like to use this class in a project I am working on in cakephp. It looks like in cakephp 1.2 I could just add the class as a vendor, however it looks like cakephp 1.3 removed support for vendors. So how would I go about calling a few function fro...

How define a unique "plugins" path to all apps in 1.3?

In 1.2 i used: $pluginPaths = array(CAKE_CORE_INCLUDE_PATH . DS. 'vendors' . DS. 'plugins' . DS); But.. in 1.3 we have the new plugins path, and i believe thats not necessary the $pluginsPaths manual declaration if i have: if (!defined('CAKE_CORE_INCLUDE_PATH')) { //define('CAKE_CORE_INCLUDE_PATH', ROOT); ...

MySQL error when using send() method of Email component in CakePHP

I've followed the tutorial here: http://book.cakephp.org/view/1286/Sending-a-basic-message, which I have successfully used before with 1.2. However, in 1.3, with a different application, I get the following error: Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL ser...

cakephp: HELP: cron_dispatcher 1.3 failes on import plugin models

Hi, I can't seem to import a plugin model when running controller from the cron_dispatcher. Here is a simple test result. ver: 1.3.2 cron_dispatcher: http://tricks.cakephp.in.th/comland-line-and-cronjob running from web ......... [WORKS] running testA function WITHOUT model import from cmd line......... [WORKS] running testB functio...

cakephp routing problem (or maybe just confusion)

Hi, I've just started learning cakephp and have gotten the Blog example working except for the routing, I'm still not quite sure how it works after reading many, many documents on routing (including the ones in the official cookbook). My problem is with the '/' root routing, I want it to go to the index() function of the PostsControlle...

Multiple Controllers from a single view

Hello everyone, I recently started with CakePHP and so far I'm loving it, specially the scafolding and bake. I'm building a webapp that will manage applications to companies. (i.e., where have I applied to, with whom have I spoke, the status of the application(s), how long ago has it been since I did sent/recieved a communication rega...

CakePHP Routes with forward slash in argument

hi, I have started using cakePHP and have a little problem using routes. I'm trying to make some kind of catalog for products (e-shop without shopping :)) and like to have urls like "http://site.net/main_category/subcategory/subsubcategory-c154.htm" where -c means category and 154 is an Id of specified category. I like to pass this type...

CakePHP 1.3 - controller dump

I started out in cake 1.2.6 a short time ago and liked the controller dump feature because it showed me what was going on, and at which points in my app the objects were instantiated, and their contents. In 1.3 how can I find out the names of instantiated objects, and how do I get a dump of them? ...

Submit form button not working for simple todo list app (I'm new to CakePHP)?

Hello, I am learning cakephp, and I was just doing a simple Todo list app from a book. The app basically takes in a task from an input field, then you click 'Add Task' and the task should be added to database and then the user gets redirected to Tasks View page where all the tasks can be seen including the one they just added. In the ad...

check permission against group not users using Auth->authorize="actions"

Hello folks, Can any one explain me the working of Auth->authorize = "actions" In my project i am planning tp give this. As this taught me the authorize will call the $this->Aro->check($user,"controllers/:controller/:action") This will check the against the user right?? that means the user should be there in aros table. But i don't ne...

cakephp (1.3) - accessing session vars in views

If I do a print_r($_SESSION) in my page.ctp I get: Array ( [Config] => Array ( [userAgent] => b3346028c15f82ac5d4b25c4f50d8718 [time] => 1281034201 [timeout] => 100 ) [manualLogout] => 1 [Message] => Array ( ) [Auth] => Array ( [red...

Why do I get "missing function" error? My function is right there!

Hi! I am getting "Fatal error: Call to undefined function getSContent()" with the included code but... as you can see: My function is right there! Please, help. I am sure I need some sleep. class InfoController extends AppController { var $name = 'Info'; var $helpers = array('Html', 'Session'); var $uses = array(); fu...

Role management user interface in cakePHP

hello folks, Is there any easy way to create a user interface to role management section(allow or deny permissions) for admin in cakePHP? easy way means any inbuid helper or something? ...

CakePHP associations messing up

Hi, I am new to cakephp and have been working through the Apress book "Beginning CakePHP from Novice to Professional" but have ran into a problem after the baking chapter. (If you've seen my other recent question, you'll know that I had to skip that chapter because I cant get the bake console working on my win7 machine). The problem i...

How to have cakephp Deliver content on different subdomain ?

I am building a portal which will have different cities content.. When someone comes to the website i want them to choose the city and then proceed to http://city1.site.com or http://city2.site.com can this be done using a single database and installation of cakephp ? ...