Forums

chronocontacts plugin break jCal (maybe others?)

Endlessline 02 Sep, 2008
I'm having a problem with the chronocontacts plugin. It works great with the {chronocontacts}yourformname{/chronocontacts} nomenclature in the articles and is very easy to use. The problem comes when I actually navigate to another page that uses the jCal component (this is a component page, not a module). The component displays with the correct information but I get a lot of errors in between. I have a few questions, can I turn the plugin off for a certain page (or pages)? Can I turn error reporting down (or off) so that end users don't see all these errors while I find a solution? Is it possible I misconfigured something again, where might that be?🙂 Here are my details...

Joomla: 1.5.6
CForms: 3.0 J1.5 BETA 2
Plugin: 0.5

Error: Warning: Attempt to assign property of non-object in /public_html/plugins/content/chronocontact.php on line 18
Endlessline 02 Sep, 2008
Sorry, still receive the error. Thanks for all your hard work, any idea on a solution?

Warning: Attempt to assign property of non-object in /public_html/plugins/content/chronocontact.php on line 16
Max_admin 02 Sep, 2008
Hi, it seems that you have your content page text empty or some other plugin or module is triggering the plugin event and doesn't supply text but, this will fix it:

replace line 16 of the file /public_html/plugins/content/chronocontact.php

with:

if($row->text){
		$row->text = preg_replace_callback( $regex, 'showform2', $row->text );
	}


let me know!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Endlessline 02 Sep, 2008
Glorious! works like a charm, thanks so much. You are awesome! :mrgreen:
Max_admin 02 Sep, 2008
Thanks for letting us know😉
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.