Re: cakephp on ubuntu 9.04, php5

2009-06-09 Thread Jorge Horacio Cué Cantú
ok,

Open a Terminal window ( Applications > Accessories > Terminal )

   cd CAKE_ROOT/cake/console
   chmod +x cake

where CAKE_ROOT is the directory where you unpacked cake in my case:
~/opt/cake

Also to make cake available to the shell, use :

   cd
   mkdir bin
   cd bin
   ln -s ~/opt/cake/cake/console/cake cake

Then close the Terminal, logout a login again so ~/bin is in your $PATH

Once You login open a new Terminal window an you will have available the
cake command.


2009/6/9 Saliem 

>
> i'd like to use the cake bake command:
>
> cd cake/console
> ./cake bake
>
> but i get:
>
> -bash: ./cake: Permission denied
>
> from what i've looked up - it sounds like i can also run cake bake
> from the apps directory. is that actually possible - or do i need to
> install something more?
>
> also - it looks like i might have to add a $PATH environment variable.
> i've located my php path as
>
> /usr/bin/php5
>
> and my console path as
>
> /var/www/cake/console
>
> i'm stuck here. does anyone have any pointers on what i could do next
> so i can use the bake command ?
>
> -- Saliem
>
> >
>

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



Re: cakephp on ubuntu 9.04, php5

2009-06-08 Thread Saliem

okay nvm - rest the permissions

:)

On Jun 8, 11:15 pm, Saliem  wrote:
> i'd like to use the cake bake command:
>
> cd cake/console
> ./cake bake
>
> but i get:
>
> -bash: ./cake: Permission denied
>
> from what i've looked up - it sounds like i can also run cake bake
> from the apps directory. is that actually possible - or do i need to
> install something more?
>
> also - it looks like i might have to add a $PATH environment variable.
> i've located my php path as
>
> /usr/bin/php5
>
> and my console path as
>
> /var/www/cake/console
>
> i'm stuck here. does anyone have any pointers on what i could do next
> so i can use the bake command ?
>
> -- Saliem
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



cakephp on ubuntu 9.04, php5

2009-06-08 Thread Saliem

i'd like to use the cake bake command:

cd cake/console
./cake bake

but i get:

-bash: ./cake: Permission denied

from what i've looked up - it sounds like i can also run cake bake
from the apps directory. is that actually possible - or do i need to
install something more?

also - it looks like i might have to add a $PATH environment variable.
i've located my php path as

/usr/bin/php5

and my console path as

/var/www/cake/console

i'm stuck here. does anyone have any pointers on what i could do next
so i can use the bake command ?

-- Saliem

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



Re: cakephp on ubuntu

2008-01-23 Thread Claudia

Hi there

Most likely there are no read permissions on the cake folder and/or
its content.
Mot ftp programs allow to set permissions by making a right
click on the folder and then selecting permissions from the submenu.
If you have only shell access you can use the chmod command.

It is working fine in Windows because Windows usually does not care
about permissions.

Claudia

On Jan 23, 8:56 am, Nil <[EMAIL PROTECTED]> wrote:
> Hi,
>  I am trying to run my Cakephp script on ubuntu but when I give URL
> for my script then following error message is display.
>
> Warning: require(cake/config/paths.php) [function.require]: failed to
> open stream: Permission denied in /var/www/hoteljobs/index.php on line
> 56
>
> Fatal error: require() [function.require]: Failed opening required
> 'cake/config/paths.php' (include_path='.:/usr/share/php:/usr/share/
> pear:/var/www/hoteljobs:/var/www/hoteljobs/app/') in /var/www/
> hoteljobs/index.php on line 56
>
> I dont know what is the problem in index.php.
> This application on windows is working but no luck on ubuntu.
>
> Can anybody help me.
>
> Thanks in advance.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



cakephp on ubuntu

2008-01-22 Thread Nil

Hi,
 I am trying to run my Cakephp script on ubuntu but when I give URL
for my script then following error message is display.

Warning: require(cake/config/paths.php) [function.require]: failed to
open stream: Permission denied in /var/www/hoteljobs/index.php on line
56

Fatal error: require() [function.require]: Failed opening required
'cake/config/paths.php' (include_path='.:/usr/share/php:/usr/share/
pear:/var/www/hoteljobs:/var/www/hoteljobs/app/') in /var/www/
hoteljobs/index.php on line 56

I dont know what is the problem in index.php.
This application on windows is working but no luck on ubuntu.

Can anybody help me.

Thanks in advance.

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



Re: cakePHP on Ubuntu

2007-01-18 Thread lukem


i resolved this - i had to add the directory listing to
/etc/apache2/sites-allowed/default then restart apache 2.

you old wiki information is still in google's cache!

On 18 Jan, 20:47, "lukem" <[EMAIL PROTECTED]> wrote:

Hi,

does anyone have the informnation which used to be on the wiki about
installing CakePHP on Ubuntu? the default page is not displaying
correctly after installation (is not css-styled) which i think means my
mod-rewrite and/or AllowOverride settings are incorrect.

I'm installing on Ubuntu 6.10 with Apache2 & php 5.1.6 . I've enabled
mod-rewrite and added the following to the apache2.conf file (plus
restarted apache):


Options Indexes MultiViews
AllowOverride All
Order allow, deny
Allow from all


Anyone got any ideas?

thanks,

luke.



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



cakePHP on Ubuntu

2007-01-18 Thread lukem


Hi,

does anyone have the informnation which used to be on the wiki about
installing CakePHP on Ubuntu? the default page is not displaying
correctly after installation (is not css-styled) which i think means my
mod-rewrite and/or AllowOverride settings are incorrect.

I'm installing on Ubuntu 6.10 with Apache2 & php 5.1.6 . I've enabled
mod-rewrite and added the following to the apache2.conf file (plus
restarted apache):


Options Indexes MultiViews
AllowOverride All
Order allow, deny
Allow from all


Anyone got any ideas?

thanks,

luke.


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