Webmastersite.net
Register Log In

Parse error in template

Comments on Parse error in template

avidstoryteller
Beginner

Usergroup: Customer
Joined: Oct 10, 2005
Location: Moncton, New Brunswick, Canada

Total Topics: 5
Total Comments: 6
Posted Oct 30, 2008 - 9:46 PM:

I am getting a error message when I go to the Guestbook page. The message is as follows:


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/multilingual/homesubwrapper.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 217 of the output.Line #212: <input type="hidden" name="usernoteon" value="1" />
Line #213: <input type="submit" value="Submit" class="button" />
Line #214: </form>
Line #215: <?php } else { ?>
Line #216: <?php echo str_replace('{PLACEHOLDER}', 'to post', 'Sorry, you don't have permission {PLACEHOLDER}. <?php if (0) { ?><a href="http://www.mysite.com/links/index.php?action=userlogin">Log in</a>, or <a href="http://www. mysite.com/links/register.php">register</a> if you haven't yet.<?php } ?>'); ?>
Line #217: <?php } ?>


In addition two buttons display the following:{LANG_TITLE_MYTHREADS} {LANG_TITLE_WATCHLIST}

I am not spotting the lines in either the "Member Home Subwrapper" or "Guestbook" templates.

Any idea where else I should look?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 31, 2008 - 2:20 PM:

Fixed for next release.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.