PDA

View Full Version : Vbulletin oddity


d8tabyte
03-15-2006, 02:43 PM
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:

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?action=pager&do=readpager&
Referrer :
IP Address : xxx.xxx.xxx.xxx
Username :
Classname : vb_database

and

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?

amykhar
03-15-2006, 03:22 PM
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.

d8tabyte
03-15-2006, 03:27 PM
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.

# 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.

Paul M
03-15-2006, 04:52 PM
Are you on a dedicated server ? if so, have you tried restarting mysql ?

d8tabyte
03-15-2006, 05:19 PM
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.

Paul M
03-15-2006, 05:48 PM
It's a mysql error, there is nothing you can do.