Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-09-2011, 07:15 AM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database error in vBulletin 4.1.2

from when i have upgraded my vb to 4.0 i get this mail continuosly but never faced any problem or error while browsing site & when i click on search single content type page never load.

Database error in vBulletin 4.1.2:

Invalid SQL:

UPDATE searchlog

please someone help
Reply With Quote
  #2  
Old 03-09-2011, 04:28 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We would need to see the full error in order to help. When you get the error, view the page source for that page and you will see the actual database error near the bottom of that page. It will have some information like this:
Code:
The actual mysql query/code/problem....

MySQL Error : some sort of something here
Error Number : another something here
Date : Sunday, April 13th 2008 @ 11:16:43 AM
Script : http://address.path.path/page.php
Referrer :
IP Address : **.***.**.***
Username : username
Classname : database
Reply With Quote
  #3  
Old 03-16-2011, 04:18 PM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no i get 4k-5k mails everyday even if i have Disable Database Error Email Sending to yes so i removed email id from config file now it is stopped but whenever i add the email starts again i get only this stuff in mail

Database error in vBulletin 4.1.2:

Invalid SQL:

UPDATE searchlog

I have removed all mods & reset skin & every option using tools.php but still i get this error
I get this error from when i have upgraded from 3.x to 4.x I thought this would be a bug but after every clean upgradation from 4.0 to 4.1

please help
Reply With Quote
  #4  
Old 03-16-2011, 04:33 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the FULL error message? UPDATE searchlog is only the beginning. Please see my previous post for what I want. I cannot help you if you do not provide that information.
Reply With Quote
  #5  
Old 03-16-2011, 05:00 PM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 4.1.2:

Invalid SQL:

UPDATE searchlog


__________ Information from ESET Smart Security, version of virus signature database 5940 (20110309) __________

The message was checked by ESET Smart Security.


this much only
Reply With Quote
  #6  
Old 03-16-2011, 06:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is nothing I can do with that error. You will need to ask your host if you can actually see the real error somewhere on your server.
Reply With Quote
  #7  
Old 03-16-2011, 08:00 PM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey thanks for replying & your support I'm Hosting it on my own server its a window 2008

Code:
###### Apache Friends XAMPP (Basis Package) version 1.7.3 ######

  + Apache 2.2.14 (IPV6 enabled)
  + MySQL 5.1.41 (Community Server) with PBXT engine 1.0.09-rc
  + PHP 5.3.1 (PEAR, Mail_Mime, MDB2, Zend)
  + Perl 5.10.1 (Bundle::Apache2, Apache2::Request, Bundle::Apache::ASP, Bundle::Email, Bundle::DBD::mysql, DBD::SQlite, Randy Kobes PPM)
  + XAMPP Control Version 2.5.8 (ApacheFriends Edition)
  + XAMPP CLI Bundle 1.6
  + XAMPP Port Check 1.5
  + XAMPP Security 1.1
  + SQLite 2.8.17
  + SQLite 3.6.20
  + OpenSSL 0.9.8l
  + phpMyAdmin 3.2.4
  + ADOdb v5.10
  + FPDF v1.6
  + Zend Framework 1.9.6 Minimal Package (via PEAR)
  + Mercury Mail Transport System v4.72
  + msmtp 1.4.19 (a sendmail compatible SMTP client)
  + FileZilla FTP Server 0.9.33
  + Webalizer 2.21-02 (with GeoIP lite)
  + apc 3.1.3p1 for PHP
  + eAccelerator 0.9.6-rc1 for PHP
  + Ming 0.4.3 for PHP
  + PDF with pdflib lite v7.0.4p4 for PHP
  + rar 2.0.0-dev for PHP
  + Xdebug 2.0.6-dev for PHP
  + libapreq2 v2.12 (mod_apreq2) for Apache

---------------------------------------------------------------
I've reinstalled xampp many times but the prob still exist.

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

in admin option Error Handling & Logging settings i set Log Database Errors to a File

check this link
http://www.vedesi.com/logs/

its still creating logs in same folder

please help

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

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Thursday, March 17th 2011 @ 06:54:25 PM
Error Date : Thursday, March 17th 2011 @ 06:54:25 PM
Script : http://www.vedesi.com/tags.php?tag=hot&page=453
Referrer :
IP Address : xxxxxxxxx
Username : Unregistered
Classname : vB_Database
MySQL Version :
================================================== ===

i think the prob is with tags

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

repaired / optimized this tables

tag 6.52 MB 7.03 MB 273.00 MB Yes
tagcontent 67.63 MB 164.92 MB 273.00 MB Yes
tagsearch 2.60 MB 3.47 MB 0

still processing logs

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

Quote:
Originally Posted by Lynne View Post
There is nothing I can do with that error. You will need to ask your host if you can actually see the real error somewhere on your server.
hey i have posted the error please can you give some solution???
Reply With Quote
  #8  
Old 03-18-2011, 11:47 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Server problems are really beyond the scope of this forum, as it's really only about vbulletin mods. It sounds like you're just making more errors, with the new "MySQL server has gone away" error. There's a whole page about that error over on vb.com somewhere, and who knows that might be the whole problem.
Reply With Quote
  #9  
Old 03-19-2011, 04:12 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"MySQL Server has gone away" is a server issue. See this: http://www.vbulletin.com/docs/html/t...mysql_goneaway and this: http://www.vbulletin.com/forum/showt...265#post310265 You will need to talk to your host about this in order to get it resolved. If the host is yourself, I suggest you read up on the error and the variables you will need to try modifying in mysql configuration file to fix this.
Reply With Quote
  #10  
Old 03-20-2011, 08:09 AM
sweetguy2004's Avatar
sweetguy2004 sweetguy2004 is offline
 
Join Date: Feb 2007
Location: uk
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok thanks it is solved changed max_allowed_packet=1 to max_allowed_packet=2 in my.ini

Thanks alot Lynne.
Reply With Quote
Reply


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 01:42 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.04240 seconds
  • Memory Usage 2,256KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete