nbaphenom |
10-10-2010 04:45 AM |
Hey guys, I installed this and it worked for a few days - loved it.
Anywho unfortunately the site got shutdown because of an error and here's the log:
Code:
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Access denied for user 'website'@'localhost' (using password: YES)
/includes/class_core.php on line 311
MySQL Error :
Error Number :
Request Date : Saturday, October 9th 2010 @ 05:15:37 PM
Error Date : Saturday, October 9th 2010 @ 05:15:37 PM
Script : http://2khoops.net/forums/shoutbox/shoutcache.php
Referrer : http://2khoops.net/forums/shoutbox/shoutdiv.php
IP Address : 67.11.178.214
Username :
Classname : vB_Database
MySQL Version :
And then here's the code:
Code:
$template_hook[credits_pos1]
<if condition="$show['donate']">
<form action="credits.php?do=donate" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="donate" />
<a name="donate"></a>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[donate] <span class="smallfont"><if condition="$show['anon']"> <input type="checkbox" name="anonymous" value="1" />$vbphrase[anonymous]</if></span></td>
</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td width="20%" valign="top" nowrap="nowrap">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[recipient]</strong><br /></div>
<div id="userfield">
<input type="text" class="bginput" name="recipient" id="userfield_txt" size="12" value="$username[username]" autocomplete="off" />
</div>
<div id="userfield_menu" class="vbmenu_popup" style="display:none"></div>
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vbmenu_register('userfield', true);
snc = new vB_AJAX_NameSuggest('snc', 'userfield_txt', 'userfield');
//-->
</script>
</td>
<td width="3%" rowspan="2" style="border-$stylevar[left]:1px solid $stylevar[tborder_bgcolor]"> </td>
<td width="49%" valign="top" rowspan="2">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[comment]</strong></div>
<input type="text" class="bginput" name="comment" size="35" maxlength="255" />
</td>
<td width="3%" rowspan="2" style="border-$stylevar[left]:1px solid $stylevar[tborder_bgcolor]"> </td>
<td width="25%" valign="top" rowspan="2">
<div style="margin-bottom:$stylevar[formspacer]px"><strong>$vbphrase[amount]</strong><if condition="$donatefee"> <if condition="$vbulletin->options['credits_feetype'] == 'neg'">-<else />+</if>$donatefee% $vbphrase[fee]</if></div>
<input type="text" class="bginput" name="amount" value="0" size="6" /> <input type="submit" class="bginput" value="$vbphrase[donate]" style="font-weight:normal" />
</td>
</tr>
</table>
</div>
</div>
</td>
</tr>
</table>
</form>
<br />
</if>
$template_hook[credits_pos2]
<if condition="$show['lottery']">
<form action="credits.php?do=lottery" method="post">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="lottery" />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('credits_lottery')"><img id="collapseimg_credits_lottery" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_credits_lottery].gif" alt="" border="0" /></a>
$vbphrase[drawings]
</td>
</tr>
</thead>
<tbody id="collapseobj_credits_lottery" style="$vbcollapse[collapseobj_credits_lottery]">
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div align="$stylevar[left]">
$lotterybits
<div class="fieldset" style="margin:0px; padding:$stylevar[formspacer]px">
<phrase 1="$maxrange" 2="$maxtickets" 3="$wintax">$vbphrase[credits_lotteryinfo]</phrase>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</form>
<br />
</if>
$template_hook[credits_pos3]
<if condition="$show['topx']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="4">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('credits_top')"><img id="collapseimg_credits_top" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_credits_top].gif" alt="" border="0" /></a>
$vbphrase[credits_topholders]
</td>
</tr>
<tr align="center">
<td class="thead" width="25%">$vbphrase[username]</td>
<td class="thead" width="25%">$vbphrase[contact]</td>
<td class="thead" width="25%">$vbphrase[join_date]</td>
<td class="thead" width="25%">$vbphrase[credits]</td>
</tr>
<thead>
<tbody id="collapseobj_credits_top" style="$vbcollapse[collapseobj_credits_top]">
$topentries
</tbody>
</table>
<br />
</if>
$template_hook[credits_pos4]
I love this shoutbox and would really appreciate it if someone would be kind enough to help me identify a fix for it :(
|