I installed jcomments and enabled it in the jd config. jcomments works fine on a standard Joomla article but on a download page this comes up:
Notice: Use of undefined constant catid - assumed 'catid' in components/com_jdownloads/helpers/jdownloadshelper.php on line 241
Notice: Use of undefined constant link - assumed 'link' in components/com_jdownloads/helpers/jdownloadshelper.php on line 241
Notice: Use of undefined constant catid - assumed 'catid' in components/com_jdownloads/helpers/jdownloadshelper.php on line 241
Notice: Use of undefined constant link - assumed 'link' in components/com_jdownloads/helpers/jdownloadshelper.php on line 241
Warning: require_once(includes/application.php): failed to open stream: No such file or directory in components/com_jcomments/classes/plugin.php on line 59
Fatal error: require_once(): Failed opening required 'includes/application.php' (include_path='plugins/system/shlib/shl_packages//ZendFramework-1.11.7-minimal/library:.:/usr/lib/php5.4') in components/com_jcomments/classes/plugin.php on line 59
I know that this has worked good before (with jD 2.5), but perhaps has changed JComments somethings.
I will check this.
Okay. I have installed the newest version.
It is a bug in the JComments file as the application.php was moved to a other location in Joomla 3.2.
if (!isset($cache[$key])) {
require_once(JPATH_SITE . '/includes/application.php');
Read this and use the posted fix:
http://www.joomlatune.com/forum/index.php?topic=8521.0
The other posted 'Notices' are only viewed because your Joomla error settings are not set to 'default' but are also not critical.
Edit:
The notices are now also fixed.
Edit 2:
you can alternate also change the path in the jComments file to:
require_once(JPATH_SITE .'/libraries/legacy/application/application.php');