Re: Installing CakePHP - Missing PrivatController

2008-06-13 Thread Joel Perras

Sounds to me like you're not getting Cake from cakephp.org; there is
no 'PrivatController' in the default Cake installation, and nothing
that could possible cause this error.

Read the installation chaper in http://book.cakephp.org, and make sure
you get the CakePHP sources from the, err, source.

-Joel.

On Jun 13, 12:43 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Good morning developers.

 While i'm installing cakephp on my pc there comes a little problem. I
 did it before once on another pc without any problems.

 What did i do:
 I downloaded cakephp 1.2 rc1 and unzip it to my webroot folder. I run
 Apache 2.2.6 with PHP 5.2.5 and MySQL 5.0.51. Then i setup the
 default.php for the database connection and create a database named
 blog. All this seems to be good. But then...

 On my first px i installed it i can now see a fresh designed cakephp
 layout with some informations hover on yellow or green background
 which tells me that my database connection is good an all these stuff.
 BUT on my other pc der comes just black on white text.

 So here ist the errormessege:
 CakePHP: the rapid development php framework
 Missing Controller

 Error: PrivatController could not be found.

 Error: Create the class PrivatController below in file: app\controllers
 \privat_controller.php

 ?php
 class PrivatController extends AppController {

         var $name = 'Privat';}

 ?

 Notice: If you want to customize this error message, create app\views
 \errors\missing_controller.ctp
 CakePHP: the rapid development php framework

 Ok i guess, let's create this class. After that text error changes to:
 CakePHP: the rapid development php framework
 Missing Database Table

 Error: Database table privats for model Privat was not found.

 Notice: If you want to customize this error message, create app\views
 \errors\missing_table.ctp
 CakePHP: the rapid development php framework

 Ok again. I created the table in my database but nothing changes.
 What can i do to get it run correctly? Or shoud i ignore it and just
 begin to develop my project?

 Greetz Ben
--~--~-~--~~~---~--~~
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: Installing CakePHP - Missing PrivatController

2008-06-13 Thread Jonathan Snook

Joel, I suspect he's running cake fine.

Benny, I think you need to just continue to learn more about CakePHP
using the cookbook http://manual.cakephp.org and move forward in
trying to build your application.

On Fri, Jun 13, 2008 at 2:24 AM, Joel Perras [EMAIL PROTECTED] wrote:

 Sounds to me like you're not getting Cake from cakephp.org; there is
 no 'PrivatController' in the default Cake installation, and nothing
 that could possible cause this error.

 Read the installation chaper in http://book.cakephp.org, and make sure
 you get the CakePHP sources from the, err, source.

 -Joel.

 On Jun 13, 12:43 am, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
 Good morning developers.

 While i'm installing cakephp on my pc there comes a little problem. I
 did it before once on another pc without any problems.

 What did i do:
 I downloaded cakephp 1.2 rc1 and unzip it to my webroot folder. I run
 Apache 2.2.6 with PHP 5.2.5 and MySQL 5.0.51. Then i setup the
 default.php for the database connection and create a database named
 blog. All this seems to be good. But then...

 On my first px i installed it i can now see a fresh designed cakephp
 layout with some informations hover on yellow or green background
 which tells me that my database connection is good an all these stuff.
 BUT on my other pc der comes just black on white text.

 So here ist the errormessege:
 CakePHP: the rapid development php framework
 Missing Controller

 Error: PrivatController could not be found.

 Error: Create the class PrivatController below in file: app\controllers
 \privat_controller.php

 ?php
 class PrivatController extends AppController {

 var $name = 'Privat';}

 ?

 Notice: If you want to customize this error message, create app\views
 \errors\missing_controller.ctp
 CakePHP: the rapid development php framework

 Ok i guess, let's create this class. After that text error changes to:
 CakePHP: the rapid development php framework
 Missing Database Table

 Error: Database table privats for model Privat was not found.

 Notice: If you want to customize this error message, create app\views
 \errors\missing_table.ctp
 CakePHP: the rapid development php framework

 Ok again. I created the table in my database but nothing changes.
 What can i do to get it run correctly? Or shoud i ignore it and just
 begin to develop my project?

 Greetz Ben
 


--~--~-~--~~~---~--~~
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: Installing CakePHP - Missing PrivatController

2008-06-13 Thread [EMAIL PROTECTED]

