Topic-icon Problem with JFBConnect

Active Subscriptions:

None
10 years 5 months ago #56067 by fraley
Hello,

I get this errors on my website in the front also in admin area when accessing the JFBConnect component:

Notice: Constant CHECK_NEW_MAPPING_JFBCONNECT already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 17

Notice: Constant LOGIN_TASK_JFBCONNECT already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 18

Notice: Constant AUTONAME_EXT already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 20

Notice: Constant AUTONAME_FIRSTLAST already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 21

Notice: Constant AUTONAME_FIRLAS already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 22

Notice: Constant AUTONAME_EMAIL already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 23

Notice: Constant EXT_SOURCECOAST already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 25

Notice: Constant EXT_JFBCONNECT already defined in /home/crooze/public_html/components/com_jfbconnect/libraries/utilities.php on line 26

When doing an error check , I get this message:

Test: JFBCSystem plugin is enabled

Warn: JFBConnect System plugin is including code 2 times on your page. This is usually caused from a mal-formed HTML document with multiple <html>, <head>, and/or <body> tags. This should be investigated and fixed!

I have no idea where this comes from, JFBConnect is running perfectly on my development site with all settings the same.

My site is at : www.crooze.fm

Thanks for your support.
The topic has been locked.
Support Specialist
10 years 5 months ago #56079 by alzander
Replied by alzander on topic Problem with JFBConnect
I don't know why, but the JFBCSystem plugin seems to be executing 2 separate times on your page, which is causing some obvious problems. When I look at the HTML on the page, I'm seeing multiple areas where code that JFBConnect tries to insert on the page is being duplicated as well.

I haven't seen this and I don't have a specific answer, but here are some suggestions on things to try to see if the problem goes away:
* Re-order the JFBCSystem plugin so that it's the first or last plugin in the system group. One of those may help
* Test with a different template to see if that prevents the issue
* Disable all caching - Global Configuration caching and the System - Cache plugin
* Disable any 'optimizations' you may have enabled, either through 3rd party plugins to speed up the page or in your template

If none of those help, we'd need super administrator credentials to investigate the matter further as I'm not sure what could be causing this.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 5 months ago #56084 by fraley
Replied by fraley on topic Problem with JFBConnect
Hi Alex,
Thanks for your reply. Caching is not enabled on the site. I have set the JFBCsystem plugin first and last of system plugins, that did not work.

There seems to be someone elso who has the same problem after updating JFBConnect to the latest version. (see othe post)

I will send you administrator credentials.

Frank
The topic has been locked.
Support Specialist
10 years 5 months ago #56132 by alzander
Replied by alzander on topic Problem with JFBConnect
I'm glad to hear the Autotune error is gone. However, on your site, you still have something wrong that's worth investigating. In the head section, there is a huge chunk of code that is duplicated from other extensions. Again, this isn't from JFBConnect and we're just pointing it out to help you with your site and wanted you to know.

The code is:
<script type="text/javascript">
jQuery(function($){
		$(document).ready(function(){
    		$("#mymodal").prettyPhoto({
    			social_tools: false,
    			theme: "sppb_prettyphoto",
				horizontal_padding: 20,
				allow_resize: true,
				default_width: 320,
				default_height: 640
    		});
  		});
	})
;/* START: Modals scripts */ var modals_class = 'modal_link'; var modals_defaults = { opacity: '0.8',maxWidth: '95%',maxHeight: '95%',current: '{current} / {total}',previous: 'vorige',next: 'volgende',close: 'sluiten',xhrError: 'Laden van deze inhoud is mislukt.',imgError: 'Laden van deze afbeelding is mislukt.' }; /* END: Modals scripts */
</script>
<meta content="" property="og:title" />
<meta content="website" property="og:type"/>
<meta content="http://www.crooze.fm/index.php/nl/component/sppagebuilder/" property="og:url" />
<script type="text/javascript">
;/* START: Modals scripts */ var modals_class = 'modal_link'; var modals_defaults = { opacity: '0.8',maxWidth: '95%',maxHeight: '95%',current: '{current} / {total}',previous: 'vorige',next: 'volgende',close: 'sluiten',xhrError: 'Laden van deze inhoud is mislukt.',imgError: 'Laden van deze afbeelding is mislukt.' }; /* END: Modals scripts */
</script>
<meta content="" property="og:title" />
<meta content="website" property="og:type"/>
<meta content="http://www.crooze.fm/index.php/nl/component/sppagebuilder/" property="og:url" />
<script type="text/javascript">
;/* START: Modals scripts */ var modals_class = 'modal_link'; var modals_defaults = { opacity: '0.8',maxWidth: '95%',maxHeight: '95%',current: '{current} / {total}',previous: 'vorige',next: 'volgende',close: 'sluiten',xhrError: 'Laden van deze inhoud is mislukt.',imgError: 'Laden van deze afbeelding is mislukt.' }; /* END: Modals scripts */
</script>
<meta content="" property="og:title" />
<meta content="website" property="og:type"/>
<meta content="http://www.crooze.fm/index.php/nl/component/sppagebuilder/" property="og:url" />
<script type="text/javascript">
jQuery(function($){
		$(document).ready(function(){
    		$("#osdonate").prettyPhoto({
    			social_tools: false,
    			theme: "sppb_prettyphoto",
				horizontal_padding: 20,
				allow_resize: true,
				default_width: 320,
				default_height: 500
    		});
  		});
	})
;/* START: Modals scripts */ var modals_class = 'modal_link'; var modals_defaults = { opacity: '0.8',maxWidth: '95%',maxHeight: '95%',current: '{current} / {total}',previous: 'vorige',next: 'volgende',close: 'sluiten',xhrError: 'Laden van deze inhoud is mislukt.',imgError: 'Laden van deze afbeelding is mislukt.' }; /* END: Modals scripts */
</script>
<meta content="" property="og:title" />
<meta content="website" property="og:type"/>
<meta content="http://www.crooze.fm/index.php/nl/component/sppagebuilder/" property="og:url" />

Thanks, everyone, for using JFBConnect. We always appreciate your feedback and suggestions!
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 5 months ago #56135 by fraley
Replied by fraley on topic Problem with JFBConnect
Thanks for pointing me in the right direction, Alex. I see what is generating the problem (SP Pagebuilder from Joomshaper). It is probably a bug in one of their scripts, so I have to check with them.

Thanks for your support and have a nice weekend.

Frank
The topic has been locked.
Support Specialist
10 years 5 months ago #56145 by alzander
Replied by alzander on topic Problem with JFBConnect
You have a great weekend as well :) If you need anything else from us, just let us know.

Finally, if you haven't already, please consider leaving a rating and review for JFBConnect, or our support, on the Joomla Extension Directory. It's certainly not required, but very appreciated:
extensions.joomla.org/extensions/extensi...l-display/jfbconnect

Thanks,
Alex
The topic has been locked.