vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database error in vBulletin : (https://vborg.vbsupport.ru/showthread.php?t=101767)

puertoblack2003 11-28-2005 10:12 AM

Database error in vBulletin :
 
good day,

i'm having error in database i contacted my server with the error and was told to contact someone in vb this is the error report:

mysql_connect(): Lost connection to MySQL server during query /home/.debit/puertoblack2003/puertotech.com/includes/class_core.php on line 273

Code:

mysql_connect(): Lost connection to MySQL server during query /home/.debit/puertoblack2003/puertotech.com/includes/class_core.php on line 273

MySQL Error  :
Error Number :
Date        : Monday, November 28th 2005 @ 12:12:28 AM
Script      : http://www.puertotech.com/vbshout.php
Referrer    :
IP Address  : 24.45.69.30
Username    :
Classname    : vb_database

can someone help to fix the problem :ermm:

calorie 11-28-2005 10:24 AM

Did you turn persistent connections to MySQL on in your vB config file? If so, try turning them off.

puertoblack2003 11-28-2005 10:32 AM

Quote:

Originally Posted by calorie
Did you turn persistent connections to MySQL on in your vB config file? If so, try turning them off.


according to what i have it appears to be off look at how it looks:
Code:

$config['MasterServer']['usepconnect'] = 0;

Boofo 11-28-2005 10:36 AM

Does it happen all the time?

puertoblack2003 11-28-2005 10:39 AM

Quote:

Originally Posted by Boofo
Does it happen all the time?

like every other day with different error rather shout , or showthread.php and online.php a couple of more can't remember.

calorie 11-28-2005 10:40 AM

Do you also see...
Code:

$config['SlaveServer']['usepconnect'] = 0;
My guess is probably, so recheck your config file for the following:
Code:

$config['MasterServer']['servername']
$config['MasterServer']['port']
$config['MasterServer']['username']
$config['MasterServer']['password']

And since you probably aren't using a 'slave' have the following;
Code:

$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;

And if all that is correct, do another thorough check of config, and if it's all correct, maybe ask your host what is wrong with their MySQL server. ;)

Boofo 11-28-2005 10:40 AM

What plug-ins or products have you recently added?

puertoblack2003 11-28-2005 10:47 AM

Quote:

Originally Posted by Boofo
What plug-ins or products have you recently added?

the last one i install was the IM online status and server info



And if all that is correct, do another thorough check of config, and if it's all correct, maybe ask your host what is wrong with their MySQL server.

i did that they told me that everything is up and running found no errors and for me to take a look at the program from vb...

Boofo 11-28-2005 10:49 AM

Quote:

Originally Posted by nievesidenshop
the last one i install was the IM online status and server info



And if all that is correct, do another thorough check of config, and if it's all correct, maybe ask your host what is wrong with their MySQL server.

i did that they told me that everything is up and running found no errors and for me to take a look at the program from vb...

Then I would try disabling some products and plug-ins to find out if maybe there are a couple of them not playing nice together. Start with the most recent and keep an eye on things. ;)

puertoblack2003 11-28-2005 10:51 AM

Quote:

Originally Posted by Boofo
Then I would try disabling some products and plug-ins to find out if maybe there are a couple of them not playing nice together. Start with the most recent and keep an eye on things. ;)


will do and i will keep you guys informed, thanks :squareeyed:

calorie 11-28-2005 10:56 AM

Quote:

Originally Posted by nievesidenshop
like every other day with different error rather shout , or showthread.php and online.php a couple of more can't remember.

Then it would seem that your vB config is fine, and it is your host's MySQL server that likes to drop connections.

Quote:

Originally Posted by Boofo
What plug-ins or products have you recently added?

I'm not sure what plug-ins or products would be directly messing with the db_connect function. I'd say it sounds more like the MySQL server isn't allowing for enough connections or packet sizes are sometimes too big, maybe because of a plug-in or product. ;)

puertoblack2003 11-28-2005 11:01 AM

Quote:

Originally Posted by calorie
Then it would seem that your vB config is fine, and it is your host's MySQL server that likes to drop connections.



I'm not sure what plug-ins or products would be directly messing with the db_connect function. I'd say it sounds more like the MySQL server isn't allowing for enough connections or packet sizes are sometimes too big, maybe because of a plug-in or product. ;)

i think it's the server info hack, i will go back to that thread where i got it from to see if anybody else is having the same problem as i.. :disappointed:

Boofo 11-28-2005 11:01 AM

Quote:

Originally Posted by calorie
Then it would seem that your vB config is fine, and it is your host's MySQL server that likes to drop connections.



I'm not sure what plug-ins or products would be directly messing with the db_connect function. I'd say it sounds more like the MySQL server isn't allowing for enough connections or packet sizes are sometimes too big, maybe because of a plug-in or product. ;)

It could be almost anything that calls out for anything. It's just a thought as his host seems to think there is nothing wrong on their end. And no matter now good the product/plug-in system is, there are bound to be plug-ins that are vieing for the title of who runs first or at all. I've seen some strange ones react differently than expected. ;)

puertoblack2003 11-28-2005 11:13 AM

Quote:

Originally Posted by Boofo
It could be almost anything that calls out for anything. It's just a thought as his host seems to think there is nothing wrong on their end. And no matter now good the product/plug-in system is, there are bound to be plug-ins that are vieing for the title of who runs first or at all. I've seen some strange ones react differently than expected. ;)


i'm curious to if this hack connects to the server to get the info if it is then i think this is the problem Server Info

man it's funny i back track the date of the error when it started and from what i understand it started when i installed the ipbarcade :ermm: you think that will cause the issue? :rolleyes:


All times are GMT. The time now is 04:45 AM.

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.01080 seconds
  • Memory Usage 1,757KB
  • 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
  • (5)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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