Re: :action/* element is giving missing controller error

2014-06-26 Thread John Andersen
Based on what I just read in the CakePHP book, then the route definition 
for /blog/:action/* should mean that any URL using /blog should go to posts 
instead and to the same action as the one following /blog

For example:
/blog/add should give you /posts/add
/blog/view/8 should give you /posts/view/8

So based on this, please correct me if I am wrong, then you should remove 
the definition 'action' => 'index' in the array of the route definition.
Kindly inform us of the result :)
Enjoy, John

On Wednesday, 25 June 2014 18:56:50 UTC+3, Mansoor Ahmad wrote:
>
> here is my route.php file when i try to access website/blog it would throw 
> me an error saying blog controller is missing. but when i change 
> "/blog/:action/*" to "/blog" it wil work fine what am i doing wrong ?? 
> please help thanks.
>
>  'pages', 'action' => 
> 'display', 'home'));/**
> * ...and connect the rest of 'Pages' controller's URLs.
> */Router::connect('/pages/*', array('controller' => 'pages', 'action' => 
> 'display'));Router::connect('/blog/:action/*', array('controller' => 'posts', 
> 'action' =>'index'));/**
> * Load all plugin routes. See the CakePlugin documentation on
> * how to customize the loading of plugin routes.
> */CakePlugin::routes();
> /**
> * Load the CakePHP default routes. Only remove this if you do not want to use
> * the built-in default routes.
> */require CAKE . 'Config' . DS . 'routes.php';?>
>
>

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


:action/* element is giving missing controller error

2014-06-25 Thread Mansoor Ahmad
here is my route.php file when i try to access website/blog it would throw 
me an error saying blog controller is missing. but when i change 
"/blog/:action/*" to "/blog" it wil work fine what am i doing wrong ?? 
please help thanks.

 'pages', 'action' => 'display', 
'home'));/**
* ...and connect the rest of 'Pages' controller's URLs.
*/Router::connect('/pages/*', array('controller' => 'pages', 'action' => 
'display'));Router::connect('/blog/:action/*', array('controller' => 'posts', 
'action' =>'index'));/**
* Load all plugin routes. See the CakePlugin documentation on
* how to customize the loading of plugin routes.
*/CakePlugin::routes();
/**
* Load the CakePHP default routes. Only remove this if you do not want to use
* the built-in default routes.
*/require CAKE . 'Config' . DS . 'routes.php';?>

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

2014-06-15 Thread sirben
index.ctp is already on that location

On Saturday, June 14, 2014 3:49:21 PM UTC+8, sirben wrote:
>
> Hi, 
>
> I am a newbie in CakePHP and I've got an error, can you help me with this 
> error. Many thanks! 
>
> Error: TaskController could not be found. 
>
> Error: Create the class TaskController below in file: 
> app\Controller\TaskController.php 
>
> http://localhost/CakeTooDoo/task/index
>

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

2014-06-14 Thread Andras Kende
the error message is pretty clear :)
move your index.ctp into C:\xampp\htdocs\CakeTooDoo\app\View\Tasks\index.ctp

also rename task.php to Task.php

Andras Kende

On Jun 14, 2014, at 8:03 PM, sirben  wrote:

> I do have:
> 
> Model - task.php
> 
> Controller - TasksController.php
> 
> View - index.ctp
> 
> Here's the other error:
> 
> Missing View
> 
> 
> Error: The view for TasksController::index() was not found.
> 
> Error: Confirm you have created the file: 
> C:\xampp\htdocs\CakeTooDoo\app\View\Tasks\index.ctp
> 
> 
> 
> 
> On Saturday, June 14, 2014 3:49:21 PM UTC+8, sirben wrote:
> Hi, 
> 
> I am a newbie in CakePHP and I've got an error, can you help me with this 
> error. Many thanks! 
> 
> Error: TaskController could not be found. 
> 
> Error: Create the class TaskController below in file: 
> app\Controller\TaskController.php 
> 
> http://localhost/CakeTooDoo/task/index
> 
> -- 
> 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.

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

2014-06-14 Thread sirben
I do have:

Model - task.php

Controller - TasksController.php

View - index.ctp

Here's the other error:

Missing View
*Error: * The view for *TasksController::**index()* was not found.

*Error: * Confirm you have created the file: 
C:\xampp\htdocs\CakeTooDoo\app\View\Tasks\index.ctp




On Saturday, June 14, 2014 3:49:21 PM UTC+8, sirben wrote:
>
> Hi, 
>
> I am a newbie in CakePHP and I've got an error, can you help me with this 
> error. Many thanks! 
>
> Error: TaskController could not be found. 
>
> Error: Create the class TaskController below in file: 
> app\Controller\TaskController.php 
>
> http://localhost/CakeTooDoo/task/index
>

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

2014-06-14 Thread Anja Liebermann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
please check if a controller file names TaskController.php existsts. May
it is names TasksController (note the extra "s"!). The plural rules are
quite  a pain in the ass in the befginning. Also check the naming of the
classes if your model ist named Task your Controller should be named
TasksController and the link should be
http://localhost/CakeTooDoo/tasks/index

Hope that helps!


Calamity Jane



Am 14.06.2014 09:49, schrieb sirben:
> Hi, 
> 
> I am a newbie in CakePHP and I've got an error, can you help me with this 
> error. Many thanks! 
> 
> Error: TaskController could not be found. 
> 
> Error: Create the class TaskController below in file: 
> app\Controller\TaskController.php 
> 
> http://localhost/CakeTooDoo/task/index
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlOcn+IACgkQbOdiIJzHNKFqVQCeKy/MtqhSWW3JDwaS3Ua+/30L
u+wAoJiODeQgoKOm4WE8r0e+2hkyFJet
=AmPl
-END PGP SIGNATURE-

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

2014-06-14 Thread Stephen S
To access that URL, you will need to create the file like the error message
says, something like the following:

class TasksController extends AppController {

public function index() {
// Index logic
}

}

I recommend you do the blog / getting started tutorial first.

http://book.cakephp.org/2.0/en/getting-started.html


On 14 June 2014 08:49, sirben  wrote:

> Hi,
>
> I am a newbie in CakePHP and I've got an error, can you help me with this
> error. Many thanks!
>
> Error: TaskController could not be found.
>
> Error: Create the class TaskController below in file:
> app\Controller\TaskController.php
>
> http://localhost/CakeTooDoo/task/index
>
> --
> 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.
>



-- 
Kind Regards
 Stephen Speakman

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


Missing Controller

2014-06-14 Thread sirben
Hi, 

I am a newbie in CakePHP and I've got an error, can you help me with this 
error. Many thanks! 

Error: TaskController could not be found. 

Error: Create the class TaskController below in file: 
app\Controller\TaskController.php 

http://localhost/CakeTooDoo/task/index

-- 
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: missing controller error in cakephp

2013-12-08 Thread Andras Kende
In cakephp 2+ filenames are CamelCased so rename

> app/controller/users_controller.php
> to
> app/Controller/UsersController.php
> 
> app/app_controller.php
> to
> app/Controller/AppController.php

also:

> app/View/users/login.ctp
to
app/View/Users/login.ctp

etc..

Andras Kende
http://www,kende.com


On Dec 7, 2013, at 4:17 AM, Rajesh Vishnani  wrote:

> I am simply doing login and registration of users in cake php, here is my 
> file structure!
> 
> app/controller/users_controller.php
> 
>  php
> 
> class UsersController extends AppController {
> 
> 
> 
> public function beforeFilter() {
> 
> parent
> ::beforeFilter();
> 
> $this
> ->Auth->allow('add');
>   
> 
> }
> 
> 
> public function add() {
> 
> 
> if(!empty($this->data)) {
> 
> $this
> ->User->create();
> 
> 
> if($this->User->save($this->data)) {
> 
> $this
> ->Session->SetFlash('User Created!');
> 
> $this
> ->redirect(array('action'=>'login'));
> 
> 
> }
> 
> 
> else {
> 
> $this
> ->Session->SetFlash('Please correct the errors!');
> 
> 
> }
> 
> 
> }
> 
> 
> }
> 
> 
> public function login() {
> 
> 
> 
> }
> 
> 
> public function logout() {
> 
> $this
> ->redirect($this->Auth->logout());
> 
> 
> }
> 
> 
> }
> ?>
> app/app_controller.php
> 
>  php
> 
> class AppController extends Controller {
> 
> 
> public $components = array(
> 
> 
> 'Auth' => array(
> 
> 
> 'authorize'=>'controller'
> 
> 
> ),
> 
> 
> 'Session'
> 
> 
> );
> 
> 
> public function isAuthorized() {
> 
> 
> return true;
> 
> 
> }
> 
> 
> }
> ?>
> app/View/users/login.ctp
> 
>  php
> echo $this
> ->Form->create(array('action'=>'login'));
> 
> echo $this
> ->Form->inputs(array('legend'=>'Login','username','password'));
> 
> echo $this
> ->Form->end('Login');
> ?>
> app/View/users/add.ctp
> 
>  php
> echo $this
> ->Form->create();
> 
> echo $this
> ->Form->inputs(array(
> 
> 
> 'legends' => 'Signup',
> 
> 
> 'username',
> 
> 
> 'password'));
> 
> echo $this
> ->Form->end('Submit');
> ?>
> and i am browsing below URL
> 
> www.abc.com/../cakephp/users/add
> 
> i get below erros
> 
> Error: UsersController could not be found.
> 
> Error: Create the class UsersController below in file: 
> app/Controller/UsersController.php
> 
>  php
> 
> class UsersController extends AppController {
> 
> 
> 
> }
> Notice: If you want to customize this error message, create 
> app/View/Errors/missing_controller.ctp
> 
> 
> -- 
> 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.

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


missing controller error in cakephp

2013-12-08 Thread Rajesh Vishnani


I am simply doing login and registration of users in cake php, here is my 
file structure!

app/controller/users_controller.php

Auth->allow('add');  
}
public function add() {
if(!empty($this->data)) {
$this->User->create();
if($this->User->save($this->data)) {
$this->Session->SetFlash('User Created!');
$this->redirect(array('action'=>'login'));
}
else {
$this->Session->SetFlash('Please correct the errors!');
}
}
}
public function login() {

}
public function logout() {
$this->redirect($this->Auth->logout());
}
}?>

app/app_controller.php

 array(
'authorize'=>'controller'
),
'Session'
);
public function isAuthorized() {
return true;
}
}?>

app/View/users/login.ctp

Form->create(array('action'=>'login'));
echo $this->Form->inputs(array('legend'=>'Login','username','password'));
echo $this->Form->end('Login');?>

app/View/users/add.ctp

Form->create();
echo $this->Form->inputs(array(
'legends' => 'Signup',
'username',
'password'));
echo $this->Form->end('Submit');?>

and i am browsing below URL

www.abc.com/../cakephp/users/add

i get below erros

Error: UsersController could not be found.

Error: Create the class UsersController below in file: 
app/Controller/UsersController.php

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.


missing controller error in cakephp

2013-12-08 Thread Rajesh Vishnani


I am simply doing login and registration of users in cake php, here is my 
file structure!

app/controller/users_controller.php

Auth->allow('add');  
}
public function add() {
if(!empty($this->data)) {
$this->User->create();
if($this->User->save($this->data)) {
$this->Session->SetFlash('User Created!');
$this->redirect(array('action'=>'login'));
}
else {
$this->Session->SetFlash('Please correct the errors!');
}
}
}
public function login() {

}
public function logout() {
$this->redirect($this->Auth->logout());
}
}?>

app/app_controller.php

 array(
'authorize'=>'controller'
),
'Session'
);
public function isAuthorized() {
return true;
}
}?>

app/View/users/login.ctp

Form->create(array('action'=>'login'));
echo $this->Form->inputs(array('legend'=>'Login','username','password'));
echo $this->Form->end('Login');?>

app/View/users/add.ctp

Form->create();
echo $this->Form->inputs(array(
'legends' => 'Signup',
'username',
'password'));
echo $this->Form->end('Submit');?>

and i am browsing below URL

www.abc.com/../cakephp/users/add

i get below erros

Error: UsersController could not be found.

Error: Create the class UsersController below in file: 
app/Controller/UsersController.php

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: Missing Controller Error

2013-05-30 Thread my123
josexato:
*
*
*Thanks a lot. Looks like this error can be caused by n number of things. 
Your suggestion worked in my case. I forgot to put the php tag at the start 
and the end. It is missing in the cakephp doc and may be miss leading lot 
of beginners.
*
On Sunday, December 30, 2012 6:28:17 PM UTC-8, josexato wrote:
>
> you need to add "
> # cat PostsController.php
> * class PostsController extends AppController {
>
> public function index() {
> $this->set('posts', $this->Post->find('all'));
> }
> }
> ?>
>
>

-- 
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: missing controller exception

2013-03-10 Thread Jeremy Burns | Class Outfit
It could be a missing js or css file that is called with 
$this->Html->script/css, or perhaps a missing image that is called inside a css 
file.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 10 Mar 2013, at 23:02:29, Devario Johnson  wrote:

> so you mean in one of the parents there may be something causing an issue.  
> I'll have to take a look on Monday
> 
> On Sat, Mar 9, 2013 at 5:56 PM, lowpass  wrote:
> On Fri, Mar 8, 2013 at 11:06 PM, Devario Johnson  wrote:
> Thanks for the suggestion.  I've never done anything in the Controller (since 
> it's higher than the app controller), but I'll see if there is something 
> rogue afoot.  keep in mind everything works fine with no errors or warnings 
> being reported anywhere.
> 
> Sorry, I didn't mean that you may have a typo in a file in the Cake libs. But 
> sometimes the error manifests itself at the lower level.
> 
> -- 
> 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 a topic in the Google 
> Groups "CakePHP" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/cake-php/OEn-GQ8zuuk/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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.
>  
>  
> 
> 
> 
> -- 
> 
> 
> - Devario Johnson
> Senior Web Applications Developer / I.T. Consultant
> B.A. Communication Technology / Information Systems
> 
> -- 
> 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: missing controller exception

2013-03-10 Thread Devario Johnson
so you mean in one of the parents there may be something causing an issue.
 I'll have to take a look on Monday

On Sat, Mar 9, 2013 at 5:56 PM, lowpass  wrote:

> On Fri, Mar 8, 2013 at 11:06 PM, Devario Johnson wrote:
>
>> Thanks for the suggestion.  I've never done anything in the Controller
>> (since it's higher than the app controller), but I'll see if there is
>> something rogue afoot.  keep in mind everything works fine with no errors
>> or warnings being reported anywhere.
>>
>
> Sorry, I didn't mean that you may have a typo in a file in the Cake libs.
> But sometimes the error manifests itself at the lower level.
>
> --
> 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 a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/OEn-GQ8zuuk/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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.
>
>
>



-- 

- Devario Johnson
Senior Web Applications Developer / I.T. Consultant
B.A. Communication Technology / Information Systems

-- 
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: missing controller exception

2013-03-09 Thread lowpass
On Fri, Mar 8, 2013 at 11:06 PM, Devario Johnson wrote:

> Thanks for the suggestion.  I've never done anything in the Controller
> (since it's higher than the app controller), but I'll see if there is
> something rogue afoot.  keep in mind everything works fine with no errors
> or warnings being reported anywhere.
>

Sorry, I didn't mean that you may have a typo in a file in the Cake libs.
But sometimes the error manifests itself at the lower level.

-- 
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: missing controller exception

2013-03-08 Thread Jeremy Burns | Class Outfit
Check the error log for missing js or css assets - I've seen this before.

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 9 Mar 2013, at 04:06:45, Devario Johnson  wrote:

> Thanks for the suggestion.  I've never done anything in the Controller (since 
> it's higher than the app controller), but I'll see if there is something 
> rogue afoot.  keep in mind everything works fine with no errors or warnings 
> being reported anywhere.
> 
> On Fri, Mar 8, 2013 at 9:33 PM, lowpass  wrote:
> On Fri, Mar 8, 2013 at 9:32 PM, lowpass  wrote:
> > You may have a typo in one of your classes. I was getting a missing
> > AppController msg today because of a missing comma in its Auth config.
>  
> On that note, have a look at the "Begginer's Lesson learned" thread.
> 
> --
> 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 a topic in the Google 
> Groups "CakePHP" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/cake-php/OEn-GQ8zuuk/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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.
> 
> 
> 
> 
> 
> -- 
> 
> 
> - Devario Johnson
> Senior Web Applications Developer / I.T. Consultant
> B.A. Communication Technology / Information Systems
> 
> -- 
> 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: missing controller exception

2013-03-08 Thread Devario Johnson
Thanks for the suggestion.  I've never done anything in the Controller
(since it's higher than the app controller), but I'll see if there is
something rogue afoot.  keep in mind everything works fine with no errors
or warnings being reported anywhere.

On Fri, Mar 8, 2013 at 9:33 PM, lowpass  wrote:

> On Fri, Mar 8, 2013 at 9:32 PM, lowpass  wrote:
> > You may have a typo in one of your classes. I was getting a missing
> > AppController msg today because of a missing comma in its Auth config.
>
> On that note, have a look at the "Begginer's Lesson learned" thread.
>
> --
> 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 a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/OEn-GQ8zuuk/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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.
>
>
>


-- 

- Devario Johnson
Senior Web Applications Developer / I.T. Consultant
B.A. Communication Technology / Information Systems

-- 
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: missing controller exception

2013-03-08 Thread lowpass
On Fri, Mar 8, 2013 at 9:32 PM, lowpass  wrote:
> You may have a typo in one of your classes. I was getting a missing
> AppController msg today because of a missing comma in its Auth config.

On that note, have a look at the "Begginer's Lesson learned" thread.

-- 
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: missing controller exception

2013-03-08 Thread lowpass
You may have a typo in one of your classes. I was getting a missing
AppController msg today because of a missing comma in its Auth config.


On Wed, Mar 6, 2013 at 12:56 PM, Devario Johnson  wrote:
> Hi all, Im trying to debug this error.
>
> when I look at the cakelogs I get this
>
> [MissingControllerException] Controller class Controller could not be found.
>
> where should I look to begin debugging this?  I googled around and everyone
> with a similar issue was referencing an actual controller like img or
> jscontroller.
>
> Is there a way i can get a better idea of what exactly is bombing?  I looked
> at the server access logs and there is a revolving 302 happening.
>
> I commented out my routes to check if it was happening there and the error
> persisted.
>
> Any ideas?
>
> --
> 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: missing controller exception

2013-03-06 Thread Devario Johnson
FYI, it was saying this was coming from webroot/index.php...but the site 
itself works fine.

On Wednesday, March 6, 2013 12:56:58 PM UTC-5, Devario Johnson wrote:
>
> Hi all, Im trying to debug this error.  
>
> when I look at the cakelogs I get this
>
> [MissingControllerException] Controller class Controller could not be 
> found.
>
> where should I look to begin debugging this?  I googled around and 
> everyone with a similar issue was referencing an actual controller like img 
> or jscontroller.
>
> Is there a way i can get a better idea of what exactly is bombing?  I 
> looked at the server access logs and there is a revolving 302 happening. 
>
> I commented out my routes to check if it was happening there and the error 
> persisted.  
>
> Any ideas?
>

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




missing controller exception

2013-03-06 Thread Devario Johnson
Hi all, Im trying to debug this error.  

when I look at the cakelogs I get this

[MissingControllerException] Controller class Controller could not be found.

where should I look to begin debugging this?  I googled around and everyone 
with a similar issue was referencing an actual controller like img or 
jscontroller.

Is there a way i can get a better idea of what exactly is bombing?  I 
looked at the server access logs and there is a revolving 302 happening. 

I commented out my routes to check if it was happening there and the error 
persisted.  

Any ideas?

-- 
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: Cakephp ReportManager V0.4.3 missing controller error

2013-01-21 Thread LipeDjow
Seems it's not compatible with Cake 1.3.

Em sábado, 19 de janeiro de 2013 11h53min18s UTC-2, prakash escreveu:
>
> HI, 
>
>  I have added ReportManager V0.4.3 plugin in my project , I am using CAKE 
> version 1.3 
>
> but , i am getting error message as following 
>
>
> Error: ReportsController could not be found. 
>
> Error: Create the class ReportsController below in file: 
> app\controllers\reports_controller.php 
>  class ReportsController extends AppController { 
>
> var $name = 'Reports'; 
> } 
> ?> 
>
> Notice: If you want to customize this error message, create 
> app\views\errors\missing_controller.ctp 
>
>
> Adv.. Thanks for your help! 
>
>
> Regards 
> Prakash 
>
>
>
> -- 
> View this message in context: 
> http://cakephp.1045679.n5.nabble.com/Cakephp-ReportManager-V0-4-3-missing-controller-error-tp5713328.html
>  
> Sent from the CakePHP mailing list archive at Nabble.com. 
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Cakephp ReportManager V0.4.3 missing controller error

2013-01-20 Thread lowpass
Have you loaded the plugin's routes file? (Assuming it has one.)

On Sat, Jan 19, 2013 at 8:53 AM, prakashkumar  wrote:
> HI,
>
>  I have added ReportManager V0.4.3 plugin in my project , I am using CAKE
> version 1.3
>
> but , i am getting error message as following
>
>
> Error: ReportsController could not be found.
>
> Error: Create the class ReportsController below in file:
> app\controllers\reports_controller.php
>  class ReportsController extends AppController {
>
> var $name = 'Reports';
> }
> ?>
>
> Notice: If you want to customize this error message, create
> app\views\errors\missing_controller.ctp
>
>
> Adv.. Thanks for your help!
>
>
> Regards
> Prakash
>
>
>
> --
> View this message in context: 
> http://cakephp.1045679.n5.nabble.com/Cakephp-ReportManager-V0-4-3-missing-controller-error-tp5713328.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
> --
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to 
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Cakephp ReportManager V0.4.3 missing controller error

2013-01-20 Thread prakashkumar
HI,

 I have added ReportManager V0.4.3 plugin in my project , I am using CAKE
version 1.3

but , i am getting error message as following 


Error: ReportsController could not be found.

Error: Create the class ReportsController below in file:
app\controllers\reports_controller.php


Notice: If you want to customize this error message, create
app\views\errors\missing_controller.ctp


Adv.. Thanks for your help!


Regards
Prakash 



--
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Cakephp-ReportManager-V0-4-3-missing-controller-error-tp5713328.html
Sent from the CakePHP mailing list archive at Nabble.com.

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Missing Controller Error

2012-12-31 Thread josexato
you need to add "set('posts', $this->Post->find('all'));
}
}
?>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Missing Controller Error

2012-12-30 Thread Harish Geeth
Hi,

Did you find out what the problem is ? I am running into same issue. COuld 
you please provide details if you know what the issue is.

Thank you

On Thursday, May 31, 2012 10:13:09 PM UTC-4, Kid Noire wrote:
>
> I've just installed CakePHP and trying to get myself through 
> Andrewperk's blog tutorial but I get this error  after the second 
> video... 
>
> Missing Controller 
> Error: PostsController could not be found. 
> Error: Create the class PostsController below in file: app/Controller/ 
> PostsController.php 
>  class PostsController extends AppController { 
>
> } 
>
> I've tried to Google my way out of this one but don't have the 
> technical expertise to comprehend the suggestions I find.  I'm 
> assuming my routes are a bit f'd up so if anyone could help me I would 
> be greatly appreciative. 
>
>
>
> Sincerely, 
>
> A Noob 
>
>
>  
>
> BTW I'm using XAMPP on a Mac 
>
> 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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Missing Controller ApplicationNameController

2012-10-21 Thread Vanja Dizdarević
Oh, sorry, I just saw you already tried that. Could you please do a 
var_dump($_SERVER) inside your bootstrap.php file and post it back to us?

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Missing Controller ApplicationNameController

2012-10-21 Thread Vanja Dizdarević
Try putting  *Configure::write('App.base', '/toto'); * inside your *
bootstrap.php* file.

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Missing Controller ApplicationNameController

2012-10-18 Thread Jonathan Sundquist
Assuming you are using CakePHP 2.x you could create a basic route as such:

Router::connect('/todo/:controller/:action/:id');

Put that within your routes.php config file.

On Thu, Oct 18, 2012 at 5:35 AM, Webmaster Cosinus wrote:

> it doesn't chnage anything
>
>
> On Thu, Oct 18, 2012 at 12:22 PM, Jonathan Sundquist  > wrote:
>
>> You needs to tell the application what your base url is within the config
>> file so that it knows how to handle the routing correctly.
>>
>> - "The cold winds are rising"
>> On Oct 18, 2012 2:50 AM, "cosinusweb"  wrote:
>>
>>> Hello
>>>
>>> I'm trying to install cakephp
>>>
>>> In httpdf.conf
>>> I must use an alias this is mandatory for my project
>>> Alias /toto "c:/wamp/www/f/app/webroot"
>>> 
>>> Options FollowSymLinks
>>> AllowOverride All
>>> Order deny,allow
>>> Allow from All
>>> 
>>>
>>>
>>> But when i go tho the application
>>>
>>> I've got the folloing message
>>>
>>> >> class TotoController extends AppController {
>>>
>>> }
>>>
>>> Toto is the applicationName not the controller
>>>
>>> I really do not i=undesrtant what's going on
>>>
>>> Any ideas ?
>>>
>>> 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 post to this group, send email to cake-php@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> cake-php+unsubscr...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>>
>>>
>>>
>>  --
>> 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 post to this group, send email to cake-php@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>
>>
>>
>
>  --
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Missing Controller ApplicationNameController

2012-10-18 Thread Webmaster Cosinus
it doesn't chnage anything

On Thu, Oct 18, 2012 at 12:22 PM, Jonathan Sundquist
wrote:

> You needs to tell the application what your base url is within the config
> file so that it knows how to handle the routing correctly.
>
> - "The cold winds are rising"
> On Oct 18, 2012 2:50 AM, "cosinusweb"  wrote:
>
>> Hello
>>
>> I'm trying to install cakephp
>>
>> In httpdf.conf
>> I must use an alias this is mandatory for my project
>> Alias /toto "c:/wamp/www/f/app/webroot"
>> 
>> Options FollowSymLinks
>> AllowOverride All
>> Order deny,allow
>> Allow from All
>> 
>>
>>
>> But when i go tho the application
>>
>> I've got the folloing message
>>
>> > class TotoController extends AppController {
>>
>> }
>>
>> Toto is the applicationName not the controller
>>
>> I really do not i=undesrtant what's going on
>>
>> Any ideas ?
>>
>> 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 post to this group, send email to cake-php@googlegroups.com.
>> To unsubscribe from this group, send email to
>> cake-php+unsubscr...@googlegroups.com.
>> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>>
>>
>>
>  --
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Missing Controller ApplicationNameController

2012-10-18 Thread Jonathan Sundquist
You needs to tell the application what your base url is within the config
file so that it knows how to handle the routing correctly.

- "The cold winds are rising"
On Oct 18, 2012 2:50 AM, "cosinusweb"  wrote:

> Hello
>
> I'm trying to install cakephp
>
> In httpdf.conf
> I must use an alias this is mandatory for my project
> Alias /toto "c:/wamp/www/f/app/webroot"
> 
> Options FollowSymLinks
> AllowOverride All
> Order deny,allow
> Allow from All
> 
>
>
> But when i go tho the application
>
> I've got the folloing message
>
>  class TotoController extends AppController {
>
> }
>
> Toto is the applicationName not the controller
>
> I really do not i=undesrtant what's going on
>
> Any ideas ?
>
> 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 post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>
>

-- 
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Missing Controller ApplicationNameController

2012-10-18 Thread cosinusweb
Hello

I'm trying to install cakephp

In httpdf.conf
I must use an alias this is mandatory for my project
Alias /toto "c:/wamp/www/f/app/webroot"

Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from All



But when i go tho the application 

I've got the folloing message

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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.




Re: Configure::write('App.baseUrl', env('SCRIPT_NAME')); missing controller

2012-07-14 Thread sb
I have the same problem. I am choosing NOT to use mod_rewrite. I followed 
the instructions in the blog tutorial, but I get missing controllers.
If I don't use mod_rewrite, then I am instructed by the tutorial to delete 
.htaccess. Do I still need to edit the httpd.conf for the overrides?

-sb

On Saturday, June 16, 2012 5:32:28 AM UTC-4, Anooj P wrote:
>
>
> 1)   Make sure that an .htaccess override is allowed: in your httpd.conf, 
>> you should have a section that defines a section for each Directory on your 
>> server. Make sure the AllowOverride is set to All for the correct 
>> Directory. For security and performance reasons, do *not* set 
>> AllowOverride to All in . Instead, look for the 
>> block that refers to your actual website directory.
>
>2)  Make sure you are editing the correct httpd.conf rather than a 
> user- or site-specific httpd.conf.
>3)Make sure Apache is loading up mod_rewrite correctly! You should see 
> something like LoadModule rewrite_module libexec/httpd/mod_rewrite.so or 
> (for Apache 1.3) AddModule mod_rewrite.c in your httpd.conf.
>
> you wil get more info here
> http://book.cakephp.org/compare/333/A-Note-on-mod_rewrite/cakephp/cakephp1x
>

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

2012-07-05 Thread Paul Willis
This sounds more like a server config error than a cake problem.

Have you checked you config for https is the same as the working http one 
(apart from the port obviously) 

PW

On 5 Jul 2012, at 04:52, Luke wrote:

> Hi everyone,
> 
> I'm new to cake. I've installed Cake into a subdirectory 
> (http://server.com/my-admin/), and it's all working well! However, when I 
> access the site via https instead of http I get an error:
> 
> Missing Controller
> Error: My-adminController could not be found.
> 
> Error: Create the class My-adminController below in file: 
> app/Controller/My-adminController.php
> 
> 
> Any hints on how I can get the site to work under http AND https?
> 
> Thanks,
> 
> Luke
> 
> -- 
> 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


Missing Controller

2012-07-04 Thread Luke
Hi everyone,

I'm new to cake. I've installed Cake into a subdirectory 
(http://server.com/my-admin/), and it's all working well! However, when I 
access the site via https instead of http I get an error:

Missing Controller

*Error: **My-adminController* could not be found.

*Error: *Create the class *My-adminController* below in file: 
app/Controller/My-adminController.php

Any hints on how I can get the site to work under http AND https?

Thanks,

Luke

-- 
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: Configure::write('App.baseUrl', env('SCRIPT_NAME')); missing controller

2012-06-16 Thread Anooj P


> 1)   Make sure that an .htaccess override is allowed: in your httpd.conf, 
> you should have a section that defines a section for each Directory on your 
> server. Make sure the AllowOverride is set to All for the correct 
> Directory. For security and performance reasons, do *not* set 
> AllowOverride to All in . Instead, look for the block 
> that refers to your actual website directory.

   2)  Make sure you are editing the correct httpd.conf rather than a user- 
or site-specific httpd.conf.
   3)Make sure Apache is loading up mod_rewrite correctly! You should see 
something like LoadModule rewrite_module libexec/httpd/mod_rewrite.so or 
(for Apache 1.3) AddModule mod_rewrite.c in your httpd.conf.

you wil get more info here
http://book.cakephp.org/compare/333/A-Note-on-mod_rewrite/cakephp/cakephp1x

-- 
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: Missing Controller Error

2012-06-01 Thread DiabloGeto


