Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    ProofReader component    Bug-reports    Topic: Warning Missing argument 3
Pages: [1]   Go Down
  Print  
Author Topic: Warning Missing argument 3  (Read 9135 times)
0 Members and 1 Guest are viewing this topic.
karlik
Newbie
*

Karma: 0
Offline Offline

Posts: 2


Email
« on: November 20, 2009, 03:08:36 »

Hi!
I have two webpages on the same server and in one webpage is all correct and in other webpage is Warning.

Warning: Missing argument 3 for plgContentJComments::onPrepareContent() in /home/plugins/content/jcomments.php on line 62

How I can fix this problem?
Best regards,
Karlik
Logged
ant
Newbie
*

Karma: 0
Offline Offline

Posts: 3



« Reply #1 on: November 20, 2009, 04:06:31 »

Hi there,

This error message may appear due to a conflict with one of 3-rd party modules or plugins installed on your Joomla! alongside with JComments.

Do you have any of those installed?

Logged
karlik
Newbie
*

Karma: 0
Offline Offline

Posts: 2


Email
« Reply #2 on: November 20, 2009, 15:01:07 »

I have DirectPHP and customcontent, because some webpages and modules are self written. If I can not this jcomments use, then I can this commentssystem also write, although I like this jcomments much.

Best regards,
Karlik
Logged
smart
Administrator
Hero Member
*****

Karma: 87
Offline Offline

Gender: Male
Posts: 1867



WWW
« Reply #3 on: November 20, 2009, 15:10:25 »

Simple fix:

Open /home/plugins/content/jcomments.php file and replace:

Code: (php)
function onPrepareContent(&$article, &$params, $limitstart)
with
Code: (php)
function onPrepareContent(&$article, &$params, $limitstart = 0)
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
nash_gh
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« Reply #4 on: December 21, 2009, 02:29:31 »

after installing the Jcommnet module
its working perfectly
but, this message appear at my admin site
Warning: Missing argument 3 for plgContentJComments::onPrepareContent() in ......./public_html/v1/plugins/content/jcomments.php on line 62

im using joomla v1.5.6

the file is attached

thank you in advanced

* jcomments.php (14.35 KB - downloaded 890 times.)
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    ProofReader component    Bug-reports    Topic: Warning Missing argument 3
 
Jump to: