Hey HVan,
Change you autoload in composer.json with this
"autoload": {
"psr-4": {
"App\\": "src",
"ContactManager\\": "./plugins/ContactManager/src",
"ContactManager\\Test\\": "./plugins/ContactManager/tests"
}
},
On Sunday, February 8, 2015 at 9:28:58 PM UTC+5:30, HVan wrote:
>
> I followed all the instrucitons, even tried baking a plugin. But each time
> I reference the plugin (eg. http://localhost/contact_manager/contacts) it
> says Controller not found. All the files have been created and placed in
> the proper location. It will say file not found in
> /plugins/ContactManager/src/Controller/ContactsController.php and I've
> tripled checked, of course, that the file exists. I also created the Table
> file - nada.
>
> It's loading the plugin properly because when I remove, say bootstrap.php
> inside the plugin, it will say the bootstrap file is not found inside the
> plugin.
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.