Page 1 of 1

Error posting and reading posts

PostPosted: Mon Oct 23, 2006 8:38 am
Author: amyfrost
I'm getting this error when posting or trying to read a post. I've already posted this before but didn't get anywhere. Can anyone help?

Parse error: syntax error, unexpected $end in /home/miamimud/public_html/includes/template.php(938) : eval()'d code on line 605


Thanks!

Re: Error posting and reading posts

PostPosted: Mon Oct 23, 2006 4:48 pm
Author: Teelk
This is a template error. It can be very difficult to pinpoint the problem. You'll have to be certain on which page you see this error message. Then find it's .tpl file. For example, if you're getting the error message on the viewtopic.php page, its .tpl file would be viewtopic_body.tpl.

Then you'll need to look for switches, which look like this...
Code: Select all
<BEGIN>  and  <END>  
The xxxxxx represents the name of the switch. In most cases the reason you'll get the error message is because the BEGIN or END switch tags are case sensitive and must be upper case. Other times either one of the tags can be completely missing.

This can be a tough fix, but if you find which file is giving you the trouble, you can post it and I can take a look.