vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Error Number 1036 (https://vborg.vbsupport.ru/showthread.php?t=217649)

DeadRabbit 07-02-2009 05:16 AM

Error Number 1036
 
Hello,

I have a problem on my forum i did made repair / optimize tables like hundreds of times but it doesnt fix this problem.

----

Database error in vBulletin 3.8.3:

Invalid SQL:

SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, postusername, postuserid, thread.iconid AS threadiconid,
thread.dateline, notes, thread.visible, sticky, votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views,
thread.prefixid, thread.taglist, hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason

, threadredirect.expires

FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 14360 AND canview = 1)

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)

LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)

WHERE thread.threadid IN (0,163690,165972,179462,179428,179333,178603,17921 4,178920,179224,179121,177860,178961,179128,179122 ,179120,176443,178857,178533,177614,178483,97207,1 00849,122468,126057,128077,130991,142562,142815,14 5687,155902,163691,172501,172489,90990,144204,1792 60)
ORDER BY sticky DESC, lastpost DESC;

MySQL Error : Table 'threadredirect' is read only
Error Number : 1036
Request Date : Thursday, July 2nd 2009 @ 03:01:41 PM
Error Date : Thursday, July 2nd 2009 @ 03:01:41 PM
Script : http://www.muonline.biz/zhyper/forumdisplay.php?f=4
Referrer : http://www.muonline.biz/zhyper/index.php
IP Address : 122.53.183.29
Username : Nocturnal
Classname : vB_Database
MySQL Version : 5.0.77

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

when i try to repair optimize table i get error from 1 table and here is the error

---

threadredirect Check Error: Table 'threadredirect' is read only
threadredirect Check Error: Corrupt

Lynne 07-02-2009 02:28 PM

Take a look at this thread and try a different method to repair your database - 3 ways to repair a database

DeadRabbit 07-04-2009 06:00 AM

all of that didnt help

can you help me like

deleting that table threadredirect and then add it again?

Marco van Herwaarden 07-06-2009 08:58 AM

Check if the operating system files for the database have the correct permissions.


All times are GMT. The time now is 07:12 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.02082 seconds
  • Memory Usage 1,719KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete