Fatal error: Class 'Post' not found

2007-11-27 Thread GunabalanS

Would you like to use Sessions? (y/n)
[y] 

Fatal error: Class 'Post' not found in /home/gunabalans/public_html/
website/cake/cake/scripts/bake.php on line 1311

Call Stack:
0.01391120416   1. {main}() /home/gunabalans/public_html/
website/cake/cake/scripts/bake.php:0
0.04222778704   2. Bake-main() /home/gunabalans/public_html/
website/cake/cake/scripts/bake.php:144
   51.17862789456   3. Bake-doController() /home/gunabalans/
public_html/website/cake/cake/scripts/bake.php:241
   99.10943553616   4. Bake-__bakeActions() /home/gunabalans/
public_html/website/cake/cake/scripts/bake.php:1237

[EMAIL PROTECTED] cake]$


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



configuring cakephp

2007-11-26 Thread GunabalanS

configuring cakephp

Refer:
http://manual.cakephp.org/chapter/installing

point no
5) Configuring Apache and mod_rewrite

when put the cakePHP folder in doc root
if the following  error comes

Warning: session_start() [function.session-start]: open(/var/lib/php/
session/sess_fkfel4sr31ee3qb4i5a0birqj6, O_RDWR) failed: Permission
denied (13) in /home/gunabalans/public_html/website/cake/cake/libs/
session.php on line 484

solution:

cd var/lib/php/


sudo /bin/chown -R apache:apache session/

make sure in

cd etc/httpd/conf

sudo vi httpd.conf

# this setting for php-smarty
#User nobody
#Group nobody

#this setting for php-cake or other defalult setting for apache
User apache
Group apache




###AllowOverride is set to All for the correct
Directory.##

Make sure that an .htaccess override is allowed: in your httpd.conf,
you should have a section that defines a section for each Directory on
your server. Make sure the AllowOverride is set to All for the correct
Directory.
#

## httpd.conf     file  ##


# Each directory to which Apache has access can be configured with
respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the default to be a very restrictive set of
# features.

# do the following changes or just copy and replace

Directory /
Options FollowSymLinks
#AllowOverride None #this part has been commented
 AllowOverride All  #this line is newly added
/Directory



LoadModule rewrite_module modules/mod_rewrite.so

##
to check that

cd etc/httpd/modules/
ls

you can see the list of modules


*

now you will be fine


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake 
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---