Wednesday, February 22, 2012

Re: Controller/View and Model it is not working

I finally figureout it is the Apache_ReMod issue... I changed it to
AllowOverride to All from none. It worked like a charm. As Jeremy
said, I did set the debug option to 2 but it did not tell anything
about the AllowOverride situation...I need to scan the document line
by line to figure it out. It is little pain. But I saved the
document so that I did not touch the httpd conf. Thanks for all the
help. It is a nice responsive forum.

<Directory "C:\www\tamilpadam">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options
All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please
see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed
in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All --> This is the one that was creating the issue
I changed it to All from None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>

On Feb 22, 10:00 am, jeremyharris <funeralm...@gmail.com> wrote:
> Just to be clear, your DocumentRoot is correct either way. If you point it
> to webroot, there's less work on the server's end to find it.
>
> Like kdubya said, make sure debug is on. If you're receiving a 404 error
> that means something is broken within cake (missing method, model, etc) and
> in production mode (i.e., debug=0) it will give you a 404. To find more
> information about that error, turn debug to 2.
>
> My first guess is that there is no Actordesctbl model or no actordesctbls
> table. But debug will actually tell you what is wrong.

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: