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
$this-Session-setFlash('message', 'default', array()); I have missed
that second parameter.

- Kien


--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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, 2008 at 6:08 PM, Gaurav Sharma [EMAIL PROTECTED] wrote:

 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. 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
 anymore. For me, the issue was only reproducible in IE6, but not IE7 or
 Firefox.

 On Sat, Jul 19, 2008 at 12:56 PM, __g [EMAIL PROTECTED] wrote:


 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. The page works fine most
 of the time, but once it gets messed up, it stays like that for 5-10
 minutes. I see this on both IE 7.0 and FF. I wonder if it has
 something to do with cache rebuilding or something else periodic. I am
 also using Memcache.

 g

 On Jul 14, 3:53 am, . [EMAIL PROTECTED] wrote:
  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 1:44 AM, Marc MENDEZ 
 [EMAIL PROTECTED]
   wrote:
 
   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 11, 2008 at 1:12 AM, . [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
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]
mailto:[EMAIL PROTECTED] wrote:
 
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] mailto:
 [EMAIL PROTECTED]
wrote:
 
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]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[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: *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:
 /C:\xampp\htdocs\app\views\layouts\Array.ctp/
 
 *Notice: *If you want to customize this error
message, create
 app\views\errors\missing_layout.ctp






 


--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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. The page works fine most
of the time, but once it gets messed up, it stays like that for 5-10
minutes. I see this on both IE 7.0 and FF. I wonder if it has
something to do with cache rebuilding or something else periodic. I am
also using Memcache.

g

On Jul 14, 3:53 am, . [EMAIL PROTECTED] wrote:
 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 1:44 AM, Marc MENDEZ [EMAIL PROTECTED]
  wrote:

  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 11, 2008 at 1:12 AM, . [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] wrote:

   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]
   mailto:[EMAIL PROTECTED] wrote:

   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] mailto:[EMAIL PROTECTED]
   wrote:

   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]
   mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[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: *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:
/C:\xampp\htdocs\app\views\layouts\Array.ctp/

*Notice: *If you want to customize this error
   message, create
app\views\errors\missing_layout.ctp
--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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
anymore. For me, the issue was only reproducible in IE6, but not IE7 or
Firefox.

On Sat, Jul 19, 2008 at 12:56 PM, __g [EMAIL PROTECTED] wrote:


 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. The page works fine most
 of the time, but once it gets messed up, it stays like that for 5-10
 minutes. I see this on both IE 7.0 and FF. I wonder if it has
 something to do with cache rebuilding or something else periodic. I am
 also using Memcache.

 g

 On Jul 14, 3:53 am, . [EMAIL PROTECTED] wrote:
  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 1:44 AM, Marc MENDEZ 
 [EMAIL PROTECTED]
   wrote:
 
   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 11, 2008 at 1:12 AM, . [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
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]
mailto:[EMAIL PROTECTED] wrote:
 
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] mailto:
 [EMAIL PROTECTED]
wrote:
 
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]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[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: *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:
 /C:\xampp\htdocs\app\views\layouts\Array.ctp/
 
 *Notice: *If you want to customize this error
message, create
 app\views\errors\missing_layout.ctp
 


--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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. 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
 anymore. For me, the issue was only reproducible in IE6, but not IE7 or
 Firefox.

 On Sat, Jul 19, 2008 at 12:56 PM, __g [EMAIL PROTECTED] wrote:


 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. The page works fine most
 of the time, but once it gets messed up, it stays like that for 5-10
 minutes. I see this on both IE 7.0 and FF. I wonder if it has
 something to do with cache rebuilding or something else periodic. I am
 also using Memcache.

 g

 On Jul 14, 3:53 am, . [EMAIL PROTECTED] wrote:
  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 1:44 AM, Marc MENDEZ 
 [EMAIL PROTECTED]
   wrote:
 
   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 11, 2008 at 1:12 AM, . [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
 
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]
mailto:[EMAIL PROTECTED] wrote:
 
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] mailto:
 [EMAIL PROTECTED]
wrote:
 
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]
mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[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: *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:
 /C:\xampp\htdocs\app\views\layouts\Array.ctp/
 
 *Notice: *If you want to customize this error
message, create
 app\views\errors\missing_layout.ctp



 


--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 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 11, 2008 at 1:12 AM, . [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  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]
  mailto:[EMAIL PROTECTED] wrote:
 
  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] mailto:[EMAIL PROTECTED]
  wrote:
 
 
  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]
  mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[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: *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:
   /C:\xampp\htdocs\app\views\layouts\Array.ctp/
  
   *Notice: *If you want to customize this error
  message, create
   app\views\errors\missing_layout.ctp
  
  
  
   
 
 
 
 
 
 
  




 


--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 1:44 AM, Marc MENDEZ [EMAIL PROTECTED]
 wrote:


 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 11, 2008 at 1:12 AM, . [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  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]
  mailto:[EMAIL PROTECTED] wrote:
 
  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] mailto:[EMAIL PROTECTED]
  wrote:
 
 
  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]
  mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] mailto:[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: *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:
   /C:\xampp\htdocs\app\views\layouts\Array.ctp/
  
   *Notice: *If you want to customize this error
  message, create
   app\views\errors\missing_layout.ctp
  
  
  
   
 
 
 
 
 
 
  




 



--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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: *
C:\xampp\htdocs\app\views\layouts\Array.ctp*

*Notice: *If you want to customize this error message, create
app\views\errors\missing_layout.ctp

--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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: *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: *
 C:\xampp\htdocs\app\views\layouts\Array.ctp*

 *Notice: *If you want to customize this error message, create
 app\views\errors\missing_layout.ctp


--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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] 
 mailto:[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: *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:
 /C:\xampp\htdocs\app\views\layouts\Array.ctp/

 *Notice: *If you want to customize this error message, create
 app\views\errors\missing_layout.ctp



 




--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 $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]
  mailto:[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: *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:
  /C:\xampp\htdocs\app\views\layouts\Array.ctp/
 
  *Notice: *If you want to customize this error message, create
  app\views\errors\missing_layout.ctp
 
 
 
  




 


--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 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 $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]
  mailto:[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: *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:
  /C:\xampp\htdocs\app\views\layouts\Array.ctp/
 
  *Notice: *If you want to customize this error message, create
  app\views\errors\missing_layout.ctp
 
 
 
  




 



--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 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 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 $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]
   mailto:[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: *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:
  /C:\xampp\htdocs\app\views\layouts\Array.ctp/
 
  *Notice: *If you want to customize this error message, create
  app\views\errors\missing_layout.ctp
 
 
 
  




 




--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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 11, 2008 at 1:12 AM, . [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 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]
 mailto:[EMAIL PROTECTED] wrote:

 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] mailto:[EMAIL PROTECTED]
 wrote:


 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]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] mailto:[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: *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:
  /C:\xampp\htdocs\app\views\layouts\Array.ctp/
 
  *Notice: *If you want to customize this error
 message, create
  app\views\errors\missing_layout.ctp
 
 
 
  






 




--~--~-~--~~~---~--~~
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 group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---