Missing file api.php error in CJBlog
Missing file api.php error in CJBlog
Hi,
I just downloaded the CJLib - pkg_cjlib_v2.5.6, CJBlog - pkg_cjblog_v2.0.0, Community Tools - mod_cjblogcategories_v3.0.0. I installed CJLib, CJBlog & Mod CJBlog Categories. My website stopped showing up. PHP Error log shows the following:
PHP Warning: require_once(C:Wampwwwmyweb/components/com_cjblog/api.php): failed to open stream: No such file or directory in C:Wampwwwmyweblmodulesmod_cjblogcategoriesmod_cjblogcategories.php on line 43
I checked, the file api.php is in "components/com_cjblog/lib" directory. Changed line 43 to below and it works. Kindly confirm if this is an issue and what I did is correct.
require_once JPATH_ROOT.'/components/com_cjblog/lib/api.php';
Thanks
Amal
Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.