Thread: Chat Modifications - Dion Dev Shoutbox v2.1 (AJAX)
View Single Post
  #161  
Old 10-10-2010, 04:45 AM
nbaphenom nbaphenom is offline
 
Join Date: May 2007
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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]">&nbsp;</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]">&nbsp;</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
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01093 seconds
  • Memory Usage 1,803KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete