Webmastersite.net
Register Log In

Parsing error
Template error during parsing

Comments on Parsing error

alvin
Beginner

Usergroup: Customer
Joined: Aug 25, 2003

Total Topics: 1
Total Comments: 3
alvin
Posted Sep 04, 2005 - 3:38 PM:

Had the following error below when accessing Settings > General after upgrading from 3.1.6 to 3.2.5. Tried going thru all the templates but could not figure it out. Can anyone help?

Thanks,
Alvin.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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/admin/appear.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 225 of the output.
This is what the problematic area of the template looks like during parsing:
Line #220: <input type="text" name="standardtable" size="30" value="cellspacing="6" cellpadding="6"">
Line #221:
Line #222: <br><br><span class="labels">Standard size for input boxes:</span><br>Number of characters, as should appear in the size term of HTML input tags.<br> <input type="text" name="standardsize" size="3" value="30">
Line #223:
Line #224: <?php if ("templates" == "templates"/default) { ?>
Line #225: <br><br>

[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 225 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:
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 05, 2005 - 6:18 AM:

This seems to have to do with the template set selected in your profile... it says you're using /templates/ which doesn't make any sense since the template sets are always subdirectories of /templates/. Try editing your profile and just reselecting your template set and submitting.
alvin
Beginner

Usergroup: Customer
Joined: Aug 25, 2003

Total Topics: 1
Total Comments: 3
alvin
Posted Sep 05, 2005 - 9:17 AM:

Thanks Paul. Resubmitted the default template and the problems solved.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.