Cake php - pantalla en blanco

Este es el problema:

I have an installation of cakephp on a server that runs apache and php (version 4).

We decided to do an upgrade from php 4 to php 5. While doing this, we decided to upgrade cakephp aswell (with a version that is compatible with php; it is 1.3.14 version).

So we downloaded the folder with CakePHP sources and deployed it onto new server along with the "old" website that wored fine on the "old" server (just copy/paste the folder into old one and kept our custom files).

Now, when I try to open a page - say "x" - I'm stuck in front of a blank page.

I've tried to read all possibile error logs (server globals php, server global apache, local to CakePHP) but there isn't a single clue in these.

¿Alguna sugerencia?

I've already deleted files into /app/tmp/cache/persistent

preguntado el 02 de febrero de 12 a las 11:02

have you turned an highest debug mode ? -

@HaydenThring how can I do that in CakePHP? I'm pretty new to this technology. -

Is this on one specific page or are all the pages blank? -

Ok, i just find how to increase debug level. @Oldskool : in that page, in another there ins't a css file -

Setting the debug level to 2 should help you determine the problem. -

3 Respuestas

I just resolved my problem.

Increasing debug level and changing some session's method call (session is a CakePHP object) from del() a delete(), now the page is render.

The next thing is attach css files.

Gracias a todos.

Respondido 02 Feb 12, 17:02

Sometimes the size of the index.php file at all three places becomes zero. You need to reupload them to the server.

respondido 19 nov., 12:22

first, set your PHP seting on the server to display errors. if you dont know how to do it, you can skip this first step. continue reading.

secondly, please check your webroot/index.php

my experience : i tried to copy from my WAMP server PC1 to PC2 when i checked the line 61

define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp3' . DS . 'www' . DS . 'cakephp' . DS . 'lib');    

i did realize my path in PC2 is wamp no wamp3

so just change the PATH, voila !! it runs back to fresh air :)

Respondido 02 Jul 14, 13:07

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.