TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,972
  • Latest: Lineo
Stats
  • Total Posts: 196,144
  • Total Topics: 21,346
  • Online today: 633
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 270
  • Total: 270

Template Parse Error

Started by OIDanTheManIO, October 19, 2005, 04:14:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

OIDanTheManIO

Bloc, when manually installing your mod, I get a template parse error when loading index.template.php.  It's not telling me exactly where to look so I'm pretty much clueless.  Care to help me out with this please?

IchBin

Make sure you really pay attention when manually editing code. You had about 4 mistakes. You even had a </add after> left over. :)

Careful not to break an echo statement too. Echo works like this:

echo 'everything_goes_in_here_and_ends_like_this';  There was a couple of places where you entered the code right in the middle of an echo statement and didn't fix it. If you use a php editor that showes colors it really makes it easy to find your mistakes. I didn't go over this file with a fine tooth comb, so if it doesn't work let me know.

OIDanTheManIO

Quote from: IchBinâââ,¬Å¾Ã,¢ on October 19, 2005, 05:53:40 AM
Make sure you really pay attention when manually editing code. You had about 4 mistakes. You even had a </add after> left over. :)

Careful not to break an echo statement too. Echo works like this:

echo 'everything_goes_in_here_and_ends_like_this';  There was a couple of places where you entered the code right in the middle of an echo statement and didn't fix it. If you use a php editor that showes colors it really makes it easy to find your mistakes. I didn't go over this file with a fine tooth comb, so if it doesn't work let me know.

Man I feel like such a noob :P.  Now I'm getting this parse error though:

Quoteparse error, unexpected '}'

Ray

Quoteparse error, unexpected '}'

you will find that on one line by itself -- just remove it

IchBin

It should give you the line number about where its at too.

bloc

Hey, you guys are getting really good at this!  ;D

IchBin


Ray


IchBin

Ray, you just ruined my trade secrets.... :P

OIDanTheManIO


This website is proudly hosted on Crocweb Cloud Website Hosting.