Friday, August 31, 2012

Re: [Render problem] 5s to render any view

other test,

this time without data in view (white page)

Memory

Peak Memory Use 10.65 MB

MessageMemory use
Component initialization4.48 MB
Controller action start5.26 MB
Controller render start5.33 MB
View render complete10.31 MB

Timers

Total Request Time: 148 (ms)

MessageTime in msGraph
Core Processing (Derived from $_SERVER["REQUEST_TIME"]) 28.28
Event: Controller.initialize0.10
Event: Controller.startup 0.38
Controller action0.12
Event: Controller.beforeRender 4.62
» Processing toolbar data4.53
Rendering View 98.53
» Event: View.beforeRender0.06
» Rendering APP/View/Inicio/index.ctp 95.86
» Event: View.afterRender0.06
» Event: View.beforeLayout 0.05
» Rendering APP/View/Layouts/deslogado.ctp0.36
Event: View.afterLayout 0.00

and the same problem happened (previous post) 

:(

I really have no idea


On Fri, Aug 31, 2012 at 9:46 PM, Alexandre Vasconcelos <ops.rio@gmail.com> wrote:
guys, 

I installed the debugkit and did some tests

Index, without user session (not logged)

Memory

Peak Memory Use 10.65 MB

MessageMemory use
Component initialization 4.49 MB
Controller action start5.27 MB
Controller render start5.33 MB
View render complete10.31 MB

Timers

Total Request Time: 81 (ms)

MessageTime in msGraph
Core Processing (Derived from $_SERVER["REQUEST_TIME"]) 24.14
Event: Controller.initialize 0.11
Event: Controller.startup0.36
Controller action 0.13
Event: Controller.beforeRender4.66
» Processing toolbar data 4.57
Rendering View35.04
» Event: View.beforeRender 0.07
» Rendering APP/View/Inicio/index.ctp31.76
» Event: View.afterRender 0.12
» Event: View.beforeLayout0.11
» Rendering APP/View/Layouts/deslogado.ctp 0.64
Event: View.afterLayout0.00
but, here the problem happened, all data was sent and showed on browser, but, the browser kept loading something during 5s, and no javascript was working during this time.

this behavior is the same for the other views

some idea?

tks


Em sexta-feira, 31 de agosto de 2012 12h51min17s UTC-3, Alexandre Vasconcelos escreveu:
Hi Ad7six, I will install debug kit and make some tests and put here the results




On Fri, Aug 31, 2012 at 12:47 PM, Jeremy Burns | Class Outfit <jeremyburns@classoutfit.com> wrote:
Then see what AD7Six said...


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 31 Aug 2012, at 16:45:44, Alexandre <ops.rio@gmail.com> wrote:

Hi Jeremy

this problems is in whole app. every render.

On Fri, Aug 31, 2012 at 12:37 PM, Jeremy Burns | Class Outfit <jeremyburns@classoutfit.com> wrote:
So is this problem isolated to one function/view in your app or is it the whole app? If it's just one function/app, does it eventually return data (die(debug())?) or does it fail?


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 31 Aug 2012, at 16:35:09, Alexandre <ops.rio@gmail.com> wrote:

yes, I can connect in database and I have many models that work correctly, and I connect in phpmyAdmin with the same credentilas



On Fri, Aug 31, 2012 at 12:22 PM, Jeremy Burns | Class Outfit <jeremyburns@classoutfit.com> wrote:
So is the database returning any results? Can you connect to it outside of the app using the credentials you entered in database.php?


Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 31 Aug 2012, at 16:19:38, Alexandre Vasconcelos <ops.rio@gmail.com> wrote:

hi Jeremy,

'datasource' => 'Database/Mysql',



Em sexta-feira, 31 de agosto de 2012 11h53min56s UTC-3, Jeremy Burns escreveu:
What's the datasource?

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 31 Aug 2012, at 15:44:33, Alexandre Vasconcelos <ops...@gmail.com> wrote:

Hi,

I'm using cakephp in my project, this is my second project with cakephp, but now I've a problem and I've no idea what's happening and I've no idea how to investigate it

The problem

may views, any view, is rendering in 5s, and I did some tests:

- I commented <?php echo $this->fetch('content'); ?> in my default layout - the problem stopped

- I commented all codes inside my controller, leaving only the view to rendering, my view was an html without any php code(is a short html) - the problem happened

- I disabled all plugins in bootstrap - the problem happened

- I disabled all routs - the problem happened

so, this is my problem, i need solve it, if someone need more information about, or want to suggest some other test, tell me, I'll do and put the result here.

OBS.: 
I don't know if this helps to identify the problem, after rendering (after 5s) this message apears in chorme console:
"Port error: Could not establish connection. Receiving end does not exist.


tks

--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake...@googlegroups.com.
To unsubscribe from this group, send email to cake-php+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 


--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 


--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 


--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 


--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 


--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

--
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 cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 

No comments: