Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2005, 10:47 PM
Lyte's Avatar
Lyte Lyte is offline
 
Join Date: Nov 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 11-14-2005, 12:57 AM
pyro.699 pyro.699 is offline
 
Join Date: Sep 2005
Location: Fredericton, New Brunswic
Posts: 261
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ^^
Reply With Quote
  #3  
Old 11-14-2005, 01:05 AM
Rickie3's Avatar
Rickie3 Rickie3 is offline
 
Join Date: Nov 2004
Location: Australia/Tasmania
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it seems you error is in forumdisplay.php and template.php,class_core.php did you edit any of those?
Reply With Quote
  #4  
Old 11-14-2005, 02:03 AM
Lyte's Avatar
Lyte Lyte is offline
 
Join Date: Nov 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-14-2005, 02:06 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(Re)start you mySQL-Server. If this doesn't help, check your mySQL config.
Reply With Quote
  #6  
Old 11-14-2005, 03:26 AM
Lyte's Avatar
Lyte Lyte is offline
 
Join Date: Nov 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 11-14-2005, 04:35 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ask your host to restart MySQL.
Reply With Quote
  #8  
Old 11-14-2005, 12:05 PM
Lyte's Avatar
Lyte Lyte is offline
 
Join Date: Nov 2005
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 11-14-2005, 12:50 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MySQL <- the database software you are using to store your information.
Reply With Quote
  #10  
Old 11-15-2005, 05:15 AM
ztempuser ztempuser is offline
 
Join Date: Nov 2005
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
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 07:56 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.07047 seconds
  • Memory Usage 2,247KB
  • Queries Executed 11 (?)
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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete