vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   I need Help. (https://vborg.vbsupport.ru/showthread.php?t=37428)

Slynderdale 04-14-2002 09:50 PM

Database error in vBulletin :

Invalid SQL: SELECT template FROM template WHERE title='options'
mysql error: Can't open file: 'template.MYD'. (errno: 144)

mysql error number: 1016

Database error in vBulletin :
Invalid SQL: SELECT template FROM template WHERE title='options'
mysql error: Can't open file: 'template.MYD'. (errno: 144)

mysql error number: 1016

Steve Machol 04-14-2002 09:54 PM

What 'repair query' did you run? Just run repair.php exactly as I told you. If any tables do not show 'ok' run it again. Make sure your forums are off when you run this! If all errors don;t go away after the second run, post the results here.

Slynderdale 04-14-2002 09:57 PM

heres what i get when i try to run it

Warning: MySQL Connection Failed: Can't create a new thread (errno 11). If you are not out of available memory, you can consult the manual for a possible OS-dependent bug in /home/darktech/public_html/slynderdale/forum/admin/db_mysql.php on line 40



There seems to have been a slight problem with the database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

i have the memory too, i checked the account control panel

Steve Machol 04-14-2002 10:14 PM

I don't see how running repair.php could possibly generate that kind of an error since it's not attempting to create a thread.

Error code 11: Resource temporarily unavailable

This is a server problem.

Slynderdale 04-15-2002 06:22 PM

The server problem was fixed, but my mysql database is still messed up and when i try to tun the repair scripted thos shows up:

Code:

There seems to have been a slight problem with the database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

the repair scripted shows up:
Code:

repair.php for mysql 3.23 or greater

This script will attempt to repair corrupted databases. While it can repair most common errors, it can not repair everything. As a side benefit it will also optimize your tables. This script is unsupported by jelsoft.

Usage:

iterations=x (x is the number of times you wish for the script to attempt to repair a broken table)
nohtml=1 (Output text only no html. Useful for cronjobs and you wish to receive text only)
forum=x (x is the name of the database to check. Leave it off to use the default database of your vBulletin forum)
check=1 (without this you will get this screen and no checking)

Example Usage:

repair.php?html=1&check=1 (most common usage, will check a forum and return html results)
repair.php?check=1&iterations=4&forum=vbdatabase (check the database "vbdatabase", try to repair damaged tables 4 times)

is there a way to have it check the mysql database without having it use the forums?

Steve Machol 04-15-2002 06:44 PM

I'm not sure what your question is. Since the forums are, in effect, the database I don't see what you're getting at.

I recommend you use the 'repair.php?html=1&check=1' syntax when running repair.php.

Slynderdale 04-15-2002 06:46 PM

Quote:

Originally posted by smachol
I'm not sure what your question is. Since the forums are, in effect, the database I don't see what you're getting at.

I recommend you use the 'repair.php?html=1&check=1' syntax when running repair.php.

i tried that and all i got is



There seems to have been a slight problem with the database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Slynderdale 04-15-2002 06:58 PM

Code:

<!-- Database error in vBulletin Control Panel :

Invalid SQL: SELECT template FROM template WHERE title='options'
mysql error: Can't open file: 'template.MYD'. (errno: 144)

mysql error number: 1016

Date: Monday 15th of April 2002 08:42:50 PM
Script: /forum/admin/repair.php?html=1&check=1
Referer: http://www.1stconnection.co.uk:2086/scripts/command
 -->

i checked the repair files source and thats what it said

Slynderdale 04-15-2002 07:17 PM

would it be possible to make the repair.php a standalone scripted and doesnt need to get global.php? i think its not working because how the forums tables are messed up, i was wondering if you could edit it so i could put it in my sites root directory and run it and have it check the database that way

Slynderdale 04-15-2002 09:04 PM

Nevermind smachol, i fixed the tables myself, i didnt need the repair.php, thanks for the help though


All times are GMT. The time now is 05:54 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.02711 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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