Skip to Content Skip to Menu

[SOLVED] Error 145 #__comprofiler_views is marked as crashed and should be repaired

  • huntrdog
  • huntrdog
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
7 years 6 months ago - 7 years 6 months ago #293281 by huntrdog
This error message appears on every profile. Checking phpmyadmin, the table that the error message is referencing "comprofiler_views" isn't even listed...it's completely missing. The last table listed is "comprofofiler_userreports." Can you please advise me if this table can be recreated/repaired, or if I need to restore from a backup? My other issue is I don't know for how long this table has been missing, or what would have deleted it.

Thank you in advance for any assistance you can offer.

Running CB 1.91.1 on J3.6.5
Last edit: 7 years 6 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
7 years 6 months ago #293290 by krileon
_comprofiler_views should exist as it's a core table and it's where profile views are stored. It probably has too many rows. Run an empty operation on it in phpmyadmin and see if your issue persists.


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.

  • huntrdog
  • huntrdog
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
7 years 6 months ago #293296 by huntrdog
Thanks for the reply. Being uncertain how to run an empty operation, I checked phpmyadmin once again, this time using the search box, and indeed the table exists...but twice (see screenshots)?! When I click on the damaged table that is listed in the error message, the same message comes up.

Any advice on how to proceed?
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48449
  • Thanks: 8280
  • Karma: 1443
7 years 6 months ago #293303 by krileon
You've 69 thousand rows in that table. That's probably why as you've done no pruning of it. It's advised to setup a CRON task to prune the table every now and again or disable views tracking entirely within CB > Configuration > User Profile.

In phpmyadmin navigate to the table then click the Operations tab and click "Empty the table (TRUNCATE)" to empty it or empty from the table list for your database.


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.
The following user(s) said Thank You: huntrdog, zahmundzornig

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

  • huntrdog
  • huntrdog
  • OFFLINE
  • Posts: 21
  • Thanks: 3
  • Karma: 0
7 years 6 months ago #293307 by huntrdog
Many thanks for your help!
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum