Free as Freedom, not Free as Free Pizza!” />

-

Udruženje Informatičara BiH - Cross-platform and Portable Development With PHP, LAMP/WAMP development, AJAX and Javascript, ASP, dot NET, C sharp, C++, C, VB, Oracle, tutorials and tips...
Free as Freedom, not Free as Free Pizza!


 
Web http://www.uibih.co.nr

Add to Google

Wednesday, September 21, 2005

404 problem when clicking for viewing ticket on osTicket

For the problem on the forum of the osTicket on the thread 404?, here is the solution..:

1- On file admin.php replace line 712 with this:

echo('<script language="JavaScript" type="text/javascript"><!-- parent.window.location.href="'.$GLOBALS['conf']['modules']['osTicket']['url'].'admin.php?a=banlist"; --></script>');

2- On file admin.php replace line 743 with this:

echo('<script language="JavaScript" type="text/javascript"><!--
parent.window.location.href="'.$GLOBALS['conf']['modules']['osTicket']['url'].'admin.php?a=banlist";
--></script>');

3- On file admin.php replace line 791 with this:

echo('<script language="JavaScript" type="text/javascript"><!--
parent.window.location.href="'.$GLOBALS['conf']['modules']['osTicket']['url'].'admin.php?a=banlist";
--></script>');

4- On file admin.php replace line 799 with this:

echo('<script language="JavaScript" type="text/javascript"><!--
parent.window.location.href="'.$GLOBALS['conf']['modules']['osTicket']['url'].'admin.php?a=banlist";
--></script>');

5- On file admin.php replace line 817 with this:

echo('<script language="JavaScript" type="text/javascript"><!--
parent.window.location.href="'.$GLOBALS['conf']['modules']['osTicket']['url'].'admin.php?a=banlist";
--></script>');

6- On file admin.php replace line 841 with this:

echo('<script language="JavaScript" type="text/javascript"><!--
parent.window.location.href="'.$GLOBALS['conf']['modules']['osTicket']['url'].'admin.php?a=banlist";
--></script>');

7- On file admin.php replace line 874 with this:

echo('<script language="JavaScript" type="text/javascript"><!--
parent.window.location.href="'.$GLOBALS['conf']['modules']['osTicket']['url'].'admin.php?a=banlist";
--></script>');

8- On file hcl/config.php replace line 47 with this:

$GLOBALS['conf']['modules']['osTicket']['conf'] = '/modules/osTicket/admin.php?a=pref';

9- On file include/header.php replace line 105 with this:

<td><a class="barTxt" href="<?php echo($GLOBALS['conf']['modules']['osTicket']['url']); ?><?=$page?>?a=logout"><img src="<?php echo($GLOBALS['conf']['modules']['osTicket']['realurl']);
?>images/arrow.gif" border="0"></a></td>

10- On file include/header.php replace line 106 with this:

<td><a class="barTxt" href="<?php
echo($GLOBALS['conf']['modules']['osTicket']['url']);
?><?=$page?>?a=logout">Logout</a><?}?></td></tr>

11- On file include/main.php replace line 90 with this:

<td align="center"><a href="<?php
echo($GLOBALS['conf']['modules']['osTicket']['url']);
?><?=$page?>?a=view&id=<?=$eval->id?>"><?=$eval->id?></a></td>

12- On file include/main.php replace line 92 with this:

<td> <a href="<?php
echo($GLOBALS['conf']['modules']['osTicket']['url']);
?><?=$page?>?a=view&id=<?=$eval->id?>"><?=$eval->subject?></a></td>

13- On file include/main.php replace line 175 with this:

<td align="center"><a href="<?php
echo($GLOBALS['conf']['modules']['osTicket']['selfurl']);
?>?a=view&id=<?=$um[$i]->id?>"><?=$um[$i]->id?></a></td>

14- On file include/main.php replace line 177 with this:

<td> <a href="<?php
echo($GLOBALS['conf']['modules']['osTicket']['selfurl']);
?>?a=view&id=<?=$um[$i]->id?>"><?=$um[$i]->subject?></a></td>

15- On file include/search.php replace line 178 with this:

<td align="center"><a href="<?php
echo($GLOBALS['conf']['modules']['osTicket']['url']);
?><?=$page?>?a=view&id=<?=$eval->id?>"><?=$eval->id?></a></td>

Best viewed in Firefox

Our blog is best viewed in Firefox, so we are putting this code here:

Get Firefox!
###########################################
<a href="http://spreadfirefox.com/community/?q=affiliates&amp;id=138542&amp;t=75"><img alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/120x60/trust.gif" border="0" /></a>
###########################################

Use it free if you want to promote Firefox...