[SOLVED] ckforms.php warning message. please help

Questions and bug reports for current release of CKForms

[SOLVED] ckforms.php warning message. please help

Postby xtask » Sun Oct 11, 2009 8:31 pm

Hi,
After installing Ckforms plugin, I am getting this following message in my frontpage (in right column)

Warning: Missing argument 3 for plgContentCkForms::onPrepareContent() in /home2/syedmahm/public_html/v1/plugins/content/ckforms.php on line 57

I have opened ckforms.php, where in line 57, I have found this following code:

function onPrepareContent( &$article, &$params, $limitstart )

I am not a programmer, thus I am unable to understand the meaning of this message, so I am requesting for help. Please someone help me to get rid of this error message. However, my form is working fine. I am not saving data. I am using to send data to my email.

Thanks in advance
xtask
 
Posts: 2
Joined: Sun Oct 11, 2009 8:17 pm
Top

Re: ckforms.php warning message. please help

Postby pedrino » Mon Oct 12, 2009 7:02 am

Hi,

I think the code you use to insert a CKForms form in your article is wrong. The code is "{ckform formname}".

check it

Regards
Pierre
User avatar
pedrino
Site Admin
 
Posts: 150
Joined: Tue Aug 25, 2009 1:13 pm
Top

Re: ckforms.php warning message. please help

Postby xtask » Mon Oct 12, 2009 5:09 pm

Thanks for the reply. I discovered it later on. Actually something wrong with 'Custom Content' module!! Nothing wrong with CKforms. Someone from CKform website helped me out. Thanks anyway.
xtask
 
Posts: 2
Joined: Sun Oct 11, 2009 8:17 pm
Top

Re: [SOLVED] ckforms.php warning message. please help

Postby icsolutions » Fri Sep 24, 2010 4:13 pm

Hi,

can someone tell me how this problem has been solved?

I have the same problem

thanks
icsolutions
 
Posts: 1
Joined: Fri Sep 24, 2010 10:34 am
Top

Re: [SOLVED] ckforms.php warning message. please help

Postby keros » Mon Oct 04, 2010 12:08 pm

Hi,

The problem is comming from Custom Content module.

This is how you solve it :

Warning: Missing argument 3 for plgContentCkForms::onPrepareContent() in /home2/syedmahm/public_html/v1/plugins/content/ckforms.php on line 57


You go to the plugins/content/ckforms.php on line 57 and you replace :

function onPrepareContent( &$article, &$params, $limitstart )
By
function onPrepareContent( &$article, &$params)

It is the same thing with other components.
Keros
keros
 
Posts: 1
Joined: Mon Oct 04, 2010 12:04 pm
Top


Return to CKForms 1.3.x Support forum

Who is online

Users browsing this forum: No registered users and 0 guests