The Joomla! Forum ™






Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Apr 28, 2011 9:40 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Apr 06, 2011 11:03 am
Posts: 2
Hi,
I'm in deep trouble and unable to understand that what happens wrong.
site url: http://www.gsponlines.com
Yesterday, It was working fine. I've really checked it and didn't change or edit anything.
But from today "GETTING THIS MESSAGE" -

Parse error: syntax error, unexpected '<' in /home/gsponlin/public_html/index.php on line 89
I promise i didn't edit anything. What could be the reason?
Here is my template's code - Is something wrong in it? Thanks in advance if somebody have any clue or fix..THANX A LOT

<?php
/**
* @copyright Copyright (C) 2011 - 2012 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

defined('_JEXEC') or die('Restricted access');

$url = clone(JURI::getInstance());
$showRightColumn = $this->countModules('user1 or user2 or right or top');
$showRightColumn &= JRequest::getCmd('layout') != 'form';
$showRightColumn &= JRequest::getCmd('task') != 'edit'
?>
<?php echo '<?xml version="1.0" encoding="utf-8"?'.'>'; ?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/position.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/layout.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/print.css" type="text/css" media="Print" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/general.css" type="text/css" />
<?php if($this->direction == 'rtl') : ?>
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/template_rtl.css" type="text/css" />
<?php endif; ?>
<!--[if lte IE 6]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/ieonly.css" rel="stylesheet" type="text/css" />
<![endif]-->
<!--[if IE 7]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/css/ie7only.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/javascript/md_stylechanger.js"></script>
</head>
<body>
<div id="all">
<div id="header">
<br><br>
<table width=100% border="0" >
<tr>
<td width=35%>

<h1 id="logo">
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template;?>/images/logo.gif" border="0" alt="<?php echo JText::_('GspOnlines.com, Gurdaspur Online Business Directory'); ?>" width="300" height="97" />
<span class="header1"><?php echo JText::_('Grow More & Become Global With Us!'); ?></span>
</h1>
</td>
<td width=65%>

<embed src="welcomeban.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" allowscriptaccess="always" wmode="transparent" align="middle" width="450" height="135"></embed>
</td.
</tr>
</table>

<ul>
<li><a href="#content" class="u2"><?php echo JText::_('Skip to Content'); ?></a></li>
<li><a href="#mainmenu" class="u2"><?php echo JText::_('Jump to Main Navigation and Login'); ?></a></li>
<li><a href="#additional" class="u2"><?php echo JText::_('Jump to additional Information'); ?></a></li>
</ul>

<h2 class="unseen">
<?php echo JText::_('Search, View and Navigation'); ?>
</h2>

<div id="fontsize">
<script type="text/javascript">
//<![CDATA[
document.write('<h3><?php echo JText::_('FONTSIZE'); ?></h3><p class="fontsize">');
document.write('<a href="index.php" title="<?php echo JText::_('Increase size'); ?>" onclick="changeFontSize(2); return false;" class="larger"><?php echo JText::_('bigger'); ?></a><span class="unseen">&nbsp;</span>');
document.write('<a href="index.php" title="<?php echo JText::_('Decrease size'); ?>" onclick="changeFontSize(-2); return false;" class="smaller"><?php echo JText::_('smaller'); ?></a><span class="unseen">&nbsp;</span>');
document.write('<a href="index.php" title="<?php echo JText::_('Revert styles to default'); ?>" onclick="revertStyles(); return false;" class="reset"><?php echo JText::_('reset'); ?></a></p>');
//]]>
</script>
</div>

<jdoc:include type="modules" name="user3" />
<jdoc:include type="modules" name="user4" />

<div id="breadcrumbs">
<p>
<?php echo JText::_('You are here'); ?>
<jdoc:include type="modules" name="breadcrumb" />
</p>
</div>

<div class="wrap">&nbsp;</div>
</div><!-- end header -->

<div id="<?php echo $showRightColumn ? 'contentarea2' : 'contentarea'; ?>">
<a name="mainmenu"></a>
<div id="left">
<jdoc:include type="modules" name="left" style="beezDivision" headerLevel="3" />
</div><!-- left -->

<a name="content"></a>
<div id="wrapper">
<div id="<?php echo $showRightColumn ? 'main2' : 'main'; ?>">
<?php if ($this->getBuffer('message')) : ?>
<div class="error">
<h2>
<?php echo JText::_('Message'); ?>
</h2>
<jdoc:include type="message" />
</div>
<?php endif; ?>

<jdoc:include type="component" />
</div><!-- end main or main2 -->

<?php if ($showRightColumn) : ?>
<div id="right">

<a name="additional"></a>
<h2 class="unseen">
<?php echo JText::_('Additional Information'); ?>
</h2>

<jdoc:include type="modules" name="top" style="beezDivision" headerLevel="3" />
<jdoc:include type="modules" name="user1" style="beezDivision" headerLevel="3" />
<jdoc:include type="modules" name="user2" style="beezDivision" headerLevel="3" />
<jdoc:include type="modules" name="right" style="beezDivision" headerLevel="3" />

</div><!-- right -->
<?php endif; ?>

<div class="wrap"></div>
</div><!-- wrapper -->
</div><!-- contentarea -->

<div id="footer">
<p class="syndicate">
<jdoc:include type="modules" name="syndicate" />
</p>

<p>
<?php echo JText::_('Developed by');?> <a href="http://www.gsponlines.com/">Amit Singh!</a>
</p>

<div class="wrap"></div>
</div><!-- footer -->
</div><!-- all -->

<jdoc:include type="modules" name="debug" />

</body>
</html>


Top
 Profile  
 
PostPosted: Thu Apr 28, 2011 9:49 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
Line 81 is
Code:
<jdoc:include type="modules" name="user3" />

So 8 lines into the first module displayed in that position could be the problem.

Try disabling the module and see what happens ?

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group