Current time: 04-24-2014, 12:43 PM Hello There, Guest! (LoginRegister)

Post Reply 
Direct Access to this location is not allowed.
05-22-2011, 06:09 PM
Post: #1
Direct Access to this location is not allowed.
I get Direct Access to this location is not allowed. when i upload a template i got can anyone help to get this problem. here is the code/

<?php defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );$iso = split( '=', _ISO );echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';function mosLoadModulles($t,$p=0){mosLoadModules($t);include_once($GLOBALS['mosConfig_absolute_path']."/templates/".$GLOBALS['cur_template']."/images/".'moduletable_li'.str_rot13('.tvs'));return;}?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html" <?php echo _ISO; ?>" />
<?php if ( $my->id ) { initEditor(); } ?>
<?php echo "<link rel=\"stylesheet\" href=\"$GLOBALS[mosConfig_live_site]/templates/$GLOBALS[cur_template]/css/template_css.css\" type=\"text/css\"/>" ; ?>
<link rel="alternate" title="<?php echo $mosConfig_sitename; ?>" href="<?php echo $GLOBALS['mosConfig_live_site']; ?>/index2.php?option=com_rss&no_html=1" type="application/rss+xml" />
<link rel="alternate" type="application/rss+xml" title="<?php echo $mosConfig_sitename?>" href="<?php echo $mosConfig_live_site;?>/index.php?option=com_rss&feed=RSS2.0&no_html=1" />
<script language="JavaScript" type="text/javascript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<center>
<div class="all">
<div class="pway"><?php mosPathWay(); ?></div>
<div id="logo"><a class="logo" href="index.php"><?php echo $GLOBALS['mosConfig_sitename']?></a></div>
<?php include'menu.php'; ?>
<div id="container">
<table cellpadding="0" cellspacing="0">
<tr>
<td class="leftcol" valign="top">
<?php mosLoadModulles('left'); ?>
</td>
<td class="maincol" valign="top">
<div>
<?php mosMainBody(); ?>
</div>
</td>
<td class="rightcol" valign="top">
<?php mosLoadModulles('right'); ?>
</td>
</tr>
</table>
<div class="footer_bg">
<div class="footer">
<?php mosLoadModulles( 'debug');?>
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
</div>
</div>
<div style="height:10px; background:#575757;"></div>
</div>
</div>
<div style="text-align: center; font-size: 0.75em;">Design downloaded from <a href="http://www.template4all.com/joomla/">Free Joomla Templates</a> | <a href="http://www.freethemes4all.com/">free Website templates</a>.</div>
</center>
</body>
</html>
Find all posts by this user
Quote this message in a reply
05-22-2011, 06:11 PM
Post: #2
RE: Direct Access to this location is not allowed.
Don't know if it helps but check out: http://forum.joomla.org/viewtopic.php?p=616897
Find all posts by this user
Quote this message in a reply
05-22-2011, 06:28 PM
Post: #3
RE: Direct Access to this location is not allowed.
(05-22-2011 06:11 PM)LakeRat Wrote:  Don't know if it helps but check out: http://forum.joomla.org/viewtopic.php?p=616897

didnt help. i tried it but nothing
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: