Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 03-27-2007, 04:24 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Hey Guys/Gals !

Im running my first Vbulletin Site

www.dieselbombers.com

And Im wondering what sort of maintenace i should be doing , The database is backed up 1 per day by the host what should I be doing to keep it healthy

Ive clicked around in the Admin CP Maintenace but im unsure whaty to do in there Can someone plese help ?

And why do i get Database Error Emails Everyday?

DM
Reply With Quote
  #2  
Old 03-27-2007, 07:24 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no real maintenance you should do on a regular basis.

To give an answer to your DB-Error question, please post the full error you get.
Reply With Quote
  #3  
Old 03-27-2007, 08:37 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks That puts me at eaze !

Heres some errors... I saved all 100 of them so far ill post a few random ones...

Quote:
Database error in vBulletin 3.6.5:

Invalid SQL:

UPDATE vbdatastore SET
data = data - 3,
data = IF(data < 0, 0, data)
WHERE title = 'mailqueue';

MySQL Error : Lost connection to MySQL server during query
Error Number : 2013
Date : Monday, March 26th 2007 @ 10:52:49 PM
Script : http://www.dieselbombers.com/index.php
Referrer : http://www.dieselbombers.com/showthread.php?t=731
IP Address : 69.26.10.6
Username : power95
Classname : vb_database
Quote:
Database error in vBulletin 3.6.5:

Invalid SQL:

## GET LATEST THREADS ##
SELECT thread.*,thread.iconid AS threadiconid , post.pagetext AS preview
FROM vbthread AS thread
LEFT JOIN vbdeletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
LEFT JOIN vbpost AS post ON(post.postid = thread.firstpostid)
WHERE open <> 10
AND forumid NOT IN (0Bad Lands,99Bad Lands,23Bad Lands,116Bad Lands,118Bad Lands,98Bad Lands,90Bad Lands,91Bad Lands,92Bad Lands,75)
AND thread.visible = '1'
AND deletionlog.primaryid IS NULL
ORDER BY lastpost
DESC LIMIT 10;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Lands,99Bad Lands,23Bad Lands,116Bad Lands,118Bad Lands,98Bad Lands,90Bad Lands,' at line 7
Error Number : 1064
Date : Thursday, March 22nd 2007 @ 06:22:13 PM
Script : http://dieselbombers.com/
Referrer :
IP Address : 70.236.32.28
Username : redneckbuckeye
Classname : vb_database
Quote:
Database error in vBulletin 3.6.5:

Invalid SQL:

UPDATE vbdatastore SET
data = data - 3,
data = IF(data < 0, 0, data)
WHERE title = 'mailqueue';

MySQL Error : Lost connection to MySQL server during query
Error Number : 2013
Date : Sunday, March 18th 2007 @ 06:21:25 PM
Script : http://www.dieselbombers.com/showthr...=2349#post2349
Referrer : http://www.dieselbombers.com/newrepl...postreply&t=87
IP Address : 216.223.173.45
Username : StrokerSmoker
Classname : vb_database

Aslo While i have someone talking to me ...

Ive tried like heck to get this running and it must not be cabatable with other mods i have ..

http://www.vbulletinusers.com/showthread.php?p=88

Man did i have things messed up LOL

Is there some other way to do this ?

My site is

www.dieselbombers.com its less than 2 weeks old and over 400 members WOOT !

Thanks Very Much for any help at all I have 7/8 or so hacks ive installed from here

DM
Reply With Quote
  #4  
Old 03-27-2007, 09:49 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MySQL Error : Lost connection to MySQL server during query

The most common reasons for the MySQL server has gone away error are:

1. Is that the server timed out and closed the connection. By default, the server closes the connection after 8 hours or 28800 seconds if nothing has happened. You can change the time limit by setting the wait_timeout variable when you start mysqld via your server's /etc/my.cnf as well.

2. Another common reason to receive the MySQL server has gone away error is because you have issued a ``close'' on your MySQL connection and then tried to run a query on the closed connection. You can check that the MySQL hasn't died by executing mysqladmin version and examining the uptime.

i.e. to check mysql uptime, in shell as root user type:

mysqladmin -u root -p version

3. You can also get these errors if you send a query to the server that is incorrect or too large. If mysqld gets a packet that is too large or out of order, it assumes that something has gone wrong with the client and closes the connection. If you need big queries (for example, if you are working with big BLOB columns), you can increase the query limit by starting mysqld with the -O max_allowed_packet=# option (default 1M) or via max_allowed_packet variable in your /etc/my.cnf file and restarting mysql after you edited your /etc/my.cnf file. The extra memory is allocated on demand, so mysqld will use more memory only when you issue a big query or when mysqld must return a big result row

4. Or simply your host restarted MySQL. I'd contact your web host and ask him to look into this.

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Lands,99Bad Lands,23Bad Lands,116Bad Lands,118Bad Lands,98Bad Lands,90Bad Lands,' at line 7

This is probably caused by a modification you have installed.

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
Reply With Quote
  #5  
Old 03-27-2007, 11:04 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I dont understand most of that stuff LOL

As for the bad lands one Them are the forum Numbers and i had to Put them in the exclude of the show new posts hack in like 4 diffrent places before them threads wouldnt show

Any clue on adding More Latest posts options in a Nav Bar drop down?

DM
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:19 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03768 seconds
  • Memory Usage 2,199KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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