Hi everyone:

     I am pretty new to cakephp. I am trying to use the Jake component
to integrate it into cms. I am having some problems and just wondering
if you guys can help.

     My cakephp is version 1.2.0.5427alpha and joomla 1.5.9. Due to
limited php knowledge, I am trying to avoid upgrading cake. Since I am
using xampp on my own computer right now, so mod_rewrite is on. But I
always get problem like the following when I connect from jake (with
the url of http://localhost/joomla/index.php?option=com_jake), while
direct connect to cake (http://localhost/cake) is completely fine.
Here is the error message I got when connecting with jake:
--------------------------------------------------------------------------
Missing controller
You are seeing this error because controller Controller could not be
found.
Notice: If you want to customize this error message, create app\views/
errors/missing_controller.ctp
Fatal: Create the class below in file: app\controllers\controller.php
<?php
class Controller extends AppController {
   var $name = '';
}
?>
----------------------------------------------------------------------------
     I found something weird as well and think it might mean
something:
     I have a static page in my cakphp application: \cake\app\views
\pages\about_us.ctp. When I connect directly to cake install route, I
can see those pages perfectly fine with an url in address bar as
http://localhost/cake/pages/about_us. However, when redirected from
jake, the url become http://localhost/pages/about_us (meantime the
error above appears) and clicking on it gives me 500 error.
      So my impression is that it's a rewrite problem. I must messed
up with some configurations. But I am terribly new on this and could
not figure it out. I played around with .htaccess, etc, but no avail.
Maybe you can take a quick look and give me a solution. Really
appreciate it! Thanks a lot!

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

Reply via email to