Re: new to cakephp, should I learn this over yin/laravel4?

2014-11-26 Thread euromark
What about the (probably even more relevant) third option, using cakephp3 
from here on?


Am Donnerstag, 27. November 2014 00:10:42 UTC+1 schrieb frocco:

 Hello,

 Just installed cakephp 2 and have played around with it for about two 
 hours.

 I have a project and wanted to know if I should continue using cakephp or 
 start on a more recent framework like yin or laravel 4?

 I really like the cakephp concepts, and would like to hear from long time 
 users.

 Thanks



-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: New to Cakephp

2013-10-21 Thread CrotchFrog
I can't understand why you would want to join the two and how you feel it 
would simplify your app. Doing so would be really bad form and completely 
defeats the purpose of the MVC architecture. If you're working with static 
views you could simply use the 'Pages' controller to serve your views. If 
you feel you absolutely need your logic on the same page as your view  I 
would suggest skipping a the framework altogether and stick with 
conventional plain jane php instead of worrying yourself over design 
patterns and clean, organized, extensible code. 

On Monday, October 21, 2013 5:32:15 AM UTC-4, Darren Williams wrote:

 Hi guys

 I need help I have a working app, but know to simplify my app I want to 
 join
 the controllers and view so that it can be view as one/one page.

 Any help is appreciated. 


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: New to CakePHP

2013-03-30 Thread Chris
look into /app/config/bootstrap.php file 
you should have settings something like: 

 Configure::write('Site.contact_email', 'whatever@your_site.com');
 Configure::write('Site.contact_email_subject', 'some subject'); 


On Wednesday, March 27, 2013 10:32:48 AM UTC-7, Ellie Quick wrote:

 Help,

 Im a fairly experienced php coder however Ive been given access to a site 
 (as the author is no longer contactable) written using CakePHP and Im 
 totally and utterly lost as to how to make the fairly urgently required 
 fixes.

 Theres a contact form on one of the pages which doesnt work, no error 
 messages to say whats wrong, Its meant to send an email to the site owner 
 but nothing is ever received. Now this could be as simple as the wrong 
 email address being used through to there simply being no back end code for 
 sending the mail.

 ive found a file called contacts_controller.php which contains an email 
 function which is clearly designed to send the relevant emails however the 
 bit thats losing me is:

 $email_to = Configure::read('Site.contact_email');
 $email_subject = Configure::read('Site.contact_email_subject');
 $email_from = Configure::read('Site.contact_email_from');

 I cant find anywhere, either in the site server files or the relevant 
 database anything that appears to hold these variables.

 Am I being dim?


-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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




Re: New to CakePHP

2013-03-29 Thread lowpass
From the name of the controller file it appears that you're dealing with a
1.x install. Keep that in mind going forward, as there have been some
changes to the API. If in doubt about any advice you receive, make a point
of asking whether it's meant for a 1.x or 2.x version.

First thing to do is open app/config.routes.php and look for a path that
matches what you're seeing in the browser. If you don't find it, then the
URI itself probably contains everything you need to locate which
controller/action you're dealing with. If the URI is /contacts/email then
what you found is indeed the thing to focus on.

Next, open up app/config/bootstrap.php and look for lines like
Configure::write('Site.contact_email', 'some address here'); If you don't
find these lines add one for every ::read() you see.

You can use $this-log($someVar); anywhere in the controller. Pass it a
string, array, object, whatever. Look in app/tmp/logs to see what you're
getting. If there's supposed to be a user-provided msg from POST, that
should be in $this-data:

