Keyword

Need to disable K2 Comments from inside the db

  • Mark Hass
  • Mark Hass's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #121125 by Mark Hass
I need to know from within the K2 db I can disable the Comments.
I have a Joomla 2.5 installation that has been attacked and in just a couple of days filled my K2 Comments field with hundreds of meg of advertising spam.

My host has disable the db to that install until I fix the problem, but I cannot access the application backend to change the K2 if the db is not functioning!

Where can I disable the K2 Comments from within the db.

MySQL Processes:
| 109907468| educateu_newdev| localhost| educateu_newdev| Query| 32| Sending data| SELECT COUNT(*) FROM cpq5r_k2_comments WHERE itemID=355 AND published=1| 0| 0| 0|

The attached image shows the field I want to change to disable the attack on my site.

Thanks,
Mark
This email address is being protected from spambots. You need JavaScript enabled to view it.
Attachments:

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

  • Mohamed Abdelaziz
  • Mohamed Abdelaziz's Avatar
  • Offline
  • Platinum Member
  • Joomla Developer
More
10 years 10 months ago #121126 by Mohamed Abdelaziz
Replied by Mohamed Abdelaziz on topic Re: Need to disable K2 Comments from inside the db
Hi, if you can access phpMyAdmin, go to the extensions table and edit the row with `name`="com_k2"
There will be a field named `params`, find "comments":"2" and replace it with "comments":"0" , then save.

This will stop comments.

Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store

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

  • Mark Hass
  • Mark Hass's Avatar Topic Author
  • Offline
  • New Member
More
10 years 10 months ago #121127 by Mark Hass
Thank you.

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


Powered by Kunena Forum