Read the Naming Convention Chapter for Cake 2.x which is diff from 1.3. 
Andrew Perkins Tutorial is for 1.3 However he had added a Video for changes 
is Cake 2.x.
Follow that. IN ur Problem , just rename ur Posts_Controller file to 
PostsController(remove Underscore). It will Work.
If ur using PHP 4 u shd add Line : 

 {  
   var $name = "Posts"; 
otherwise it is not required a cake knows by convention that which Model u 
will be using by default for this Controller.   

>
> Sounds like you're following a tutorial for CakePHP 1.3 and using CakePHP 
> 2.x
>
> First do http://book.cakephp.org/2.0/en/getting-started.html#blog-tutorial
>
> and only then try other tuts. 
>
> AD
>

-- 
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: Missing Controller Error

2012-06-01 Thread 王瑞
is that controller in app/controllers?
and try to add
  var $name = "Posts";
in the class

On Fri, Jun 1, 2012 at 1:16 PM, ying yang  wrote:

>  class PostsController extends AppController {
>
> }
>
> ?>
>
> On Fri, Jun 1, 2012 at 10:13 AM, Kid Noire  wrote:
>
>> I've just installed CakePHP and trying to get myself through
>> Andrewperk's blog tutorial but I get this error  after the second
>> video...
>>
>> Missing Controller
>> Error: PostsController could not be found.
>> Error: Create the class PostsController below in file: app/Controller/
>> PostsController.php
>> > class PostsController extends AppController {
>>
>> }
>>
>> I've tried to Google my way out of this one but don't have the
>> technical expertise to comprehend the suggestions I find.  I'm
>> assuming my routes are a bit f'd up so if anyone could help me I would
>> be greatly appreciative.
>>
>>
>>
>> Sincerely,
>>
>> A Noob
>>
>>
>> 
>>
>> BTW I'm using XAMPP on a Mac
>>
>> Thanks!
>>
>>
>>
>> --
>> 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
>



-- 
Rui WANG(王瑞)
Murray
School of Electronics Engineering and Computer Science,
Peking University

-- 
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: Missing Controller Error

2012-06-01 Thread Chetan Patel
Hello 

Please share your code here.

Thanks

On Friday, 1 June 2012 07:43:09 UTC+5:30, Kid Noire wrote:
>
> I've just installed CakePHP and trying to get myself through 
> Andrewperk's blog tutorial but I get this error  after the second 
> video... 
>
> Missing Controller 
> Error: PostsController could not be found. 
> Error: Create the class PostsController below in file: app/Controller/ 
> PostsController.php 
>  class PostsController extends AppController { 
>
> } 
>
> I've tried to Google my way out of this one but don't have the 
> technical expertise to comprehend the suggestions I find.  I'm 
> assuming my routes are a bit f'd up so if anyone could help me I would 
> be greatly appreciative. 
>
>
>
> Sincerely, 
>
> A Noob 
>
>
>  
>
> BTW I'm using XAMPP on a Mac 
>
> Thanks! 
>
>
>
>

-- 
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: Missing Controller Error

2012-06-01 Thread AD7six


On Friday, 1 June 2012 04:13:09 UTC+2, Kid Noire wrote:
>
> I've just installed CakePHP and trying to get myself through 
> Andrewperk's blog tutorial but I get this error  after the second 
> video... 
>
> Missing Controller 
> Error: PostsController could not be found. 
> Error: Create the class PostsController below in file: app/Controller/ 
> PostsController.php 
>

Sounds like you're following a tutorial for CakePHP 1.3 and using CakePHP 
2.x

First do http://book.cakephp.org/2.0/en/getting-started.html#blog-tutorial

and only then try other tuts. 

AD

-- 
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: Missing Controller Error

2012-06-01 Thread Mike Griffin
On Fri, Jun 1, 2012 at 3:13 AM, Kid Noire  wrote:
> I've just installed CakePHP and trying to get myself through
> Andrewperk's blog tutorial but I get this error  after the second
> video...
>
> Missing Controller
> Error: PostsController could not be found.
> Error: Create the class PostsController below in file: app/Controller/
> PostsController.php
>  class PostsController extends AppController {
>
> }
>
> I've tried to Google my way out of this one but don't have the
> technical expertise to comprehend the suggestions I find.  I'm
> assuming my routes are a bit f'd up so if anyone could help me I would
> be greatly appreciative.

Did you create the file calles PostsController.php in the
app/Controller directory and put the suggested text into the file and
save it?

There's not really a lot of technical expertise to comprehend there.
You shouldn't need to touch the routes file at all.

Mike.

-- 
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: Missing Controller Error

2012-05-31 Thread ying yang


On Fri, Jun 1, 2012 at 10:13 AM, Kid Noire  wrote:

> I've just installed CakePHP and trying to get myself through
> Andrewperk's blog tutorial but I get this error  after the second
> video...
>
> Missing Controller
> Error: PostsController could not be found.
> Error: Create the class PostsController below in file: app/Controller/
> PostsController.php
>  class PostsController extends AppController {
>
> }
>
> I've tried to Google my way out of this one but don't have the
> technical expertise to comprehend the suggestions I find.  I'm
> assuming my routes are a bit f'd up so if anyone could help me I would
> be greatly appreciative.
>
>
>
> Sincerely,
>
> A Noob
>
>
> 
>
> BTW I'm using XAMPP on a Mac
>
> Thanks!
>
>
>
> --
> 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


Missing Controller Error

2012-05-31 Thread Kid Noire
I've just installed CakePHP and trying to get myself through
Andrewperk's blog tutorial but I get this error  after the second
video...

Missing Controller
Error: PostsController could not be found.
Error: Create the class PostsController below in file: app/Controller/
PostsController.php
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


Configure::write('App.baseUrl', env('SCRIPT_NAME')); missing controller

2012-03-01 Thread ukkpower
I have had to move my app to a server that uses zeus server. Whe I add
the rewrite.script I get the access to the controllers but no css or
js.

I then uncommented the line Configure::write('App.baseUrl',
env('SCRIPT_NAME')); in the core.php.

I now get all the css and js but I get missing controllers. I have to
put index.php in the url.

 http://www.mydomain.com/osm/index.php/login

The app is in a directory called osm. Cant see what I am missing. Hope
someone called help as this is driving me mad. Thanks

-- 
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: Problem with Controllers (Missing Controller)

2011-10-08 Thread Victor Forato
Thanks very much! My problem was completely resolved!

Now I can continue with my project! I was expecting problem with
configuration, apache or framework, but it was if the first line in the
code.

Thanks again,

Victor.

2011/10/9 Ryan Schmidt 

>
> On Oct 8, 2011, at 16:32, Victor Forato wrote:
>
> > I took a look in others posts, but I couldn't resolve my problem.
> > I'm trying acess the action register(http://localhost/cake/users/
> > register),but the cake show me this message:
> >
> > Error: UsersController could not be found.
> > Error: Create the class UsersController below in file: app\controllers
> > \users_controller.php
> >  > class UsersController extends AppController {
> >
> >   var $name = 'Users';
> > }
> > ?>
> >
> > ==>>There're my files:
> >
> > Directory:  app\controllers
> > File: users_controller.php
> > Code:
> > 
> > class UsersController extends AppController{
> >
>
> The opening PHP tag should be "".
>
>
> > Directory:  app\models
> > File: user.php
> > Code:
> > 
> > class User extends AppModel{
> >
>
> The opening PHP tag should be "".
>
>

-- 
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: Problem with Controllers (Missing Controller)

2011-10-08 Thread Ryan Schmidt

On Oct 8, 2011, at 16:32, Victor Forato wrote:

> I took a look in others posts, but I couldn't resolve my problem.
> I'm trying acess the action register(http://localhost/cake/users/
> register),but the cake show me this message:
> 
> Error: UsersController could not be found.
> Error: Create the class UsersController below in file: app\controllers
> \users_controller.php
>  class UsersController extends AppController {
> 
>   var $name = 'Users';
> }
> ?>
> 
> ==>>There're my files:
> 
> Directory:  app\controllers
> File: users_controller.php
> Code:
> 
> class UsersController extends AppController{
> 

The opening PHP tag should be "".


> Directory:  app\models
> File: user.php
> Code:
> 
> class User extends AppModel{
> 

The opening PHP tag should be "".

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


Problem with Controllers (Missing Controller)

2011-10-08 Thread Victor Forato
I took a look in others posts, but I couldn't resolve my problem.
I'm trying acess the action register(http://localhost/cake/users/
register),but the cake show me this message:

Error: UsersController could not be found.
Error: Create the class UsersController below in file: app\controllers
\users_controller.php


==>>There're my files:

Directory:  app\controllers
File: users_controller.php
Code:

class UsersController extends AppController{

var $name = 'Users';

function register(){
if(!empty($this->params['form'])){
if($this->User->save($this->params['form'])){
$this->flash('Your registration information was 
accepted.',
'/users/register');
}else{
$this->flash('There was a problem with your 
registration.',
'users/register');
}
}

}
}
?>

Directory:  app\models
File: user.php
Code:

class User extends AppModel{

var $name = 'User';
}
?>

Directory:  app\views\users
File: register.ctp
Code: Code view


I'm using easyphp and putting myapplication in "C:\Program Files
(x86)\EasyPHP-5.3.8.1\www\cake".
I really want learn more about CakePHP but i cannot continue with this
problem. Any Ideia?

Thanks for attention, Victor.

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

2011-08-23 Thread Jeremy Burns | Class Outfit
Did you read and follow the error message? Are your files named correctly and 
in the right places?

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 22 Aug 2011, at 13:32, Shervin kapil wrote:

> Hi,
>When running my sample program the following errors will
> displaying.
> 
> Missing Controller
> 
> Error: PostController could not be found.
> 
> Error: Create the class PostController below in file: app\controllers
> \post_controller.php
> 
>  class PostController extends AppController {
> 
>   var $name = 'Post';
> }
> ?>
> 
> Notice: If you want to customize this error message, create app\views
> \errors\missing_controller.ctp
> 
> -- 
> 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


Missing Controller

2011-08-23 Thread Shervin kapil
Hi,
When running my sample program the following errors will
displaying.

Missing Controller

Error: PostController could not be found.

Error: Create the class PostController below in file: app\controllers
\post_controller.php



Notice: If you want to customize this error message, create app\views
\errors\missing_controller.ctp

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

2011-06-14 Thread Ryan Schmidt
On Jun 13, 2011, at 20:31, Magician wrote:

> Hi.  This is the newbie programmer again.  I am need of some help.  I
> am currently working on a Cakephp page and have created the necessary
> MVCs.  However, when I load my main page (in this case localhost/Cake)
> I get two error messages which are as follows:
> 
> Error: CakeController could not be found.
> 
> Error: Create the class CakeController below in file: app\controllers
> \cake_controller.php
> 
>  class CakeController extends AppController {
> 
>   var $name = 'Cake';
> }
> ?>
> 
> 
> I created the CakeController class file in the Controller file in
> question.  However I still get this issue.  Does anyone out there know
> how to help me fix this?

Your main page is http://localhost/ not http://localhost/Cake

Do not create a "CakeController"; if you already did, delete it.


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

2011-06-14 Thread jvd sahil
On Tue, Jun 14, 2011 at 3:31 AM, Magician wrote:

> Hi.  This is the newbie programmer again.  I am need of some help.  I
> am currently working on a Cakephp page and have created the necessary
> MVCs.  However, when I load my main page (in this case localhost/Cake)
> I get two error messages which are as follows:
>
> Error: CakeController could not be found.
>
> Error: Create the class CakeController below in file: app\controllers
> \cake_controller.php
>
>  class CakeController extends AppController {
>
>var $name = 'Cake';
> }
> ?>
>
>
> I created the CakeController class file in the Controller file in
> question.  However I still get this issue.  Does anyone out there know
> how to help me fix this?
>
> Thanks!
>
> --
> 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


you just  create a cakecontroller.php in controller folder and copy and
paste the above code in that file

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


Missing Controller

2011-06-13 Thread Magician
Hi.  This is the newbie programmer again.  I am need of some help.  I
am currently working on a Cakephp page and have created the necessary
MVCs.  However, when I load my main page (in this case localhost/Cake)
I get two error messages which are as follows:

Error: CakeController could not be found.

Error: Create the class CakeController below in file: app\controllers
\cake_controller.php




I created the CakeController class file in the Controller file in
question.  However I still get this issue.  Does anyone out there know
how to help me fix this?

Thanks!

-- 
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: Plugin and missing controller

2011-05-06 Thread Jeremy Burns | Class Outfit
I changed them to bools and they still work. You are right that that is the 
convention - I hadn't really observed that the were strings here.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 7 May 2011, at 06:50, Sam Sherlock wrote:

> cool no problem.
> 
> I see you went back to strings for route prefixes - I  thought these would be 
> better as bools
> thats the code in the book at least - or am I missing something?
> 
>  - S
> 
> 
> 
> 
> 
> On 7 May 2011 05:28, Jeremy Burns | Class Outfit 
>  wrote:
> Thanks Sam - you encouraged me to go and play with the routes and here is 
> what I ended up with, and it works:
> 
> /* Paypal IPN plugin */
> Router::connect('/paypal_ipn/process', array('plugin' => 'paypal_ipn', 
> 'controller' => 'instant_payment_notifications', 'action' => 'process'));
> /* Optional Route, but nice for administration */
> Router::connect('/paypal_ipn', array('admin' => 'true', 'plugin' => 
> 'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' => 
> 'index'));  // <= NEW
> Router::connect('/paypal_ipn/:action/*', array('admin' => 'true', 'plugin' => 
> 'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' => 
> 'index'));
> /* End Paypal IPN plugin */
> 
> 
> Jeremy Burns
> Class Outfit
> 
> jeremybu...@classoutfit.com
> http://www.classoutfit.com
> 
> On 6 May 2011, at 19:41, Sam Sherlock wrote:
> 
>> Are you still perplexed?
>> 
>> I just got the admin to work
>> 
>> 1a) add line that is uncommented
>> 1b) first I changed this (removing the red)
>> 
>> > // die ('we got here still no cigar');
>> class PaypalIpnAppController extends AppController {
>>   
>> }
>> ?>
>> 
>> 2) I did not like the routes - true was a string and this does not find 
>> index for me I always have an index catch before the other action catch all 
>> (aplogies if my terminology is crappy)
>> Router::connect('/admin/paypal_ipn/', array('admin' => true, 'plugin' => 
>> 'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' => 
>> 'index'));
>> Router::connect('/admin/paypal_ipn/:action/*', array('admin' => true, 
>> 'plugin' => 'paypal_ipn', 'controller' => 'instant_payment_notifications', 
>> 'action' => 'index'));
>> 
>> 3) next I found that the database had not been made (I had not pressed enter 
>> in my console duh)
>> 
>> 4) next I had to undo the first step  (and that suggests that just changing 
>> the routes should work for you since step 3 was my own stoopidness and 4 
>> negated 1)
>> 
>> the admin loads.
>> 
>> I am now amused by my own wry smile in the reflection of my screen.
>> 
>>  - S
>> 
>> 
>> 
>> 
>> On 5 May 2011 09:58, Jeremy Burns | Class Outfit 
>>  wrote:
>> Any clues? I'm stumped as this should all just work.
>> 
>> Jeremy Burns
>> Class Outfit
>> 
>> jeremybu...@classoutfit.com
>> (t) +44 (0) 208 123 3822
>> (m) +44 (0) 7973 481949
>> Skype: jeremy_burns
>> http://www.classoutfit.com
>> 
>> On 4 May 2011, at 13:11, Jeremy Burns | Class Outfit wrote:
>> 
>> > Just to make sure that nothing else in my application was causing 
>> > problems, I have installed the plugin in a bare copy of Cake 1.3.8, and it 
>> > still comes up with the missing controller error. Any 
>> > clues/guidance/advice?
>> >
>> > Jeremy Burns
>> > Class Outfit
>> >
>> > jeremybu...@classoutfit.com
>> > (t) +44 (0) 208 123 3822
>> > (m) +44 (0) 7973 481949
>> > Skype: jeremy_burns
>> > http://www.classoutfit.com
>> >
>> > On 4 May 2011, at 07:19, Jeremy Burns wrote:
>> >
>> >> I have downloaded WebTechNick's PayPal plugin and copied the files
>> >> into /app/plugins/paypal_ipn (exactly as per the instructions). I have
>> >> amended /app/config/routes.php to include the routes for the plugin
>> >> (these are copied straight from the installation instructions). As
>> >> part of debugging this problem 

Re: Plugin and missing controller

2011-05-06 Thread Sam Sherlock
cool no problem.

I see you went back to strings for route prefixes - I  thought these would
be better as bools
thats the code in the book at least - or am I missing something?

 - S





On 7 May 2011 05:28, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> Thanks Sam - you encouraged me to go and play with the routes and here is
> what I ended up with, and it works:
>
> /* Paypal IPN plugin */
> Router::connect('/paypal_ipn/process', array('plugin' => 'paypal_ipn',
> 'controller' => 'instant_payment_notifications', 'action' => 'process'));
> /* Optional Route, but nice for administration */
> Router::connect('/paypal_ipn', array('admin' => 'true', 'plugin' =>
> 'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' =>
> 'index'));  // <= NEW
> Router::connect('/paypal_ipn/:action/*', array('admin' => 'true', 'plugin'
> => 'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action'
> => 'index'));
> /* End Paypal IPN plugin */
>
>
> Jeremy Burns
> *Class Outfit*
> *
> *
> jeremybu...@classoutfit.com 
> http://www.classoutfit.com
>
> On 6 May 2011, at 19:41, Sam Sherlock wrote:
>
> Are you still perplexed?
>
> I just got the admin to work
>
> 1a) add line that is uncommented
> 1b) first I changed this (removing the red)
>
>  // die ('we got here still no cigar');
> class PaypalIpn*App*Controller extends AppController {
>
> }
> ?>
>
> 2) I did not like the routes - true was a string and this does not find
> index for me I always have an index catch before the other action catch all
> (aplogies if my terminology is crappy)
> Router::connect('/admin/paypal_ipn/', array('admin' => true, 'plugin' =>
> 'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' =>
> 'index'));
> Router::connect('/admin/paypal_ipn/:action/*', array('admin' => true,
> 'plugin' => 'paypal_ipn', 'controller' => 'instant_payment_notifications',
> 'action' => 'index'));
>
> 3) next I found that the database had not been made (I had not pressed
> enter in my console duh)
>
> 4) next I had to undo the first step  (and that suggests that just changing
> the routes should work for you since step 3 was my own stoopidness and 4
> negated 1)
>
> the admin loads.
>
> I am now amused by my own wry smile in the reflection of my screen.
>
>  - S
>
>
>
>
> On 5 May 2011 09:58, Jeremy Burns | Class Outfit <
> jeremybu...@classoutfit.com> wrote:
>
>> Any clues? I'm stumped as this should all just work.
>>
>> Jeremy Burns
>> Class Outfit
>>
>> jeremybu...@classoutfit.com
>> (t) +44 (0) 208 123 3822
>> (m) +44 (0) 7973 481949
>> Skype: jeremy_burns
>> http://www.classoutfit.com
>>
>> On 4 May 2011, at 13:11, Jeremy Burns | Class Outfit wrote:
>>
>> > Just to make sure that nothing else in my application was causing
>> problems, I have installed the plugin in a bare copy of Cake 1.3.8, and it
>> still comes up with the missing controller error. Any clues/guidance/advice?
>> >
>> > Jeremy Burns
>> > Class Outfit
>> >
>> > jeremybu...@classoutfit.com
>> > (t) +44 (0) 208 123 3822
>> > (m) +44 (0) 7973 481949
>> > Skype: jeremy_burns
>> > http://www.classoutfit.com
>> >
>> > On 4 May 2011, at 07:19, Jeremy Burns wrote:
>> >
>> >> I have downloaded WebTechNick's PayPal plugin and copied the files
>> >> into /app/plugins/paypal_ipn (exactly as per the instructions). I have
>> >> amended /app/config/routes.php to include the routes for the plugin
>> >> (these are copied straight from the installation instructions). As
>> >> part of debugging this problem I have placed the routes at the top of
>> >> the file. When I access http//:[mysite]/paypal_ipn I am getting a
>> >> missing controller error:
>> >>
>> >> Error: PaypalIpnController could not be found.
>> >> Error: Create the class PaypalIpnController below in file: app/
>> >> controllers/paypal_ipn_controller.php
>> >>
>> >> I'm baffled as I have followed conventions yet this is

Re: Plugin and missing controller

2011-05-06 Thread Jeremy Burns | Class Outfit
Thanks Sam - you encouraged me to go and play with the routes and here is what 
I ended up with, and it works:

/* Paypal IPN plugin */
Router::connect('/paypal_ipn/process', array('plugin' => 'paypal_ipn', 
'controller' => 'instant_payment_notifications', 'action' => 'process'));
/* Optional Route, but nice for administration */
Router::connect('/paypal_ipn', array('admin' => 'true', 'plugin' => 
'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' => 
'index'));  // <= NEW
Router::connect('/paypal_ipn/:action/*', array('admin' => 'true', 'plugin' => 
'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' => 
'index'));
/* End Paypal IPN plugin */


Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 6 May 2011, at 19:41, Sam Sherlock wrote:

> Are you still perplexed?
> 
> I just got the admin to work
> 
> 1a) add line that is uncommented
> 1b) first I changed this (removing the red)
> 
>  // die ('we got here still no cigar');
> class PaypalIpnAppController extends AppController {
>   
> }
> ?>
> 
> 2) I did not like the routes - true was a string and this does not find index 
> for me I always have an index catch before the other action catch all 
> (aplogies if my terminology is crappy)
> Router::connect('/admin/paypal_ipn/', array('admin' => true, 'plugin' => 
> 'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' => 
> 'index'));
> Router::connect('/admin/paypal_ipn/:action/*', array('admin' => true, 
> 'plugin' => 'paypal_ipn', 'controller' => 'instant_payment_notifications', 
> 'action' => 'index'));
> 
> 3) next I found that the database had not been made (I had not pressed enter 
> in my console duh)
> 
> 4) next I had to undo the first step  (and that suggests that just changing 
> the routes should work for you since step 3 was my own stoopidness and 4 
> negated 1)
> 
> the admin loads.
> 
> I am now amused by my own wry smile in the reflection of my screen.
> 
>  - S
> 
> 
> 
> 
> On 5 May 2011 09:58, Jeremy Burns | Class Outfit 
>  wrote:
> Any clues? I'm stumped as this should all just work.
> 
> Jeremy Burns
> Class Outfit
> 
> jeremybu...@classoutfit.com
> (t) +44 (0) 208 123 3822
> (m) +44 (0) 7973 481949
> Skype: jeremy_burns
> http://www.classoutfit.com
> 
> On 4 May 2011, at 13:11, Jeremy Burns | Class Outfit wrote:
> 
> > Just to make sure that nothing else in my application was causing problems, 
> > I have installed the plugin in a bare copy of Cake 1.3.8, and it still 
> > comes up with the missing controller error. Any clues/guidance/advice?
> >
> > Jeremy Burns
> > Class Outfit
> >
> > jeremybu...@classoutfit.com
> > (t) +44 (0) 208 123 3822
> > (m) +44 (0) 7973 481949
> > Skype: jeremy_burns
> > http://www.classoutfit.com
> >
> > On 4 May 2011, at 07:19, Jeremy Burns wrote:
> >
> >> I have downloaded WebTechNick's PayPal plugin and copied the files
> >> into /app/plugins/paypal_ipn (exactly as per the instructions). I have
> >> amended /app/config/routes.php to include the routes for the plugin
> >> (these are copied straight from the installation instructions). As
> >> part of debugging this problem I have placed the routes at the top of
> >> the file. When I access http//:[mysite]/paypal_ipn I am getting a
> >> missing controller error:
> >>
> >> Error: PaypalIpnController could not be found.
> >> Error: Create the class PaypalIpnController below in file: app/
> >> controllers/paypal_ipn_controller.php
> >>
> >> I'm baffled as I have followed conventions yet this isn't working. I
> >> have other plugins working as expected.
> >>
> >> What am I doing wrong?
> >>
> >> --
> >> 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 

Re: Plugin and missing controller

2011-05-06 Thread Sam Sherlock
Are you still perplexed?

I just got the admin to work

1a) add line that is uncommented
1b) first I changed this (removing the red)



2) I did not like the routes - true was a string and this does not find
index for me I always have an index catch before the other action catch all
(aplogies if my terminology is crappy)
Router::connect('/admin/paypal_ipn/', array('admin' => true, 'plugin' =>
'paypal_ipn', 'controller' => 'instant_payment_notifications', 'action' =>
'index'));
Router::connect('/admin/paypal_ipn/:action/*', array('admin' => true,
'plugin' => 'paypal_ipn', 'controller' => 'instant_payment_notifications',
'action' => 'index'));

3) next I found that the database had not been made (I had not pressed enter
in my console duh)

4) next I had to undo the first step  (and that suggests that just changing
the routes should work for you since step 3 was my own stoopidness and 4
negated 1)

the admin loads.

I am now amused by my own wry smile in the reflection of my screen.

 - S




On 5 May 2011 09:58, Jeremy Burns | Class Outfit <
jeremybu...@classoutfit.com> wrote:

> Any clues? I'm stumped as this should all just work.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.com
> (t) +44 (0) 208 123 3822
> (m) +44 (0) 7973 481949
> Skype: jeremy_burns
> http://www.classoutfit.com
>
> On 4 May 2011, at 13:11, Jeremy Burns | Class Outfit wrote:
>
> > Just to make sure that nothing else in my application was causing
> problems, I have installed the plugin in a bare copy of Cake 1.3.8, and it
> still comes up with the missing controller error. Any clues/guidance/advice?
> >
> > Jeremy Burns
> > Class Outfit
> >
> > jeremybu...@classoutfit.com
> > (t) +44 (0) 208 123 3822
> > (m) +44 (0) 7973 481949
> > Skype: jeremy_burns
> > http://www.classoutfit.com
> >
> > On 4 May 2011, at 07:19, Jeremy Burns wrote:
> >
> >> I have downloaded WebTechNick's PayPal plugin and copied the files
> >> into /app/plugins/paypal_ipn (exactly as per the instructions). I have
> >> amended /app/config/routes.php to include the routes for the plugin
> >> (these are copied straight from the installation instructions). As
> >> part of debugging this problem I have placed the routes at the top of
> >> the file. When I access http//:[mysite]/paypal_ipn I am getting a
> >> missing controller error:
> >>
> >> Error: PaypalIpnController could not be found.
> >> Error: Create the class PaypalIpnController below in file: app/
> >> controllers/paypal_ipn_controller.php
> >>
> >> I'm baffled as I have followed conventions yet this isn't working. I
> >> have other plugins working as expected.
> >>
> >> What am I doing wrong?
> >>
> >> --
> >> 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: Plugin and missing controller

2011-05-05 Thread Jeremy Burns | Class Outfit
Any clues? I'm stumped as this should all just work.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
(t) +44 (0) 208 123 3822
(m) +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 4 May 2011, at 13:11, Jeremy Burns | Class Outfit wrote:

> Just to make sure that nothing else in my application was causing problems, I 
> have installed the plugin in a bare copy of Cake 1.3.8, and it still comes up 
> with the missing controller error. Any clues/guidance/advice?
> 
> Jeremy Burns
> Class Outfit
> 
> jeremybu...@classoutfit.com
> (t) +44 (0) 208 123 3822
> (m) +44 (0) 7973 481949
> Skype: jeremy_burns
> http://www.classoutfit.com
> 
> On 4 May 2011, at 07:19, Jeremy Burns wrote:
> 
>> I have downloaded WebTechNick's PayPal plugin and copied the files
>> into /app/plugins/paypal_ipn (exactly as per the instructions). I have
>> amended /app/config/routes.php to include the routes for the plugin
>> (these are copied straight from the installation instructions). As
>> part of debugging this problem I have placed the routes at the top of
>> the file. When I access http//:[mysite]/paypal_ipn I am getting a
>> missing controller error:
>> 
>> Error: PaypalIpnController could not be found.
>> Error: Create the class PaypalIpnController below in file: app/
>> controllers/paypal_ipn_controller.php
>> 
>> I'm baffled as I have followed conventions yet this isn't working. I
>> have other plugins working as expected.
>> 
>> What am I doing wrong?
>> 
>> -- 
>> 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: Plugin and missing controller

2011-05-04 Thread Jeremy Burns | Class Outfit
Just to make sure that nothing else in my application was causing problems, I 
have installed the plugin in a bare copy of Cake 1.3.8, and it still comes up 
with the missing controller error. Any clues/guidance/advice?

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
(t) +44 (0) 208 123 3822
(m) +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 4 May 2011, at 07:19, Jeremy Burns wrote:

> I have downloaded WebTechNick's PayPal plugin and copied the files
> into /app/plugins/paypal_ipn (exactly as per the instructions). I have
> amended /app/config/routes.php to include the routes for the plugin
> (these are copied straight from the installation instructions). As
> part of debugging this problem I have placed the routes at the top of
> the file. When I access http//:[mysite]/paypal_ipn I am getting a
> missing controller error:
> 
> Error: PaypalIpnController could not be found.
> Error: Create the class PaypalIpnController below in file: app/
> controllers/paypal_ipn_controller.php
> 
> I'm baffled as I have followed conventions yet this isn't working. I
> have other plugins working as expected.
> 
> What am I doing wrong?
> 
> -- 
> 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


