[SOLVED] Very bad behavior!

1 year 11 months ago #275735 by sentix
Sory, but the migration to CBSubs produces another incredible behavior! I report errors in the CBSubs history log that blow-up my database (500 MB per day!)


NOTICE: Only variable references should be returned by reference in libraries\joomla\session\session.php on line 343
Trace:called in class cbpaidErrorHandler::_error_handler_callable(8, "Only variable references should be returned by reference", "\libraries\joomla\session\session.php", 343, array("name" => "user", "default" => NULL, "namespace" => "__default")) on line 343 in file
called in class JSession::get("user") on line 164 in file
called in class JFactory::getUser(NULL) on line 235 in file
called in class CBACL::get_object_access(NULL, true, true) on line 1386 in file
called in class CBuser::getAuthorisedViewLevelsIds(true) on line 91 in file
called in class cbPluginHandler::loadPluginGroup("user/plug_cbpaidsubscriptions/plugin") on line 111 in file
called in class cbpaidItem::displayPeriodPrice("N", 0, NULL, NULL, true) on line 51 in file
called in class cbpaidProductusersubscriptionView::drawProduct("Freischaltung / Option", "plan15", "planE[0]", 15, "", NULL, true, "N", true, true, NULL) on line 854 in file
called in class cbpaidControllerUI::_getFormattedPlans(NULL, array(15 => object(cbpaidProductUsersubscription), 23 => object(cbpaidProductUsersubscription)), "Freischaltung / Option", array(), "N", false) on line 42 in file
called in class cbpaidControllerUI::getShowRegistrationPlans(NULL, "Freischaltung / Option", "N") on line 472 in file
called in class getcbpaidsubscriptionsTab::getDisplayRegistration(object(moscomprofilerTabs), NULL, 1, NULL)
called in function call_user_func_array(array(0 => object(getcbpaidsubscriptionsTab), 1 => "getDisplayRegistration"), array(0 => object(moscomprofilerTabs), 1 => NULL, 2 => 1, 3 => NULL)) on line 583 in file
called in class cbPluginHandler::call("524", "getDisplayRegistration", "getcbpaidsubscriptionsTab", array(0 => object(moscomprofilerTabs), 1 => NULL, 2 => 1, 3 => NULL), "plug_fieldsprotectbysub_level=0plug_fieldsprotectbysub_hideMessage=plug_fieldsprotectbysub_showMessage_visitor=plug_fieldsprotectbysub_hideMessage_visitor=plug_fieldsprotectbysub_profile=plug_fieldsprotectbysub_profile_owner=1plug_fieldsprotectbysub_edit=plug_fieldsprotectbysub_showMessage=plug_fieldsprotectbysub_profile_mods=0plug_fieldsprotectbysub_edit_mods=0plug_fieldsprotectbysub_level_viewer=0plug_fieldsprotectbysub_viewer_plans=plug_fieldsprotectbysub_viewer_search=plug_fieldsprotectbysub_viewer_owner=1plug_fieldsprotectbysub_viewer_mods=0cbconditional_display=0cbconditional_field=cbconditional_operator=0cbconditional_value=cbconditional_mode=0") on line 4187 in file
called in class cbTabs::_callTabPlugin(object(moscomprofilerTabs), NULL, "getcbpaidsubscriptionsTab", "getDisplayRegistration", "524", NULL) on line 3624 in file
called in class cbTabs::getEditTabs(object(moscomprofilerUser), NULL, "htmledit", "divs", "register", false) on line 1175 in file
called in class HTML_comprofiler::registerForm("com_comprofiler", "0", object(moscomprofilerUser), NULL, NULL) on line 956 in file
called in function registerForm("com_comprofiler", "0") on line 128 in file
called in function require_once("components\com_comprofiler\comprofiler.php") on line 162 in file
called in class JComponentHelper::renderComponent("com_comprofiler") on line 124 in file
called in class JSite::dispatch("com_comprofiler") on line 68 in file
$_GET = array (
'option' => 'com_comprofiler',
'task' => 'registers',
'Itemid' => '172',
)
$_POST = array (
)




I have no idea what side effects this error has, but it definitely blows up my database!

Maybe this has to do with the session bug in Joomla (I have installed the session hardening fix for J1.5)?

My versions: J1.5.26, CBSubs 1.9.1 and CBSubs 3

Versions: CB 2.1.2, CB Subs 4.1, J 3.7.0
1 year 11 months ago #275750 by beat

sentix wrote: Sory, but the migration to CBSubs produces another incredible behavior! I report errors in the CBSubs history log that blow-up my database (500 MB per day!)


