Hello List
I want to use Cake PHP ,I have downloaded it from it's site,rename the
folder to first_app
and copied it to
/srv/www/htdocs
my root is here:
/srv/www/htdocs
by entering http://localhost/first_app/
it has some errors like these outputs:
Warning: _cake_core_ cache was unable to
On 8/7/2011 9:53 AM, Negin Nickparsa wrote:
Hello List
I want to use Cake PHP ,I have downloaded it from it's site,rename the
folder to first_app
and copied it to
/srv/www/htdocs
my root is here:
/srv/www/htdocs
by entering http://localhost/first_app/
it has some errors like
Thank you, I found that only the tmp directory must be writable then I used
this one:
also by right clicking and using wwwrun for user I tried to set them as you
told
chmod -R 0777 /srv/www/htdocs/first_app/app/tmp/
and the I get fatal Error:
http://cakephp.org/changelogs/1.3.6 Fatal error:
I have debugger.php in cake/libs I don't know why it doesn't access to this
file and tell me can't find the class
cool I found this hidden file .htaccess:
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
/IfModule
well I don't know that this apache module is enabled or not I changed the
apache2 in /etc/sysconfig and add the rewrite
Finally I solved my problem!
I have downloaded another version of cake that is less than 2 now it works
like a charm:)
6 matches
Mail list logo