How to fix the SE-I Error With out deleting functions!!
PHP Code:
<?
$CU = (!empty ($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : (!empty ($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''));
$CU = str_replace (array ('http://www.', 'http://', 'www.'), '', $CU);
$orj_key = md5 ('' . 'ts_install|' . $CU . '|done_!4_3!_');
echo $orj_key;
?>
paste that into a php file on your server and run, it will give you a number which then u copy and paste that into "cache/systemcache.dat"
theres a scary looking file in misc/ts_message.php when u break it down all it is doing is combining images and text into a new image for your siteoffline
Broken down version:
PHP Code:
<?php
define('aImaGe','v.0.2');
$site=strtoupper(htmlspecialchars($_SERVER['HTTP_HOST']));
$offline=IMageCreatefromPNG('offline.png');
$y=ImageSx($offline);
$x=ImageSy($offline);
$y1=ImageCreateTrueColor($y,$x);
ImageCopyReSampled($y1,$offline,00,00,00,00,$y,$x,$y,$x);
$y2=ImageColorAllocate($y1,555,555,555);
ImageString($y1,5,250,5,$site,$y2);
header('Content-Type: image/jpeg');
ImageJPEG($y1);
?>
in announce.php there is a weird string im not sure if it supposed to be in there or not but i will warn you of this just incase
PHP Code:
if (($passkey AND $passkey == 'tssespecialtorrentv1byxamsep2007'))
{
err ($l['registerfirst'] . $BASEURL . '/signup.php');
}
thats it for now, i have dexam'd 99% of ts removing all of the "by xam" and "Powered by Templateshares" (bullshit! more like Powered by TBDev) might release it if yous want it but im sure u can all do it your selfs too!