NOTICE: Only variable references should be returned by reference in libraries\joomla\session\session.php on line 343
Trace:called in class cbpaidErrorHandler::_error_handler_callable(8, "Only variable references should be returned by reference", "\libraries\joomla\session\session.php", 343, array("name" => "user", "default" => NULL, "namespace" => "__default")) on line 343 in file
called in class JSession::get("user") on line 164 in file
called in class JFactory::getUser(NULL) on line 235 in file
called in class CBACL::get_object_access(NULL, true, true) on line 1386 in file
called in class CBuser::getAuthorisedViewLevelsIds(true) on line 91 in file
called in class cbPluginHandler::loadPluginGroup("user/plug_cbpaidsubscriptions/plugin") on line 111 in file
called in class cbpaidItem::displayPeriodPrice("N", 0, NULL, NULL, true) on line 51 in file
called in class cbpaidProductusersubscriptionView::drawProduct("Freischaltung / Option", "plan15", "planE[0]", 15, "", NULL, true, "N", true, true, NULL) on line 854 in file
called in class cbpaidControllerUI::_getFormattedPlans(NULL, array(15 => object(cbpaidProductUsersubscription), 23 => object(cbpaidProductUsersubscription)), "Freischaltung / Option", array(), "N", false) on line 42 in file
called in class cbpaidControllerUI::getShowRegistrationPlans(NULL, "Freischaltung / Option", "N") on line 472 in file
called in class getcbpaidsubscriptionsTab::getDisplayRegistration(object(moscomprofilerTabs), NULL, 1, NULL)
called in function call_user_func_array(array(0 => object(getcbpaidsubscriptionsTab), 1 => "getDisplayRegistration"), array(0 => object(moscomprofilerTabs), 1 => NULL, 2 => 1, 3 => NULL)) on line 583 in file
called in class cbPluginHandler::call("524", "getDisplayRegistration", "getcbpaidsubscriptionsTab", array(0 => object(moscomprofilerTabs), 1 => NULL, 2 => 1, 3 => NULL), "plug_fieldsprotectbysub_level=0plug_fieldsprotectbysub_hideMessage=plug_fieldsprotectbysub_showMessage_visitor=plug_fieldsprotectbysub_hideMessage_visitor=plug_fieldsprotectbysub_profile=plug_fieldsprotectbysub_profile_owner=1plug_fieldsprotectbysub_edit=plug_fieldsprotectbysub_showMessage=plug_fieldsprotectbysub_profile_mods=0plug_fieldsprotectbysub_edit_mods=0plug_fieldsprotectbysub_level_viewer=0plug_fieldsprotectbysub_viewer_plans=plug_fieldsprotectbysub_viewer_search=plug_fieldsprotectbysub_viewer_owner=1plug_fieldsprotectbysub_viewer_mods=0cbconditional_display=0cbconditional_field=cbconditional_operator=0cbconditional_value=cbconditional_mode=0") on line 4187 in file
called in class cbTabs::_callTabPlugin(object(moscomprofilerTabs), NULL, "getcbpaidsubscriptionsTab", "getDisplayRegistration", "524", NULL) on line 3624 in file
called in class cbTabs::getEditTabs(object(moscomprofilerUser), NULL, "htmledit", "divs", "register", false) on line 1175 in file
called in class HTML_comprofiler::registerForm("com_comprofiler", "0", object(moscomprofilerUser), NULL, NULL) on line 956 in file
called in function registerForm("com_comprofiler", "0") on line 128 in file
called in function require_once("components\com_comprofiler\comprofiler.php") on line 162 in file
called in class JComponentHelper::renderComponent("com_comprofiler") on line 124 in file
called in class JSite::dispatch("com_comprofiler") on line 68 in file
$_GET = array (
'option' => 'com_comprofiler',
'task' => 'registers',
'Itemid' => '172',
)
$_POST = array (
)




I have no idea what side effects this error has, but it definitely blows up my database!

Maybe this has to do with the session bug in Joomla (I have installed the session hardening fix for J1.5)?

My versions: J1.5.26, CBSubs 1.9.1 and CBSubs 3


This issue comes from the 1.5.26 security patch and is not CBSubs related. Please see:
github.com/PhilETaylor/Joomla1.5.999/pull/6/files

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
1 year 11 months ago #275798 by sentix
Thanks, your recommendation works.

Versions: CB 2.1.2, CB Subs 4.1, J 3.7.0
Moderators: beatnantkrileon
Time to create page: 0.170 seconds
Facebook Twitter Google LinkedIn