vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Single post causing DB errors - How to fix? (https://vborg.vbsupport.ru/showthread.php?t=312393)

Gadget_Guy 06-25-2014 04:49 PM

Can I do this via the "Execute SQL Query" in the AdminCP ?

I hate to ask... but I am not SQL savy....

What specifically do I do in phpMyAdmin ?


I suppose what you are saying is to "soft delete" the post in the DB then delete it in the forums itself.

Then run the Post Cache rebuild till I find the next post issue and do the process again.


My question is this:

How can I load that specific post in the forums to hard delete it?


D.

--------------- Added [DATE]1403719057[/DATE] at [TIME]1403719057[/TIME] ---------------

Should I try the IMPEX cleaner.php tool?

D.

ForceHSS 06-25-2014 04:59 PM

There are a few places html are turned on group permissions and Forums & Moderators/Forum Manager then edit each forum you have and under Enable / Disable Features
Allow HTML = No
There might also be a setting in the options somewhere, but can't remember so check. It's not a good idea to allow members to use HTML as they can insert code

TheLastSuperman 06-25-2014 05:03 PM

Having HTML enabled per forum is a security issue IF you cannot trust 100% of your members and not may site owners can so don't think you're one of the few - instead disable the ability to post HTML in ANY forum.

Now that it's disabled rebuild your posts, if html is now disabled all their code is null and void i.e. it will show the exact code used in the post not a flash player or music player it will be the actual code i.e. <object type="code blah blah><more code param etc etc></object> so in other words - once you disable the html it should not affect the site nor produce a database error anymore so no need to delete that thread now, as you were back to business!

*Remember to disable the ability to post html in ALL forums UNLESS its a admin-only forum where only admins can post, if guests or members can view that's fine but do not allow them to post or edit posts in a html postable forum.

Gadget_Guy 06-25-2014 05:15 PM

Quote:

Originally Posted by TheLastSuperman (Post 2503704)
Having HTML enabled per forum is a security issue IF you cannot trust 100% of your members and not may site owners can so don't think you're one of the few - instead disable the ability to post HTML in ANY forum.

Now that it's disabled rebuild your posts, if html is now disabled all their code is null and void i.e. it will show the exact code used in the post not a flash player or music player it will be the actual code i.e. <object type="code blah blah><more code param etc etc></object> so in other words - once you disable the html it should not affect the site nor produce a database error anymore so no need to delete that thread now, as you were back to business!

*Remember to disable the ability to post html in ALL forums UNLESS its a admin-only forum where only admins can post, if guests or members can view that's fine but do not allow them to post or edit posts in a html postable forum.

What am I running?

Rebuild Post Cache or something else?

D.

ForceHSS 06-25-2014 05:24 PM

Quote:

Originally Posted by Gadget_Guy (Post 2503711)
What am I running?

Rebuild Post Cache or something else?

D.

Maintenance/General Update Tools

Gadget_Guy 06-25-2014 05:47 PM

Tried... still erroring when running rebuilding cache

D.

Zachery 06-25-2014 06:29 PM

Did you ever get the MySQL max_packet_size adjusted?

Gadget_Guy 06-25-2014 07:46 PM

Quote:

Originally Posted by Zachery (Post 2503725)
Did you ever get the MySQL max_packet_size adjusted?


According to the AdminCP it is set to 16MB



D.

ForceHSS 06-25-2014 08:05 PM

Have it at 16 myself but try putting it to 32 and test it to rule that out as the problem if its not u can always put it back

Gadget_Guy 06-25-2014 08:11 PM

I will ask my host to make the change.

Anything else I can try in the meantime?

Is it worth me trying the IMPEX tools?

D.


All times are GMT. The time now is 10:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00996 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete