[PHP] problem installing CakePHP on Linux

2011-08-07 Thread Negin Nickparsa
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

Re: [PHP] problem installing CakePHP on Linux

2011-08-07 Thread Peet Grobler
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

Re: [PHP] problem installing CakePHP on Linux

2011-08-07 Thread Negin Nickparsa
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:

Re: [PHP] problem installing CakePHP on Linux

2011-08-07 Thread Negin Nickparsa
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

Re: [PHP] problem installing CakePHP on Linux

2011-08-07 Thread Negin Nickparsa
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

Re: [PHP] problem installing CakePHP on Linux

2011-08-07 Thread Negin Nickparsa
Finally I solved my problem! I have downloaded another version of cake that is less than 2 now it works like a charm:)