2011/2/17 joacake <[email protected]>:
> Hola, estoy trabajando en mi primer proyecto de CakePHP. Realicé una
> aplicación de prueba (blog) y la misma funciona correctamente en mi
> servidor local. Contrate una cuenta en un hosting y subí todos los
> archivos al servidor, configuré .htaccess y el index.php. Cuando
> accedo a "www.mipagina.com" muestra correctamente la página principal
> (acción "index" del controlador "posts").
> El problema surge cuando trato de acceder a otro controlador u otra
> acción, muestra el mensaje de error 404. Por ejemplo si trato de
> acceder a "www.mipagina.com/comments/" surge el error.
Try setting debug to 2. In app/config/core.php:
Configure::write('debug', 2);
When debug is set to 0 ("production mode"), Cake will respond with a
404 if there's any error at all. This is very confusing because it
seems to you that there's a routing problem, but it could be anything
else. The reason for the 404 is so that errors aren't exposed to the
public.
So, set it to 2 and see if any error messages show up.
--
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