@Joel: I'm getting cake from the official source. Just clicked on the
link on the frontpage of cakephp.org.

@Jonathan: You are right. I'm absolutly new in this. I'm trying hard
to learn but get some pretty problems yet. But i'll stay on it.

I will report if i figured it out.
But one question again: Why is the GUI of my install at the second pc
just plain text and on the first one the nice blue cakephp one??? I
just did not change more on the first one than on the second...




On 13 Jun., 08:46, Jonathan Snook [EMAIL PROTECTED] wrote:
 Joel, I suspect he's running cake fine.

 Benny, I think you need to just continue to learn more about CakePHP
 using the cookbook http://manual.cakephp.org and move forward in
 trying to build your application.

 On Fri, Jun 13, 2008 at 2:24 AM, Joel Perras [EMAIL PROTECTED] wrote:

  Sounds to me like you're not getting Cake from cakephp.org; there is
  no 'PrivatController' in the default Cake installation, and nothing
  that could possible cause this error.

  Read the installation chaper inhttp://book.cakephp.org, and make sure
  you get the CakePHP sources from the, err, source.

  -Joel.

  On Jun 13, 12:43 am, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
  Good morning developers.

  While i'm installing cakephp on my pc there comes a little problem. I
  did it before once on another pc without any problems.

  What did i do:
  I downloaded cakephp 1.2 rc1 and unzip it to my webroot folder. I run
  Apache 2.2.6 with PHP 5.2.5 and MySQL 5.0.51. Then i setup the
  default.php for the database connection and create a database named
  blog. All this seems to be good. But then...

  On my first px i installed it i can now see a fresh designed cakephp
  layout with some informations hover on yellow or green background
  which tells me that my database connection is good an all these stuff.
  BUT on my other pc der comes just black on white text.

  So here ist the errormessege:
  CakePHP: the rapid development php framework
  Missing Controller

  Error: PrivatController could not be found.

  Error: Create the class PrivatController below in file: app\controllers
  \privat_controller.php

  ?php
  class PrivatController extends AppController {

  var $name = 'Privat';}

  ?

  Notice: If you want to customize this error message, create app\views
  \errors\missing_controller.ctp
  CakePHP: the rapid development php framework

  Ok i guess, let's create this class. After that text error changes to:
  CakePHP: the rapid development php framework
  Missing Database Table

  Error: Database table privats for model Privat was not found.

  Notice: If you want to customize this error message, create app\views
  \errors\missing_table.ctp
  CakePHP: the rapid development php framework

  Ok again. I created the table in my database but nothing changes.
  What can i do to get it run correctly? Or shoud i ignore it and just
  begin to develop my project?

  Greetz Ben
--~--~-~--~~~---~--~~
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: Installing CakePHP - Missing PrivatController

2008-06-13 Thread Grant Cox

Because you don't have mod_rewrite (apache module) set up properly on
your second computer.

The first issue is that something is requesting http://yourapp.localhost/privat
, which Cake assumes to be the index action of the privat
controller.  I'm not sure what this is - it's something in your
application.  But if you just ignore it for now and set up your
application, it's likely the problem will go away, or you'll figure
out what you've done wrong.


