cb_gj_groupjive

10 years 2 months ago #241350 by freedom09
cb_gj_groupjive was created by freedom09
Joomla 2.5.17
CB 1.9.1
(Also using Virtuemart 2.0.26, Jevents 2.3, Kunena 3.0 and others)

I have a brand new site where only since yesterday I have the first new members.
Most profiles I can easily select, no issue. But on a few (3 out of 10) i got an error:
500 - DateTime::__construct() [datetime.--construct]: Failed to parse time string (-1-11-30 00:00:00) at position 5 (-): Double timezone specification


So I turned on error reporting in Joomla and then I get the following error
JDatabaseMySQLi::query: 1146 - Table 'bifree_bifree.bif_[b]gj_groups[/b]' doesn't exist SQL=select m.memberid, u.id, u.username, u.name, c.avatar, c.cb_profiletype AS cb_gender, a.id AS groupid, a.name AS grouptitle, a.descr, a.logo AS groupimage, a.date_s AS actidate FROM bif_comprofiler_members m, bif_users u, bif_comprofiler c, bif_gj_groups a WHERE u.id=c.user_id AND u.id=m.memberid AND m.referenceid = 495 AND m.accepted=1 AND m.pending=0 and c.avatarapproved = 1 and u.id=a.user_id order by a.date_s desc limit 25

Call stack
#	Function	Location
1	JSite->dispatch()	/home/bifree/public_html/index.php:42
2	JComponentHelper::renderComponent()	/home/bifree/public_html/includes/application.php:197
3	JComponentHelper::executeComponent()	/home/bifree/public_html/libraries/joomla/application/component/helper.php:351
4	require_once()	/home/bifree/public_html/libraries/joomla/application/component/helper.php:383
5	userProfile()	/home/bifree/public_html/components/com_comprofiler/comprofiler.php:103
6	HTML_comprofiler::userProfile()	/home/bifree/public_html/components/com_comprofiler/comprofiler.php:710
7	Cbprofilepro::getPageContent()	/home/bifree/public_html/components/com_comprofiler/comprofiler.html.php:901
8	Cbprofilepro::processData()	/home/bifree/public_html/components/com_cbprofilepro/helpers/cbprofilepro.php:56
9	preg_replace_callback()	/home/bifree/public_html/components/com_cbprofilepro/helpers/cbprofilepro.php:426
10	ProcessData::loadCBTab()	 
11	CBuser->getTab()	/home/bifree/public_html/components/com_cbprofilepro/helpers/processData.php:159
12	cbTabs->generateViewTabsContent()	/home/bifree/public_html/administrator/components/com_comprofiler/plugin.foundation.php:1172
13	cbTabs->_callTabPlugin()	/home/bifree/public_html/administrator/components/com_comprofiler/comprofiler.class.php:3377
14	cbPluginHandler->call()	/home/bifree/public_html/administrator/components/com_comprofiler/comprofiler.class.php:4187
15	call_user_func_array()	/home/bifree/public_html/administrator/components/com_comprofiler/plugin.class.php:583
16	cbsuperaTab->getDisplayTab()	 
17	include()	/home/bifree/public_html/components/com_comprofiler/plugin/user/plug_cbsuperprofileactivity/cb_plugin_superactivity.php:36
18	eval()	/home/bifree/public_html/components/com_cbactivity/helpers/parameters.php:77
19	include()	/home/bifree/public_html/components/com_cbactivity/helpers/parameters.php(77) : eval()'d code:566
20	JDatabase->loadObjectList()	/home/bifree/public_html/components/com_cbactivity/helpers/sql_loads.php:409
21	JDatabaseMySQLi->execute()	/home/bifree/public_html/libraries/joomla/database/database.php:1126
22	JError::raiseError()	/home/bifree/public_html/libraries/joomla/database/database/mysqli.php:396
23	JError::raise()	/home/bifree/public_html/libraries/joomla/error/error.php:251


Any ideas??

I have checked my database, table gj_groups indeed does not exist but I have no idea why it is searching for this in the first place. I have already tried uninstalling and reinstalling Groupjive, to no avail

Please Log in to join the conversation.

10 years 1 month ago #241625 by freedom09
Replied by freedom09 on topic cb_gj_groupjive
okay I found the problem. Its not in the time or something, but abigger problem.

It is impossible to visit a profile, ANY profile before the owner has visited it at least once

ie if the database column "users/last visit date" is empty, this gives a major error.
Since this forum apparently is not viewed, I will post this elsehwere :sick:

Please Log in to join the conversation.

10 years 1 month ago #241652 by krileon
Replied by krileon on topic cb_gj_groupjive
The query error is for _gj. That is not GroupJive 2.0 (tables are _groupjive). Those are GroupJive 1.8 tables, which is long since deprecated, archived, and no longer functional. Your error also appear to be coming from plug_cbsuperprofileactivity.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 1 month ago #241680 by freedom09
Replied by freedom09 on topic cb_gj_groupjive
Yes, I have since found it
It is indeed in the superactivity (third party) plugin that is causing this error.

However, it only appears on profiles that have not been visited by the new member yet. As a workaround (for now) I just add a date that is similar to registration date in the colums "last-visit-date" in the user table.

Not beautiful, but then the superactivity plugin is sooo nice, I want it :)

Thanks for your input

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.195 seconds