cakephp / api_generator

[Unmaintained] Official CakePHP API Generator Git Repository
113 stars 31 forks source link

ApiGeneratorController could not be found - CakePHP 1.3 #19

Open ghost opened 11 years ago

ghost commented 11 years ago

Created by David Suna, 30th Aug 2012. (originally Lighthouse ticket #91):


I installed the api generator and ran the initdb, configuration and build index. However, when I try to go to see the output via /api_generator/api_classes I get an error that the ApiGeneratorController could not be found. What do I have to do to see the output?

ghost commented 11 years ago

31st Aug 2012, Mark Story said:


When you load the plugin did you remember to tell CakePLugin to load routes as well?

ghost commented 11 years ago

2nd Sep 2012, David Suna said:


Can you give me the code to include to load the plugin with the routes? That was not part of the installation instructions at http://cakephp.lighthouseapp.com/projects/42879/docs-installation

I am working with CakePHP 1.3.

Thank you.

ghost commented 11 years ago

4th Sep 2012, David Suna said:


After some more investigation and playing around it seems that there is a problem with the interaction between the api generator and the acl / auth components. I have tried creating the relevant acos and granting permissions but I have not found the correct combination. Now when I go to /api_generator/api_classes it just redirects me to the homepage. Any ideas how to work around this?