Plugin and missing controller

2011-05-03 Thread Jeremy Burns
I have downloaded WebTechNick's PayPal plugin and copied the files
into /app/plugins/paypal_ipn (exactly as per the instructions). I have
amended /app/config/routes.php to include the routes for the plugin
(these are copied straight from the installation instructions). As
part of debugging this problem I have placed the routes at the top of
the file. When I access http//:[mysite]/paypal_ipn I am getting a
missing controller error:

Error: PaypalIpnController could not be found.
Error: Create the class PaypalIpnController below in file: app/
controllers/paypal_ipn_controller.php

I'm baffled as I have followed conventions yet this isn't working. I
have other plugins working as expected.

What am I doing wrong?

-- 
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: Remove layout from missing controller

2011-03-18 Thread Stephen
Hi

Create /app/views/errors/missing_controller.ctp as a layout.

You can change this to show a generic 404.

Alternatively, if it's error text you want to remove, then you should get
away with it by setting debug to 0 in /app/config/core.php

On 17 March 2011 19:18, Giovanni  wrote:

> Hi,
>
> I would like to know if there is how to remove the layout that I have
> for all other pages on my website in the missing_controller.ctp file?
>
> Thank's,
> []'s
>
> --
> 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
>



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


Remove layout from missing controller

2011-03-17 Thread Giovanni
Hi,

I would like to know if there is how to remove the layout that I have
for all other pages on my website in the missing_controller.ctp file?

Thank's,
[]'s

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

2010-10-17 Thread dhiraj ray
wrong Controller name

check files name

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

2010-10-16 Thread Miles J
So what does your controller code look like? And what is the filename?
etc.

On Oct 15, 8:18 pm, Syed Badar Bin  wrote:
> HI GUYS
>
> i have added a new folder on my server and its has got all the files
> in it including index but i get this error, Can any one help please
>
> Missing Controller
>
> Error: LivezillaController could not be found.
>
> Error: Create the class LivezillaController below in file: app/
> controllers/livezilla_controller.php
>
>  class LivezillaController extends AppController {
>
>         var $name = 'Livezilla';}
>
> ?>
> Notice: If you want to customize this error message, create app/views/
> errors/missing_controller.ctp

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


Missing Controller

2010-10-16 Thread Syed Badar Bin
HI GUYS

i have added a new folder on my server and its has got all the files
in it including index but i get this error, Can any one help please

Missing Controller

Error: LivezillaController could not be found.

Error: Create the class LivezillaController below in file: app/
controllers/livezilla_controller.php


Notice: If you want to customize this error message, create app/views/
errors/missing_controller.ctp

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


missing controller in wamp advanced installation

2010-08-29 Thread rogwei
Apologies if this has already been discussed in the group, but I could
not find it. I have an advanced installation on Windows running wamp,
which I tested first with the app folder containing webroot at the
document root and the cake libraries above the document root. The
initial test setup worked as expected. I then moved the app folder to
the same level as the cake core libraries and left the webroot folder
in the document root. This is when I began to get the missing
controller error.

My installation uses the following structure.

from Start>Run>notepad \wamp\www\testweb\index.php

if (!defined('ROOT')) {
define('ROOT', DS.'wamp'.DS.'cake'.DS.'1.3.x');
}
if (!defined('APP_DIR')) {
define('APP_DIR', 'test');
}
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', 
DS.'wamp'.DS.'cake'.DS.'1.3.x');
}

When I load http://localhost/testweb/, I get the default home view
with four green bars. I have a controller and model set up as follows.

Start>Run>\wamp\cake\1.3.x\test\controllers\profiles_controller.php:



Start>Run>\wamp\cake\1.3.x\test\models\profile.php:



When I load http://localhost/testweb/profiles, I get the missing
controller message.


CakePHP: the rapid development php framework

Missing Controller
Error: ProfilesController could not be found.

Error: Create the class ProfilesController below in file: test
\controllers\profiles_controller.php


Notice: If you want to customize this error message, create test\views
\errors\missing_controller.ctp

My take is that for some reason the core libraries are in scope but
the app is not, and I really have no clue as to why.

Apache returns a 200 status code on the request which suggests that
the .htaccess is set up correctly.
127.0.0.1 - - [29/Aug/2010:00:36:58 -0700] "GET /testweb/profiles HTTP/
1.1" 200 1470

My cake console works as expected, so my paths for cake and php must
be good. Seems like something internal to cake. I am very discouraged
to be fumbling around with this problem and would love it if someone
would point out what I am missing.

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

