Re: help with layout error message

2008-08-29 Thread kienpham2000
Hi, I just encountered this same problem. I have figured out my mistake by just create the Array.ctp and just print out the content: ?= $content_for_layout; ? My problem is that I have done a $this-Session-setFlash() on the controller and forgot the default layout for the flash. It should be

Re: help with layout error message

2008-07-20 Thread .
Glad that helped. Just add id parameters to your forms and have your JS refer to the specific id of your form, and that should fix it. This got rid of my array.ctp error, but I am seeing a separate issue still with IE6 right now (a JS issue), which i'll take a look at later... On Sat, Jul 19,

Re: help with layout error message

2008-07-19 Thread __g
Did you figure out? I am having a similar problem. It seems like the default layout is missing in the action and it renders only the view file for that action. I also have a couple of forms on the page with links 'onclick=document.form_name.submit()' As reported originally, it happens randomly.

Re: help with layout error message

2008-07-19 Thread .
Do you have more than 2 forms on a single page? I believe this was what caused this issue for me. I had 2 forms, and 2 buttons. The buttons called a javascript function, which then did the form submit. I think the JS script was confused which form to submit. After I fixed this, I haven't seen this

Re: help with layout error message

2008-07-19 Thread Gaurav Sharma
Yes, I actually had 3 forms on the page. 2 of them nested with JS for submit. I have now removed the forms and things look fine so far. On Sat, Jul 19, 2008 at 5:45 PM, . [EMAIL PROTECTED] wrote: Do you have more than 2 forms on a single page? I believe this was what caused this issue for me.

Re: help with layout error message

2008-07-14 Thread .
i seem to be getting this same error message every now and then. Even on my live test server... Anyone has seen this error? Array.ctp view cannot be found? On Fri, Jul 11, 2008 at 1:44 AM, Marc MENDEZ [EMAIL PROTECTED] wrote: Absolutely no idea, and it may be hard to find why since this kind

Re: help with layout error message

2008-07-14 Thread .
It seems to happen in IE7, but not Firefox. hmm.. On Mon, Jul 14, 2008 at 3:41 AM, . [EMAIL PROTECTED] wrote: i seem to be getting this same error message every now and then. Even on my live test server... Anyone has seen this error? Array.ctp view cannot be found? On Fri, Jul 11, 2008 at

help with layout error message

2008-07-11 Thread .
I need help with this error message please. I do not have any Array.ctp layout file. Why am I getting this all of a sudden? Missing Layout *Error: *The layout file *C:\xampp\htdocs\app\views\layouts\Array.ctp* can not be found or does not exist. *Error: *Confirm you have created the file: *

Re: help with layout error message

2008-07-11 Thread .
I am not referring to any Array.ctp whatsoever. Why do I get this error? Thanks On Fri, Jul 11, 2008 at 12:42 AM, . [EMAIL PROTECTED] wrote: I need help with this error message please. I do not have any Array.ctp layout file. Why am I getting this all of a sudden? Missing Layout *Error:

Re: help with layout error message

2008-07-11 Thread Marc MENDEZ
Hi, Look in the controller containing the action which raised this error, if you don't use a $layout variable or call setLayout() ? . a écrit : I am not referring to any Array.ctp whatsoever. Why do I get this error? Thanks On Fri, Jul 11, 2008 at 12:42 AM, . [EMAIL PROTECTED]

Re: help with layout error message

2008-07-11 Thread .
Hi I do not have a var $layout or any setLayout in the controller. The wierd thing is this was working just yesterday... On Fri, Jul 11, 2008 at 1:00 AM, Marc MENDEZ [EMAIL PROTECTED] wrote: Hi, Look in the controller containing the action which raised this error, if you don't use a

Re: help with layout error message

2008-07-11 Thread .
This seems to happen in all of my controllers where the view has a form submit. after I submit the form (any form) i get this error. On Fri, Jul 11, 2008 at 1:07 AM, . [EMAIL PROTECTED] wrote: Hi I do not have a var $layout or any setLayout in the controller. The wierd thing is this was

Re: help with layout error message

2008-07-11 Thread .
I just restarted the Apache server and mysql server, and it worked! I am still curious why this though. Any ideas? I am using XAMPP. On Fri, Jul 11, 2008 at 1:12 AM, . [EMAIL PROTECTED] wrote: This seems to happen in all of my controllers where the view has a form submit. after I submit the

Re: help with layout error message

2008-07-11 Thread Marc MENDEZ
Absolutely no idea, and it may be hard to find why since this kind of behavior is difficult to reproduce Happy it works again ! . a écrit : I just restarted the Apache server and mysql server, and it worked! I am still curious why this though. Any ideas? I am using XAMPP. On Fri, Jul