techjoomla / com_api

API framework for Joomla
http://docs.techjoomla.com/joomla-rest-api/com-api-introduction
GNU General Public License v3.0
123 stars 97 forks source link

Articles API Plugin not found, Articles is probably not installed #39

Closed boomsya closed 7 years ago

boomsya commented 7 years ago

file: \com_api_v1.6.2 (1)\site\libraries\plugin.php

line: $plgfile = JPATH_BASE.self::$plg_path.$name.'/'.$name.'.php';

die ($plgfile) => /var/www/html/plugins/api/articles/articles/articles.php

problem: file "articles/articles/articles.php" not found

right path is: $plgfile = JPATH_BASE.self::$plg_path.$name.'.php';

and all works with fix

ChrisCarrAu commented 7 years ago

Yes thank you - just spent an hour figuring out the above myself. Thought I was going mad but I came to the same conclusion.

coolbung commented 7 years ago

The right URL will be index.php?option=com_api&app=articles&resource=article I am able to use this URL to list the articles.

learneradarsh commented 1 year ago

@coolbung I think index.php?option=com_api&app=articles&resource=article this url redirects to articles page only are you getting json by using above URL?