[MYSQL] Installing Vbcommerce - Database loss

kazimhussain

New Member
A admin of my site was trying to install vb commerce but the thing that happens is the 2 tables of database got clear, i.e language and phrase :S
I am up with language did it any how from default vb database on localhost. But when ever i'm trying to import Phrase table the script times out Always [ALWAYS!] any way ?? even everything is there just language was empty[which is now filled by me] and phrase thing.. n when i open my site :) it gives me
This is what appears on opening page
Warning: Invalid argument supplied for foreach() in [path]/includes/class_core.php on line 3025
Database Error Database error
The c0deblack - Darkness database has encountered a problem.
Please try the following:

* Load the page again by clicking the Refresh button in your web browser.
* Open the c0deblack - Darkness Database Error home page, then try to open another page.
* Click the Back button to try another link.

The c0deblack - Darkness Database Error forum technical staff have been notified of the error, though you may contact them if the problem persists.

We apologise for any inconvenience.

and this is what its source says
<br /><strong>Warning</strong>: Invalid argument supplied for foreach() in <strong>[path]/includes/class_core.php</strong> on line <strong>3025</strong><br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>c0deblack - Darkness Database Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="ROBOTS" content="NOINDEX,NOFOLLOW,NOARCHIVE" />
<style type="text/css">
<!--
body { background-color: white; color: black; }
#container { width: 400px; }
#message { width: 400px; color: black; background-color: #FFFFCC; }
#bodytitle { font: 13pt/15pt verdana, arial, sans-serif; height: 35px; vertical-align: top; }
.bodytext { font: 8pt/11pt verdana, arial, sans-serif; }
a:link { font: 8pt/11pt verdana, arial, sans-serif; color: red; }
a:visited { font: 8pt/11pt verdana, arial, sans-serif; color: #4e4e4e; }
-->
</style>

</head>
<body>
<table cellpadding="3" cellspacing="5" id="container">
<tr>
<td><img src="http://www.c0deblack.com//image.php?type=dberror" alt="Database Error" width="48" height="48" /></td>
<td id="bodytitle" width="100%">Database error</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The c0deblack - Darkness database has encountered a problem.</td>
</tr>
<tr>
<td colspan="2"><hr /></td>

</tr>
<tr>
<td class="bodytext" colspan="2">
Please try the following:
<ul>
<li>Load the page again by clicking the <a href="#" onclick="window.location = window.location;">Refresh</a> button in your web browser.</li>
<li>Open the <a href="/">www.c0deblack.com</a> home page, then try to open another page.</li>

<li>Click the <a href="javascript:history.back(1)">Back</a> button to try another link.</li>
</ul>
</td>
</tr>
<tr>
<td class="bodytext" colspan="2">The c0deblack - Darkness Database Error forum technical staff have been notified of the error, though you may <a href="mailto:[email protected]">contact them</a> if the problem persists.</td>

</tr>
<tr>
<td class="bodytext" colspan="2">&nbsp;<br />We apologise for any inconvenience.</td>
</tr>
</table>


<!--
Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT text, languageid, special
FROM phrase AS phrase
LEFT JOIN phrasetype USING (fieldname)
WHERE phrase.fieldname = 'error'
AND varname = 'cant_set_cookies' AND languageid IN (-1, 0, 0);

MySQL Error : Table 'c0deblac_forum.phrase' doesn't exist
Error Number : 1146
Request Date : Saturday, March 14th 2009 @ 08:26:33 PM
Error Date : Saturday, March 14th 2009 @ 08:26:33 PM
Script : c0deblack - Darkness Database Error
Referrer :
IP Address : 116.71.83.87
Username :
Classname : vB_Database
MySQL Version :
-->


</body>
</html>
 

bluescorpion

New Member
how are you trying to import that table? It shouldn't normally time out but if the phrase table is more than the default 3 megs, you probably need to upload it with BigDump.
 
Top