× Joomla Facebook Connect support forum

Topic-icon Problem about Kunena integration

Active Subscriptions:

None
15 years 1 month ago #8902 by fb_1070685911
Hi,
I encountered with this error when I tried to integrate with Kunena.
It shows this warnings below - so I just disable the plugin.

Warning: include_once(/home/thaiwahc/public_html/components/com_kunena/lib/kunena.profiler.1.6.php) [function.include-once]: failed to open stream: No such file or directory in /home/thaiwahc/public_html/plugins/jfbcprofiles/kunena.php on line 38

Warning: include_once() [function.include]: Failed opening '/home/thaiwahc/public_html/components/com_kunena/lib/kunena.profiler.1.6.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/thaiwahc/public_html/plugins/jfbcprofiles/kunena.php on line 38


Can you please let me know how to make it work?
Thanks!
The topic has been locked.
Support Specialist
15 years 1 month ago #8904 by alzander
We're looking into this. I'm assuming you're using Kunena 1.5? We tested extensively for 1.6, and left compatibility for the 1.5 version intact. However, just looking at the Kunena Profile Plugin, I can see we missed something.

We'll do some testing and let you know what we find. For now though, please keep it disabled. Sorry for the trouble.
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #8983 by fb_1070685911
Thanks Alex! I will be waiting for the good news and yes, I do use 1.5.

Also, some more problems arise;

1) I tried to put JFBConnect Login into 2 positions on my website.
However, when I do, new users cannot register on my website.

2) About Internet Explorer, I have got several complaint about this error.
Please refer to those files below;
##text## ##text##
What all complaining users have in common is they use IE. Anyway, this problem occurred after I installed JFBConnect.
3) How could I put another Facebook Connect button on my website?

Thank you!
The topic has been locked.
Support Specialist
15 years 1 month ago #9009 by alzander
Hey there! Sorry for the delayed response. We just uploaded a new profile plugin zip file, which has an updated Kunena profile plugin in it (v3.2.1). That should fix Kunena 1.5 support for Facebook integration, while keeping 1.6 support intact. Please try it out, and let us know your results.

As for 2 Login positions, it should work in both.. not sure why it isn't working. There's no reason it shouldn't. What method are you using to put the buttons on the site, JFBCLogin modules, {JFBCLogin} tags, or some combination? Let us know, and we'll help you figure out the problem.

Finally, can you let me know more about the IE error? I didn't see it on the page when I went to your forums. Is there anything I should do to make it happen, or just load a page? Also, what version of IE is it occuring in?

Thanks, and good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9043 by fb_1070685911
Hi,
I am using the updaed one - and thanks to you it is now working with Kunena.
About the login module, I put 1 module first, and copied the first one, renamed it, and put into another position.

More importantly, it seems like IE issue is more crucial now.
I have got more complaints from my website members. Please see the pictures they attached for your reference.
Like I previously mentioned, the problem has never occurred before. It started happening last week about the time I installed JFBConnect and had some problem with Kunena Integeration, so I just have to assume that the problem is derived from your extension.

What they told me is
-the page (Forum / Webboard) they entered cannot be loaded ( Only pictures can be loaded, but not the forum itself)
- They use IE8
- IE might load some banners then the screen is frozen.

You can find more information about the errors from the pictures they sent to me.
File Attachment:


File Attachment:


File Attachment:


