try groups
On Mon, Mar 3, 2008 at 11:07 PM, Baz [EMAIL PROTECTED] wrote:
Stumbled onto this, hoping someone could guide me as to what is the
expected behavior before I file a ticket in trac:
Trying to add a select drop down list:
Let's assume, we have a simple model with a belongs_to
Well, that's my question:
Is this is bug (oversight)? $form-text, $form-checkbox both
autofill, so should I report this?
On Tue, Mar 4, 2008 at 12:34 AM, Samuel DeVore [EMAIL PROTECTED] wrote:
On Mon, Mar 3, 2008 at 11:24 PM, Baz [EMAIL PROTECTED] wrote:
I take it you meant:
$form
On Mon, Mar 3, 2008 at 11:24 PM, Baz [EMAIL PROTECTED] wrote:
I take it you meant:
$form-select('groups')?
$groups = $this-MyModel-find('list')
$this-set(compact('groups'));
Is what I was thinking, but I don't think FormHelper::select supports
the auto finding of the options array like
via svn, this fix doesn't happen in my core library.
For instance, I just looked at line 30 in schema.php (bug fix 6319)
and the string class is not included after I updated.
However, I manually added the 'string' class on my box in schema.php
and it still didn't solve the problem
I have a few apps installed that I am working on locally I have cakephp set
up to bake and all was fine.
Yesterday I updated from svn. and Then all my apps rendered blank screen or
displayed an error message.
I managed to solve the issue.
I put the following in cakes pages controller
Hi Sam, two things:
(1) I just fixed a bug in Object::dispatchMethod() that may have been
causing your issue. Update to the latest SVN and see if that fixes
it.
(2) If not (and I don't normally do this), but could you zip up the
application that is causing the issue and email it to me? I'll
I have updated to the latest SVN. All is well.
thanks Nate :)
On 23/02/2008, nate [EMAIL PROTECTED] wrote:
Hi Sam, two things:
(1) I just fixed a bug in Object::dispatchMethod() that may have been
causing your issue. Update to the latest SVN and see if that fixes
it.
(2
by (output
started at
C:\apache2triad\htdocs\cakeapp\app\controllers\components\email.php:116) in
C:\apache2triad\htdocs\cakeapp\cake\libs\controller\controller.php on line
447
--
View this message in context:
http://www.nabble.com/Bug-while-using-PHPmailer-tp15452984p15452984.html
Sent from
:\apache2triad\htdocs\cakeapp\cake\libs\controller\controller.php on line
447
--
View this message in
context:http://www.nabble.com/Bug-while-using-PHPmailer-tp15452984p15452984.html
Sent from the CakePHP mailing list archive at Nabble.com.
--~--~-~--~~~---~--~~
You
- headers already sent by
(output
started at
C:\apache2triad\htdocs\cakeapp\app\controllers\components\email.php:116)
in
C:\apache2triad\htdocs\cakeapp\cake\libs\controller\controller.php on
line
447
--
View this message in
context:http://www.nabble.com/Bug-while-using-PHPmailer
)));
$id = $this-Package-lastInsertId();
$this-out('New package recognised: ' . $this-args[0]
. ' (' . $id
. ') belongs to ' . $section);
}
$this-out($id);
// return $id;
}
}
?
Should I report it as a bug
Hi djiize,
Thanks a ton i have resolved that bug. Actually there is a space after
the (?) closing tag and after removing that my code is working fine..
Thankyou very much for your help:-)
djiize wrote:
in your email.php component file, check if there's nothing after
closing tag
] wrote:
Hi djiize,
Thanks a ton i have resolved that bug. Actually there is a space after
the (?) closing tag and after removing that my code is working fine..
Thankyou very much for your help:-)
djiize wrote:
in your email.php component file, check if there's nothing after
good start to Email core component:
http://book.cakephp.org/view/176/email
On 13 fév, 15:41, searchmax [EMAIL PROTECTED] wrote:
Hi djiize,
Thanks a ton i have resolved that bug. Actually there is a space after
the (?) closing tag and after removing that my code is working fine
', $id));} else {
$this-Session-setFlash(__('The Contentclass was saved but the
attributes faild to saved', true));
}
In the api it says True on success, or an array of validation errors
on failure public.
Is this a bug?
--~--~-~--~~~---~--~~
You
));
}
In the api it says True on success, or an array of validation errors
on failure public.
Is this a bug?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email
try this one
if($this-Contentclass-saveAll($this-data)) {
$this-Session-setFlash(__('The Contentclass and all attributes
has been saved', true));
$this-redirect(array('action'='edit', $id));
} else {
$this-Session-setFlash(__('The Contentclass was saved but the
attributes faild to
Hi,
I'm Using CakePHP 1.19. I have a menu table with the following fields:
- id
- parent_id
- name
- link
For sorting purposes, I would like the menu to show ordered by Name
ASC.
When I use:
$this-Menu-findAllThreaded('','','name ASC');
The resulting array only contains siblings with a
attributes
has been saved', true));
$this-redirect(array('action'='edit', $id));} else {
$this-Session-setFlash(__('The Contentclass was saved but the
attributes faild to saved', true));
}
In the api it says True on success, or an array of validation errors
on failure public.
Is this a bug
This should work:
$categories = $this-Category-findAllThreaded($conditions,
array('Category.id','Category.parent_id','Category.name'),'Category.sort
ASC');
if not, use older cake release.
On 6 velj, 10:43, Bo-oz [EMAIL PROTECTED] wrote:
Hi,
I'm Using CakePHP 1.19. I have a menu table with
));
$this-redirect(array('action'='edit', $id));
} else {
$this-Session-setFlash(__('The Contentclass was saved but the
attributes faild to saved', true));
}
In the api it says True on success, or an array of validation errors
on failure public.
Is this a bug
in this particular release before I raised it as a bug
report.
I would have struggled to get this far without your blogpage and also
that of Jiri Kupiainen. Thank you for that!
On Feb 1, 6:03 pm, nate [EMAIL PROTECTED] wrote:
And I was answering a question with a question, as is my custom. The
Socratic method
...
Notice (8): Undefined variable: myClubNames [APP\views\customers
\edit.ctp, line 101]
So.. there's myerror... a definate bug I think and not just me
missing something.. what do you guys reckon? I'll post if i can get
my app working without too many troubles.. cheers!!
Lloyd
Created a new ticket: https://trac.cakephp.org/ticket/4066
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this
As it turns out, this error happens for all php syntax errors in
views.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
Cake actually comes with a default XML template which includes a short-
tags-compatible header, so you generally should not have to deal with
this.
On Feb 3, 1:20 pm, Howard Glynn [EMAIL PROTECTED] wrote:
This could be one of my favourite bugs that took me ages and ages to
figure out
a while
:
How is this a bug? Why can't you just wrap the output in an items /
tag?
On Jan 31, 12:21 pm, leo [EMAIL PROTECTED] wrote:
How about you back up that statement by making a bug report over at
trac.cakephp.org.
I did that before the last guy bit my head off. (#4038:
RssHelper::items
[EMAIL PROTECTED] wrote:
Check it
out.http://mentalramblings.info/posts/view/cakephp-rss-helper-implementation
Just whipped this up today.
HTH
Ron Chaplin
http://t73-softdesign.comhttp://mentalramblings.info
On Feb 1, 6:27 pm, nate [EMAIL PROTECTED] wrote:
How is this a bug? Why can't
BTW, please note the question mark in the subject line. I was asking
not denouncing.
Leo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
] wrote:
Check it
out.http://mentalramblings.info/posts/view/cakephp-rss-helper-implementation
Just whipped this up today.
HTH
Ron Chaplin
http://t73-softdesign.comhttp://mentalramblings.info
On Feb 1, 6:27 pm, nate [EMAIL PROTECTED] wrote:
How is this a bug? Why can't you just
i have put some xml code in views/controller/xml/action.ctp,
when I run this code http//servername/controller/action.ctp,
it gives error due to
blank charcters before starting of code
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
And I was answering a question with a question, as is my custom. The
Socratic method: dig it.
Now, as I said, the lack of an items / tag is hardly a fatal flaw.
What's wrong with just doing this:
items?=echo $rss-items($posts, 'transformRSS'); ?/items
On Feb 1, 3:49 am, leo [EMAIL PROTECTED]
Maybe a look into this might help:
http://mentalramblings.info/posts/view/cakephp-rss-helper-implementation
Now, as I said, the lack of an items / tag is hardly a fatal flaw.
What's wrong with just doing this:
items?=echo $rss-items($posts, 'transformRSS'); ?/items
On Feb 1, 3:49 am, leo
After testing, I've come to the conclusion that RssHelper::items() is
broken. RssHelper::item() works ticketyboo. I've now written my own
function to render the XML.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
How did you test? Why do you think it is broken? How did you try to
use this? How did you come to this conclusion?
Without providing any detail you are declaring it broken? Is not it nonsense?
On Jan 31, 2008 3:30 PM, leo [EMAIL PROTECTED] wrote:
After testing, I've come to the conclusion
On Jan 31, 10:36 am, Anupom [EMAIL PROTECTED] wrote:
How did you test? Why do you think it is broken? How did you try to
use this? How did you come to this conclusion?
Without providing any detail you are declaring it broken? Is not it nonsense?
If you care to look at the rest of this
in isolation with hard-coded input.
How about you back up that statement by making a bug report over at
trac.cakephp.org.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
How about you back up that statement by making a bug report over at
trac.cakephp.org.
I did that before the last guy bit my head off. (#4038:
RssHelper::items() dysfunctional) I'd like to think it's not a bug but
nobody seemed to notice my earlier posts, so I don't have any input
other than
Check it out.
http://mentalramblings.info/posts/view/cakephp-rss-helper-implementation
Just whipped this up today.
HTH
Ron Chaplin
http://t73-softdesign.com
http://mentalramblings.info
On Feb 1, 6:27 pm, nate [EMAIL PROTECTED] wrote:
How is this a bug? Why can't you just wrap the output
The problem is in /cake/libs/model/model.php line 364 and on. In the
code it says:
Line 1193 in Revision: 6398, Date: 2008-01-20 20:21:28 -0600 (Sun, 20
Jan 2008)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I found (and fixed) a bug in the model.php file, and I can't report it
in the trac system, so I thought I'd report it here in case someone
sees it and can fix it.
Whaaao!! Thanks a lot! I am a newbie to cake and since 2 days I
was running around this strange behaviour when saving a HABTM
...
Notice (8): Undefined variable: myClubNames [APP\views\customers
\edit.ctp, line 101]
So.. there's my error... a definate bug I think and not just me
missing something.. what do you guys reckon? I'll post if i can get
my app working without too many troubles.. cheers!!
Lloyd
btw I'm using:
Cake 1.2.0.6311 beta
PHP 5.2.4-2+b1 with Suhosin-Patch 0.9.6.2 (cli) (built: Jan 6 2008
23:43:13)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
mysql Ver 14.12 Distrib 5.0.51, for debian-linux-gnu (i486) using
readline 5.2
You must have unique aliases in for your associated models. If you
search the tickets you will find that this has been reported and
closed.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to
Thanks for giving attention to this Gwoo.
I was trying to find where is documented the use of unique aliases
across different models on the tickets and couldn't find it.
After some searching I found this bug: https://trac.cakephp.org/ticket/3584
The behavior reported here is exactly the same
'
)
);
}
A simple FirstObject-findAll() results in a blank page caused by an
endless loop inside ClassRegistry. It seems this is because
ClassRegistry uses the alias of the association as a key.
Is something wrong with my setup or is indeed a bug with ClassRegistry
if you use the same
:
Notice (8): Undefined variable: deptAdminStatus [APP\views\timecharges
\ajax_tog_dept_admin.ctp, line 1]
I think this might be a bug!
On Jan 22, 2:18 am, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I'm seeing some weird behavior in CakePHP 1.2 that may be a possible
bug, and wonder if anyone
Just an update to my situation. I'm pretty sure this error is due to
my fault.
I was debugging to pin point the source of error in my codes and I
figured this:
$departmentAdminData = array(
DepartmentAdmin = array(
account_id = $account_id,
I'm seeing some weird behavior in CakePHP 1.2 that may be a possible
bug, and wonder if anyone else can confirm it, or if it's just my
server. I'm using the beta download from cakephp.org. Whenever I make
a call to a variable in my view that is undefined I get this error:
Fatal error: Allowed
@Chris
I tried reporting to trac, but I got a 403 forbidden error when I
tried to create a new ticket (at https://trac.cakephp.org/newticket).
I realize now that I need to be registered (I just scanned the page
and looked for the report a bug button and clicked), and I will report
bugs through
array
(which can't be an array key, as like it is used in __doThread in
version cake-1.2.0.6311-beta).
I hope this is useful for debugging...
Best Regards,
Florian
https://trac.cakephp.org/wiki/bugreport
see bug #3810
--~--~-~--~~~---~--~~
You received
/wiki/bugreport
see bug #3810
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL
Hi!
the following code works in cake-1.2.0.5875
$this-Modelname-findAllThreaded(null,null, '`order` ASC');
but in cake-1.2.0.6311-beta the children are missing in the threaded
array (children is empty).
I did a little further investigation on this: I compared cake/libs/
model.php in both
On Jan 16, 2008 10:56 AM, Nina [EMAIL PROTECTED] wrote:
Hi All
I found (and fixed) a bug in the model.php file, and I can't report it
in the trac system, so I thought I'd report it here in case someone
sees it and can fix it.
Nina,
Is that can't or won't report the bug? It takes no more
(and fixed) a bug in the model.php file, and I can't report it
in the trac system, so I thought I'd report it here in case someone
sees it and can fix it.
The problem is in /cake/libs/model/model.php line 364 and on. In the
code it says:
if (isset($v[$n])) {
$v = $v[$n
Hi All
I found (and fixed) a bug in the model.php file, and I can't report it
in the trac system, so I thought I'd report it here in case someone
sees it and can fix it.
The problem is in /cake/libs/model/model.php line 364 and on. In the
code it says:
if (isset($v[$n])) {
$v
Oops, meant to reply to following thread,
http://groups.google.com/group/cake-php/browse_thread/thread/4fe253582dc85aed/5a51ff85d99061aa#5a51ff85d99061aa
but started this new one instead.
Please continue under the original thread - I will propagate this post
there.
On Jan 15, 5:29 pm,
I'm having exactly the same problem.
An app which has worked no problem since cake 1.1.11 up to and
including 1.1.18, is all of a sudden stuck in infinite loop due to
model associations in 1.1.9.
For what it's worth, the venerable BakeSale stable version is also seg
faulting in 1.1.19 due to
I'm a little confused about this, perhaps I'm missing something... but
when I update via svn, this fix doesn't happen in my core library.
For instance, I just looked at line 30 in schema.php (bug fix 6319)
and the string class is not included after I updated.
However, I manually added
.
For instance, I just looked at line 30 in schema.php (bug fix 6319)
and the string class is not included after I updated.
However, I manually added the 'string' class on my box in schema.php
and it still didn't solve the problem in the console.
- Cake Fan
On Jan 3, 5:00 pm, Christian Winther [EMAIL
this, perhaps I'm missing something... but
when I update via svn, this fix doesn't happen in my core library.
For instance, I just looked at line 30 in schema.php (bug fix 6319)
and the string class is not included after I updated.
However, I manually added the 'string' class on my box
Ok,
So this is completely weird ... anyone ever seen this before, maybe
I'm doing something wrong...
whenever I go to mydomain.com/employees/index/ the layout that I have
selected in the index function of my controller loads, but when I
click a pagination link like
Not sure if it would have any effect, have you tried changing
var $name = 'employees';
to
var $name = 'Employees';
Other thing I would check is the the links to your css are not
relative. Use Firebug to quickly see any 404's or other errors that
might be occurring.
Adam
Travis wrote:
Ok,
error there
instead of $res = $this-Tag-find('All',
you should use lowercase
$res = $this-Tag-find('all',
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to
I have my cake 1.2 shell script working properly in most regards; it
will help me immensely in converting a large flat table into
relational data for Cake consumption.
However, in the shell, whenever I try to call any of the Model query
commands, I get a failure.
So far, it has happened with
Update to SVN head from 1.2 branch, was fixed there :)
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cake Fan
Sent: 3. januar 2008 22:20
To: Cake PHP
Subject: Cake 1.2 Console - Fatal Errors - Possible Bug?
I have my cake 1.2 shell script
- Fatal Errors - Possible Bug?
I have my cake 1.2 shell script working properly in most regards; it
will help me immensely in converting a large flat table into
relational data for Cake consumption.
However, in the shell, whenever I try to call any of the Model query
commands, I get a failure
- Fatal Errors - Possible Bug?
Christian,
I am at Revision 6319, but the console still says 6311. I am only
updating the cake folder, so I'm not changing the app or vendors
folders at all. Am I missing something here because the problem still
persists after I updated as you suggested.
Thanks
i think that i found a bug en find('All'.
i have this source
echo $tag;
$res = $this-Tag-find('All',array('conditions' = array('nombre' =
%.strtolower($tag))).%);
and i get this error
musica
Query: SELECT `Tag`.`Array%` FROM `tags` AS `Tag` WHERE All LIMIT 1
any idea ?
how can help me
Report all bugs to trac.cakephp.org
trust me, it's much better and faster. It goes straight to the developers.
On Jan 2, 2008 8:51 PM, stefano [EMAIL PROTECTED] wrote:
i think that i found a bug en find('All'.
i have this source
echo $tag;
$res = $this-Tag-find('All',array
$this-Tag-findAll( array('nombre' = 'LIKE
%'.strtolower($tag).'%') );
On Jan 3, 12:51 pm, stefano [EMAIL PROTECTED] wrote:
i think that i found a bug en find('All'.
i have this source
echo $tag;
$res = $this-Tag-find('All',array('conditions' = array('nombre' =
%.strtolower($tag
Hi, I was using generateDateTime and what I found I was that if the
value in my datetimefield field is say '2007-12-28 12:30:00', the
meridian would be rendered AM in my view, though it should be PM.
Any Ideas !
--~--~-~--~~~---~--~~
You received this message
are being created
before calling this page, $page_titleis not.
I've tried to track the calling function, but can only get as close as
_render() in view.php. Sometimespage_titleis called as pageTitle,
which I think is where the bug lies.
I've just noticed the exact same thing :) Just been taking
two patch diffs posted on this bug to fix this problem, but the bug
was marked invalid before these were posted.
The patches fix the sort column issue, but not the paging links.
I created a consolidated patch for paginator.php file, which I could
not attach to the ticket.
Index: paginator.php
is not.
I've tried to track the calling function, but can only get as close as
_render() in view.php. Sometimes page_title is called as pageTitle,
which I think is where the bug lies.
Rob.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
))
Is it a bug or my statement was not correctly written.
Thanks,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from
On Nov 21, 3:23 pm, Adam Royle [EMAIL PROTECTED] wrote:
I agree - it gets pretty convoluted when you add a bit of complexity
into the conditions.
Where is the complexity in the stated example?
Any nested array that is written on a single line is going to be
'difficult' to read as such it's
` WHERE
`PromoCode`.`start_date` '2007-11-19 17:38:54' AND
((`PromoCode`.`active` 1))
According to the official manual (http://manual.cakephp.org/chapter/
models) I expected
OR (`PromoCode`.`active` 1)
instead of
AND ((`PromoCode`.`active` 1))
Is it a bug or my statement
` WHERE
`PromoCode`.`start_date` '2007-11-19 17:38:54' AND
((`PromoCode`.`active` 1))
According to the official manual (http://manual.cakephp.org/chapter/
models) I expected
OR (`PromoCode`.`active` 1)
instead of
AND ((`PromoCode`.`active` 1))
Is it a bug or my statement
`PromoCode`.`start_date` '2007-11-19 17:38:54' AND
((`PromoCode`.`active` 1))
According to the official manual (http://manual.cakephp.org/chapter/
models) I expected
OR (`PromoCode`.`active` 1)
instead of
AND ((`PromoCode`.`active` 1))
Is it a bug or my statement was not correctly written
' AND
((`PromoCode`.`active` 1))
According to the official manual (http://manual.cakephp.org/chapter/
models) I expected
OR (`PromoCode`.`active` 1)
instead of
AND ((`PromoCode`.`active` 1))
Is it a bug or my statement was not correctly written.
Thanks
feature
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options,
Just found the problem: long story short, it was me being stupid.
Sorry,
J.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To
, I get
the empty array( );
code
$areas = $this-Area-generateList( null, 'area_name ASC', null,
'{n}.Area.id', '{n}.Area.area_name' );
print_r($areas);
/code
Does anybody recognise this bizarre occurrence? My instinct is that it
is a bug in PHP rather than cake, but I cannot recreate it in a stand
My version of php might be important:
$ php -v
PHP 4.3.9 (cgi) (built: May 4 2007 11:04:51)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Thanks,
J.
--~--~-~--~~~---~--~~
You received this message because you
I agree with Grant Cox..
You can't just write any variable to a cookie. With plaintext strings
this works, but when you have complex datatypes like multidimensional
arrays, you have to convert it somehow to a plaintext string.
This is exactly where the serialize() function kicks in: the only
Sorry, didn't know cookies were plain text.
So serialization *should* work always, but it doesn't if you set the
encryption option to *off*.
I'm just sharing information trying to save others the hours I've spent with
this problem.
--
Baz L
Web Development 2.0: Web Design, CakePHP, Javascript
*Sigh*,
So I've been pulling out my hair for a while until I figured, this thing
just doesn't work the way it should.
Here's my scenario very simplified with test data:
Controller1:
$arr['name']['1'] = '21';
$arr['name']['2'] = '21';
$arr['name1']['1'] = '21';
$this-Cookie-write('zilla', $arr,
*Probably* the following will work:
before writing your array to the cookie:
$arr = serialize($arr);
after reading it from your cookie (when $cookval is the value you read
from your cookie):
$arr = @unserialize($cookval);
This way you should have your whole array back.
Note however that I
Thanks for the response, but here's a few FYIs.
- What I posted before works fine with Sessions. That's actually how I
determined the problem. I was building a remember me for a login. And I
thought I could just dump the session variable in a cookie and retrieve
later. So maybe if
The reason it works in the first controller is because it is not
reading from the cookie itself - it also saves the data to a local
variable and it is reading back from that. Because there is no
automatic serialization going on, only strings are written to the
cookie - so a complex data type
Must be the s from pluralize with $module['Module']['name'] beeing
empty.
On 8 Nov., 17:57, mbavio [EMAIL PROTECTED] wrote:
Hi, i´m trying to add a menu using renderElement, all works fine
except that Cake is adding an 's' before the generated code... Is it a
bug? Or i´m a bug?
Here
is adding an 's' before the generated code... Is it a
bug? Or i´m a bug?
Here is the code...
In layout 'backend.ctp':
ul id=menu
?php echo $this-element('admin_menu');?
/ul
In element 'admin_menu.ctp':
?php
$modules = $this-requestAction('modules/createMenu');
foreach
be the s from pluralize with $module['Module']['name'] beeing
empty.
On 8 Nov., 17:57, mbavio [EMAIL PROTECTED] wrote:
Hi, i´m trying to add a menu using renderElement, all works fine
except that Cake is adding an 's' before the generated code... Is it a
bug? Or i´m a bug?
Here
You should update your cake core.
The newest escape function reads:
00073 function escape($string, $connection = 'default') {
00074 $db = ConnectionManager::getDataSource($connection);
00075 if (is_numeric($string)) {
00076 return $string;
00077 }
00078
sanitize.php
/**
* Makes a string SQL-safe.
*
* @param string $string String to sanitize
* @param string $connection Database connection being used
* @return string SQL safe string
* @access public
* @static
*/
function escape($string, $connection = 'default') {
i forgot say, using cakephp 1.2 alpha
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
Well, I looked closer and it's not on an AJAX call, but on a redirect
to a previously visited page. I think it's a caching issue with
FireFox, but I cannot figure out how to resolve this
On Oct 5, 6:36 am, jonathan [EMAIL PROTECTED] wrote:
I believe I am experiencing the same thing.
I believe I am experiencing the same thing. Session is fine one
minute, and gone the next (after AJAX call). IE is fine, problem only
happens in FireFox. Anyone come up with a solution?
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I'm experiencing the problem in every other browsers I've tried: IE6, Opera,
Safari (mac).
Your problem sounds different, but for all I know it could be related. Are
you writing data to the user's session in the action that's being called as
well?
- Arjen
On 10/5/07, jonathan [EMAIL PROTECTED]
501 - 600 of 781 matches
Mail list logo