View Single Post
  #9  
Old 12th May 2008, 08:01
Fynnon's Avatar
Fynnon Fynnon is offline
xxx
 
Join Date: Nov 2007
P2P
Posts: 984
Default Re: TS SE v4.3 Nulled
@djlee - That trick didn`t work for me
I didn`t had the time to search this source, i looked only in the file where the error
Code:
Script Error! (SE-I). TS SE is not installed correctly.
comes from: ts_error.php:

Code:
<?php
/*
+--------------------------------------------------------------------------
|   TS Special Edition v.4.3
|   ========================================
|   by xam
|   (c) 2005 - 2007 Template Shares Services
|   http://templateshares.net
|   ========================================
|   Web: http://templateshares.net
|   Time: April 23, 2008, 7:23 am
|   Signature Key: TSSE00282008
|   Email: contact@templateshares.net
|   TS SE IS NOT FREE SOFTWARE!
+---------------------------------------------------------------------------
*/
define('TSE_VERSION','0.1 by xam');

$errorid = isset($_GET['errorid']) ? intval($_GET['errorid']) : (defined('errorid') ? intval(errorid) : 0);

$errormessages = array
	(
		0	=>	 'An unknown error has occured, please contact us.',
		1	=> 'Request tainting attempted!',
		2	=> 'In order to accept POST request originating from this domain, the admin must add this domain to the whitelist.',
		3	=>	 'Missing or Corrupted language file!',
		4	=>	 'Hacking attempt!',
		5	=>	 'MySQL Error!',
		6	=>	 'The server is too busy at the moment. Please try again later.',
		7	=>	 'Prefetching is not allowed due to the various privacy issues that arise.',
		8	=>	 'Script Error! (SE-I). TS SE is not installed correctly.',
		9	=>	 'Your account has either been suspended or you have been banned from accessing this tracker.!',
		400	 => '400 Bad request -- This means that a request for a URL has been made but the server is not configured or capable of responding to it. This might be the case for URLs that are handed-off to a servlet engine where no default document or servlet is configured, or the HTTP request method is not implemented.',
		401	=>	 '401 Authorization Required -- "Authorization is required to view this page. You have not provided valid username/password information." This means that the required username and/or password was not properly entered to access a password protected page or area of the web site space.',
		403	=>	 '403 Forbidden -- "You are not allowed to access this page." (This error refers to pages that the server is finding, ie. they do exist, but the permissions on the file are not sufficient to allow the webserver to "serve" the page to any end user with or without a password.)',
		404	=>	 '404 Page Not Found -- "The requested URL could not be found on this site." This means the page as it was entered in the URL does not exist on the server. This is usually caused by someone incorrectly typing the URL, or by the web master renaming or moving an existing page to a different directory.',
		500	=>	 '500 Internal Server Error -- "The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator and inform them of the time the error occurred, and anything you might have done to produce this error."',
	);

if (!empty($errormessages[$errorid]))
{
	show__error($errormessages[$errorid]);
}
else
{
	show__error('An unknown error has occured, please contact us.');
}

function show__error($errormessage, $title='An error has occured!', $errortitle='An error has occured!')
{
	global $rootpath;
	$imagepath = '/pic/ts_error/';
	echo '
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
	<html>
		<head>
			<title>'.$title.' => IP: '.htmlspecialchars($_SERVER['REMOTE_ADDR']).' --- Date: '.date("F j, Y, g:i a").' -- URL: '.htmlspecialchars($_SERVER['REQUEST_URI']).' <=</title>
		</head>
		<body bgcolor="White" text="Black">
			<table cellspacing="0" cellpadding="0" width="100%" height="100%" border="0">
				<tr>
					<td align="center" valign="middle">
						<table  border="0" cellspacing="0" cellpadding="0">
							<tr>
							<td rowspan="5" valign="top">[img]'.$imagepath.'error.jpg[/img]</td>
							<td  colspan="4">[img]'.$imagepath.'mrblue.gif[/img]</td>
							<td>[img]'.$imagepath.'undercover.gif[/img]</td>
							</tr>
							<tr>
								<td rowspan="4" valign="bottom">[img]'.$imagepath.'ecke.gif[/img]</td>		
								<td valign="middle" align="center"  rowspan="2">
									<table cellspacing="1" cellpadding="0" width=470 border="0">
										<tr>
											<td><font face="Verdana, Helvetica, sans-serif" size="5" color="Red">'.$errortitle.'</font>
[img]'.$imagepath.'undercover.gif[/img]
</td>
										</tr>
										<tr>
											<td><font face="Verdana, Helvetica, sans-serif" size="2" color="Black">'.$errormessage.'</font>

</td>
										</tr>
									</table>
								</td>
								<td rowspan="2" width=2 align=right>[img]'.$imagepath.'mrblue.gif[/img]</td>
								<td>[img]'.$imagepath.'undercover.gif[/img]</td>
							</tr>
							<tr>
								<td>[img]'.$imagepath.'undercover.gif[/img]</td>
							</tr>
							<tr>
								<td colspan="2">[img]'.$imagepath.'mrblue.gif[/img]</td>
								<td>[img]'.$imagepath.'undercover.gif[/img]</td>
							</tr>
							<tr>
								<td colspan="2">[img]'.$imagepath.'undercover.gif[/img]</td>
								<td>[img]'.$imagepath.'undercover.gif[/img]</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</body>
	</html>
	';
}
die();
?>
Reply With Quote