if (!empty($this-data)) {
  $this-log($this-data);
  ...

You might want to consider emptying the logs first to make your job easier.
(Keep a copy in case there's something in there that's important.) Make
sure that the logs -- in fact everything in tmp -- is writable by the
webserver process.

Can you post the relevant action (method)? It may be using Cake's built-in
EmailComponent, or a plugin, or something else, so any more advice at this
point would be guesswork. The mail might be using a local SMTP server, or
it might be remote, etc. Check the $components array at the top of the
class for anything that looks relevant to email. Ditto any imports.


On Wed, Mar 27, 2013 at 1:32 PM, Ellie Quick
ellie.quic...@googlemail.comwrote:

 Help,

 Im a fairly experienced php coder however Ive been given access to a site
 (as the author is no longer contactable) written using CakePHP and Im
 totally and utterly lost as to how to make the fairly urgently required
 fixes.

 Theres a contact form on one of the pages which doesnt work, no error
 messages to say whats wrong, Its meant to send an email to the site owner
 but nothing is ever received. Now this could be as simple as the wrong
 email address being used through to there simply being no back end code for
 sending the mail.

 ive found a file called contacts_controller.php which contains an email
 function which is clearly designed to send the relevant emails however the
 bit thats losing me is:

 $email_to = Configure::read('Site.contact_email');
 $email_subject = Configure::read('Site.contact_email_subject');
 $email_from = Configure::read('Site.contact_email_from');

 I cant find anywhere, either in the site server files or the relevant
 database anything that appears to hold these variables.

 Am I being dim?

 --
 Like Us on FaceBook https://www.facebook.com/CakePHP
 Find us on Twitter http://twitter.com/CakePHP

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




-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

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




Re: New to CakePHP .. problem with mod_rewrite

2012-07-14 Thread Piotr Beschel


W dniu sobota, 14 lipca 2012 05:24:16 UTC+2 użytkownik surajmundada napisał:


 I have not installed PHP. Is it necessary to install PHP before CakePHP?


Yes it is!
Cakephp is PHP framework and to work cake need php compilation. 

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: New to cakephp

2012-06-11 Thread Jonas Menges
Hello there,
Well basic knowledge of programming will help for sure. Also PHP and HTML
basics will be required but can be obtained while learning to work with the
cakephp API.

Regards
Am 11.06.2012 16:15 schrieb alvin567 defalca...@gmail.com:

 What are the prerequisites of learning cakephp?

 --
 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+unsubscr...@googlegroups.com For more options, visit this group
 at http://groups.google.com/group/cake-php


-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: New to CakePhp

2011-03-24 Thread Stephen
Hi



On 24 March 2011 01:37, drjproduct...@gmail.com drjproduct...@gmail.comwrote:

 Hi let's say I have created a user and admin panel so how can I come about
 creating another space for clients in the admin panel? Do I have to do
 another file like client_controller and a clients.ctp and client.php?



I also believe you should read the book and cover the basics before
attempting an app, definitely complete the blog tutorial as well - you don't
need to read the whole book, it would be an advantage, but you can miss
parts out which aren't relevant to you (i.e. You may have no interest in
Tree's or ACL)

You don't need to create a controller for clients or admins, only users. As
a newbie a good while back and made controllers to handle things like this,
you will find you run into lots of problems when trying to deal with other
controllers, the controller itself may become very large.

For Administration research prefixes.

In any controller create function admin_action() { ... } instead of
function action() {   } to make it a part of the admin side of things.

You can also take advantage of ACL

Have a users controller and users table, then using ACL (and possibly a
table such as user_groups), you can give users different levels of access:

1. User
2. Client
3. Admin

Prefixes: http://book.cakephp.org/view/950/Prefix-Routing
ACL: http://book.cakephp.org/view/1242/Access-Control-Lists


-- 
Kind Regards
 Stephen

 http://www.ninjacodermonkey.co.uk

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


RE: New to CakePhp

2011-03-23 Thread Krissy Masters
Your best to, like all new to Cake is to read the cookbook. Try the blog
tutorial to get familiar with how things work, then you can attempt your own
and ask specific questions. No one is going to answer general vague
questions like that without actually building everything for you.

Panes? Related to what? What data? For who? What are they for? Panels for
the ceiling? No way to know what your doing with nothing to show us.

K

-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of cakenewbie
Sent: Wednesday, March 23, 2011 2:10 PM
To: CakePHP
Subject: New to CakePhp

hi,

I have knowledge about PHP but i am totally new to the cakephp. I have
really no idea how can i come about to create these features using the
cakephp.

Can anyone give me some idea or some guide?

1. Create User Panels
2. Create Clients Panel
3. Create Listing Of Clients with Categories Listing on Subject Name.
Then when clicked it goes to a detail page of the client.
4. Creating Clients Profile Page where user can update the contents
himself.

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: New to CakePhp

2011-03-23 Thread drjproduct...@gmail.com
Hi let's say I have created a user and admin panel so how can I come about 
creating another space for clients in the admin panel? Do I have to do another 
file like client_controller and a clients.ctp and client.php?

Sent from my iPhone

On Mar 24, 2011, at 5:45 AM, Krissy Masters naked.cake.ba...@gmail.com 
wrote:

 Your best to, like all new to Cake is to read the cookbook. Try the blog
 tutorial to get familiar with how things work, then you can attempt your own
 and ask specific questions. No one is going to answer general vague
 questions like that without actually building everything for you.
 
 Panes? Related to what? What data? For who? What are they for? Panels for
 the ceiling? No way to know what your doing with nothing to show us.
 
 K
 
 -Original Message-
 From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
 Of cakenewbie
 Sent: Wednesday, March 23, 2011 2:10 PM
 To: CakePHP
 Subject: New to CakePhp
 
 hi,
 
 I have knowledge about PHP but i am totally new to the cakephp. I have
 really no idea how can i come about to create these features using the
 cakephp.
 
 Can anyone give me some idea or some guide?
 
 1. Create User Panels
 2. Create Clients Panel
 3. Create Listing Of Clients with Categories Listing on Subject Name.
 Then when clicked it goes to a detail page of the client.
 4. Creating Clients Profile Page where user can update the contents
 himself.
 
 -- 
 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+unsubscr...@googlegroups.com For more options, visit this group at
 http://groups.google.com/group/cake-php
 
 -- 
 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+unsubscr...@googlegroups.com For more options, visit this group at 
 http://groups.google.com/group/cake-php

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


RE: New to CakePhp

2011-03-23 Thread Krissy Masters
Hi, lets say you read the book! 

It has answers! It really does. It was written for that purpose of
explaining how to do things!

You have to create a controller / model / view for everything that needs a
controller / model / view. 

K
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf
Of drjproduct...@gmail.com
Sent: Wednesday, March 23, 2011 11:08 PM
To: cake-php@googlegroups.com
Subject: Re: New to CakePhp

Hi let's say I have created a user and admin panel so how can I come about
creating another space for clients in the admin panel? Do I have to do
another file like client_controller and a clients.ctp and client.php?

Sent from my iPhone

On Mar 24, 2011, at 5:45 AM, Krissy Masters naked.cake.ba...@gmail.com
wrote:

 Your best to, like all new to Cake is to read the cookbook. Try the blog
 tutorial to get familiar with how things work, then you can attempt your
own
 and ask specific questions. No one is going to answer general vague
 questions like that without actually building everything for you.
 
 Panes? Related to what? What data? For who? What are they for? Panels for
 the ceiling? No way to know what your doing with nothing to show us.
 
 K
 
 -Original Message-
 From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On
Behalf
 Of cakenewbie
 Sent: Wednesday, March 23, 2011 2:10 PM
 To: CakePHP
 Subject: New to CakePhp
 
 hi,
 
 I have knowledge about PHP but i am totally new to the cakephp. I have
 really no idea how can i come about to create these features using the
 cakephp.
 
 Can anyone give me some idea or some guide?
 
 1. Create User Panels
 2. Create Clients Panel
 3. Create Listing Of Clients with Categories Listing on Subject Name.
 Then when clicked it goes to a detail page of the client.
 4. Creating Clients Profile Page where user can update the contents
 himself.
 
 -- 
 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+unsubscr...@googlegroups.com For more options, visit this group
at
 http://groups.google.com/group/cake-php
 
 -- 
 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+unsubscr...@googlegroups.com For more options, visit this group
at http://groups.google.com/group/cake-php

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at
http://groups.google.com/group/cake-php

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: New with CakePHP, problem with docs and options parameters

2010-09-20 Thread laduree
Thanks a lot for taking the time to answer! And, let me apologize for
the delay, I was in a rural area where the Internet costs per byte. I
wasn't really looking at any particular class, just reading the
documentation to learn about the cakephp framework. What you tell me
is a bit disappointing. It would make it a lot easier if somewhere in
the docs it said parentNode() (for example) must be implemented. And,
also if the options that can be passed to array parameters were
documented. In the end, I feel I'll have to look for tutorials to see
what options are available, and ask questions making me and you guys
lose time.

On Sep 13, 2:43 am, cricket zijn.digi...@gmail.com wrote:
 On Sun, Sep 12, 2010 at 10:30 AM, laduree villa...@gmail.com wrote:
  I posted this 
  athttp://www.cakephpforum.net/index.php?showtopic=2269st=0#entry7412
  but it seems there's not much movement in the forum and that people
  have not been getting replies for a couple of days. Here it goes my
  concern with CakePHP:

  I have just started working with CakePHP and love how it speeds up
  development. The blog tutorial was a piece of cake. However, I am
  having trouble understanding the Acl controlled application tutorial.
  I can't find parentNode() in the documentation, and how it is all
  implemented by CakePHP seems somewhat obscure.

 parentNode() is a method that your model must implement. Think of it
 in terms of Java interfaces. The idea is that, when Cake's ACL code
 calls YourModel::parentNode() it should get back an array with both
 the model name and the ID for the object that is the parent of the
 present one. Here's an example from one of my apps. Note the format of
 the returned array, and the null should be returned where there is no
 parent.

 public function parentNode()
 {
         if (!$this-id) return null;

         $parent_id = $this-field(
                 'parent_id',
                 array('Section.id' = $this-id)
         );

         return $parent_id
                 ? array(
                         'model' = 'Section',
                         'foreign_key' = $parent_id
                 )
                 : null;

 }

 This is a very general implementation. There may be circumstances
 where a little more code is required.

  Other thing I've noticed is that many of the methods have an options
  parameter that takes an array, but, how does one know what options are
  available to include in the array? For example, for the AclBehavior
  setup() method in the parameters section it just says:

  mixed $config optional array ( )

  So, what are the configuration options available to me, where do I
  find them in the docs, how do I know how to use all these great
  functionality

 Yes, the docs are sorely lacking in specifics on $options but some of
 them are listed in the API:http://api.cakephp.org/

 Which methods did you have in mind?

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: New with CakePHP, problem with docs and options parameters

2010-09-12 Thread cricket
On Sun, Sep 12, 2010 at 10:30 AM, laduree villa...@gmail.com wrote:
 I posted this at 
 http://www.cakephpforum.net/index.php?showtopic=2269st=0#entry7412
 but it seems there's not much movement in the forum and that people
 have not been getting replies for a couple of days. Here it goes my
 concern with CakePHP:

 I have just started working with CakePHP and love how it speeds up
 development. The blog tutorial was a piece of cake. However, I am
 having trouble understanding the Acl controlled application tutorial.
 I can't find parentNode() in the documentation, and how it is all
 implemented by CakePHP seems somewhat obscure.

parentNode() is a method that your model must implement. Think of it
in terms of Java interfaces. The idea is that, when Cake's ACL code
calls YourModel::parentNode() it should get back an array with both
the model name and the ID for the object that is the parent of the
present one. Here's an example from one of my apps. Note the format of
the returned array, and the null should be returned where there is no
parent.

public function parentNode()
{
if (!$this-id) return null;

$parent_id = $this-field(
'parent_id',
array('Section.id' = $this-id)
);

return $parent_id
? array(
'model' = 'Section',
'foreign_key' = $parent_id
)
: null;
}

This is a very general implementation. There may be circumstances
where a little more code is required.

 Other thing I've noticed is that many of the methods have an options
 parameter that takes an array, but, how does one know what options are
 available to include in the array? For example, for the AclBehavior
 setup() method in the parameters section it just says:

 mixed $config optional array ( )

 So, what are the configuration options available to me, where do I
 find them in the docs, how do I know how to use all these great
 functionality

Yes, the docs are sorely lacking in specifics on $options but some of
them are listed in the API:
http://api.cakephp.org/

Which methods did you have in mind?

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: New to CakePHP and having an image problem

2010-05-07 Thread mivogt-LU
HI there and welcome to the cake-list

It would be of great use if you show us a bit more of your code as
your are showing only calls of internal functions manmade by the
siteowner
$home might be the main model, usually called $this
- is the obj.orient. kind to access data
$listing as a 2 dimensionam array might be attatched to your database

you might have something like
/app/models/listing
refering an array element represeneting  a db resultset
matching the table commercial, column mls

to display an image with 160x120 pixel size

but it is not the ususal cake way to display an image
so more code would help to help

cu

michael

On 5 Mai, 19:00, Lallo lallo.vi...@gmail.com wrote:
 Hello,

 I'm new to CakePHP, but have a little knowledge of PHP. I inherited a
 Web site that is in CakePHP and some of the images aren't working.

 Here is the code:
 ?php echo $home-get_image(simple,$listing['Commercial']['mls'],
 160,120); ?

 It probably is simple, but I have little knowledge of what I'm doing.
 Anything to point me in the right direction would help.

 Check out the new CakePHP Questions sitehttp://cakeqs.organd 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 
 athttp://groups.google.com/group/cake-php?hl=en

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: New to CakePHP, Wanted to learn alot

2010-04-27 Thread Jeremy Burns
http://book.cakephp.org/view/641/Simple-Acl-controlled-Application

Jeremy Burns
jeremybu...@me.com


On 27 Apr 2010, at 11:39, LAMP Developer, India wrote:

 Hello Everyone!
 
 I am new to cakePHP, i understand its installation, just extraction of
 files on htdocs and simple configuration changes.
 
 But i want to know how better and secure i can install and configure
 it for better security. I dont know where to start. I just edited
 home.cpt and content get changed. thats what i done.
 
 I wanted to learn all topic via video tutorial, please help me to get
 any video tutorial. Please.
 
 Thanks in Advance.
 
 Thanks  Regards,
 Amit
 
 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

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: New to CakePHP

2010-03-19 Thread WebbedIT
The book tells you everything you need to know about setting up the
Auth component, then there are a load of blogs out there that can take
you beyond what's in the book.

http://teknoid.wordpress.com/
http://www.milesj.me/
http://www.littlehart.net/atthekeyboard/
http://www.pseudocoder.com/
http://mark-story.com/categories/view/programming
http://en.wordpress.com/tag/cakephp/

Paul.

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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: New to CakePHP

2010-03-19 Thread tnbrooks
Check out this:
http://book.cakephp.org/view/219/Blog


On Mar 19, 2:23 pm, Tashi Daw dawtas...@gmail.com wrote:
 Please help me to get started with the cakePHP. I found this framework
 really good for rapid web application development. I have already done
 projects in ZF but i found it really bulky. I have gone through the cakePHP
 documentation, but i found it difficult to understand. So, can any body
 provide me a CRUD application build in cakePHP with authentication. So, that
 i can know how to use elements in views, models and controllers.

 Thanks

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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: New to CakePHP

2010-03-18 Thread Jonathon Musters
why not follow the blog tut and others



On Thu, Mar 18, 2010 at 11:23 PM, Tashi Daw dawtas...@gmail.com wrote:

 Please help me to get started with the cakePHP. I found this framework
 really good for rapid web application development. I have already done
 projects in ZF but i found it really bulky. I have gone through the cakePHP
 documentation, but i found it difficult to understand. So, can any body
 provide me a CRUD application build in cakePHP with authentication. So, that
 i can know how to use elements in views, models and controllers.

 Thanks

  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.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 To unsubscribe from this group, send email to cake-php+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: New to CakePHP

2010-03-18 Thread Tashi Daw
I tried it but i want with the Auth Components, please help me!

On Fri, Mar 19, 2010 at 9:47 AM, Jonathon Musters luvz2...@gmail.comwrote:

 why not follow the blog tut and others



 On Thu, Mar 18, 2010 at 11:23 PM, Tashi Daw dawtas...@gmail.com wrote:

 Please help me to get started with the cakePHP. I found this framework
 really good for rapid web application development. I have already done
 projects in ZF but i found it really bulky. I have gone through the cakePHP
 documentation, but i found it difficult to understand. So, can any body
 provide me a CRUD application build in cakePHP with authentication. So, that
 i can know how to use elements in views, models and controllers.

 Thanks

  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.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 To unsubscribe from this group, send email to cake-php+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  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.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 To unsubscribe from this group, send email to cake-php+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: New to CakePHP

2010-03-18 Thread Jonathon Musters
Its really best work through the tuts and ask specific questions so you
understand vs just given something.


On Fri, Mar 19, 2010 at 12:01 AM, Tashi Daw dawtas...@gmail.com wrote:

 I tried it but i want with the Auth Components, please help me!


 On Fri, Mar 19, 2010 at 9:47 AM, Jonathon Musters luvz2...@gmail.comwrote:

 why not follow the blog tut and others



 On Thu, Mar 18, 2010 at 11:23 PM, Tashi Daw dawtas...@gmail.com wrote:

 Please help me to get started with the cakePHP. I found this framework
 really good for rapid web application development. I have already done
 projects in ZF but i found it really bulky. I have gone through the cakePHP
 documentation, but i found it difficult to understand. So, can any body
 provide me a CRUD application build in cakePHP with authentication. So, that
 i can know how to use elements in views, models and controllers.

 Thanks

  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.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 To unsubscribe from this group, send email to cake-php+
 unsubscribegooglegroups.com or reply to this email with the words
 REMOVE ME as the subject.


  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.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 To unsubscribe from this group, send email to cake-php+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


  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.comcake-php%2bunsubscr...@googlegroups.comFor
  more options, visit this group at
 http://groups.google.com/group/cake-php?hl=en

 To unsubscribe from this group, send email to cake-php+
 unsubscribegooglegroups.com or reply to this email with the words REMOVE
 ME as the subject.


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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


Re: New to CakePHP

2010-03-16 Thread John Andersen
You don't want to get your hands dirty with someone elses code!
Best way is to start here:
http://book.cakephp.org/view/4/Beginning-With-CakePHP

and when the installation is ready, continue with this:
http://book.cakephp.org/view/218/Tutorials-Examples

That will give you a good introduction to CakePHP! Better than a ready-
made application that you yourself had not built and felt with your
own hands and thoughts :)
Enjoy,
   John

