'Notice: undefined index' only in baked views

2008-02-14 Thread beetlejuice

hi all,

i uses cake 1.1.19.6305 and got pb while baking views.

i got 'Notice: Undefined index'
when cake is trying to build a link to the view of an associated
model.
in the baked source of a index.thtml, you clearly see the problem :
e.g.
link($catwalk['']['id'], '/admin/catwalkhomes/
view/' .$catwalk['']['id'])?>
instead of :
link($catwalk['catwalkhomes']['id'], '/admin/
catwalkhomes/view/' .$catwalk['catwalkhomes']['id'])?>

i don't have this pb if i'm using 'pure' scaffolding
so the pb must be in bake ?

FYI : i got this warning (don't know if related)
Warning: Invalid argument supplied for foreach() in D:\...
\cake_1.1.19.6305\cake\scripts\bake.php on line 917

what am i missing ?
thanks in advance   :)

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: session doesn't work if model file begins with blank line ?!

2008-01-09 Thread beetlejuice

@David :
@ Martin :
many thanks for your precious answers.
it is obvious now :)

I have another pb now !
Now, with my cakephp 1.1.19.6305,
sessions work with IE6,  :-)
but not with Firefox 2.0.0.11   !!!   :-(

i may try with cakephp 1.2
otherwise, if you have any idea ?

best regards

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: session doesn't work if model file begins with blank line ?!

2008-01-09 Thread beetlejuice

@David :
@ Martin :
many thanks for your precious answers.
it is obvious now :)

I have another pb now !
Now, with my cakephp 1.1.19.6305,
sessions work with IE6,  :-)
but not with Firefox 2.0.0.11   !!!   :-(

i may try with cakephp 1.2
otherwise, if you have any idea ?

best regards

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: session doesn't work if model file begins with blank line ?!

2008-01-09 Thread beetlejuice

@David :
@ Martin :
many thanks for your precious answers.
it is obvious now :)

I have another pb now !
Now, with my cakephp 1.1.19.6305,
sessions work with IE6,  :-)
but not with Firefox 2.0.0.11   !!!   :-(

i may try with cakephp 1.2
otherwise, if you have any idea ?

best regards

--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



session doesn't work if model file begins with blank line ?!

2008-01-08 Thread beetlejuice

hello all,

FYI :
i'm using cakephp 1.1.19.6305
and was about to commit suicide because of session handling.
some actions from a controller without model were doing great with
session,
others from another controller (with model) couldn't handle session
(passing vars from one to another).

i finally noticed that the models in use in the faulty controller got
a blank line, at the beginning of the file, like this :

- begin -

http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: session problems with cake 1.18 and CAKE_SECURITY=high?

2008-01-07 Thread beetlejuice

Hello,

did you resolve your session issues ?
i saw your bug report was set to invalid, but with no explaination.

i'm just following a basic tuto with login and session (Cook up Web
sitesfast withCakePHP part3) and i'm stuck.

the data i wrote into the session when user successfully logged in are
no longer available in the next page.

do you have an idea ?

many thanks in advance :)






--~--~-~--~~~---~--~~
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, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---