View Single Post
  #99  
Old 06-13-2005, 07:40 PM
xfaethorx's Avatar
xfaethorx xfaethorx is offline
 
Join Date: May 2004
Posts: 138
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i made a really i made a quick change to the code that checks to make sure its a valid donation link and not just 'donations' (just changed it to USD if it found donations in the link dunno if that will cause major problems later on but i can always revert the code back) any the hack continued to install. but i hit ANOTHER database error, remembering that i've run the uninstaller everytime its failed and it never got this far i get this error now.

Invalid SQL: INSERT INTO template VALUES (NULL, '-1', 'DONATIONS', '$stylevar[htmldoctype]
<html dir=\\\"$stylevar[textdirection]\\\" lang=\\\"$stylevar[languagecode]\\\">
<head>
<!-- no cache headers -->
<meta http-equiv=\\\"Pragma\\\" content=\\\"no-cache\\\" />
<meta http-equiv=\\\"Expires\\\" content=\\\"-1\\\" />
<meta http-equiv=\\\"Cache-Control\\\" content=\\\"no-cache\\\" />
<!-- end no cache headers -->
<title>$vboptions[bbtitle] -- Donations</title>
$headinclude
</head>
<body>
$header
$navbar

<!-- main -->
<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">
<thead>
<tr align=\\\"center\\\">
<td class=\\\"tcat\\\" colspan=\\\"3\\\">$vbphrase[how_to_donate]</td>
</tr>
<tr align=\\\"center\\\">
<td class=\\\"thead\\\" colspan=\\\"3\\\">
<span class=\\\"smallfont\\\">$vbphrase[processor_paypal]</span>
</td>
</tr>
</thead>
<tbody>
<tr align=\\\"center\\\">
$donationbits
</tr>
<tr>
<td class=\\\"tfoot\\\" colspan=\\\"3\\\">&nbsp;</td>
</tr>
</tbody>
</table>
<br />
<table border=\\\"0\\\" width=\\\"100%\\\">
<tr valign=\\\"top\\\">
\" . (($vboptions[\'showdonators\'] ==1) ? (\"
<td>
<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">
<thead>
<tr align=\\\"center\\\">
<td class=\\\"tcat\\\" colspan=\\\"3\\\">$vbphrase[top_donators]</td>
</tr>
<tr align=\\\"center\\\">
<td class=\\\"thead\\\" colspan=\\\"3\\\">$vbphrase[sorted_by_total_donation]</td>
</tr>
</thead>
<tbody>
<tr align=\\\"center\\\">
$topdonatorbits
</tr>
<tr>
<td class=\\\"tfoot\\\" colspan=\\\"3\\\">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
\") : (\"\")).\"
<td>
\" . (($vboptions[\'showgoals\'] == 1) ? (\"
<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">
<thead>
<tr align=\\\"center\\\">
<td class=\\\"tcat\\\" colspan=\\\"2\\\">$vbphrase[our_donation_goals]</td>
</tr>
<tr align=\\\"center\\\">
<td class=\\\"thead\\\" colspan=\\\"2\\\">
$vbphrase[money_goes_towards_goals]<br />
\" . (($vboptions[\'showtotalcollected\'] == 1) ? (\"
\" . (($mc_total > 0) ? (\"
$vbphrase[we_have_collected] $$mc_total $vbphrase[since] $vboptions[donationstartdate]
\") : (\"
$vbphrase[we_have_not_collected]
\")).\"
\") : (\"\")).\"
</td>
</tr>
</thead>
<tbody>
<tr align=\\\"center\\\">
$donationgoalbits
</tr>
<tr>
<td class=\\\"tfoot\\\" colspan=\\\"2\\\">&nbsp;</td>
</tr>
</tbody>
</table>
<br />
\") : (\"\")).\"
<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">
<thead>
<tr align=\\\"center\\\">
<td class=\\\"tcat\\\">$vbphrase[your_donations_are_appreciated]</td>
</tr>
<tr align=\\\"center\\\">
<td class=\\\"thead\\\">$vbphrase[all_donations_go_towards_furthering_goals]</td>
</tr>
</thead>
<tbody>
<tr>
<td class=\\\"alt1\\\">
$vbphrase[donation_used_to_further_mission]
</td>
</tr>
\" . (($vboptions[\'501c3\'] == 1) ? (\"
<tr>
<td>
$vbphrase[non_profit]
<br />
$vbphrase[our_tax_id]
<br />
<center><strong>$vboptions[taxid]</strong></center>
</td>
</tr>
\") : (\"\")).\"
<tr>
<td class=\\\"tfoot\\\">&nbsp;</td>
</tr>
</tbody>
</table>
\" . (($vboptions[\'showverifiedseal\'] == 1) ? (\"
<br />
<table class=\\\"tborder\\\" cellpadding=\\\"$stylevar[cellpadding]\\\" cellspacing=\\\"$stylevar[cellspacing]\\\" border=\\\"0\\\" width=\\\"100%\\\" align=\\\"center\\\">
<thead>
<tr align=\\\"center\\\">
<td class=\\\"tcat\\\" colspan=\\\"3\\\">$vbphrase[paypal_verified]</td>
</tr>
</thead>
<tbody>
<tr align=\\\"center\\\">
<td class=\\\"alt1\\\" align=\\\"center\\\">
<a href=\\\"https://www.paypal.com/us/verified/pal=$vboptions[paypal_email]\\\" target=\\\"_blank\\\">
<img src=\\\"$stylevar[imgdir_misc]/paypal_verified.gif\\\" border=\\\"0\\\" alt=\\\"Official PayPal Seal\\\">
</a>
</td>
<td class=\\\"alt2\\\" align=\\\"center\\\" width=\\\"100%\\\">
$vbphrase[what_it_means_to_be_verified]
</td>
</tr>
<tr>
<td class=\\\"tfoot\\\" colspan=\\\"3\\\">&nbsp;</td>
</tr>
</tbody>
</table>
\") : (\"\")).\"
</td>
</tr>
</table>

<!-- /main -->

$footer
</body>
</html>', '$stylevar[htmldoctype]
<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">
<head>
<!-- no cache headers -->
<meta http-equiv=\"Pragma\" content=\"no-cache\" />
<meta http-equiv=\"Expires\" content=\"-1\" />
<meta http-equiv=\"Cache-Control\" content=\"no-cache\" />
<!-- end no cache headers -->
<title>$vboptions[bbtitle] -- Donations</title>
$headinclude
</head>
<body>
$header
$navbar

<!-- main -->
<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">
<thead>
<tr align=\"center\">
<td class=\"tcat\" colspan=\"3\">$vbphrase[how_to_donate]</td>
</tr>
<tr align=\"center\">
<td class=\"thead\" colspan=\"3\">
<span class=\"smallfont\">$vbphrase[processor_paypal]</span>
</td>
</tr>
</thead>
<tbody>
<tr align=\"center\">
$donationbits
</tr>
<tr>
<td class=\"tfoot\" colspan=\"3\">&nbsp;</td>
</tr>
</tbody>
</table>
<br />
<table border=\"0\" width=\"100%\">
<tr valign=\"top\">
<if condition=\"$vboptions[\'showdonators\'] ==1\">
<td>
<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">
<thead>
<tr align=\"center\">
<td class=\"tcat\" colspan=\"3\">$vbphrase[top_donators]</td>
</tr>
<tr align=\"center\">
<td class=\"thead\" colspan=\"3\">$vbphrase[sorted_by_total_donation]</td>
</tr>
</thead>
<tbody>
<tr align=\"center\">
$topdonatorbits
</tr>
<tr>
<td class=\"tfoot\" colspan=\"3\">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</if>
<td>
<if condition=\"$vboptions[\'showgoals\'] == 1\">
<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">
<thead>
<tr align=\"center\">
<td class=\"tcat\" colspan=\"2\">$vbphrase[our_donation_goals]</td>
</tr>
<tr align=\"center\">
<td class=\"thead\" colspan=\"2\">
$vbphrase[money_goes_towards_goals]<br />
<if condition=\"$vboptions[\'showtotalcollected\'] == 1\">
<if condition=\"$mc_total > 0\">
$vbphrase[we_have_collected] $$mc_total $vbphrase[since] $vboptions[donationstartdate]
<else />
$vbphrase[we_have_not_collected]
</if>
</if>
</td>
</tr>
</thead>
<tbody>
<tr align=\"center\">
$donationgoalbits
</tr>
<tr>
<td class=\"tfoot\" colspan=\"2\">&nbsp;</td>
</tr>
</tbody>
</table>
<br />
</if>
<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">
<thead>
<tr align=\"center\">
<td class=\"tcat\">$vbphrase[your_donations_are_appreciated]</td>
</tr>
<tr align=\"center\">
<td class=\"thead\">$vbphrase[all_donations_go_towards_furthering_goals]</td>
</tr>
</thead>
<tbody>
<tr>
<td class=\"alt1\">
$vbphrase[donation_used_to_further_mission]
</td>
</tr>
<if condition=\"$vboptions[\'501c3\'] == 1\">
<tr>
<td>
$vbphrase[non_profit]
<br />
$vbphrase[our_tax_id]
<br />
<center><strong>$vboptions[taxid]</strong></center>
</td>
</tr>
</if>
<tr>
<td class=\"tfoot\">&nbsp;</td>
</tr>
</tbody>
</table>
<if condition=\"$vboptions[\'showverifiedseal\'] == 1\">
<br />
<table class=\"tborder\" cellpadding=\"$stylevar[cellpadding]\" cellspacing=\"$stylevar[cellspacing]\" border=\"0\" width=\"100%\" align=\"center\">
<thead>
<tr align=\"center\">
<td class=\"tcat\" colspan=\"3\">$vbphrase[paypal_verified]</td>
</tr>
</thead>
<tbody>
<tr align=\"center\">
<td class=\"alt1\" align=\"center\">
<a href=\"https://www.paypal.com/us/verified/pal=$vboptions[paypal_email]\" target=\"_blank\">
<img src=\"$stylevar[imgdir_misc]/paypal_verified.gif\" border=\"0\" alt=\"Official PayPal Seal\">
</a>
</td>
<td class=\"alt2\" align=\"center\" width=\"100%\">
$vbphrase[what_it_means_to_be_verified]
</td>
</tr>
<tr>
<td class=\"tfoot\" colspan=\"3\">&nbsp;</td>
</tr>
</tbody>
</table>
</if>
</td>
</tr>
</table>

<!-- /main -->

$footer
</body>
</html>', 'template', '1118695264', 'Cloudrunner', '3.0.7')
mysql error: Duplicate entry '-1-0' for key 2

mysql error number: 1062
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01255 seconds
  • Memory Usage 1,821KB
  • 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
  • (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