On Jun 13, 5:40 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 @Joel: I'm getting cake from the official source. Just clicked on the
 link on the frontpage of cakephp.org.

 @Jonathan: You are right. I'm absolutly new in this. I'm trying hard
 to learn but get some pretty problems yet. But i'll stay on it.

 I will report if i figured it out.
 But one question again: Why is the GUI of my install at the second pc
 just plain text and on the first one the nice blue cakephp one??? I
 just did not change more on the first one than on the second...

 On 13 Jun., 08:46, Jonathan Snook [EMAIL PROTECTED] wrote:

  Joel, I suspect he's running cake fine.

  Benny, I think you need to just continue to learn more about CakePHP
  using the cookbook http://manual.cakephp.org and move forward in
  trying to build your application.

  On Fri, Jun 13, 2008 at 2:24 AM, Joel Perras [EMAIL PROTECTED] wrote:

   Sounds to me like you're not getting Cake from cakephp.org; there is
   no 'PrivatController' in the default Cake installation, and nothing
   that could possible cause this error.

   Read the installation chaper inhttp://book.cakephp.org, and make sure
   you get the CakePHP sources from the, err, source.

   -Joel.

   On Jun 13, 12:43 am, [EMAIL PROTECTED]
   [EMAIL PROTECTED] wrote:
   Good morning developers.

   While i'm installing cakephp on my pc there comes a little problem. I
   did it before once on another pc without any problems.

   What did i do:
   I downloaded cakephp 1.2 rc1 and unzip it to my webroot folder. I run
   Apache 2.2.6 with PHP 5.2.5 and MySQL 5.0.51. Then i setup the
   default.php for the database connection and create a database named
   blog. All this seems to be good. But then...

   On my first px i installed it i can now see a fresh designed cakephp
   layout with some informations hover on yellow or green background
   which tells me that my database connection is good an all these stuff.
   BUT on my other pc der comes just black on white text.

   So here ist the errormessege:
   CakePHP: the rapid development php framework
   Missing Controller

   Error: PrivatController could not be found.

   Error: Create the class PrivatController below in file: app\controllers
   \privat_controller.php

   ?php
   class PrivatController extends AppController {

   var $name = 'Privat';}

   ?

   Notice: If you want to customize this error message, create app\views
   \errors\missing_controller.ctp
   CakePHP: the rapid development php framework

   Ok i guess, let's create this class. After that text error changes to:
   CakePHP: the rapid development php framework
   Missing Database Table

   Error: Database table privats for model Privat was not found.

   Notice: If you want to customize this error message, create app\views
   \errors\missing_table.ctp
   CakePHP: the rapid development php framework

   Ok again. I created the table in my database but nothing changes.
   What can i do to get it run correctly? Or shoud i ignore it and just
   begin to develop my project?

   Greetz Ben
--~--~-~--~~~---~--~~
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: Installing CakePHP - Missing PrivatController

2008-06-13 Thread Joel Perras

Pardon my previous inarticulate and unhelpful message; I should have
learned by now that answering any question past 2am never leads to any
good.

I agree with Grant in that the most probable reason why you are not
seeing the applied CSS on your second machine is a mod_rewrite issue.
This question pops up on this mailing list almost every week.  A quick
google search of this group will give you several threads that point
you in the right direction.

-Joel.

On Jun 13, 2:46 am, Jonathan Snook [EMAIL PROTECTED] wrote:
 Joel, I suspect he's running cake fine.

 Benny, I think you need to just continue to learn more about CakePHP
 using the cookbook http://manual.cakephp.org and move forward in
 trying to build your application.

 On Fri, Jun 13, 2008 at 2:24 AM, Joel Perras [EMAIL PROTECTED] wrote:

  Sounds to me like you're not getting Cake from cakephp.org; there is
  no 'PrivatController' in the default Cake installation, and nothing
  that could possible cause this error.

  Read the installation chaper inhttp://book.cakephp.org, and make sure
  you get the CakePHP sources from the, err, source.

  -Joel.

  On Jun 13, 12:43 am, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
  Good morning developers.

  While i'm installing cakephp on my pc there comes a little problem. I
  did it before once on another pc without any problems.

  What did i do:
  I downloaded cakephp 1.2 rc1 and unzip it to my webroot folder. I run
  Apache 2.2.6 with PHP 5.2.5 and MySQL 5.0.51. Then i setup the
  default.php for the database connection and create a database named
  blog. All this seems to be good. But then...

  On my first px i installed it i can now see a fresh designed cakephp
  layout with some informations hover on yellow or green background
  which tells me that my database connection is good an all these stuff.
  BUT on my other pc der comes just black on white text.

  So here ist the errormessege:
  CakePHP: the rapid development php framework
  Missing Controller

  Error: PrivatController could not be found.

  Error: Create the class PrivatController below in file: app\controllers
  \privat_controller.php

  ?php
  class PrivatController extends AppController {

          var $name = 'Privat';}

  ?

  Notice: If you want to customize this error message, create app\views
  \errors\missing_controller.ctp
  CakePHP: the rapid development php framework

  Ok i guess, let's create this class. After that text error changes to:
  CakePHP: the rapid development php framework
  Missing Database Table

  Error: Database table privats for model Privat was not found.

  Notice: If you want to customize this error message, create app\views
  \errors\missing_table.ctp
  CakePHP: the rapid development php framework

  Ok again. I created the table in my database but nothing changes.
  What can i do to get it run correctly? Or shoud i ignore it and just
  begin to develop my project?

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