2010-08-19 Thread cricket
On Wed, Aug 18, 2010 at 10:26 PM, linchuanyu  wrote:
> no, I changed the name but still not working~~~
> :(~~~

model: Item.php



This filename should also be lowercase. And you have "create" instead
of "class".

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

2010-08-18 Thread linchuanyu
no, I changed the name but still not working~~~
:(~~~

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

2010-08-18 Thread Mike Karthauser

On Wed, August 18, 2010 6:40 am, linchuanyu wrote:
> I'm totally new to cakephp
> I can get the index.php of the cakephp welcome and no error or
> warning. So I suspect all set up is ok.
>
> model: Item.php
>  create Item extends AppModel{
> var $name = 'Item';
> }
> ?>
>
> controller: Items_Controller.php
>   class ItemsController extends AppController{
>var $name = 'Items';
>var $scaffold;
>  }
> ?>
>
>
>
>
> and it always reports missing controller error:
> Missing Controller
> Error: ItemsController could not be found.
>
> Error: Create the class ItemsController below in file: app\controllers
> \items_controller.php
>
>  class ItemsController extends AppController {
>
>   var $name = 'Items';
> }
> ?>
> Notice: If you want to customize this error message, create app\views
> \errors\missing_controller.ctp
>
>
>
>
> it asks me to create the file, but I do have this file under app
> \controllers
> pls help~~~ desperate~~~

your filename should be lower case. ie items_controller.php


-- 
Mike Karthauser
Managing Director - Brightstorm Ltd

Email: mi...@brightstorm.co.uk
Web: http://www.brightstorm.co.uk
Tel:  07939 252144 (mobile)
Fax: 0870 1320560

Address: 1 Brewery Court, North Street, Bristol, BS3 1JS

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


missing controller

2010-08-18 Thread linchuanyu
I'm totally new to cakephp
I can get the index.php of the cakephp welcome and no error or
warning. So I suspect all set up is ok.

model: Item.php


controller: Items_Controller.php





and it always reports missing controller error:
Missing Controller
Error: ItemsController could not be found.

Error: Create the class ItemsController below in file: app\controllers
\items_controller.php


Notice: If you want to customize this error message, create app\views
\errors\missing_controller.ctp




it asks me to create the file, but I do have this file under app
\controllers
pls help~~~ desperate~~~

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


missing controller on redirect

2010-03-09 Thread voocake
hey,

i have this problem:

I check if if the request comes from a proxy, if it's so i add the
Services to the app base, because the proxy is www.xyz.com/services/ourservice

if (isset($_SERVER['HTTP__ID'])) {
Configure::write('App.base', '/Services/');
}

everything works smoothly, except when a controller calls a redirect
function! in this case i get an error message that the Services
Controller was not found and i should create it.

Any idead how to fix this problem? i'm really stuck here!

Thanks for your help & time.
Greetings
Mike

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: routes.php - getting missing controller issue

2010-02-10 Thread leafchild book
Thanks Chad,

I tried but still couldn't do it.
It seems like I have to modify .htaccess file.



On Wed, Jan 27, 2010 at 5:11 AM, Chad Smith  wrote:

> Hey Leaf,
>
> We've done a lot of rewriting with our sites and mainly with
> http://theeasyapi.com, and http://www.countycriminal.com.  One thing
> that I have found is that you must always use the controller name in
> the URL even when you are rewriting which controller picks it up.
>
> In your example I would use instead of /hp/12345 I would use /users/
> 12345 ... try that and see if you get a valid result.  Like I said I
> know it's not the best approach as you obviously want to have /hp/ = /
> homepage/ but sometimes there are just a few things that just don't
> work in cake for some reason.
>
> The other thing you COULD do is a custom modification in
> your .htaccess.  Change your routes to look for /homepage/ but then in
> your .htaccess put a rewrite rule in there to convert /hp/ to /
> homepage/ so the URL at the top stays the same but it does pass in /
> homepage/ instead.  Keeps the same look and feel but does break the
> "cakeified" mentality.
>
> It's up to you and check out http://theeasyapi.com you can see a live
> site where we rewrite URL's and do a lot of really interesting things
> with our routes file.
>
> Have a wonderful day,
> Chad
>
> On Jan 26, 5:43 am, leafchild  wrote:
> > circket, thank you for the replay.
> >
> > actually i set to 'id'=>'[0-9a-zA-Z]+' in the beginning but make it
> > simple since nothing was working for me.
> >
> > code below gives me a "Missing controller error" it say I don't have a
> > Hp Controller
> > =
> > Router::connect('/hp/:id/', array(
> >  'controller' => 'users',
> >  'action' => 'homepage',
> >  ), array(
> > 'id'=>'[0-9a-zA-Z]', 'pass'=>'id'
> > ));
> > =
> >
> > then if i have this code then it bring  to home page
> > =
> > Router::connect('/hp/:id/', array(
> >  'controller' => 'users',
> >  'action' => 'homepage',
> >  ), array(
> > 'id'=>'[0-9a-zA-Z]+', 'pass'=>'id'
> > ));
> > =
> >
> > What am I missing?
> >
> > On Jan 25, 5:08 pm, cricket  wrote:
> >
> > > What does the error msg say? That UsersController is missing, or
> > > something else?
> >
> > > Are your usernames limited to lowercase letters only and no digits?
> >
> > > And you might want to pass the ID to your action:
> >
> > > Router::connect(
> > > '/hp/:id/',
> > > array('controller' => 'users', 'action' => 'homepage'),
> > > array('id'=>'[a-z]', 'pass' => 'id')
> > > );
> >
> > > On Jan 25, 5:19 pm, leafchild  wrote:
> >
> > > > I'm tring to fix URL
> >
> > > >www.mysite.com/users/homepage/{user's login name}
> > > > ->www.mysite.com/{user's login name}
> >
> > > > but I couldn't figure it out so I'm tesing with this
> firstwww.mysite.com/users/homepage/{user's login name}
> > > > ->www.mysite.com/hp/{user's login name}
> >
> > > > Router::connect('/hp/:id/', array( 'controller' => 'users',  'action'
> > > > => 'homepage', ),
> > > >   array('id'=>'[a-z]',  )
> > > >);
> >
> > > > then when I access, mysite.com/hp/{user's login name}, I'm getting a
> > > > missing controller error.
> >
> > > > What I'm I doing wrong? I was expected to see the page with this URL.
>
> 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.comFor
>  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: routes.php - getting missing controller issue

2010-01-27 Thread Chad Smith
Hey Leaf,

We've done a lot of rewriting with our sites and mainly with
http://theeasyapi.com, and http://www.countycriminal.com.  One thing
that I have found is that you must always use the controller name in
the URL even when you are rewriting which controller picks it up.

In your example I would use instead of /hp/12345 I would use /users/
12345 ... try that and see if you get a valid result.  Like I said I
know it's not the best approach as you obviously want to have /hp/ = /
homepage/ but sometimes there are just a few things that just don't
work in cake for some reason.

The other thing you COULD do is a custom modification in
your .htaccess.  Change your routes to look for /homepage/ but then in
your .htaccess put a rewrite rule in there to convert /hp/ to /
homepage/ so the URL at the top stays the same but it does pass in /
homepage/ instead.  Keeps the same look and feel but does break the
"cakeified" mentality.

It's up to you and check out http://theeasyapi.com you can see a live
site where we rewrite URL's and do a lot of really interesting things
with our routes file.

Have a wonderful day,
Chad

On Jan 26, 5:43 am, leafchild  wrote:
> circket, thank you for the replay.
>
> actually i set to 'id'=>'[0-9a-zA-Z]+' in the beginning but make it
> simple since nothing was working for me.
>
> code below gives me a "Missing controller error" it say I don't have a
> Hp Controller
> =
> Router::connect('/hp/:id/', array(
>              'controller' => 'users',
>                  'action' => 'homepage',
>                  ), array(
>                         'id'=>'[0-9a-zA-Z]', 'pass'=>'id'
>         ));
> =
>
> then if i have this code then it bring  to home page
> =
> Router::connect('/hp/:id/', array(
>              'controller' => 'users',
>                  'action' => 'homepage',
>                  ), array(
>                         'id'=>'[0-9a-zA-Z]+', 'pass'=>'id'
>         ));
> =
>
> What am I missing?
>
> On Jan 25, 5:08 pm, cricket  wrote:
>
> > What does the error msg say? That UsersController is missing, or
> > something else?
>
> > Are your usernames limited to lowercase letters only and no digits?
>
> > And you might want to pass the ID to your action:
>
> > Router::connect(
> >     '/hp/:id/',
> >     array('controller' => 'users', 'action' => 'homepage'),
> >     array('id'=>'[a-z]', 'pass' => 'id')
> > );
>
> > On Jan 25, 5:19 pm, leafchild  wrote:
>
> > > I'm tring to fix URL
>
> > >www.mysite.com/users/homepage/{user's login name}
> > > ->www.mysite.com/{user's login name}
>
> > > but I couldn't figure it out so I'm tesing with this 
> > > firstwww.mysite.com/users/homepage/{user's login name}
> > > ->www.mysite.com/hp/{user's login name}
>
> > > Router::connect('/hp/:id/', array( 'controller' => 'users',  'action'
> > > => 'homepage', ),
> > >                               array('id'=>'[a-z]',  )
> > >                        );
>
> > > then when I access, mysite.com/hp/{user's login name}, I'm getting a
> > > missing controller error.
>
> > > What I'm I doing wrong? I was expected to see the page with this URL.

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: routes.php - getting missing controller issue

2010-01-26 Thread leafchild
circket, thank you for the replay.

actually i set to 'id'=>'[0-9a-zA-Z]+' in the beginning but make it
simple since nothing was working for me.


code below gives me a "Missing controller error" it say I don't have a
Hp Controller
=
Router::connect('/hp/:id/', array(
 'controller' => 'users',
 'action' => 'homepage',
 ), array(
'id'=>'[0-9a-zA-Z]', 'pass'=>'id'
));
=

then if i have this code then it bring  to home page
=
Router::connect('/hp/:id/', array(
 'controller' => 'users',
 'action' => 'homepage',
 ), array(
'id'=>'[0-9a-zA-Z]+', 'pass'=>'id'
));
=

What am I missing?




On Jan 25, 5:08 pm, cricket  wrote:
> What does the error msg say? That UsersController is missing, or
> something else?
>
> Are your usernames limited to lowercase letters only and no digits?
>
> And you might want to pass the ID to your action:
>
> Router::connect(
>     '/hp/:id/',
>     array('controller' => 'users', 'action' => 'homepage'),
>     array('id'=>'[a-z]', 'pass' => 'id')
> );
>
> On Jan 25, 5:19 pm, leafchild  wrote:
>
>
>
> > I'm tring to fix URL
>
> >www.mysite.com/users/homepage/{user's login name}
> > ->www.mysite.com/{user's login name}
>
> > but I couldn't figure it out so I'm tesing with this 
> > firstwww.mysite.com/users/homepage/{user's login name}
> > ->www.mysite.com/hp/{user's login name}
>
> > Router::connect('/hp/:id/', array( 'controller' => 'users',  'action'
> > => 'homepage', ),
> >                               array('id'=>'[a-z]',  )
> >                        );
>
> > then when I access, mysite.com/hp/{user's login name}, I'm getting a
> > missing controller error.
>
> > What I'm I doing wrong? I was expected to see the page with this URL.

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: routes.php - getting missing controller issue

2010-01-25 Thread cricket
What does the error msg say? That UsersController is missing, or
something else?

Are your usernames limited to lowercase letters only and no digits?

And you might want to pass the ID to your action:

Router::connect(
'/hp/:id/',
array('controller' => 'users', 'action' => 'homepage'),
array('id'=>'[a-z]', 'pass' => 'id')
);



On Jan 25, 5:19 pm, leafchild  wrote:
> I'm tring to fix URL
>
> www.mysite.com/users/homepage/{user's login name}
> ->www.mysite.com/{user's login name}
>
> but I couldn't figure it out so I'm tesing with this 
> firstwww.mysite.com/users/homepage/{user's login name}
> ->www.mysite.com/hp/{user's login name}
>
> Router::connect('/hp/:id/', array( 'controller' => 'users',  'action'
> => 'homepage', ),
>                               array('id'=>'[a-z]',  )
>                        );
>
> then when I access, mysite.com/hp/{user's login name}, I'm getting a
> missing controller error.
>
> What I'm I doing wrong? I was expected to see the page with this URL.

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: Missing controller at root

2009-12-04 Thread Sandcake
Ok, so I need a controller. That's fine.

But now my problem seems to be that my http://localhost/ shows just
files in that folder. Doesn't work, doesn't show anything related to
cakephp.

Cakephp is installed in c:/wamp/www/Cake_1.2.5/
Layouts are shown only in http://localhost/Cake_1.2.5/, not http://localhost/

Apache2 httpd.conf says: DocumentRoot "c:/wamp/www/"

Should I configure my routes.php somehow?

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: Missing controller at root

2009-12-03 Thread Nabil Alsharif
First off it looks you are going to the wrong URL... try going straight
to http://localhost/ and that should be the starting page for cakephp.

On Thu, 2009-12-03 at 11:17 -0800, Sandcake wrote:
> Hi, I'm beginner with Cakephp. I have done some working tutorials,
> like guestbook and like that. They work fine, like
> http://localhost/cake_1.2.5/app/webroot/index.php/guestbooks/ etc..
> The first page of my site, the "index" doesn't need any cakephp apps.
> It's static. My layout is located at c:\wamp\www\cake_1.2.5\app\views
> \layouts\default.ctp.
> 
> How can I run my first page without errors of missing controllers? At
> first page (www.mysite.com) I want that  $content_for_layout ?> will be quiet.
> 
> When I go to http://localhost/cake_1.2.5/ it says that I'm missing
> controller "cake_1.2.5".
> 
> Thanks, if someone will understand.
> 
> 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: Missing controller at root

2009-12-03 Thread Miles J
You need a controller, even for a static index page.

On Dec 3, 11:17 am, Sandcake  wrote:
> Hi, I'm beginner with Cakephp. I have done some working tutorials,
> like guestbook and like that. They work fine, 
> likehttp://localhost/cake_1.2.5/app/webroot/index.php/guestbooks/etc..
> The first page of my site, the "index" doesn't need any cakephp apps.
> It's static. My layout is located at c:\wamp\www\cake_1.2.5\app\views
> \layouts\default.ctp.
>
> How can I run my first page without errors of missing controllers? At
> first page (www.mysite.com) I want that  $content_for_layout ?> will be quiet.
>
> When I go tohttp://localhost/cake_1.2.5/it says that I'm missing
> controller "cake_1.2.5".
>
> Thanks, if someone will understand.

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


Missing controller at root

2009-12-03 Thread Sandcake
Hi, I'm beginner with Cakephp. I have done some working tutorials,
like guestbook and like that. They work fine, like
http://localhost/cake_1.2.5/app/webroot/index.php/guestbooks/ etc..
The first page of my site, the "index" doesn't need any cakephp apps.
It's static. My layout is located at c:\wamp\www\cake_1.2.5\app\views
\layouts\default.ctp.

How can I run my first page without errors of missing controllers? At
first page (www.mysite.com) I want that  will be quiet.

When I go to http://localhost/cake_1.2.5/ it says that I'm missing
controller "cake_1.2.5".

Thanks, if someone will understand.

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

2009-09-24 Thread Selva manickaraja
Thanks alot guys. I was just about to edit the php.ini. Since I got advice
to stick to long tags, I wil continue using long tags not to suffer from
deprecations.

On Thu, Sep 24, 2009 at 12:08 PM, dhiraj ray  wrote:

> hi
>create controler name just pulural of modle
>
> check naming in data base.
>
> sorry for bad english.
>
>
> >
>

--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-23 Thread dhiraj ray
hi
   create controler name just pulural of modle

check naming in data base.

sorry for bad english.

--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-23 Thread Marcelo Andrade

On Wed, Sep 23, 2009 at 3:31 AM, Bert Van den Brande  wrote:
> (..)
> /me personally never uses short tags :)

+1.

In fact it's no recomended to use short tags, as you
cannot trust the host will be configured properly.

Best regards.

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

--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-23 Thread AD7six



On 23 sep, 08:24, Selva manickaraja  wrote:
> Hi,
>
> I tried that and ended up with misconfiguration errors. However I did one
> more look into the code. The beginning on the script for Item and
> ItemsController was written as " copied the script exactly as it was written in the book

Please edit whichever section of the book you were reading to remove
the shorttags.

Thanks,

AD
--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-23 Thread Miles J

Shorttags are going to be deprecated in the next PHP versions, I think
they already are in 5.3. Best not to use them.

On Sep 22, 11:31 pm, Bert Van den Brande  wrote:
> You can make the short tag  :http://be.php.net/manual/en/ini.core.php
>
> /me personally never uses short tags :)
>
> On Wed, Sep 23, 2009 at 8:24 AM, Selva manickaraja wrote:
>
> > Hi,
>
> > I tried that and ended up with misconfiguration errors. However I did one
> > more look into the code. The beginning on the script for Item and
> > ItemsController was written as " > copied the script exactly as it was written in the book thinking that Cake
> > would understand the script as default php instead of having to explicitly
> > putting in " >http://localhost/ims/itemsin the URL it works perfectly.
>
> > Thank you John for the guidance rendered so far. It has been helpful.
>
> > Warmest Regards,
>
> > Selvam
>
> > On Wed, Sep 23, 2009 at 12:57 PM, John Andersen 
> > wrote:
>
> >> Ok, from what I can discern, your application directory is "ims", so
> >> your cake application content should be in the "ims" directory, not in
> >> the "ims/app" directory.
> >> Move everything from "app" into "ims" directory and give it a try!
> >> Enjoy,
> >>   John
>
> >> On Sep 23, 5:02 am, Selva manickaraja  wrote:
> >> > Yes, I had corrected that all the first time I sent the email. According
> >> to
> >> > the book tutorial, I should be getting the view. But I am still stuck
> >> with
> >> > the error message Missing Controller. Could it be environment setup?
> >> Please
> >> > advice
>
> >> > Thank you.
>
> >> > On Wed, Sep 23, 2009 at 1:17 AM, John Andersen  >> >wrote:
>
> >> > > Correct also your model class to Item, not Items! Singular in models,
> >> > > plural in controllers.
> >> > > Enjoy,
> >> > >   John
> >> > > [snip]
> >> > > > 2. Wrote a script called item.php and placed it in app\models
> >> directory
> >> > > to
> >> > > > define a class called Items.
> >> > > [/snip]e
--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-22 Thread Bert Van den Brande
You can make the short tag http://be.php.net/manual/en/ini.core.php

/me personally never uses short tags :)



On Wed, Sep 23, 2009 at 8:24 AM, Selva manickaraja wrote:

> Hi,
>
> I tried that and ended up with misconfiguration errors. However I did one
> more look into the code. The beginning on the script for Item and
> ItemsController was written as " copied the script exactly as it was written in the book thinking that Cake
> would understand the script as default php instead of having to explicitly
> putting in " http://localhost/ims/items in the URL it works perfectly.
>
> Thank you John for the guidance rendered so far. It has been helpful.
>
> Warmest Regards,
>
> Selvam
>
> On Wed, Sep 23, 2009 at 12:57 PM, John Andersen 
> wrote:
>
>>
>> Ok, from what I can discern, your application directory is "ims", so
>> your cake application content should be in the "ims" directory, not in
>> the "ims/app" directory.
>> Move everything from "app" into "ims" directory and give it a try!
>> Enjoy,
>>   John
>>
>> On Sep 23, 5:02 am, Selva manickaraja  wrote:
>> > Yes, I had corrected that all the first time I sent the email. According
>> to
>> > the book tutorial, I should be getting the view. But I am still stuck
>> with
>> > the error message Missing Controller. Could it be environment setup?
>> Please
>> > advice
>> >
>> > Thank you.
>> >
>> > On Wed, Sep 23, 2009 at 1:17 AM, John Andersen > >wrote:
>>  >
>> >
>> >
>> > > Correct also your model class to Item, not Items! Singular in models,
>> > > plural in controllers.
>> > > Enjoy,
>> > >   John
>> > > [snip]
>> > > > 2. Wrote a script called item.php and placed it in app\models
>> directory
>> > > to
>> > > > define a class called Items.
>> > > [/snip]e
>>
>
>
> >
>

--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-22 Thread Selva manickaraja
Hi,

I tried that and ended up with misconfiguration errors. However I did one
more look into the code. The beginning on the script for Item and
ItemsController was written as "http://localhost/ims/items in the URL it works perfectly.

Thank you John for the guidance rendered so far. It has been helpful.

Warmest Regards,

Selvam

On Wed, Sep 23, 2009 at 12:57 PM, John Andersen wrote:

>
> Ok, from what I can discern, your application directory is "ims", so
> your cake application content should be in the "ims" directory, not in
> the "ims/app" directory.
> Move everything from "app" into "ims" directory and give it a try!
> Enjoy,
>   John
>
> On Sep 23, 5:02 am, Selva manickaraja  wrote:
> > Yes, I had corrected that all the first time I sent the email. According
> to
> > the book tutorial, I should be getting the view. But I am still stuck
> with
> > the error message Missing Controller. Could it be environment setup?
> Please
> > advice
> >
> > Thank you.
> >
> > On Wed, Sep 23, 2009 at 1:17 AM, John Andersen  >wrote:
>  >
> >
> >
> > > Correct also your model class to Item, not Items! Singular in models,
> > > plural in controllers.
> > > Enjoy,
> > >   John
> > > [snip]
> > > > 2. Wrote a script called item.php and placed it in app\models
> directory
> > > to
> > > > define a class called Items.
> > > [/snip]e
> >
>

--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-22 Thread John Andersen

Ok, from what I can discern, your application directory is "ims", so
your cake application content should be in the "ims" directory, not in
the "ims/app" directory.
Move everything from "app" into "ims" directory and give it a try!
Enjoy,
   John

On Sep 23, 5:02 am, Selva manickaraja  wrote:
> Yes, I had corrected that all the first time I sent the email. According to
> the book tutorial, I should be getting the view. But I am still stuck with
> the error message Missing Controller. Could it be environment setup? Please
> advice
>
> Thank you.
>
> On Wed, Sep 23, 2009 at 1:17 AM, John Andersen wrote:
>
>
>
> > Correct also your model class to Item, not Items! Singular in models,
> > plural in controllers.
> > Enjoy,
> >   John
> > [snip]
> > > 2. Wrote a script called item.php and placed it in app\models directory
> > to
> > > define a class called Items.
> > [/snip]e
--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-22 Thread Selva manickaraja
Yes, I had corrected that all the first time I sent the email. According to
the book tutorial, I should be getting the view. But I am still stuck with
the error message Missing Controller. Could it be environment setup? Please
advice

Thank you.

On Wed, Sep 23, 2009 at 1:17 AM, John Andersen wrote:

>
> Correct also your model class to Item, not Items! Singular in models,
> plural in controllers.
> Enjoy,
>   John
> [snip]
> > 2. Wrote a script called item.php and placed it in app\models directory
> to
> > define a class called Items.
> [/snip]e
>
> >
>

--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-22 Thread John Andersen

Correct also your model class to Item, not Items! Singular in models,
plural in controllers.
Enjoy,
   John
[snip]
> 2. Wrote a script called item.php and placed it in app\models directory to
> define a class called Items.
[/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: Missing Controller

2009-09-22 Thread AD7six



On 22 sep, 17:57, Selva manickaraja  wrote:
> Hi Guys,
>
> Sorry, made a typo in the email. I did put the file in the correct directory
> app/controllers and the class name is ItemsController. I'm attaching
> screenshots of path to both class file and the class defined in each file. I
> made everything to be the same as found in the book. But it doesn't work.

http://book.cakephp.org/view/771/broken

most likely you typed the url wrong.

hth

AD.
PS the screenshots are not required.
--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-22 Thread Ma'moon
The class name should be "ItemsController" controller NOT "ItemController"

On Tue, Sep 22, 2009 at 7:58 AM, Selva manickaraja wrote:

> Hi,
>
> I just got CakePhp up and running. To learn the functionality I created
> sample php code. I followed the instruction in the book that I bought few
> days back called Beginning CakePHP published by APress. Following are the
> steps that I had taken.
>
> 1. Created a table in PostgreSQL called *items*.
> 2. Wrote a script called item.php and placed it in app\models directory to
> define a class called Items.
> 3. Wrote a script called items_controller and placed it in app\controller
> direcrtory to define a class called ItemController.
>
> Finally I tryped the URL http://localhost/ims/items in the browser. I get
> an error message Missing Controller. I tried following all the naming
> convention.
>
> I'm attaching the individual files for your reference. Please check and
> comment as to what had gone wrong.
>
> Thank you.
>
> Warmest Regards,
>
> Selvam
>
> >
>


-- 
http://phpirate.net

--~--~-~--~~~---~--~~
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: Missing Controller

2009-09-22 Thread Bert Van den Brande
The directory is "app/controllers" , not "app/controller" :)

On Tue, Sep 22, 2009 at 1:58 PM, Selva manickaraja wrote:

> Hi,
>
> I just got CakePhp up and running. To learn the functionality I created
> sample php code. I followed the instruction in the book that I bought few
> days back called Beginning CakePHP published by APress. Following are the
> steps that I had taken.
>
> 1. Created a table in PostgreSQL called *items*.
> 2. Wrote a script called item.php and placed it in app\models directory to
> define a class called Items.
> 3. Wrote a script called items_controller and placed it in app\controller
> direcrtory to define a class called ItemController.
>
> Finally I tryped the URL http://localhost/ims/items in the browser. I get
> an error message Missing Controller. I tried following all the naming
> convention.
>
> I'm attaching the individual files for your reference. Please check and
> comment as to what had gone wrong.
>
> Thank you.
>
> Warmest Regards,
>
> Selvam
>
> >
>

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



Strange error: Missing Controller ~usernameController

2009-09-20 Thread mykro76

I'm getting strange rewriting behaviour in CakePHP.  When I navigate
to http://localhost/~bob/project, CakePHP produces a Missing
Controller page, saying Error: ~bobController could not be found.

The steps I followed:

- Ubuntu 9.04, apache2
- I used "sudo a2enmod userdir" to set up user directories.
- I extracted Cake 1.2.5 to ~bob/public_html/project.
- In all three .htaccess files ( /project, project/app and project/app/
webroot ),  I added the line : RewriteBase /~bob/project

The scaffolding is working; the following produce the correct cakephp-
generated pages for a "contacts" table.

- http://localhost/~bob/project/contacts
- http://localhost/~bob/project/contacts/add

But I'm seeing strange rewrites at the top two directory levels:

- http://localhost/~bob/project : produces: Missing Controller.
Error: ~bobController could not be found.
- http://localhost/~bob/project/index.php : resolves to the CakePHP
Release Notes placeholder page.
- http://localhost/~bob/project/app : produces: Missing Controller.
Error: WebrootController could not be found.
- http://localhost/~bob/project/app/webroot : resolves to CakePHP
Release Notes placeholder page.

I'm assuming they should all resolve to the CakePHP Release Notes
page, but I'm not sure.  The first one which is the main focus of this
post definitely seems messed up.

I've googled till my eyes bled but I seem to be going around in
circles!

Any ideas?

--~--~-~--~~~---~--~~
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: question: file not found or missing controller error?

2009-08-17 Thread Martin Westin

If you don't deal with the webserver config much it would be easy to
overlook that the whole Cake app more or less acts as an error page
for  missing files. Any "real" file is sent directly and any missing
file results in php and Cake getting the url to try to make sense of
it.


On Aug 17, 10:08 am, WebbedIT  wrote:
> Thanks Martin, so the real answer to my question was .. yes, you are
> just being daft :o)   Just goes to show I have not put a CakePHP
> project into production.
--~--~-~--~~~---~--~~
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: question: file not found or missing controller error?

2009-08-17 Thread WebbedIT

Thanks Martin, so the real answer to my question was .. yes, you are
just being daft :o)   Just goes to show I have not put a CakePHP
project into production.
--~--~-~--~~~---~--~~
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: question: file not found or missing controller error?

2009-08-17 Thread Martin Westin

Configure::write('debug', n );
Setting debug to 0 will make make respond with a 404.

Anytime debug is on (more than 0), Cake expects you to be building or
testing the application. Cake does not try to make a difference
between the missing file "/posts/edit/1" and "/files/images/
not_here.jpg". It simply assumes that since it is not a file... the
first "folder" is the controller... the second the action

/Martin


On Aug 16, 12:56 pm, WebbedIT  wrote:
> I have just started uploading files using the plug-in found at:
>
> http://www.milesj.me/resources/script/uploader-plugin
>
> I have this all working fine, so I can recommend the plug-in for a
> fast and easy solution to uploading files.
>
> Now that I have a selection of files uploaded to the server I want to
> view them and if I type in the path and filenames correctly I see them
> not a problem.  However, if I make a typo cake shows a missing
> controller error rather then a file not found.
>
> Am I just being daft and the server is logging a file not found error,
> but cake is being clever and trying to supply a meaningful error? or
> is there something more sinister here in that a missing controller
> error is not what should be getting displayed when trying to access
> things in /app/webroot/files/...
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



question: file not found or missing controller error?

2009-08-16 Thread WebbedIT

I have just started uploading files using the plug-in found at:

http://www.milesj.me/resources/script/uploader-plugin

I have this all working fine, so I can recommend the plug-in for a
fast and easy solution to uploading files.

Now that I have a selection of files uploaded to the server I want to
view them and if I type in the path and filenames correctly I see them
not a problem.  However, if I make a typo cake shows a missing
controller error rather then a file not found.

Am I just being daft and the server is logging a file not found error,
but cake is being clever and trying to supply a meaningful error? or
is there something more sinister here in that a missing controller
error is not what should be getting displayed when trying to access
things in /app/webroot/files/...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: cakephp setup - Missing Controller error

2009-06-07 Thread wang

Hi, It seems i have a  same problem.
I'm tried to setup a cakephp example like cakephp.org => 【Blog posts】

【the following is error text  :】
Missing Controller
Error: PostsController could not be found.

Error: Create the class PostsController below in file: app\controllers
\posts_controller.php


Notice: If you want to customize this error message, create app\views
\errors\missing_controller.ctp

【file path】Apache2.2/htdocs
/cake_php / app / controllers/ posts_controller.php
   / models / post.php
   / views / posts / index.ctp
 / view.ctp

【httpd.conf】
LoadModule rewrite_module modules/mod_rewrite.so
DocumentRoot "D:/Program Files/Apache Software Foundation/Apache2.2/
htdocs/cake_php/app/webroot"

Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all


【routes.php】
Router::connect ('/', array('controller'=>'posts',
'action'=>'index'));
Router::connect('/pages/*', array('controller' => 'pages', 'action' =>
'display'));

【OS】
Apache2.2 / winxp

sorry, not good at english.
wish your help.thanks!

On 6月6日, 下午1时35分, persianshadow  wrote:
> check these options :
>
> 1 - filename letters must be lowercase : items_controller.php  (plz
> check this correctly)
>
> 2 - mod_rewrite must be active . whats your server and OS ?
>
> 3 - where you put "items_controller.php " ? (plz paste full directory
> path )

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



Re: cakephp setup - Missing Controller error

2009-06-05 Thread persianshadow


check these options :

1 - filename letters must be lowercase : items_controller.php  (plz
check this correctly)

2 - mod_rewrite must be active . whats your server and OS ?

3 - where you put "items_controller.php " ? (plz paste full directory
path )


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



Re: cakephp setup - Missing Controller error

2009-06-04 Thread brian

Do you have any routes that might be interfering?

On Wed, Jun 3, 2009 at 5:08 PM, dflow  wrote:
>
> items_controller.php
>
> On Jun 3, 10:43 pm, Miles J  wrote:
>> Whats the filename of your controller?
> >
>

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



Re: cakephp setup - Missing Controller error

2009-06-03 Thread dflow

items_controller.php

On Jun 3, 10:43 pm, Miles J  wrote:
> Whats the filename of your controller?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



  1   2   >