Webmastersite.net
Register Log In

Error on comments page

Title Error on comments page
Message Text Hi, I get the following errors on my comments page after upgrade. I don't know if it;s as I haven't done the manual updates yet after the auto upgrade but thought I should mention it in case: If you are not the administrator of this site, please report this page to the administrator. If you are the administrator, please pay careful attention: You have a parse error in your template templates/default/viewcomments.tpl (or perhaps in your header or footer) which you need to repair before this page can be displayed correctly. The error is picked up on by php at line 444 of the output.Line #439: <?php } else { ?> Line #440: <?php if (0) { ?> Line #441: <p>This thread is closed, so you cannot post a reply.</p> Line #442: <?php } else { ?> Line #443: <p><?php echo str_replace('{PLACEHOLDER}', 'to post', 'Sorry, you don't have permission {PLACEHOLDER}. <?php if (0) { ?><a href="http://www.accommodation-uk.net/index.php?action=userlogin">Log in</a>, or <a href="http://www.accommodation-uk.net/register.php">register</a> if you haven't yet.<?php } ?>'); ?></p> Line #444: <?php if (0 || 0) { ?> [Load this template in your template editor] Note that the line of the output is not necessarily the same line number in your template... just look for a similar looking area. The source of your error is probably not on line 444 itself, but most likely a line or two before it. Check your code carefully for syntax mistakes. If you cannot recognize one, copy and paste this output into a thread on the support forum. Now outputing the page without any conditional or php sections evaluated: <"text/javascript" src="http://www.accommodation-uk.net/templates/default/javascriptheader.js"> onload="load()" onunload="GUnload()"> on the above URL
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership Jez
Views 335 views. Averaging 0 views per day.
Similar Topics
Submission Date Apr 28, 2008 - 5:10 AM