vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Private Messages database problem in 3.8.4 (https://vborg.vbsupport.ru/showthread.php?t=307586)

AramisErak 01-28-2014 12:11 AM

Private Messages database problem in 3.8.4
 
Had an error suddenly start showing up in the last few days.

Quote:

Database error in vBulletin 3.8.4:

Invalid SQL:

UPDATE coti_user
SET pmtotal = pmtotal + 1, pmunread = pmunread + 1,
pmpopup =
CASE
WHEN userid IN(168) THEN 2
ELSE pmpopup
END

WHERE userid IN(168);

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Monday, January 27th 2014 @ 08:03:36 PM
Error Date : Monday, January 27th 2014 @ 08:04:36 PM
Script : http://www.travellerrpg.com/CotI/Dis...insertpm&pmid=
Referrer : http://www.travellerrpg.com/CotI/Dis...do=newpm&u=295
IP Address : 72.35.122.228
Username : aramis
Classname : vB_Database
MySQL Version :
I need help understanding the message.

Notes:
Occurs on sending PM's.
PMs still going through.
Sent PMs not showing in sent messages folder.

ozzy47 01-28-2014 12:17 AM

Have you tried with all mods disabled?
What vB version and PHP version are you running?

AramisErak 01-28-2014 01:59 AM

Quote:

Originally Posted by ozzy47 (Post 2477334)
Have you tried with all mods disabled?
What vB version and PHP version are you running?

vB, as stated TWICE above, is 3.8.4
PHP - don't know. Somewhere in the 5.x range.

But no changes have been made in months to the mods in use. And turning all off crashes the interface

ozzy47 01-28-2014 02:04 AM

Have you tried with all mods disabled?

To find out the PHP version, go to ACP --> Maintenance --> View PHP Info

AramisErak 01-28-2014 02:27 AM

PHP 5.4.24.
and as stated above, all off crashes the user interface.

Edit: I walked into adminning a board with extensive UI mods.

Max Taxable 01-28-2014 02:29 AM

Quote:

Originally Posted by AramisErak (Post 2477370)
PHP 5.4.24.
and as stated above, all off crashes the user interface.

This happens with turning the hooks off in AdminCP>Options>Plugin/Hook system?

Because.... It shouldn't. All this does is ensure that only native vBulletin code is run.

Quote:

Originally Posted by AramisErak (Post 2477370)
Edit: I walked into adminning a board with extensive UI mods.

It doesn't matter how many mods it has, turning off the hooks puts you in default mode and shouldn't "crash" anything.

ozzy47 01-28-2014 02:37 AM

vB 3.8.4 is not compatible with PHP 5.4, so you will need to upgrade to vB v3.8.8 or downgrade your PHP to 5.3.X

Zachery 01-28-2014 02:58 AM

How many are you getting per day?

Can you try running the query in phpmyadmin?

Who is userid 168? Do they have a ton of PM's ?

AramisErak 01-28-2014 03:08 AM

Quote:

Originally Posted by Zachery (Post 2477378)
How many are you getting per day?

Can you try running the query in phpmyadmin?

Who is userid 168? Do they have a ton of PM's ?

Me. No.

Suddenly (and I do mean suddenly) started working again.

I have no explanation. It was giving the same error message, I turned off one PM-specific module, it failed differently, turned it back on, tested again, got the message above again, checked the PHP, read a post from a user about it, he mentioned it still not working for him, out of habit, checked the PM box, found his that he thought hadn't arrived, responded in the QR box, and boom, it's working again.

I'm now wondering if there's a hidden cron job that rebuilds/repairs the database.

ozzy47 01-28-2014 03:20 AM

Glad to hear it is working again, but you are probably going to run into more issues at some point due to the PHP and vB version.


All times are GMT. The time now is 11:48 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.01169 seconds
  • Memory Usage 1,731KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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