. That ends in an
error: Controller not found.
Entity and Table looks fine.
The Problem seems that Bake links the join Table in the Controller and the
Views.
Does anybody experience the same problems?
Best pola
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http
Try it please out:
DROP TABLE IF EXISTS `batches_documents` ;
CREATE TABLE IF NOT EXISTS `batches_documents` (
batch_id INT(11) NOT NULL,
document_id INT(11) NOT NULL,
PRIMARY KEY (`batch_id`,`document_id`)
);
DROP TABLE IF EXISTS `batches` ;
CREATE TABLE IF NOT EXISTS `batches` (
You must be aware in the checkout that the user who own the file is
apache if you run a php script.
On Oct 26, 3:28 am, frederic bollon fbol...@gmail.com wrote:
Hi JeremyL
You should give try to Fredistrano,http://code.google.com/p/fredistrano/.
It automates the export of your sources from
I use eclipse-pdt. I add cake like a library and I the IDE provide
code completation and phpdoc preview of the selected function or
variable.
If you want to have code completation for a model in the controller
you must declare the variable explicity like $person = new Person();
and comment the
/pola/stuff/werkbank/emmall/generator/
trunk/output/
Notice: Hex number is too big: 0x1 in /home/pola/stuff/
werkbank/emmall/generator/trunk/output/vendors/Zend/Search/Lucene/
Storage/File.php on line 268
Notice: Hex number is too big: 0x1 in /home/pola/stuff/
werkbank/emmall
I catch the error with a Caveman's method in cake 1.1
if( $this-Model-save($data)){
if($id == -1) $id = $this-Model-getLastInsertID();
}
else {
$error_msg = mysql_error();
if(strpos($error_msg, 'Duplicate entry') != -1 ){
// do something
}
}
I