Robin, I won't be able to respond again (most likely) until Monday at
the earliest, but maybe someone else can help you if you provide some
more information.  It looks like your installation paths may be a
problem.  Can I ask what documentation you were following to get this
setup (source)?  Also, please give a textual example of your directory
structure, if possible.  CakePHP typically expects to be *below* the
web root, which is why you may be having issues if both Joomla and
CakePHP are at the same level (I haven't used Jake, but I'd think that
Joomla should be inside Cake's webroot folder?).

On Mar 12, 2:35 pm, Robin <[email protected]> wrote:
> 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 ofhttp://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 
> ashttp://localhost/cake/pages/about_us. However, when redirected from
> jake, the url becomehttp://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