Hi Ryan & Milos thanks very much for your replies!
I thought the problem had gone away but I saw it again last night. So
with renewed vigour, here is more information on the problem!

@Ryan the info you asked for I'm pulling mostly from a phpinfo() call
as it is a server hosted by someone else. Hope this will be ok:
Server: Red Hat Enterprise Linux 5, x86_64-redhat-linux-gnu
SAPI: Apache 2.0 Handler
PHP: v 5.1.6
Cake: 1.3.6

@Milos Thanks for the list of things to check.
Tmp file perms seem to be ok.
The items in the cache refresh when I delete them, except the cache/
view folder but this has always been empty (Is that normal?)
The biggest file in the cache is about 12kb which doesn't seem to be
enormous to me but not sure what I should be expecting.
I'm not sure how to make sure that I'm not caching things I shouldn't
be?

Finally, I asked the server administrator for the error and access
logs. He said the error log was empty. Below is the access log for the
time that the error happened (00:20 this morning).

I am suspecting caching issues also but I'm not sure how to go about
debugging this. Any help is appreciated!

Ella

- - [17/Feb/2011:00:20:19 +0100] "GET / HTTP/1.1" 200 2973 "-"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7
(KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:19 +0100] "GET /css/xxxx.css HTTP/1.1" 304 -
"http://myclientsserver.fr/"; "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/
534.7"
78.X.X.X
- - [17/Feb/2011:00:20:19 +0100] "GET /js/jquery.js HTTP/1.1" 304 -
"http://myclientsserver.fr/"; "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/
534.7"
78.X.X.X
- - [17/Feb/2011:00:20:19 +0100] "GET /img/trad100.png HTTP/1.1" 304 -
"http://myclientsserver.fr/"; "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/
534.7"
78.X.X.X
- - [17/Feb/2011:00:20:19 +0100] "GET /img/inter100.png HTTP/1.1" 304
- "http://myclientsserver.fr/"; "Mozilla/5.0 (Windows; U; Windows NT
5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44
Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:23 +0100] "GET /applicants HTTP/1.1" 302 - "-"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7
(KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:24 +0100] "GET /users/login HTTP/1.1" 200 1665
"-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7
(KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:32 +0100] "POST /users/login HTTP/1.1" 200 2727
"http://myclientsserver.fr/users/login"; "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/
7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:36 +0100] "POST /users/login HTTP/1.1" 302 -
"http://myclientsserver.fr/users/login"; "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/
7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:37 +0100] "GET /applicants HTTP/1.1" 200 27797
"http://myclientsserver.fr/users/login"; "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/
7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:38 +0100] "GET /js/jquery.js HTTP/1.1" 304 -
"http://myclientsserver.fr/applicants"; "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/
7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:38 +0100] "GET /css/xxxx.css HTTP/1.1" 304 -
"http://myclientsserver.fr/applicants"; "Mozilla/5.0 (Windows; U;
Windows NT 5.1; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/
7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:38 +0100] "GET /js/applicants/
applicant_index.js HTTP/1.1" 304 - "http://myclientsserver.fr/
applicants" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7"
78.X.X.X
- - [17/Feb/2011:00:20:38 +0100] "GET /favicon.ico HTTP/1.1" 304 - "-"
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.7
(KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7"
78.X.X.X




On Feb 10, 9:36 pm, Ryan Schmidt <[email protected]> wrote:
> On Feb 10, 2011, at 12:07, zzella wrote:
>
> > Update: When I view the source of the screen, I see the contents of
> > the app/webroot/index.php file!
>
> > Everything seems to be an invisible comment until it hits the ">" of
> > this line:
> > $Dispatcher->dispatch();
>
> > Everything in the file after the ">" appears on the browser screen (ie
> > "dispatch(); }"  )
>
> > Would appreciate any ideas on why my page is getting served like this
> > occasionally?
>
> Goodness, it sounds like your web server is occasionally forgetting to invoke 
> the PHP interpreter, and is sending the PHP code directly to the browser. I 
> would say that is rather wrong. What web server and version is this, what PHP 
> version and SAPI (apache2, fastcgi, fpm), what OS and version?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to