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)
<?php
// 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 <
[email protected]> wrote:
> Any clues? I'm stumped as this should all just work.
>
> Jeremy Burns
> Class Outfit
>
> [email protected]
> (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
> >
> > [email protected]
> > (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
> >> [email protected] 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
> > [email protected] 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
> [email protected] 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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php