vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Getting "vBulletin Database Error!" ... Help please! :( (https://vborg.vbsupport.ru/showthread.php?t=100748)

Lyte 11-13-2005 10:47 PM

Getting "vBulletin Database Error!" ... Help please! :(
 
Howdy,

I recently had a template/skin placed on my site (www.pc101.com) and in the process we started getting these kinds of error messages...

Database error in vBulletin :

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

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 03:08:06 PM
Script : http://pc101.com/forumdisplay.php?f=44
Referrer : http://pc101.com/forumdisplay.php?f=44
IP Address : xx.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/pc101/public_html/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 03:04:34 PM
Script : http://pc101.com/admincp/template.php?do=modify
Referrer : http://pc101.com/admincp/template.php?do=modify
IP Address : xx.xxx.xxx.xxx
Username :
Classname : vb_database


What does this mean?? Please advise as I'm totally clueless.

Also... I'm a little confused by http://www.pc101.com/index.php v.s. http://www.pc101.com/ ... which has a PR5. Does it matter which one I use for marketing or directing search engines???


Many thanks in advance!

Lyte

pyro.699 11-14-2005 12:57 AM

ewwwwwwwwww, nasty error!

anyways, what were you tring to do? building a mod, and what did u eidt?

if ntohing, the i got no clue ^^

Rickie3 11-14-2005 01:05 AM

it seems you error is in forumdisplay.php and template.php,class_core.php did you edit any of those?

Lyte 11-14-2005 02:03 AM

Quote:

Originally Posted by Rickie3
it seems you error is in forumdisplay.php and template.php,class_core.php did you edit any of those?

I'm not sure... I'm not the one designing/installing the template. What are those things???

Thanks!

Lyte

Andreas 11-14-2005 02:06 AM

(Re)start you mySQL-Server. If this doesn't help, check your mySQL config.

Lyte 11-14-2005 03:26 AM

Quote:

Originally Posted by Andreas
(Re)start you mySQL-Server. If this doesn't help, check your mySQL config.

Okay, call me dense but... what's my "SQL-Server?" And... my "SQLconfig?"

Thanks!

Lyte

Marco van Herwaarden 11-14-2005 04:35 AM

Ask your host to restart MySQL.

Lyte 11-14-2005 12:05 PM

Quote:

Originally Posted by MarcoH64
Ask your host to restart MySQL.

Thanks. I did, I hope this helps! :)

I'm still curious though... what's my "SQL-Server?" And... my "SQLconfig?"

Thanks again!

Lyte

Marco van Herwaarden 11-14-2005 12:50 PM

MySQL <- the database software you are using to store your information.

ztempuser 11-15-2005 05:15 AM

i get the same exact error with my database it says somthing about the class_core.php i never edited it either, and i reuploaded that file to make sure its all correct still the same errror

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/usr/www/htdocs/el-halawa/forum/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 06:07:26 PM
Script : http://www.el-halawa.net/forum/admin....php?do=modify
Referrer : http://www.el-halawa.net/forum/admincp/index.php?do=nav
IP Address : 68.226.4.172
Username :
Classname : vb_database

nailerpa 12-10-2005 08:30 PM

Same error here...hundreds of them. I didn't edit class_core.php, either. I just upgraded to v3.52 and it's still happening. My site is still working fine. It's just an annoyance getting all of those error e-mails.

Quote:

Originally Posted by blackwidow
i get the same exact error with my database it says somthing about the class_core.php i never edited it either, and i reuploaded that file to make sure its all correct still the same errror

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/usr/www/htdocs/el-halawa/forum/includes/class_core.php on line 273

MySQL Error :
Error Number :
Date : Sunday, November 13th 2005 @ 06:07:26 PM
Script : http://www.el-halawa.net/forum/admin....php?do=modify
Referrer : http://www.el-halawa.net/forum/admincp/index.php?do=nav
IP Address : 68.226.4.172
Username :
Classname : vb_database

Well, it appears that what was causing my errors were some corrupt e-mail messages. I have my web host e-mail being forwarded via POP3 to my Outlook. So, I don't check my web host e-mail that often. So, I figured I'd check it out on the whim that there might be a corrupt message that just keeps spewing out copies of itself. I deleted all error e-mails like this and, sure enough, I haven't gotten any more error messages. This was a couple of hours ago. Previously, I was getting error messages every few minutes. What also tipped me off that there might be corrupt messages is that they would show up in my Outlook with the same date and time. I hope this helps anyone else out that's having this problem.


All times are GMT. The time now is 05:49 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.01197 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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