On Mar 16, 12:20 pm, tashi dawtas...@gmail.com wrote:
 Hi I am new to cakePHP and i am really interested to learn. But i am
 stuck from where to begin! So can any body please send me a CRUD
 application build in CakePHP with authentication? If possible the
 admin module to manage the application.

 Tashi

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: New to CakePHP

2010-03-16 Thread Johnny Ferguson
I accidentally hit reply to author, but for anyone else that visits
this thread:

Be sure to check out the Auth component:
http://book.cakephp.org/view/172/Authentication

It's dead simple using this to set up authentication. Coupled with the
ACL component, you have an unstoppable force on your hands.

On Mar 16, 6:20 am, tashi dawtas...@gmail.com wrote:
 Hi I am new to cakePHP and i am really interested to learn. But i am
 stuck from where to begin! So can any body please send me a CRUD
 application build in CakePHP with authentication? If possible the
 admin module to manage the application.

 Tashi

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: New to CakePHP issue loggin IP

2009-10-15 Thread Patrick Talmadge

Once I added the call to the add method in the controller everything
started working as expected. Does my register method end up calling
the add method when saving? I ask because if the input validation
fails the user is redirects from the register page to the add page.

I was planning to remove the add method and page, will this break everything?

Patrick

On Wed, Oct 14, 2009 at 8:07 PM, Brett Wilton bdwil...@gmail.com wrote:

 I haven't tried getClientIP() but I'd check that you have the field
 name correct etc, try putting something known in.  As an alternative
 I've used  $_SERVER['REMOTE_ADDR'] in the past which does work.

 
 http://wiltonsoftware.com

 


--~--~-~--~~~---~--~~
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: New to CakePHP issue loggin IP

2009-10-15 Thread Miles J

Make sure your form paths are posting to the right action.

On Oct 15, 1:05 pm, Patrick Talmadge ptalma...@gmail.com wrote:
 Once I added the call to the add method in the controller everything
 started working as expected. Does my register method end up calling
 the add method when saving? I ask because if the input validation
 fails the user is redirects from the register page to the add page.

 I was planning to remove the add method and page, will this break everything?

 Patrick

 On Wed, Oct 14, 2009 at 8:07 PM, Brett Wilton bdwil...@gmail.com wrote:

  I haven't tried getClientIP() but I'd check that you have the field
  name correct etc, try putting something known in.  As an alternative
  I've used  $_SERVER['REMOTE_ADDR'] in the past which does work.

  
 http://wiltonsoftware.com
--~--~-~--~~~---~--~~
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: New to CakePHP issue loggin IP

2009-10-14 Thread Brett Wilton

I haven't tried getClientIP() but I'd check that you have the field
name correct etc, try putting something known in.  As an alternative
I've used  $_SERVER['REMOTE_ADDR'] in the past which does work.


http://wiltonsoftware.com

--~--~-~--~~~---~--~~
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: New To CakePHP

2009-09-18 Thread brian

Raghu, it appears to me that this is a PHP--not CakePHP--warning. it's
possible that your computer has a misconfiguration. Although, I admit
that I'm not familiar with this warning, so that's just a guess. I'm
also not very familiar with Windows timezone settings.

Try creating a regular PHP script with the following:

?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
echo strtotime('+10 seconds');

If you see a similar warning, I suggest you post this question to the
PHP mailing list (use a more descriptive subject, though, or you may
not receive many responses).

http://www.php.net/mailing-lists.php


On Fri, Sep 18, 2009 at 9:46 AM, Raghu visuma...@gmail.com wrote:

 Hi Fnds,

 I'm new to cakephp, and I'm able to setup cake env. But while
 developing blog app, I'm getting the follwoing warnings with no
 result.
 I'm using Cake 1.2.5 and XAMP 1.7.2(PHP 5.3)  , Please let me know any
 clue to resolve this issue.

 One more thing point is  , I worked on RubyOnRail long time back. The
 docs,command scaffold creation is very simple and easy to understand.
 I home Cake also will reach much easier levels soon.

 
 Warning: strtotime() [function.strtotime]: It is not safe to rely on
 the system's timezone settings. You are *required* to use the
 date.timezone setting or the date_default_timezone_set() function. In
 case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We
 selected 'Asia/Calcutta' for '5.5/no DST' instead in J:\PHP
 \cake_1.2.5\cake\libs\cache.php on line 429

 Warning (2): strtotime() [function.strtotime]: It is not safe to rely
 on the system's timezone settings. You are *required* to use the
 date.timezone setting or the date_default_timezone_set() function. In
 case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We
 selected 'Asia/Calcutta' for '5.5/no DST' instead [CORE\cake\libs
 \cache.php, line 429]

 Code | Context

 $settings       =       array(
        engine = File,
        path = J:\xampp\htdocs\blog\myapp\tmp\cache\persistent\,
        prefix = cake_core_,
        lock = false,
        serialize = true,
        isWindows = true,
        duration = +10 seconds,
        probability = 100
 )

 strtotime - [internal], line ??
 CacheEngine::init() - CORE\cake\libs\cache.php, line 429
 FileEngine::init() - CORE\cake\libs\cache\file.php, line 84
 Cache::set() - CORE\cake\libs\cache.php, line 195
 Cache::config() - CORE\cake\libs\cache.php, line 131
 Configure::__loadBootstrap() - CORE\cake\libs\configure.php, line 684
 Configure::getInstance() - CORE\cake\libs\configure.php, line 137
 include - CORE\cake\bootstrap.php, line 47
 [main] - APP\webroot\index.php, line 81


 Warning: date() [function.date]: It is not safe to rely on the
 system's timezone settings. You are *required* to use the
 date.timezone setting or the date_default_timezone_set() function. In
 case you used any of those methods and you are still getting this
 warning, you most likely misspelled the timezone identifier. We
 selected 'Asia/Calcutta' for '5.5/no DST' instead in J:\PHP
 \cake_1.2.5\cake\libs\cake_log.php on line 94
 css('default'); ?
 (default) 0 query took ms Nr    Query   Error   Affected        Num. rows     
   Took (ms)

 


--~--~-~--~~~---~--~~
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: New To CakePHP

2009-09-18 Thread Simon

try this

go to c/xampp/apache/conf/  open file name httpd.conf  find this
#LoadModule rewrite_module modules/mod_rewrite.so  remove the # and
find

Directory /
Options FollowSymLinks
AllowOverride none
Order deny,allow
Deny from all
/Directory


set  AllowOverride to all form none

On Sep 18, 9:35 am, brian bally.z...@gmail.com wrote:
 Raghu, it appears to me that this is a PHP--not CakePHP--warning. it's
 possible that your computer has a misconfiguration. Although, I admit
 that I'm not familiar with this warning, so that's just a guess. I'm
 also not very familiar with Windows timezone settings.

 Try creating a regular PHP script with the following:

 ?php
 error_reporting(E_ALL);
 ini_set('display_errors', '1');
 echo strtotime('+10 seconds');

 If you see a similar warning, I suggest you post this question to the
 PHP mailing list (use a more descriptive subject, though, or you may
 not receive many responses).

 http://www.php.net/mailing-lists.php



 On Fri, Sep 18, 2009 at 9:46 AM, Raghu visuma...@gmail.com wrote:

  Hi Fnds,

  I'm new to cakephp, and I'm able to setup cake env. But while
  developing blog app, I'm getting the follwoing warnings with no
  result.
  I'm using Cake 1.2.5 and XAMP 1.7.2(PHP 5.3)  , Please let me know any
  clue to resolve this issue.

  One more thing point is  , I worked on RubyOnRail long time back. The
  docs,command scaffold creation is very simple and easy to understand.
  I home Cake also will reach much easier levels soon.

  
  Warning: strtotime() [function.strtotime]: It is not safe to rely on
  the system's timezone settings. You are *required* to use the
  date.timezone setting or the date_default_timezone_set() function. In
  case you used any of those methods and you are still getting this
  warning, you most likely misspelled the timezone identifier. We
  selected 'Asia/Calcutta' for '5.5/no DST' instead in J:\PHP
  \cake_1.2.5\cake\libs\cache.php on line 429

  Warning (2): strtotime() [function.strtotime]: It is not safe to rely
  on the system's timezone settings. You are *required* to use the
  date.timezone setting or the date_default_timezone_set() function. In
  case you used any of those methods and you are still getting this
  warning, you most likely misspelled the timezone identifier. We
  selected 'Asia/Calcutta' for '5.5/no DST' instead [CORE\cake\libs
  \cache.php, line 429]

  Code | Context

  $settings       =       array(
         engine = File,
         path = J:\xampp\htdocs\blog\myapp\tmp\cache\persistent\,
         prefix = cake_core_,
         lock = false,
         serialize = true,
         isWindows = true,
         duration = +10 seconds,
         probability = 100
  )

  strtotime - [internal], line ??
  CacheEngine::init() - CORE\cake\libs\cache.php, line 429
  FileEngine::init() - CORE\cake\libs\cache\file.php, line 84
  Cache::set() - CORE\cake\libs\cache.php, line 195
  Cache::config() - CORE\cake\libs\cache.php, line 131
  Configure::__loadBootstrap() - CORE\cake\libs\configure.php, line 684
  Configure::getInstance() - CORE\cake\libs\configure.php, line 137
  include - CORE\cake\bootstrap.php, line 47
  [main] - APP\webroot\index.php, line 81

  Warning: date() [function.date]: It is not safe to rely on the
  system's timezone settings. You are *required* to use the
  date.timezone setting or the date_default_timezone_set() function. In
  case you used any of those methods and you are still getting this
  warning, you most likely misspelled the timezone identifier. We
  selected 'Asia/Calcutta' for '5.5/no DST' instead in J:\PHP
  \cake_1.2.5\cake\libs\cake_log.php on line 94
  css('default'); ?
  (default) 0 query took ms Nr    Query   Error   Affected        Num. rows   
      Took (ms)- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: New To CakePHP

2009-09-18 Thread brian

On Fri, Sep 18, 2009 at 4:18 PM, Simon simon_d...@hotmail.com wrote:

 try this

 go to c/xampp/apache/conf/  open file name httpd.conf  find this
 #LoadModule rewrite_module modules/mod_rewrite.so  remove the # and
 find

 Directory /
    Options FollowSymLinks
    AllowOverride none
    Order deny,allow
    Deny from all
 /Directory


 set  AllowOverride to all form none

What does that have to do with PHP's strtotime() function and timezones?

--~--~-~--~~~---~--~~
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: New To CakePHP

2009-09-18 Thread Simon

my bad i forgot to mention that find php.ini file set  Timezone and i
had the same issue

On Sep 18, 1:18 pm, Simon simon_d...@hotmail.com wrote:
 try this

 go to c/xampp/apache/conf/  open file name httpd.conf  find this
 #LoadModule rewrite_module modules/mod_rewrite.so  remove the # and
 find

 Directory /
     Options FollowSymLinks
     AllowOverride none
     Order deny,allow
     Deny from all
 /Directory

 set  AllowOverride to all form none

 On Sep 18, 9:35 am, brian bally.z...@gmail.com wrote:



  Raghu, it appears to me that this is a PHP--not CakePHP--warning. it's
  possible that your computer has a misconfiguration. Although, I admit
  that I'm not familiar with this warning, so that's just a guess. I'm
  also not very familiar with Windows timezone settings.

  Try creating a regular PHP script with the following:

  ?php
  error_reporting(E_ALL);
  ini_set('display_errors', '1');
  echo strtotime('+10 seconds');

  If you see a similar warning, I suggest you post this question to the
  PHP mailing list (use a more descriptive subject, though, or you may
  not receive many responses).

 http://www.php.net/mailing-lists.php

  On Fri, Sep 18, 2009 at 9:46 AM, Raghu visuma...@gmail.com wrote:

   Hi Fnds,

   I'm new to cakephp, and I'm able to setup cake env. But while
   developing blog app, I'm getting the follwoing warnings with no
   result.
   I'm using Cake 1.2.5 and XAMP 1.7.2(PHP 5.3)  , Please let me know any
   clue to resolve this issue.

   One more thing point is  , I worked on RubyOnRail long time back. The
   docs,command scaffold creation is very simple and easy to understand.
   I home Cake also will reach much easier levels soon.

   
   Warning: strtotime() [function.strtotime]: It is not safe to rely on
   the system's timezone settings. You are *required* to use the
   date.timezone setting or the date_default_timezone_set() function. In
   case you used any of those methods and you are still getting this
   warning, you most likely misspelled the timezone identifier. We
   selected 'Asia/Calcutta' for '5.5/no DST' instead in J:\PHP
   \cake_1.2.5\cake\libs\cache.php on line 429

   Warning (2): strtotime() [function.strtotime]: It is not safe to rely
   on the system's timezone settings. You are *required* to use the
   date.timezone setting or the date_default_timezone_set() function. In
   case you used any of those methods and you are still getting this
   warning, you most likely misspelled the timezone identifier. We
   selected 'Asia/Calcutta' for '5.5/no DST' instead [CORE\cake\libs
   \cache.php, line 429]

   Code | Context

   $settings       =       array(
          engine = File,
          path = J:\xampp\htdocs\blog\myapp\tmp\cache\persistent\,
          prefix = cake_core_,
          lock = false,
          serialize = true,
          isWindows = true,
          duration = +10 seconds,
          probability = 100
   )

   strtotime - [internal], line ??
   CacheEngine::init() - CORE\cake\libs\cache.php, line 429
   FileEngine::init() - CORE\cake\libs\cache\file.php, line 84
   Cache::set() - CORE\cake\libs\cache.php, line 195
   Cache::config() - CORE\cake\libs\cache.php, line 131
   Configure::__loadBootstrap() - CORE\cake\libs\configure.php, line 684
   Configure::getInstance() - CORE\cake\libs\configure.php, line 137
   include - CORE\cake\bootstrap.php, line 47
   [main] - APP\webroot\index.php, line 81

   Warning: date() [function.date]: It is not safe to rely on the
   system's timezone settings. You are *required* to use the
   date.timezone setting or the date_default_timezone_set() function. In
   case you used any of those methods and you are still getting this
   warning, you most likely misspelled the timezone identifier. We
   selected 'Asia/Calcutta' for '5.5/no DST' instead in J:\PHP
   \cake_1.2.5\cake\libs\cake_log.php on line 94
   css('default'); ?
   (default) 0 query took ms Nr    Query   Error   Affected        Num. rows 
         Took (ms)- Hide quoted text -

  - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: New To CakePHP

2009-09-18 Thread Jon Bennett

 my bad i forgot to mention that find php.ini file set  Timezone and i
 had the same issue

Or use ini_set in bootstrap and leave your php config alone


 On Sep 18, 1:18 pm, Simon simon_d...@hotmail.com wrote:
 try this

 go to c/xampp/apache/conf/  open file name httpd.conf  find this
 #LoadModule rewrite_module modules/mod_rewrite.so  remove the # and
 find

 Directory /
     Options FollowSymLinks
     AllowOverride none
     Order deny,allow
     Deny from all
 /Directory

 set  AllowOverride to all form none

 On Sep 18, 9:35 am, brian bally.z...@gmail.com wrote:



  Raghu, it appears to me that this is a PHP--not CakePHP--warning. it's
  possible that your computer has a misconfiguration. Although, I admit
  that I'm not familiar with this warning, so that's just a guess. I'm
  also not very familiar with Windows timezone settings.

  Try creating a regular PHP script with the following:

  ?php
  error_reporting(E_ALL);
  ini_set('display_errors', '1');
  echo strtotime('+10 seconds');

  If you see a similar warning, I suggest you post this question to the
  PHP mailing list (use a more descriptive subject, though, or you may
  not receive many responses).

 http://www.php.net/mailing-lists.php

  On Fri, Sep 18, 2009 at 9:46 AM, Raghu visuma...@gmail.com wrote:

   Hi Fnds,

   I'm new to cakephp, and I'm able to setup cake env. But while
   developing blog app, I'm getting the follwoing warnings with no
   result.
   I'm using Cake 1.2.5 and XAMP 1.7.2(PHP 5.3)  , Please let me know any
   clue to resolve this issue.

   One more thing point is  , I worked on RubyOnRail long time back. The
   docs,command scaffold creation is very simple and easy to understand.
   I home Cake also will reach much easier levels soon.

   
   Warning: strtotime() [function.strtotime]: It is not safe to rely on
   the system's timezone settings. You are *required* to use the
   date.timezone setting or the date_default_timezone_set() function. In
   case you used any of those methods and you are still getting this
   warning, you most likely misspelled the timezone identifier. We
   selected 'Asia/Calcutta' for '5.5/no DST' instead in J:\PHP
   \cake_1.2.5\cake\libs\cache.php on line 429

   Warning (2): strtotime() [function.strtotime]: It is not safe to rely
   on the system's timezone settings. You are *required* to use the
   date.timezone setting or the date_default_timezone_set() function. In
   case you used any of those methods and you are still getting this
   warning, you most likely misspelled the timezone identifier. We
   selected 'Asia/Calcutta' for '5.5/no DST' instead [CORE\cake\libs
   \cache.php, line 429]

   Code | Context

   $settings       =       array(
          engine = File,
          path = J:\xampp\htdocs\blog\myapp\tmp\cache\persistent\,
          prefix = cake_core_,
          lock = false,
          serialize = true,
          isWindows = true,
          duration = +10 seconds,
          probability = 100
   )

   strtotime - [internal], line ??
   CacheEngine::init() - CORE\cake\libs\cache.php, line 429
   FileEngine::init() - CORE\cake\libs\cache\file.php, line 84
   Cache::set() - CORE\cake\libs\cache.php, line 195
   C  - Show quoted text -- Hide quoted text -

 - Show quoted text -
 


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~-~--~~~---~--~~
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: New to cakePHP

2009-07-10 Thread Dhileepen Chakravarthy
Thanks its working fine.

--~--~-~--~~~---~--~~
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: New to cakePHP

2009-07-08 Thread jeff
follow this link http://book.cakephp.org/view/219/Blog
and its simple enough

tip:read and read.it  again and again

On Wed, Jul 8, 2009 at 3:22 PM, Dhileepen Chakravarthy 
dhileepen.cake...@gmail.com wrote:

 Hello everybody,

 I am a new guy for cake php .

 I installed cakephp in my XAMPP server.

 How do i create a sample application.

 Please help me a easy to understand URL

 Regards,
 Dhileepen

 



-- 
-- 
(¨`•.•´¨) I may be busy,
`•.¸(¨`•.•´¨)  but I assure you,
(¨`•.•´¨)¸.•´ you are always in my heart
`•.¸.•´


With Lots of Love.

THANKS AND REGARDS

Jeffery Jacob

--~--~-~--~~~---~--~~
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: New To cakephp

2009-06-16 Thread Andreas Derksen

Hi Netram,
please read the Cookbook at least once, it will really help you in the 
future. There is also the installation manual in there. Follow this 
link: http://book.cakephp.org/

greets
Andreas

Netram Dhakar schrieb:
 Hi,

 I am new with CakePHP.How to install and configure.

 Please help me.

 Thanks  Regards
 Netram dhakar

 
   

--~--~-~--~~~---~--~~
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: New To cakephp

2009-06-16 Thread Marcelo Andrade

On Tue, Jun 16, 2009 at 2:43 AM, Netram Dhakardhakarnet...@gmail.com wrote:

 Hi,
 I am new with CakePHP.How to install and configure.

 Please help me.

That's a very common question when you're starting.

According to cookbook...

Installation preparation consists of the following steps:
* Downloading a copy of CakePHP
* Configuring your web server to handle php if necessary
* Checking file permissions

http://book.cakephp.org/view/29/Installation-Preparation

--
MARCELO DE F. ANDRADE
Belem, PA, Amazonia, Brazil
Linux User #221105

http://mfandrade.wordpress.com

--~--~-~--~~~---~--~~
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: New to CakepHp.. question

2009-04-02 Thread John Andersen

My question is, when are you going to enter the user serial?
Is it done manually by you or can it be done automatically?
If automatically, then ensure that you have the new user serial
available when a user is being registered!
Enjoy,
   John

On Apr 2, 8:17 am, vanushv van...@gmail.com wrote:
 Hey i'm trying set up a fairly simple webapp and so far I've used the
 bake script and it worked pretty good to establish a base for me

 In my database there is a table of users; each user has a serial
 number. i want the serial number to be a primary key - so i renamed
 the serial column to 'id'. But.. when Adding new users I want to be
 able to enter the user serial (id). When i set everything up with bake
 and tried to add a new user it failed because the primary key (id) is
 empty - (i didn't set an auto_increment on it).

 Anyone have any ideas?

 VaNuSh
--~--~-~--~~~---~--~~
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: New to CakepHp.. question

2009-04-02 Thread vanushv

The serial will be entered manually by an operator

On Apr 2, 5:15 pm, John Andersen j.andersen...@gmail.com wrote:
 My question is, when are you going to enter the user serial?
 Is it done manually by you or can it be done automatically?
 If automatically, then ensure that you have the new user serial
 available when a user is being registered!
 Enjoy,
    John

 On Apr 2, 8:17 am, vanushv van...@gmail.com wrote:





  Hey i'm trying set up a fairly simple webapp and so far I've used the
  bake script and it worked pretty good to establish a base for me

  In my database there is a table of users; each user has a serial
  number. i want the serial number to be a primary key - so i renamed
  the serial column to 'id'. But.. when Adding new users I want to be
  able to enter the user serial (id). When i set everything up with bake
  and tried to add a new user it failed because the primary key (id) is
  empty - (i didn't set an auto_increment on it).

  Anyone have any ideas?

  VaNuSh
--~--~-~--~~~---~--~~
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: New to CakepHp.. question

2009-04-02 Thread John Andersen

Ok, then you can't use the ID as the user serial, if you are
registering a new user in the users table!

I suggest you change your process, so that new users are registered in
another table, for example registrations.
Then you manually process each registration, by copying the
registration into the users table adding your serial as the id in the
users table!
How does this sound to you?

If you don't want the hassle/trouble of doing this every time -
automate the process by pre-creating the user serials - and then take
one when a user is being registered. I assume then that the user
serials can be pre-created - that there is an algorithm behind the
user serials - or is it completely a manual definition of each user
serial?

Enjoy,
   John

On Apr 2, 10:48 am, vanushv van...@gmail.com wrote:
 The serial will be entered manually by an operator

[snip]
--~--~-~--~~~---~--~~
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: New to CakepHp.. question

2009-04-02 Thread dr. Hannibal Lecter

This is a very very very bad design decision. User data != internal
system data. Use another column for your serial, and leave User.id
to cake.

BUT, if you really have to use it as a primary key, you could try
leaving it named serial_number or whatever and customizing your model
to use that field as primary key, but I'm not sure how this will work.

On Apr 2, 9:48 am, vanushv van...@gmail.com wrote:
 The serial will be entered manually by an operator

 On Apr 2, 5:15 pm, John Andersen j.andersen...@gmail.com wrote:

  My question is, when are you going to enter the user serial?
  Is it done manually by you or can it be done automatically?
  If automatically, then ensure that you have the new user serial
  available when a user is being registered!
  Enjoy,
     John

  On Apr 2, 8:17 am, vanushv van...@gmail.com wrote:

   Hey i'm trying set up a fairly simple webapp and so far I've used the
   bake script and it worked pretty good to establish a base for me

   In my database there is a table of users; each user has a serial
   number. i want the serial number to be a primary key - so i renamed
   the serial column to 'id'. But.. when Adding new users I want to be
   able to enter the user serial (id). When i set everything up with bake
   and tried to add a new user it failed because the primary key (id) is
   empty - (i didn't set an auto_increment on it).

   Anyone have any ideas?

   VaNuSh
--~--~-~--~~~---~--~~
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: New to CakepHp.. question

2009-04-02 Thread Smelly Eddie

What is the difference between serial and user id??  Aren't they both
just numbers that increment with each addition?

I don't think you have planned this out very well. You can either set
the starting point of the primary id to a very high value, or grab the
last serial and increment before creating new users, but this is not
leveraging the simple auto-increment that MySQL provides.





On Apr 2, 4:06 am, dr. Hannibal Lecter lecter...@gmail.com wrote:
 This is a very very very bad design decision. User data != internal
 system data. Use another column for your serial, and leave User.id
 to cake.

 BUT, if you really have to use it as a primary key, you could try
 leaving it named serial_number or whatever and customizing your model
 to use that field as primary key, but I'm not sure how this will work.

 On Apr 2, 9:48 am, vanushv van...@gmail.com wrote:

  The serial will be entered manually by an operator

  On Apr 2, 5:15 pm, John Andersen j.andersen...@gmail.com wrote:

   My question is, when are you going to enter the user serial?
   Is it done manually by you or can it be done automatically?
   If automatically, then ensure that you have the new user serial
   available when a user is being registered!
   Enjoy,
      John

   On Apr 2, 8:17 am, vanushv van...@gmail.com wrote:

Hey i'm trying set up a fairly simple webapp and so far I've used the
bake script and it worked pretty good to establish a base for me

In my database there is a table of users; each user has a serial
number. i want the serial number to be a primary key - so i renamed
the serial column to 'id'. But.. when Adding new users I want to be
able to enter the user serial (id). When i set everything up with bake
and tried to add a new user it failed because the primary key (id) is
empty - (i didn't set an auto_increment on it).

Anyone have any ideas?

VaNuSh
--~--~-~--~~~---~--~~
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: new to cakephp

2009-02-23 Thread Toby Mathews

If it's any help, basic login stuff (plus permissions) is covered in this
tutorial:

http://book.cakephp.org/view/641/Simple-Acl-controlled-Application

Toby

-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of motoq88
Sent: 22 February 2009 18:27
To: CakePHP
Subject: new to cakephp


hi, I am new to cakePHP.

I want to know it is possible to only lock some of features in a page
and leave other portion of the lage open to public without requiring
login.

I also want to know where i can find existing code that supports basic
login/logout and basic user control panel.

thanks,

motoq




--~--~-~--~~~---~--~~
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: new to cakephp

2009-02-23 Thread adam

Toby, you're playing devil's advocate by pointing a Cake newcomer to
the Simple Acl controller Application

Read about the Auth component, and then make your own component to
replace ACL  :)

Adam


On Feb 23, 2:15 pm, Toby Mathews toby.math...@gmail.com wrote:
 If it's any help, basic login stuff (plus permissions) is covered in this
 tutorial:

 http://book.cakephp.org/view/641/Simple-Acl-controlled-Application

 Toby

 -Original Message-
 From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf

 Of motoq88
 Sent: 22 February 2009 18:27
 To: CakePHP
 Subject: new to cakephp

 hi, I am new to cakePHP.

 I want to know it is possible to only lock some of features in a page
 and leave other portion of the lage open to public without requiring
 login.

 I also want to know where i can find existing code that supports basic
 login/logout and basic user control panel.

 thanks,

 motoq
--~--~-~--~~~---~--~~
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: new to cakephp

2009-02-22 Thread dr. Hannibal Lecter

 I want to know it is possible to only lock some of features in a page
 and leave other portion of the lage open to public without requiring
 login.

Yes.

 I also want to know where i can find existing code that supports basic
 login/logout and basic user control panel.

http://book.cakephp.org/
--~--~-~--~~~---~--~~
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: new to cakephp

2009-02-22 Thread brian

On Sun, Feb 22, 2009 at 1:26 PM, motoq88 moto...@gmail.com wrote:

 hi, I am new to cakePHP.

 I want to know it is possible to only lock some of features in a page
 and leave other portion of the lage open to public without requiring
 login.

Display those portions using elements. Check the session to see if the
element should be displayed.

--~--~-~--~~~---~--~~
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: new to cakephp

2009-02-22 Thread Aivaras

Why would he use elements if there's Auth-allow(); ? Would save tons
of time and be better in performance.

Cheers,
Faifas



On Mon, Feb 23, 2009 at 00:49, brian bally.z...@gmail.com wrote:

 On Sun, Feb 22, 2009 at 1:26 PM, motoq88 moto...@gmail.com wrote:

 hi, I am new to cakePHP.

 I want to know it is possible to only lock some of features in a page
 and leave other portion of the lage open to public without requiring
 login.

 Display those portions using elements. Check the session to see if the
 element should be displayed.

 


--~--~-~--~~~---~--~~
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: new to cakephp

2009-01-16 Thread Alexandru Ciobanu

sasikumar a wrote:
 my upcoming projects all cakephp so i want to learn cake plz anyone
 guide me.

   
http://book.cakephp.org/view/4/Beginning-With-CakePHP

--~--~-~--~~~---~--~~
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: new to cakephp

2009-01-16 Thread Mike Bernat
http://letmegooglethatforyou.com/?q=cakePHP+Resources

On Fri, Jan 16, 2009 at 10:41 AM, Alexandru Ciobanu
ics.cake...@gmail.comwrote:


 sasikumar a wrote:
  my upcoming projects all cakephp so i want to learn cake plz anyone
  guide me.
 
 
 http://book.cakephp.org/view/4/Beginning-With-CakePHP

 


--~--~-~--~~~---~--~~
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: New to CakePHP

2008-12-17 Thread Smelly_Eddie

WallyJ

I would guess.

Basically your main config is saying dont let any sub directory's
htaccess files do anything, I'm the boss!
So when mod_rewrite is inactive, there is no issue. But when you
activate mod_rewrite you create a conflict which results in the access
forbidden.


You'll need to edit httpd.conf for the directory this occurs on.

You'll likely see something like

directory /location/of/cake
AllowOverride None
/directory

Change the None to All.
which changes its stance to I'm still the boss but I don't like to
micro-manage, so let htaccess files do their thing.



On Dec 16, 9:39 pm, WallyJ m...@junkemail.biz wrote:
 I tried this and when I UNcommented the rewrite line, I received Access
 Forbidden from the localhost that was working fine before. If I comment the
 line back, it works fine.

 Ideas?

 Thanks!

 WallyJ



 imran k wrote:

  Thanks guys... it worked. I did exactly what both of you said. thanks
  a lot.

  On Oct 13, 5:16 am, qwanta rgmic...@gmail.com wrote:
  Also, don't forget to restart apache after making the httpd.conf
  changes.

  On Oct 12, 2:16 pm, imran k badboymax.im...@gmail.com wrote:

   Hi everyone! I am Imran k and very new to CakePHP. I have downloaded
   cake_1.2.0.7692-rc3  and installed on XAMPP server but the 'welcome
   screen' appears without any graphics or colors.

   I tried editing the httpd.conf file but it didn't made any difference.
   The screen is still with no color, no styles, no layout, and no font
   changes appear—it’s just black text on a white background.

   Can anybody please help?

 --
 View this message in 
 context:http://n2.nabble.com/New-to-CakePHP-tp1323156p1666164.html
 Sent from the CakePHP mailing list archive at Nabble.com.
--~--~-~--~~~---~--~~
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: New to CakePHP

2008-12-16 Thread WallyJ


I tried this and when I UNcommented the rewrite line, I received Access
Forbidden from the localhost that was working fine before. If I comment the
line back, it works fine.

Ideas?

Thanks!

WallyJ




imran k wrote:
 
 
 Thanks guys... it worked. I did exactly what both of you said. thanks
 a lot.
 
 On Oct 13, 5:16 am, qwanta rgmic...@gmail.com wrote:
 Also, don't forget to restart apache after making the httpd.conf
 changes.

 On Oct 12, 2:16 pm, imran k badboymax.im...@gmail.com wrote:



  Hi everyone! I am Imran k and very new to CakePHP. I have downloaded
  cake_1.2.0.7692-rc3  and installed on XAMPP server but the 'welcome
  screen' appears without any graphics or colors.

  I tried editing the httpd.conf file but it didn't made any difference.
  The screen is still with no color, no styles, no layout, and no font
  changes appear—it’s just black text on a white background.

  Can anybody please help?
  
 
 

-- 
View this message in context: 
http://n2.nabble.com/New-to-CakePHP-tp1323156p1666164.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
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: New to CakePHP

2008-10-17 Thread imran k

Thanks guys... it worked. I did exactly what both of you said. thanks
a lot.

On Oct 13, 5:16 am, qwanta [EMAIL PROTECTED] wrote:
 Also, don't forget to restart apache after making the httpd.conf
 changes.

 On Oct 12, 2:16 pm, imran k [EMAIL PROTECTED] wrote:



  Hi everyone! I am Imran k and very new to CakePHP. I have downloaded
  cake_1.2.0.7692-rc3  and installed on XAMPP server but the 'welcome
  screen' appears without any graphics or colors.

  I tried editing the httpd.conf file but it didn't made any difference.
  The screen is still with no color, no styles, no layout, and no font
  changes appear—it’s just black text on a white background.

  Can anybody please help?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: New to CakePHP

2008-10-13 Thread qwanta

Also, don't forget to restart apache after making the httpd.conf
changes.

On Oct 12, 2:16 pm, imran k [EMAIL PROTECTED] wrote:
 Hi everyone! I am Imran k and very new to CakePHP. I have downloaded
 cake_1.2.0.7692-rc3  and installed on XAMPP server but the 'welcome
 screen' appears without any graphics or colors.

 I tried editing the httpd.conf file but it didn't made any difference.
 The screen is still with no color, no styles, no layout, and no font
 changes appear—it’s just black text on a white background.

 Can anybody please help?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: New to CakePHP and PHP

2007-10-14 Thread tracyfloyd

Checkout any of the Larry Ullman books on PHP... The Visual Quickstart
Guides are great. That's where I got my start with PHP and he does a
great job of laying everything out in a way thats understandable
(IMO).



On Oct 13, 7:08 pm, afx [EMAIL PROTECTED] wrote:
 I'm in the same boat as you, except I've gotten off to a great start:

 http://www.davidgoldingdesign.com/newbie-cakephp.pdf

 read that, great getting started guide from getting your server up to
 creating mysql tables.

 also:

 http://www.sitepoint.com/article/application-development-cakephp

 is great starter tutorial

 On Oct 13, 5:21 am, Takumi [EMAIL PROTECTED] wrote:

  Hello,
  CakePHP looks like a great framework to get started in, I tried some
  of the tutorials on the site and really think I'd like developing some
  apps using Cake... But I don't know where to start to learn PHP, and I
  have no idea how  to create the MySQL tables in the right way.
  Help is much appreciated :)
  Thanks,
  Takumi


--~--~-~--~~~---~--~~
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: New to CakePHP and PHP

2007-10-13 Thread afx

I'm in the same boat as you, except I've gotten off to a great start:

http://www.davidgoldingdesign.com/newbie-cakephp.pdf

read that, great getting started guide from getting your server up to
creating mysql tables.

also:

http://www.sitepoint.com/article/application-development-cakephp

is great starter tutorial

On Oct 13, 5:21 am, Takumi [EMAIL PROTECTED] wrote:
 Hello,
 CakePHP looks like a great framework to get started in, I tried some
 of the tutorials on the site and really think I'd like developing some
 apps using Cake... But I don't know where to start to learn PHP, and I
 have no idea how  to create the MySQL tables in the right way.
 Help is much appreciated :)
 Thanks,
 Takumi


--~--~-~--~~~---~--~~
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: New to cakePHP

2007-05-05 Thread whidbey

Hi,I have the same problem ,I use the lasted version of bakesale
,and the backend admin operation such as category have the same
problem.
I think there 2 reason ,database table not very well support such
as we put '' into int type.
the other is the last version of stable 's cakephp's problem.
did it support mysql5 in windows?
if you resolve it,mail me,thx.

[EMAIL PROTECTED] 写道:
 I've tried the same blog tutorial using both the stable and unstable
 version of CakePHP.  There has to be something I can do to figure out
 what the problem is.  I'm pretty sure I followed the tutorial step by
 step, but perhaps I need to run through it once more.


--~--~-~--~~~---~--~~
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: New to cakePHP

2007-05-04 Thread [EMAIL PROTECTED]

I've tried the same blog tutorial using both the stable and unstable
version of CakePHP.  There has to be something I can do to figure out
what the problem is.  I'm pretty sure I followed the tutorial step by
step, but perhaps I need to run through it once more.


--~--~-~--~~~---~--~~
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: New to cakePHP

2007-04-27 Thread [EMAIL PROTECTED]

Did you try the stable version of cakePHP? I had a similar problem,
but it was caused because I downloaded cake incomplete, make sure you
have the stable and full version, which is the best option for
starters I think ... :)


--~--~-~--~~~---~--~~
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: New to CakePHP and already a problem!

2006-08-09 Thread nate

You're new to Cake and you already have a problem?  Is that surprising
because you'd have expected to encounter a problem after having used it
for longer?  I'd guess that it's more the other way around: you haven't
used it long, therefore you're inexperienced in addressing issues with
it.  Causality and assumption are funny that way.  In any case...

It looks like you're trying to over-complicate your setup, which is one
thing I definitely wouldn't start with if you're new to Cake.  The
first two things that jump out at me with your configuration are that
you've set CAKE_CORE_INCLUDE_PATH to C:\Cake, when the actual path is
C:\cake.  I know Windows is usually case insensitive, but maybe it
makes a difference in PHP/Apache.

The other thing is your APP_DIR setting.  In all the customizations I
have ever done to Cake, I've never had to change this setting, and I'm
pretty sure it should not be set to 'webroot'.  Try changing this
setting back to the default, and see if that fixes your problem.


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



Re: New to CakePHP and already a problem!

2006-08-09 Thread Bernard Grosperrin

nate ,
 You're new to Cake and you already have a problem?  Is that surprising
 because you'd have expected to encounter a problem after having used it
 for longer?  I'd guess that it's more the other way around: you haven't
 used it long, therefore you're inexperienced in addressing issues with
 it.  Causality and assumption are funny that way.  In any case...
   
I did not have any negative intent in this post. I am sorry if the 
subject was/is perceived as a critic. English is my second language, and 
it may have a connotation I had no idea I was putting in here

 It looks like you're trying to over-complicate your setup, which is one
 thing I definitely wouldn't start with if you're new to Cake.  The
 first two things that jump out at me with your configuration are that
 you've set CAKE_CORE_INCLUDE_PATH to C:\Cake, when the actual path is
 C:\cake.  I know Windows is usually case insensitive, but maybe it
 makes a difference in PHP/Apache.
   
Ho, I did not see that, thanks
 The other thing is your APP_DIR setting.  In all the customizations I
 have ever done to Cake, I've never had to change this setting, and I'm
 pretty sure it should not be set to 'webroot'.  Try changing this setting 
 back to the default, and see if that fixes your problem.
   
OK, I will re-install, and go from there, thanks.

Bernard



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