0 answers
0 votes
Fattal error while baking controllers
Hi, I've created model associations on my own in my Project, because baking models skipped few FK (difrent names for db columns). And now, when Im trying to bake controllers I've got fatall error like below. it doesnt matter which controller Im...
1 answer
0 votes
Form->create not working as documented
when I add
$this->Form->create('Hello');
the generated output
/stock/index.php/hellos
there is no "add" at the end of the link in the form
Is this a bug?
0 answers
0 votes
Email Validation
Hi Im looking for a rule that will only allow one type of email address to register.
EG: only people with the extension .ac.nz will be able to join.
Thanks.
2 answers
0 votes
Update AROs table from existing users table?
Hi all,
How can I update aros table automatically when my user table has changed manually.. I've imported a new user table with a lot more user records.. but the problem is the aro table still unchanged. So how can I update it?
0 answers
0 votes
SQL QUERY
Pls help me on the translation of this sql query code into cakephp...
"SELECT DISTINCT
products.productid,
products.prodname,
Sum(stockins.stkinqnty) AS Stocks_IN ,
Sum(stockouts.stkoutqnty) AS Stocks_OUT,sum(stockins.stkinqnty)-...
0 answers
0 votes
Another simple question...
I got the following MySQL SQL code:
CREATE TABLE DOCENTES (
id INT UNSIGNED NOT NULL,
NAME VARCHAR(60) NOT NULL,
PRIMARY KEY (id)
);
Model:
class Docente extends AppModel {
var $name = 'Docente';
}
Controller:
class... 2 answers
0 votes
I think is a simple question but...
Hi,
I'm really new in cakephp world. I got the following sql MySQL code:
--- SQL CODE ---
CREATE TABLE DOCENTES (
ID INT UNSIGNED NOT NULL,
NAME VARCHAR(60) NOT NULL,
PRIMARY KEY (ID)
);
CREATE TABLE EVALUACIONS (
ID INT(11) UNSIGNED NOT... 1 answer
0 votes
Auth Component not working on CakePHP 2.0
I have tried most if not all tutorials for CakePHP 1.3 on their Auth method and non seem to work on CakePHP 2.0.
I can add users, hash the passwords, but the login feature does not work. It just refreshes the page when I click on login. No errors,...
1 answer
0 votes
Auth validation
I'm trying to build a register action for my User object. My form has just four fields
username
password
confirm_password
Of course confirm_email isn't a field in the database, I just want to check it matches to stop typos..
But how can I...
1 answer
0 votes
Rewrite Module
I'm really going crazy trying to figure out why this is not working.
I have read the documentation on how to setup cakePHP running under apache. I have setup my httpd.conf accordingly, and have made sure all .htaccess files are the way they are...
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.







