Re: Can CakePHP run in a user account?

2010-01-05 Thread Kees de Bruin
Yes you can. Just put all inside your public_html directory (assuming that user 
directories are enabled) or a subdirectory of public_html.

It might be that .htaccess files are not handled for user directories. If so, 
check the file app/config/core.php and enable rewriting by CakePHP.

On 4 jan 2010, at 21:29, Fred Riley wrote:

 This has to be a FAQ, but I can't find a CakePHP FAQ anywhere so here
 goes anyway: can CakePHP run on a *nix system in a user account? That
 is, with a URL such as www.anyoldhost.com/~username/myapp. It's pretty
 crucial that I know this as although I've full control over my
 localhost installation I don't have root privileges on our
 institutional Unix system and will have to run Cake apps in user
 accounts. If it can run in user accounts, are there any special
 configs that need to be applied?
 
 This has come to mind because I've been trying the Sitepoint Notes
 tutorial (http://articles.sitepoint.com/print/application-development-
 cakephp|Sitepoint tutorial) on a Macbook running OS/X and XAMPP. If I
 put Cake into Users/username/Sites/cake_1.2.5 and try the URL
 localhost/~username/cake_1.2.5/ in a browser, it fails with a 404
 if .htaccess is present in Cake root on account of the rewrite
 directive. Removing .htaccess displays index.php ok but without a
 rewrite the tutorial falls apart (the URL localhost/~username/
 cake_1.2.5/notes/ fails, for instance). On localhost I could install
 cakePHP as root user for testing, but there'd be little point in
 testing if I couldn't deploy it on our institutional server.
 
 If there is a FAQ do please point me to it as I don't like asking
 RTFFAQ questions. Thanks.
 
 Fred
 University of Nottingham
 
 Check out the new CakePHP Questions site http://cakeqs.org and help others 
 with their CakePHP related questions.
 
 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

-- 
Kees de Bruin

A vacation is having nothing to do and all day to do it in

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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: Can CakePHP run in a user account?

2010-01-05 Thread Kees de Bruin
Fred,

As I wrote in my reply you have to make a small change in app/config/core.php 
where you have to uncomment line 59 and remove the .htaccess files that are 
listed just before that line.

All URLs should now be something like ../cake/index.php/page instead of 
../cake/page

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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: accents in html forms

2009-12-27 Thread Kees de Bruin
On 26 dec 2009, at 11:20, Lorenzo Bettini wrote:

 and, most important, all my tables were sweedish encoding (why that's 
 the default I wonder :) so I altered all the tables with

That is because MySQL was created by a Swedish company.

-- 
Kees de Bruin

A vacation is having nothing to do and all day to do it in

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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: Auth.php modification.

2009-09-14 Thread Kees de Bruin

Sreenivas S. Nair wrote:
 Hi all
i want to store the login ,logout time of all users in my 
 application.
 For that i wrote a method, CAN I PUT THAT METHOD IN AUTH.PHP FILE AND 
 CALL FROM THE AUTH-LOGIN() AND LOGOUT() METHODS?
 IS DER ANY ISSUES FOR MODIFYING THE AUTH.PHP?
 AM NEW IN CAKE PLZ HELP.

Just like with any modification to core files, you loose the modifications 
when you update the core files.

And please don't shout in your message...

-- 
Kees de Bruin

A vacation is having nothing to do and all day to do it in

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