News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Coding error

Started by ubastorm, September 28, 2008, 08:34:11 PM

Previous topic - Next topic

ubastorm

Hi and many thanks for checking out my problem .

When i click members on my forum i get this error message

Template Parse Error!
There was a problem loading the /Themes/default/Memberlist.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.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------


Parse error: syntax error, unexpected '*' in .../Themes/default/Memberlist.template.php on line 136

127:             ', $member['posts'] > 0 ? '<img src="' . $settings['images_url'] . '/bar.gif" width="' . $member['post_percent'] . '" height="15" alt="" />' : '', '
128:          </td>
129:       </tr>';
130:    }
131:    // No members?
132:    else
133:       echo '
134:       <tr>
135:          <td colspan="12" class="windowbg">', $txt[170], '</td>
136:       </tr>';*/ echo '137:       <tr>
138:          <td colspan="13" class="windowbg">', $txt[170], '</td>
139:       </tr>';*/ echo '
140:       <tr>


Anyone got any idea's please.

Running latest 1.1.6 smf and TinyPortal 1.052 

Many thanks for any assistance.   

Nathaniel

The error appears to have been caused by duplicate code, possibly from one of your mods. I can find the issue if you post the entire file as an attachment. ;)

SMF Friend (Former Support Specialist) | SimplePortal Developer
My SMF Mods | SimplePortal

"Quis custodiet ipsos custodes?" - Who will Guard the Guards?

Please don't send me ANY support related PMs. I will just delete them.

ubastorm

Quote from: LHVWB on September 28, 2008, 10:58:48 PM
The error appears to have been caused by duplicate code, possibly from one of your mods. I can find the issue if you post the entire file as an attachment. ;)




Thank you kindly for looking this over, as requested i have attatched said file.

Thank you very much for your time, if i can be of service in future please let me know.

[SiNaN]

Should be fixed.

Which mod was that you tried to install? Also do not forget to check if other edits are okay or not.
Former SMF Core Developer | My Mods | SimplePortal

ubastorm

these are the ones ... although i had some troble with the tinyportal install for some reason

Mod Name Version 
1. British English Spelling Of Centre & Colour BBCode 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
2. Integrate Lightbox 1.4  [ Apply Mod ] [ List Files ] [ Delete ] 
3. SMF 1.0.14 / 1.1.6 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
4. Auto Embed Video/Audio Clips 3.1.2   [ Uninstall ] [ List Files ] [ Delete ] 
5. Auto Embed Video Clips 2.1.1  [ List Files ] [ Delete ] 
6. TinyPortal 1.052   [ Uninstall ] [ List Files ] [ Delete ] 
7. SMF 1.0.14 / 1.1.6 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
8. Color & BgColor BBCode Bar 3.3   [ Uninstall ] [ List Files ] [ Delete ] 
9. XFire Field 1.4 

Wow it's fixed  . . . Thank you very much for your time .. Thanks a lot.
appreciated.


[SiNaN]

I guess it was about the XFire Field mod. You can see the manual installation instructions for that mod here and you can check if other edits are correct or not.

About the TinyPortal; I'm sure you will get a better support in www.tinyportal.net about TP.

And you're welcome, glad that it is solved. ;)
Former SMF Core Developer | My Mods | SimplePortal

ubastorm

Excellent, Top man Top advice ... thanks for your time.

Advertisement: