Quote:
Originally Posted by DJHicks
Bump: BUMP!!! ****
I'm guessing i have to edit this piece of code but not being a php buff i'm unsure what to do so will try a few things but any pointers greatly appriciated! lol
PHP Code:
# Function redirect v.0.7
function redirect($url, $message='', $title='', $wait=3, $usephp=false, $withbaseurl=true)
{
global $SITENAME,$BASEURL,$lang;
if (empty($message))
$message = $lang->global['redirect'];
if(empty($title))
$title = $SITENAME;
$url = fix_url($url);
if ($withbaseurl)
$url = $BASEURL.(substr($url, 0, 1) == '/' ? '' : '/').$url;
if ($usephp)
{
@header ('Location: '.$url);
exit;
}
$defaulttemplate = ts_template();
ob_start();
?>
|
Yeah, because you should use TS SE on the root of a domain or root of a subdomain, you will see that issue with the redirect function if your install is in a folder (for example yourdomain.com/tracker)
Bump: I don't know why my reply didn't post
but the error is because you need to install at the root of a domain or subdomain for example, you can't use TS SE in a folder for example at yourdomain.com/tsse