The bad part is my website traffic constantly dropped after the 9 of April ( My website is sort of seasonal , and never get less demand during Mar-Jul, so I found this is unusual). Also, I personally use Firefox, but the majority of my users use IE :(. Please kindly suggest how should I solve this.
Thank you.
File Attachment:
File Attachment:
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9060 by fb_1070685911
Not sure if it has anything to do with those Kunena errors last time.

Also, I tried to clean cache and the backend shows this error ;

Error Loading ModulesMySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, control, params FROM jos_modules AS m LEFT JOIN jos_modules_menu AS mm ON mm.moduleid = m.id WHERE m.published = 1 AND m.access <= 2 AND m.client_id = 1 ORDER BY position, ordering
The topic has been locked.
Support Specialist
15 years 1 month ago #9066 by alzander
I'd obviously start testing in IE to see if you can recreate the error. Disabling the things in JFBConnect that may have an impact are the JFBCSystem plugin and JFBCContent plugin. Turning those off basically disables all of Facebook's Javascript APIs. There may be some lingering {JFBCLogin} tags or other things that would appear on the site as placeholders for the Login with Facebook button and whatnot. However, this will let you know pretty quickly if we're the cause.

The error you mention above is much more serious and I think may be the main culprit. The line "MySQL server has gone away " basically means that communication to your MySQL server was disconnected. This can happen for numerous reasons (see below), but when it does, Joomla won't be able to function properly. Anything done until that point will basically be sent to the user's browser, but the remainder of the HTML document won't be generated. This means you'd have an open body tag (where the HTML goes) without a closing one and who knows how many more unclosed items. Browsers handle this to varying degrees, but none of them like it. Everything you describe above seems to indicate that this is what's happening - partial page loads, IE errors, etc

Causes:
* Server memory is running out. How much memory does your site have? You can see this in the Help -> System Info / PHP Information tab. Search for "memory_limit". It should be like 32M, 64M, 128M, etc.
* Some limit on MySQL queries from your hosting provider (unlikely)

Things to check:
* Go to Site -> Global Configuration, System Tab. Turn on "Debug System"
* Hit an offending page (even if it doesn't show the error at that time)
* At the bottom will be a ton of output in red. Mainly, look at the top and see how many queries were executed, how much memory was used, and how much time was taken for each step of rendering the page. Memory needs to be (well) under the number above. Queries should be less than 1000 (general number I pulled out of the air, but much lower is better), and time should be under ~2s. Feel free to paste that block (not all of the queries!) here, and we can help you decipher them.

I'd also recommend contacting your hosting company. Just mention the "MySQL server has gone away" error and ask what's up with that. It shouldn't ever happen. They may be able to help look at error logs and determine the cause.

Finally, why this may have happened around the time of upgrading JFBConnect... the new version does use slightly more memory and other resources. It's possible this 'tipped' your server into a bad area. It's not necessarily a failing of JFBConnect, just that it's the final straw. There are some things we can help to do to reduce these resources (both through settings and code), but then the next extension you install will likely have the same problems.. so that's not the best route. It's also possible that increased users, combined with more extensions since the last uptick in traffic, are the problem (more users equals more memory and database queries).

I really hope this helps get you started on debugging the problem. These things are never fun, and we'll help where we can.

Good luck!
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9069 by fb_1070685911
Thank you Alex!
I will try testing IE and JFBConnect Tomorrow. (It's 3am here)

Anyway, I tried running in the debug mode as you suggested - the system shows errors in red as in the pictures (one for Firefox and one for IE)
File Attachment:
File Attachment:
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9070 by fb_1070685911
Oh, I guess you cannot see it clearly. So, I posted this again; The first one is from Firefox;
Almost everything is red in this section;

Queries logged

1.
SELECT *
FROM jos_session
WHERE session_id = '7b31d41c2f5aae8ed87bdcc322074f16'
2.
DELETE
FROM jos_session
WHERE ( time counter\";i:81;s:19:\"session.timer.start\";i:1302810637;s:18:\"session.timer.last\";i:1302811607;s:17:\"session.timer.now\";i:1302811620;s:22:\"session.client.browser\";s:94:\"Mozilla/5.0 (Windows; U; Windows NT 6.1; th; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 GTB7.1\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";s:2:\"65\";s:4:\"name\";s:4:\"Game\";s:8:\"username\";s:6:\"zgamez\";s:5:\"email\";s:21:\"[email protected]\";s:8:\"password\";s:65:\"4803ba7fa40cafaef34daef6f366a740:E5l6uSX2VdpsvPG5kuezwHEWuX2EX9G1\";s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";s:19:\"Super Administrator\";s:5:\"block\";s:1:\"0\";s:9:\"sendEmail\";s:1:\"1\";s:3:\"gid\";s:2:\"25\";s:12:\"registerDate\";s:19:\"2009-02-09 05:24:31\";s:13:\"lastvisitDate\";s:19:\"2011-04-14 19:48:34\";s:10:\"activation\";s:0:\"\";s:6:\"params\";s:104:\"admin_language=\nlanguage=\neditor=\nhelpsite=\ntimezone=10\npage_title=Edit Your Details\nshow_page_title=1\n\n\";s:3:\"aid\";i:2;s:5:\"guest\";i:0;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:66:\"/home/thaiwahc/public_html/libraries/joomla/html/parameter/element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":7:{s:14:\"admin_language\";s:0:\"\";s:8:\"language\";s:0:\"\";s:6:\"editor\";s:0:\"\";s:8:\"helpsite\";s:0:\"\";s:8:\"timezone\";s:2:\"10\";s:10:\"page_title\";s:17:\"Edit Your Details\";s:15:\"show_page_title\";s:1:\"1\";}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}s:13:\"session.token\";s:32:\"5f612117f9bf957953e8d8cc82a97f44\";}cometchat_buddytime|i:1302829567;cometchat_sessionvars|a:0:{}'
WHERE session_id='7b31d41c2f5aae8ed87bdcc322074f16'

Profile Information
Application afterLoad: 0.000 seconds, 0.25 MB
Application afterInitialise: 0.088 seconds, 4.66 MB
Application afterRoute: 0.105 seconds, 5.36 MB
Application afterDispatch: 0.272 seconds, 9.18 MB
Application afterRender: 0.348 seconds, 10.45 MB
Memory Usage
11059832
The topic has been locked.
Active Subscriptions:

None
15 years 1 month ago #9071 by fb_1070685911
and this is from IE; 155 Queries

1.SELECT *
FROM jos_session
WHERE session_id = '780aafd1b3e7b3e2fb76c4778ccc721a'
2.DELETE
FROM jos_session
WHERE ( time erid`='0',`usertype`='',`username`='',`gid`='0',`guest`='1',`client_id`='0',`data`='__default|a:7:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1302811721;s:18:\"session.timer.last\";i:1302811721;s:17:\"session.timer.now\";i:1302811721;s:22:\"session.client.browser\";s:163:\"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)\";s:8:\"registry\";O:9:\"JRegistry\":3:{s:17:\"_defaultNameSpace\";s:7:\"session\";s:9:\"_registry\";a:1:{s:7:\"session\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:4:\"user\";O:5:\"JUser\":19:{s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:8:\"usertype\";N;s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:3:\"gid\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:3:\"aid\";i:0;s:5:\"guest\";i:1;s:7:\"_params\";O:10:\"JParameter\":7:{s:4:\"_raw\";s:0:\"\";s:4:\"_xml\";N;s:9:\"_elements\";a:0:{}s:12:\"_elementPath\";a:1:{i:0;s:66:\"/home/thaiwahc/public_html/libraries/joomla/html/parameter/element\";}s:17:\"_defaultNameSpace\";s:8:\"_default\";s:9:\"_registry\";a:1:{s:8:\"_default\";a:1:{s:4:\"data\";O:8:\"stdClass\":0:{}}}s:7:\"_errors\";a:0:{}}s:9:\"_errorMsg\";N;s:7:\"_errors\";a:0:{}}}'
WHERE session_id='780aafd1b3e7b3e2fb76c4778ccc721a'
Profile Information
Application afterLoad: 0.000 seconds, 0.24 MB
Application afterInitialise: 0.088 seconds, 4.64 MB
Application afterRoute: 0.104 seconds, 5.35 MB
Application afterDispatch: 0.257 seconds, 9.18 MB
Application afterRender: 0.330 seconds, 10.43 MB
Memory Usage
11041192
Queries logged
Legacy Queries logged
Language Files Loaded
•/home/thaiwahc/public_html/language/en-GB/en-GB.ini 1
•/home/thaiwahc/public_html/language/en-GB/en-GB.tpl_rt_infuse_j15.ini 1
•/home/thaiwahc/public_html/language/en-GB/en-GB.mod_roknavmenu.ini 1
•/home/thaiwahc/public_html/administrator/language/en-GB/en-GB.plg_roknavmenu_boost.ini 1
•/home/thaiwahc/public_html/administrator/language/en-GB/en-GB.plg_roknavmenu_extendedlink.ini 1
•/home/thaiwahc/public_html/language/en-GB/en-GB.mod_breadcrumbs.ini 1
•/home/thaiwahc/public_html/language/en-GB/en-GB.mod_idslider.ini 1
•/home/thaiwahc/public_html/language/en-GB/en-GB.mod_rokajaxsearch.ini 1
•/home/thaiwahc/public_html/language/en-GB/en-GB.mod_mainmenu.ini 1
The topic has been locked.