OK. Zero cannot be an unnamed parameter like this: /mycontroller/index/
0, it's a feature. But this the test below fails too:
$result = Router::url(array('controller'=>'mycontroller',
'action'=>'index', 'id'=>0));
$expected = '/mycontroller/index/id:0';
$this->assertEqual($result, $expected);
So
@Marcin - I searched all over for argSeperator (and argSeparator, I
guess whoever coded the feature can't spell though :P ). I found a
bunch of articles saying to set a variable $argSeperator in
app_controller.php to another character to make it work, but it didn't
work for me.
@Nate - I already
Sorry for the (sort of) double post there, G. Groups didn't seem like
the post was going through.
On Jun 12, 10:13 pm, silverquick <[EMAIL PROTECTED]> wrote:
> It sounds like the .htaccess file in your Cake root dir is not being
> recognised. Sorry if you know this already but by default it conta
> In CakePHP I noticed the cipher() function as part of the Security
> class. At first glance however, I wasn't able to discern what type of
> encryption scheme is being used.
It's a simple symmetric key bitmask cipher.
> My question is this: How does CakePHP's cipher() function stack up
> again
RC1 / SVN HEAD of cake1.2 - and what dbo type?
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of elGEoRgE
Sent: 15. juni 2008 01:11
To: CakePHP
Subject: ACL inherit access not working
I have 2 tables: users and groups. So I setup my aco/aro config
Thank you. After all, I think the book is wrong on this point so
instead I submitted a change to the book!
On 11 jun, 23:31, Grant Cox <[EMAIL PROTECTED]> wrote:
> Create an account athttps://trac.cakephp.org/register
>
> Then readhttps://trac.cakephp.org/wiki/bugreport
>
> and you will be able t
I have 2 tables: users and groups. So I setup my aco/aro configuration
accordingly.
The problem is that when I setup the parent permission, the check for
child permissions wont work:
I created the schema from scratch:
---
cd 1.2.x.x_14.06.2008/cake/console
$ ./cake schema run create DbAcl
I don’t recall blowfish ever being secure ;)
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
seedifferently
Sent: 14. juni 2008 23:13
To: CakePHP
Subject: How strong is Security::cipher() ?
Dear group,
I'm writing an app in CakePHP and need to
I have my cake/console directory in my path. 'cake' gives the expected
welcome message if invoked w/o arguments from any directory, but 'cake
myshell' fails with a 'bus error' if I try to run from my app
directory. It only works from cake/console (where I must run it as
'cake -app ../../app myshel
Dear group,
I'm writing an app in CakePHP and need to encrypt highly sensitive
information in one part of the app. I know that no encryption plan is
absolutely bulletproof, but I've used PHP's mcrypt function in the
past with satisfactory results.
In CakePHP I noticed the cipher() function as pa
hello,
i have already noticed a component for accepting paypal payments in
cake1.1, but couldnt make it work in cake1.2
cake1.1 paypal component is here on bakery
http://bakery.cakephp.org/articles/view/paypal-direct-payment-api-component
can anyone please help me with it?
thanks
--
Fahad
http:
Hi,
I am building an application that checks a pop3 email box and if there
are new messages, it then checks what messages have attachments, and
parses the attachments that are images(jpg,png,gif only). So in
essence it is an application that allows users to send images via
email and then they get
If you set atomic => true, it should work since it will issue a
rollback for transaction.
Can you set debug to 2 and look at the DB traces
I guess your table are in ISAM, try with innoDb
hth
On Jun 14, 2:25 pm, Jaime <[EMAIL PROTECTED]> wrote:
> BTW I'm using Cake 1.2.0.7125 RC1 (model.php revisi
Hello,
Has anyone else noticed that Auth with Acl is not working in RC1?
It seems that this call in startup is not allowing the IsAuthorized to
be called automatically because it will never go past here unless
allow has been set for the current url.
line290 of auth.php
if ($loginAction != $url &
On Sat, Jun 14, 2008 at 12:35 AM, garrettjohnson <[EMAIL PROTECTED]> wrote:
>
> Sorry if this seems like a horrible question, but i am new to php, but
> i have been looking around for a framework to develop with while i
> mess with php, i have heard in the past that since cake was origally
> built
Hopefully a simple question: is there a way to change the number of page
links from the default 8 in the pagination component on a per-controller
basis?
I tried to figure it out but wasn't successful,
Alain
--~--~-~--~~~---~--~~
You received this message because
On Jun 12, 12:54 pm, AD7six <[EMAIL PROTECTED]> wrote:
> It's redundant only if you have no model associations unless you want
> to risk for example, Post.comment being impossible to access.
But shouldn't this logic also apply to associated models. Currently,
if you have a post and its comments,
Sorry if this seems like a horrible question, but i am new to php, but
i have been looking around for a framework to develop with while i
mess with php, i have heard in the past that since cake was origally
built with php4.
Is 1.2 revamped to take advantage of the new object oriented features
i
Thanks.
But i want a Tags table for post and another Tags table for
user profiles. The association for each one is HasONe.
Can i use?
posts
posts_posttags
posttags
profiles
profiles_profiletags
profiletags
Abhimanyu Grover escribió:
> Just use
>
> posts_tags
> profiles_tags
>
> Remember,
You could declare, after the list of comment, an empty "comment" for
future insertion :
Then in your view, make a javascript block :
$last_post = ''.$comment.''; // format the display of your
comment
$last_post .= ''; // add a new place
holder for last_comment
$last_post = str_replace(arr
Hello fracnky,
I dont actually yield out the whole comment pane from the view of add
action after the user has published a comment. I yield out only the
single comment the user has posted or error in case there is an error.
Thats why i am facing the trouble.. I hope i were clear.
thanks.
On Jun
BTW I'm using Cake 1.2.0.7125 RC1 (model.php revision 7118)
--~--~-~--~~~---~--~~
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 this grou
Hi group,
I'm not sure if I'm misunderstoonding something or if I've found a bug
in /libs/model/model.php.
It happens when I use saveAll() to save a bunch of records of the same
model:
$this->Mymodel->saveAll($this->data['Mymodel'], array('validate' =>
'first'))
This should do two things:
1.-
Had a look, I think its best to add a field - that was my last option
though...
Thanks for help though.. :)
On Jun 14, 9:18 am, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 13, 2008 at 7:36 PM, Abhimanyu Grover <[EMAIL PROTECTED]>
> wrote:
>
> > Is there any workaround I can do?
>
you can update several divs using a view such as :
echo $ajax->div('div1');
..
.. html code or javascript
echo $ajax->divEnd('div1');
echo $ajax->div{'div2')
.. html
echo $ajax->divEnd('div2');
The div1 and div2 will be updated if they are into the 'update'
array..
div1, could be the error div,
Hello Alessio,
If i understood it correctly, then you are having a comments box where the
user posts comment, after he posted the comment you want to update comments
area without updating the page, right? if thats the case, then i am also
stuck with a same problem. My question is that how do you d
I noticed i forgot to add my links in alphabetical order, also moved
another link i saw mas misplaced
Click on http://groups.google.com/group/cake-php/web/cakephp-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~~~---~--
Hello guys,
I have a page where users can post comments on the enteries. When ever
the user posts a comment the flow goes to usual Comments controller's
add function, if the call to add succeeds then i update the comments
area with the new posted comment using script aculo'ish effects. Now
if hav
I forgot my username in bakery. :-) How to restore it? 'Reset
password' just resets password :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegro
29 matches
Mail list logo