Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Debugging & Duplicate(?) Fields

  • rae2
  • rae2
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
10 years 10 months ago #238145 by rae2
Debugging & Duplicate(?) Fields was created by rae2
I am in the last stage of beta testing & was attempting to troubleshoot some users' reports of Error 404 when trying to log back in after session timeout.

After reading numerous CB forum posts, I turned on Joomla's "Debug" & discovered I had some work to do!

QUESTION
"Debug" is "ON" --> When a user (1) attempts to log in unsuccessfully; (2) a user successfully logs in; or (3) the user is logged in & clicks on "Profile" - THEN - the action is successfully completed BUT is preceeded by a LONG list:

Notice: Constant _UE_HITS already defined in /home4/msmgas/public_html/templates/rt_graffito/features/default_language.php on line 17

. . .through . . .

Notice: Constant _UE_DISPLAY_ROUNDED_DIV already defined in /home4/msmgas/public_html/templates/rt_graffito/features/default_language.php on line 1163

What do I do to resolve this?


SITE SETUP
Host: HostGator on shared server
Joomla: 3.1.5
CB: 1.9 (Active CB plugins - CB Conditional 3.0.12 & CB Privacy 3.1 )
Published CB Modules: CB Login; CB Online; CB Content
Published Plugins: System Core Redirect

TROUBLESHOOTING Steps Completed

"Debug"-"ON" & System: Server Settings: Error Reporting: "Maximum"
I got this error msg on all pages:

Warning: myssqli_free_result() [function.mysqli-free-result]:
Couldn't fetch mysqli_result in /home4/msmgas/public_html/libraries/joomla/database/driver/mysqli.php on line 791.

SO:
I read forum post "Warning:mysqli_free_result()", follow the threads & then:

I edited Line 525 in /libraries/joomla/database/driver/mysqli.php

if (is_object($this->cursor))
{@$this->freeResult();
}
$memoryBefore = memory_get_usage();


RESULTS
The error msg stopped - but - then the long list of notices appeared.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48475
  • Thanks: 8281
  • Karma: 1443
10 years 10 months ago #238163 by krileon
Replied by krileon on topic Debugging & Duplicate(?) Fields

What do I do to resolve this?

For whatever reason your Joomla template is loading in a CB language file of its own. I've no idea why a template author would do this, but delete the below file and remove the include from the template as needed.

/templates/rt_graffito/features/default_language.php

The error msg stopped - but - then the long list of notices appeared.

This is a 2 part fix and is a bug introduce by Joomla. Please see the below topics.

Part 1:
www.joomlapolis.com/forum/153-professional-member-support/222189-user-login-forgot-login-doesnt-work?limitstart=0#231858

Part 2:
www.joomlapolis.com/forum/153-professional-member-support/222189-user-login-forgot-login-doesnt-work?start=6#231990


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum