View Full Version : having database error
Kiran-E-Sehar
10-12-2011, 07:01 PM
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 ?
borbole
10-12-2011, 07:17 PM
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?
Kiran-E-Sehar
10-12-2011, 07:36 PM
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/showthread.php?t=12188
Referrer : http://www.forum.kiran-e-sehar.com/search.php?searchid=1098
IP Address : ***********
Username :
Classname : vB_Database
MySQL Version :
borbole
10-12-2011, 08:53 PM
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.)
ForceHSS
10-12-2011, 09:34 PM
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
Kiran-E-Sehar
10-13-2011, 08:06 AM
these errors are from a custom plugin
how to know which plugin is?
Videx
10-14-2011, 06:50 PM
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.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.