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 03-15-2006, 02:43 PM
d8tabyte's Avatar
d8tabyte d8tabyte is offline
 
Join Date: Nov 2005
Location: Michigan
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Vbulletin oddity

I have to believe it is something a plug-in caused, but I have since disabled the plug-ins and I am still getting this.

Users click on a link in my forum, be it post a new thread, a link to a thread, what ever and they are redirected to my front page ( normally this just happens when a link is not active) It is becoming more and more annoying for myself and my members. I think it has something to do with my SQL database, as I am getting errors sent to me saying:

Quote:
Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /home/digitale/public_html/forum/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Wednesday, March 15th 2006 @ 10:12:52 AM
Script : http://digitalet.net/forum/pager.php...&do=readpager&
Referrer :
IP Address : xxx.xxx.xxx.xxx
Username :
Classname : vb_database
and

Quote:
Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /home/digitale/public_html/forum/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Wednesday, March 15th 2006 @ 10:12:51 AM
Script : http://digitalet.net/forum/vbshout.php
Referrer :
IP Address : xxx.xxx.xxx.xxx
Username :
Classname : vb_database
This leads me to believe the pager and the shoutbox are causing the errors.

Would this be the case? I only have about 17 queries, its a relativly small board with 150 members and 26,000 posts, so it shouldn't be running out of connections with the SQL database.

What other info can I give to help you diagnose this problem?
Reply With Quote
  #2  
Old 03-15-2006, 03:22 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have any rewrites done in your htaccess file? The errors you are seeing mean your script can't connect to the database. But, that shouldn't redirect them.
Reply With Quote
  #3  
Old 03-15-2006, 03:27 PM
d8tabyte's Avatar
d8tabyte d8tabyte is offline
 
Join Date: Nov 2005
Location: Michigan
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's just always done it - I am running a Joomla front - I dont know if its something it configured when it installed.. I'll check the file in a minute and let you know, but it is nothing I changed. It hadn't did this until about 2 weeks ago - Ive had zero issues before that and the forum has been up a year.

Code:
# Set some options.
Options All Indexes
Options +FollowSymLinks All Indexes

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex index.php
I think thats the re-direct, but not the issue causing the redirect... if you get my meaning. There is some error triggering that. Its as if my index page IS my 500 and 404 error pages.
Reply With Quote
  #4  
Old 03-15-2006, 04:52 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you on a dedicated server ? if so, have you tried restarting mysql ?
Reply With Quote
  #5  
Old 03-15-2006, 05:19 PM
d8tabyte's Avatar
d8tabyte d8tabyte is offline
 
Join Date: Nov 2005
Location: Michigan
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm on shared - siteground.com - I've written thier support - at first they blamed someones account that had way too many connections and they have suspended his account - but the issue is on going. I don't want to go dedicated until the rev from the site supports most of it.
Reply With Quote
  #6  
Old 03-15-2006, 05:48 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a mysql error, there is nothing you can do.
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 05:03 PM.


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.04259 seconds
  • Memory Usage 2,212KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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