What get you printed out doing a print_r($data) just before the: if
($this->Merit->save($this->data)) {return true;} ?
What if you save the ID manually into $this->data ?
$this->data['Application']['id'] = yourIDFromYourSession();
--~--~-~--~~~---~--~~
You receiv
Sure you can,
If you want to do that you need to read all the params (func_get_args)
and make your custom logic.
I took this code from the bakery in order to do this example. Hope
this helps:
function display() {
if (!func_num_args()) {
$this->r
> ok, disabling the security component it works!
Good news! =)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from thi
This problem is really strange.
Try putting this at the top:
$this->autoRender = false;
I've had problems like this but in my case were by inexistent view
calls.
Are you using the last stable version ?
Have you got access to the HTTP Access Log ?
Try debugging with die('something').
On Mar
As I can see you are using views from a different directory. This
might be the problem.
Please put this line at the end of the controller method:
$this->render('edit', 'default', '/materiali/edit');
I think that CakePHP is trying to render a view that doesn't exist.
Tell us if it works for you.
t; prefer:https://trac.cakephp.org/changeset/8125
>
> /Martin
>
> On Mar 23, 10:41 am, Mauricio Morales wrote:
>
> > Hey,
>
> > I haven't tested it yet. But you can see here the last changes in
> > Paginator Helper:
>
> >https://trac.cakephp.org/changeset?new=br
Hey,
I haven't tested it yet. But you can see here the last changes in
Paginator Helper:
https://trac.cakephp.org/changeset?new=branches%2F1.2.x.x%2Fcake%2Flibs%2Fview%2Fhelpers%2Fpaginator.php%408092&old=branches%2F1.2.x.x%2Fcake%2Flibs%2Fview%2Fhelpers%2Fpaginator.php%407847
https://trac.cak
You can manually delete the tmp/cache/models/* data.
Are you sure that your table was created with the same DB user that
Cake's App uses?... It could be a permission problem.
On Mar 9, 4:36 pm, Rimoe wrote:
> Thank you for your answer,
> so I have use the (Cache::clear()) in my controller,
> bu
I've used the field "id" with varchar type as PrimaryKey.
I only specified the ID as notEmpty in the $validate array.
Model::getLastInsertID() will not work but as you know that the ID is
varchar type you will be careful in your app. logic.
Try it, an let us know if you have problems. And obvio
Damn,
It was a 8 OSI-Layer error. :=) . There is no errors.
On Feb 28, 10:54 pm, Mauricio Morales wrote:
> Hi folks,
>
> I've got the same problem.. It's really strange because all of my code
> was working in the last Beta version.
>
> This is my DB table:
>
I just downloaded Netbeans for PHP 6.5 and it's great. I've been
using Eclipse for a long but I think you can enjoy Netbeans (open
source and works in linux, mac, windows).
http://www.netbeans.org/features/php/
--~--~-~--~~~---~--~~
You received this message beca
Hi folks,
I've got the same problem.. It's really strange because all of my code
was working in the last Beta version.
This is my DB table:
CREATE TABLE intracategories (
id SERIAL PRIMARY KEY,
parent_id INT,
lft INT,
rght INT,
name VARCHAR(255),
tags VARCHAR(255),
i
I've gotten the same problem when I put the entire application into a
directory that contain the words:
"app"
or
"cake"
If your directory's real name is "myapp" try changing it for
"mysoftware" and reload again, there is no necessary to
alter .htaccess files.
Hope help.
On Jan 26, 5:05 am, i
I've got Coda and Eclipse PDT, with no doubts I recommend Eclipse PDT
and I think I will do it for all life.
Although Coda is thin and pretty, isn't as robust as Eclipse, with
Eclipse you can install a big quantity of plugins to manage databases,
UML graph, FTP integration, SVN integration, and s
I recommend A2Hosting, that Company has a great support and good
servers. (http://www.a2hosting.com)
On Jan 24, 9:49 pm, Petorama wrote:
> Hi all,
>
> My site was done with CakePHP (Petorama.com) and I love the way it
> came out, but my hosting company serves it very slowly. I use
> GoDaddy.c
What kind of DB are using ?
On 8 dic, 20:47, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> How can I do it?
>
> On 6 Dic, 10:35, Mauricio Morales <[EMAIL PROTECTED]> wrote:
>
> > Hi Marco,
>
> > I think that you can't do it wit
Hi Marco,
I think that you can't do it with official methods, however you can
implement this functionality.
On Dec 5, 11:27 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I have this question that I can't resolve.
> I hope that someone can help me.
> How can I set a HABTM relation between
Hey,
I have Hosting with an excellent hosting company called A2Hosting,
http://www.a2hosting.com/, this company maintains the PHP Version Up
2 Date, and allow shell access for resellers.
Hope this help you.
On Jun 23, 10:19 am, leo <[EMAIL PROTECTED]> wrote:
> I'm in Europe and I've never yet
Hey Jonah,
You have chosen an excellent Framework, and Cake 1.2 is so much
powerful than 1.1.
Enjoy the features, and browse into the Bakery (http://
bakery.cakephp.org) where you can find good tutorials, and a lot of
code.
Greetings,
On May 31, 10:46 am, "Turnquist, Jonah" <[EMAIL PROTECTED
I have the same strange problem...
I'm working with CakePHP 1.2B and sessions saved into a PostgreSQL
Database.
On Mar 16, 7:58 am, jano <[EMAIL PROTECTED]> wrote:
> I'm sorry to bother you with this strange problem, but I don't know
> really how manage it.
> Permorfing some action in my cake
20 matches
Mail list logo