vb.org Archive

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

danyz81 03-25-2013 11:00 PM

Database error in vBulletin
 
Hello,

after an upgrade of my php from 5.2 to 5.3 my vb forum gone down for a mysql db error:

my os server win2k3.

Quote:

Database error in vBulletin :

mysql_connect(): Premature end of data (mysqlnd_wireprotocol.c:553)
E:\\\\\\includes\class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Monday, March 25th 2013 @ 10:54:53 PM
Error Date : Monday, March 25th 2013 @ 10:54:55 PM
Script : http://www.webgif.com/forums/externa...75,276&type=js
Referrer : http://www.webgif.com/
IP Address : 2.224.254.152
Username :
Classname : vB_Database
MySQL Version :
any help will be appreciated,

regards,

Brandon Sheley 03-25-2013 11:55 PM

update your database password

http://www.vbulletin.com/forum/forum...ard-is-broken?

danyz81 03-26-2013 07:17 AM

Quote:

Originally Posted by Brandon Sheley (Post 2412300)

Hello Brandon and thank you for your reply.

I've finally resolve my issue following this query on my mysql server:

Quote:

SET old_passwords = 0;
UPDATE mysql.user SET Password = PASSWORD('userpassword') WHERE User = 'username' limit 1;
SELECT LENGTH(Password) FROM mysql.user WHERE User = 'username';
FLUSH PRIVILEGES;
bye

--------------- Added [DATE]1364283483[/DATE] at [TIME]1364283483[/TIME] ---------------

hello, i've also found some other issue. Like PHP deprecated language:

Quote:

PHP Deprecated: Assigning the return value of new by reference is deprecated in E:\\\\forums\includes\init.php on line 55
i've resolved it replacing where i had this error (in my case):

all '& new' in 'new'


All times are GMT. The time now is 05:36 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.00969 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)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