Need Help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Bombadil
Forum Newbie
Posts: 2
Joined: Mon Jul 06, 2009 6:12 pm

Need Help

Post by Bombadil »

I am getting this error, but I don't have code on line 61. What am I missing?
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/www/princetonfreechurch.net/index.php on line 61




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
<meta name="verify-v1" content="ZrEgDjNMVHzNEPRvAKKtAIoyCr8C/JaSNQu2dUFfc0Q=" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>Welcome to PEFC!</TITLE>
<link href="styles/style.css" rel="stylesheet" type="text/css">
<!--[if IE]><link href="styles/ie.css" rel="stylesheet" type="text/css"><![endif]-->
<script type="text/javascript" src="scripts/tFader.js"></script>

</head>

<body>
<div id="wrapper" style="z-index:1">
<div id="logo"><a href="index.php"><img src="images/logo.jpg" alt="logo" width="350" height="126"></a></div>
<div id="topRight"><?php require($DOCUMENT_ROOT . "includes/header.php"); ?></div>
<div class="clear"></div>

<div id="banner">
<div id="randomBanner">
<script type="text/javascript" src="scripts/images.js"></script>
</div>
<div id="serviceTimes"><?php require($DOCUMENT_ROOT . "includes/services.php"); ?></div><!--END SERVICE TIMES-->
</div><!--END BANNER-->

<div class="clear"></div>

<div id="navBar"><?php require($DOCUMENT_ROOT . "includes/dropmenu.php"); ?></div>

<div class="clear"></div>

<div id="mainBg">
<div id="homeLeft">
<div id="welcome">
<div>Princeton Evangelical Free Church strives to SEEK & CELEBRATE God, SHARE Jesus' good news though action and word, with the princeton community and the world, and SERVE one another in life-change relationships.
<br>
</div>
</div><!--END WELCOME BANNER-->
<div class="clear"></div>

<div id="newcomers"><a href="newcomers.php"><img src="images/newcomer.jpg" alt="Newcomers Welcome!" width="220" height="157"></a></div>
<div id="calendar"><a href="events.php"><img src="images/events.jpg" alt="Events Calendar" width="225" height="157"></a></div>
<div id="connect"><a href="youth.php"><img src="images/connect.jpg" alt="Connect" width="225" height="157"></a></div>

</div><!--END LEFT CONTENT-->

<div id="rightColumn">
<?php require($DOCUMENT_ROOT . "includes/upcoming_events.php"); ?>
</div><!--END RIGHT COLUMN -->

</div><!--END MAIN BG-->

<div class="clear"></div>

<div id="footer"><?php require($DOCUMENT_ROOT . "includes/footer.php"); ?></div>

</div><!--END BODY WRAPPER-->
</body>
</html>
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Need Help

Post by jackpf »

I don't get any error on that.

I also just went to your site and I don't see any error.
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: Need Help

Post by Eric! »

What about the possible semantic error of "Evangelical Free Church"?
Bombadil
Forum Newbie
Posts: 2
Joined: Mon Jul 06, 2009 6:12 pm

Re: Need Help

Post by Bombadil »

Well thats the strange thing, I reload the page on the server and then it works fine, in a few days it will stop loading and kick out that error which is confusing because my code stops at line 59.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Need Help

Post by jackpf »

Lol
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Need Help

Post by jackpf »

Well, unless someone's editing your code without your knowing, I doubt that happens.

Maybe it was god :twisted:
Post Reply