Thursday, January 19, 2012

Re: Installing CakePHP 2 in Ubuntu 11.04

On Tue, Jan 17, 2012 at 11:24 AM, freakysquash
<jacobdaniel.fernandez@gmail.com> wrote:
> 0 down vote favorite
> share [fb] share [tw]
>
>
> I am running Ubuntu 11.04 with Apache/MySQL/PHP5 installed. I
> completely followed the installation process form this link:
>
> [http://developify.wordpress.com/2011/08/12/install-cakephp-on-ubuntu/]
> [1]
>
> And I ended up in a CakePHP default page with no colors/styles, though
> this error was wrapped in red background:
>
> URL rewriting is not properly configured on your server. 1) Help me
> configure it 2) I don't / can't use URL rewriting
>
> mod_rewrite is already enabled, I don't know what is the problem with
> my installation.
>
> And also, if I replaced the default layout by making my own
> default.ctp, I am bombarded with these lines of error:
>
> Warning (2): include(/var/www/app/View/Layouts/default.ctp): failed to
> open stream: Permission denied [CORE/Cake/View/View.php, line 595]
>
> Warning (2): include() [http://php.net/function.include]: Failed
> opening '/var/www/app/View/Layouts/default.ctp' for inclusion
> (include_path='.:/usr/share/php:/usr/share/pear') [CORE/Cake/View/
> View.php, line 595]
>
> BTW, in Windows it works perfectly, maybe MS doesn't care with file
> permissions.
>
> Please help me, I am new with CakePHP. Thanks!!!!!!
>

Please make it sure if your rewrite modul is already enabled. And,
seems it's a file permission issue.

--
Regards,,,
thom
http://mynameisthom.blogspot.com

--
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: