Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: Bigguy - helmikuu 13, 2006, 09:40:34 IP

Otsikko: Parse error
Kirjoitti: Bigguy - helmikuu 13, 2006, 09:40:34 IP
Can someone help me with this I know its very simple and have tried to add a \ but that doesnt work.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv704%2Fbigguy982%2Fparse1aa.jpg&hash=61d8421f9422ef442ae1a085844066044c169873)

There was a problem loading the /Themes/SMFone_blue/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly

Parse error: syntax error, unexpected '?' in .../Themes/SMFone_blue/Display.template.php on line 798

Line 798 is the end of the script. ?>
Otsikko: Re: Parse error
Kirjoitti: Bigguy - helmikuu 13, 2006, 09:53:28 IP
bump
Otsikko: Re: Parse error
Kirjoitti: kegobeer - helmikuu 13, 2006, 10:04:41 IP
1.  You bumped your topic after 13 minutes?!?
2.  I can't read the image.
3.  You haven't explained any changes you made to the template.
Otsikko: Re: Parse error
Kirjoitti: Bigguy - helmikuu 13, 2006, 10:15:23 IP
I`m very sorry to bump, I guess it was a bit quick. Very sorry about that. I know the image isn`t to good I thought it would be better than that. What I have done was install the ad mod on the default theme for smf 1.1 RC2 and then installed SMFOne_blue theme and tried to get it to work by converting the three files it changes. When I go to view a topic I get a parse error. This is basically what the image says:

LainaaThere was a problem loading the /Themes/SMFone_blue/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly

Parse error: syntax error, unexpected '?' in .../Themes/SMFone_blue/Display.template.php on line 798

Line 798 is the end of the script so I`m not really sure what to do. Here is a link to the forum I am trying to put together. I will change the theme back to SMFOne_blue.

Once again I am sorry for bumping so soon that was rude of me.

EDIT: Fixed sorry for the trouble.