Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2011, 07:41 PM
Tamer Yildiz Tamer Yildiz is offline
 
Join Date: Jan 2009
Location: Ankara
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Default of topic imaging

Hi friends;

We have some problems in our forum. For example, we can see the topic but we can't see the content about topic. In our site there was attachment faults. We tried to repair this problem and solved this problem. Then it started to give another fault (detail is below about problem). I can see the older topics and contents. I can see the new topics' names but i can't see the contents. How can we solve this problem? Thank you for your interesting.


Code:
Database error in vBulletin 3.8.4:

Invalid SQL:
OPTIMIZE TABLE `postedithistory`;

MySQL Error   : MySQL server has gone away
Error Number  : 2006
Request Date  : Tuesday, November 29th 2011 @ 10:26:41 PM
Error Date    : Tuesday, November 29th 2011 @ 10:27:20 PM
Reply With Quote
  #2  
Old 12-02-2011, 01:40 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mysql has gone away is a server related issue and you should contact your host, was that the entire database error?

What templates or files did you edit to fix the attachments issue? got a site link?
Reply With Quote
  #3  
Old 12-02-2011, 02:00 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is your postedithistory table large? Maybe it's taking too long to optimize and causing a timeout. You could skip optimizing that table or if you don't care about saving all of the post edit history, you could use "Prune Post Edit History" under "Threads & Posts" in the adminCP.
Reply With Quote
  #4  
Old 12-03-2011, 06:56 PM
Tamer Yildiz Tamer Yildiz is offline
 
Join Date: Jan 2009
Location: Ankara
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Mysql has gone away is a server related issue and you should contact your host, was that the entire database error?

What templates or files did you edit to fix the attachments issue? got a site link?
Repair / Optimize Tables were done. After this process the problem was solved. Then we had an another problem.

I can't give you a site link because i closed the site for users but if you want i can give to you a membership with special powers..

Code:
Database error in vBulletin 3.8.4:
Invalid SQL:
SELECT COUNT(*) AS count FROM post WHERE dateline >= 1322604000;
MySQL Error   : Table 'post' is marked as crashed and should be repaired
Error Number  : 1194
for this problem we did Repair / Optimize Tables but we could not solve the problem. I can see the older topics and contents. I can see the new topics' names but i can't see the contents.

Best regards.

Quote:
Originally Posted by kh99 View Post
Is your postedithistory table large? Maybe it's taking too long to optimize and causing a timeout. You could skip optimizing that table or if you don't care about saving all of the post edit history, you could use "Prune Post Edit History" under "Threads & Posts" in the adminCP.
Hi.
Data Length Index Length Overhead
postedithistory 64.0 KB 16.0 KB 0

I used Prune Post Edit History. After this process it gave me an message " No Post Edit Histories Matched Your Query ". But my problem is still keeping on. ( for instance there were 19 messages which were written about the topic but when i clicked the topic, i can't see these messages. This problem is not existing in older topics. The topics which were opened in a year, this problem is existing.)

Best regards.
Reply With Quote
  #5  
Old 12-03-2011, 07:01 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your last repair and optimise issue si still relating to the issue i posted, trust me, speak to your host with regard to what i posted , after a failed repair/optimise a file gets left behind TMD it is this file (and no you cant see it in your files) that is causing your issue, your host needs to delete that file for you and then perform the repair and you should be set
Reply With Quote
  #6  
Old 12-03-2011, 07:07 PM
Tamer Yildiz Tamer Yildiz is offline
 
Join Date: Jan 2009
Location: Ankara
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Your last repair and optimise issue si still relating to the issue i posted, trust me, speak to your host with regard to what i posted , after a failed repair/optimise a file gets left behind TMD it is this file (and no you cant see it in your files) that is causing your issue, your host needs to delete that file for you and then perform the repair and you should be set
Hi.

Thanks for your interesting. Which file should i delete?
Reply With Quote
  #7  
Old 12-03-2011, 08:05 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You cant delete it unless you have a good understanding of unix and ssh commands, ask your host to look for post.TMD and delete that - MAKE A BACK UP FIRST!!!!!!!!

After they have deleted the file then ask them to perform a repair and optimise, if your post tabel is large it will take quite some time, my post table is almost 2gb and takes 7 hours to repair and optimise on a dedicated server!
Reply With Quote
  #8  
Old 12-03-2011, 10:05 PM
Tamer Yildiz Tamer Yildiz is offline
 
Join Date: Jan 2009
Location: Ankara
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your attention. I've talked to my host this problem but unfortunately he couldn't find the file which you have talked. I think i work with novice people Could you say me where can i find the file? So i can tell my host how to delete the file. And which panel (phpmyadmin or vbullettin ) should host do the repairing and optimising?

Thanks again.
Reply With Quote
  #9  
Old 12-04-2011, 08:23 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it will be inside your sql file, you should use ssh command to find and delete it this will help http://www.webhostingtalk.com/showthread.php?t=302527 and this is a tutorial http://www.siteground.com/tutorials/..._searching.htm the tutorial should be read first as it explains how to find a file...etc
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:19 AM.


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.04274 seconds
  • Memory Usage 2,246KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete