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 10-12-2011, 07:01 PM
Kiran-E-Sehar Kiran-E-Sehar is offline
 
Join Date: Jan 2011
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default having database error

having data base error and also the giving error is showing when i go for add new forum...

Warning
: asort() expects parameter 1 to be array, null given in [path]/admincp/forum.php(240) : eval()'d code on line 20

Warning: Invalid argument supplied for foreach() in [path]/admincp/forum.php(240) : eval()'d code on line 21

any body ?
Reply With Quote
  #2  
Old 10-12-2011, 07:17 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kiran-E-Sehar View Post
having data base error and also the giving error is showing when i go for add new forum...


Warning
: asort() expects parameter 1 to be array, null given in [path]/admincp/forum.php(240) : eval()'d code on line 20

Warning: Invalid argument supplied for foreach() in [path]/admincp/forum.php(240) : eval()'d code on line 21


any body ?
What are the db errors that you are having?
Reply With Quote
  #3  
Old 10-12-2011, 07:36 PM
Kiran-E-Sehar Kiran-E-Sehar is offline
 
Join Date: Jan 2011
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

these are recently that i recieved in my email...



Database error in vBulletin 4.1.2:

Invalid SQL:

SELECT languageid,
phrasegroup_global AS phrasegroup_global,
phrasegroup_posting AS phrasegroup_posting,
phrasegroup_postbit AS phrasegroup_postbit,
phrasegroup_showthread AS phrasegroup_showthread,
phrasegroup_inlinemod AS phrasegroup_inlinemod,
phrasegroup_reputationlevel AS phrasegroup_reputationlevel,
options AS lang_options,
languagecode AS lang_code,
charset AS lang_charset,
locale AS lang_locale,
imagesoverride AS lang_imagesoverride,
dateoverride AS lang_dateoverride,
timeoverride AS lang_timeoverride,
registereddateoverride AS lang_registereddateoverride,
calformat1override AS lang_calformat1override,
calformat2override AS lang_calformat2override,
logdateoverride AS lang_logdateoverride,
decimalsep AS lang_decimalsep,
thousandsep AS lang_thousandsep
FROM language
WHERE languageid = 1;

MySQL Error : MySQL server has gone away
Error Number : 2006









Database error in vBulletin 4.1.2:

Invalid SQL:

SELECT *
FROM session
WHERE sessionhash = 'b714f430a292bab8b41553195d521bdc'
AND lastactivity > 1318319623
AND idhash = 'dbe22eb58f0873476a36bcea0ad97a30';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Tuesday, October 11th 2011 @ 03:08:43 AM
Error Date : Tuesday, October 11th 2011 @ 03:09:02 AM
Script : http://www.forum.kiran-e-sehar.com/s...ad.php?t=12188
Referrer : http://www.forum.kiran-e-sehar.com/s...?searchid=1098
IP Address : ***********
Username :
Classname : vB_Database
MySQL Version :
Reply With Quote
  #4  
Old 10-12-2011, 08:53 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
MySQL Error : MySQL server has gone away
You will have to ask your host about this. (You can search about the error to see what causes it.)
Reply With Quote
  #5  
Old 10-12-2011, 09:34 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kiran-E-Sehar View Post
having data base error and also the giving error is showing when i go for add new forum...


Warning
: asort() expects parameter 1 to be array, null given in [path]/admincp/forum.php(240) : eval()'d code on line 20

Warning: Invalid argument supplied for foreach() in [path]/admincp/forum.php(240) : eval()'d code on line 21


any body ?
these errors are from a custom plugin
Reply With Quote
  #6  
Old 10-13-2011, 08:06 AM
Kiran-E-Sehar Kiran-E-Sehar is offline
 
Join Date: Jan 2011
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
these errors are from a custom plugin
how to know which plugin is?
Reply With Quote
  #7  
Old 10-14-2011, 06:50 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're on a shared server, "My SQL Server has gone away" is a very common error, especially since the latest PHP upgrades. I just ignore mine; vb apparently just keeps trying until it works so it doesn't matter.

Of course, if you're actually having some problems then you can't ignore it. But you should describe the problems, not the error.
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:41 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.03788 seconds
  • Memory Usage 2,221KB
  • 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
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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