Gossamer Forum
Home : Products : Others : Gossamer Community :

Unmatched endif/endifnot/endunless tag

Quote Reply
Unmatched endif/endifnot/endunless tag
Hi,

When I go to Templates > User Language I get "Error: Unmatched endif/endifnot/endunless tag" warning.


Can someone confirm this?

Thanks!
Quote Reply
Re: [Payooo] Unmatched endif/endifnot/endunless tag In reply to
Same here. Seems to be a bug...

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Unmatched endif/endifnot/endunless tag In reply to
Thanks yogi!

Another thing, I can't get "system_compress" to work (Setup > Misc Options).
Quote Reply
Re: [Payooo] Unmatched endif/endifnot/endunless tag In reply to
See
http://www.gossamer-threads.com/...i?post=259564#259564

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [Payooo] Unmatched endif/endifnot/endunless tag In reply to
I agree about the bug.

To get compress to work make sure you are using the system_compress which is in the wrong place in setup.
Quote Reply
Re: [yogi] Unmatched endif/endifnot/endunless tag In reply to
Thanks!

One funny thing. I tried to change the "system_template_set" to "wap" and the result was blank page with only:

The system encountered a fatal error:
GT::Template::Parser (14496): Unable to locate template file 'admin_setup_misc.html' in '/correct_path_to/templates/wap' or any inheritance directories at GT::Template::_compile_template line 644.

All admin pages looked like this one.
I managed to solve this by placing .tplinfo (borrowed from forum) into the wap directory.

In case that somebody encounter this problem, the content of ".tplinfo" is

{
inheritance => '../default'
}
Quote Reply
Re: [yogi] Unmatched endif/endifnot/endunless tag In reply to
Thanks for finding this Payooo, it was a template bug. In the file "admin_template_lang.html" around there will be a line similar to

Code:
</span><%endif%>Edit the language settings

replace the <%endif%> with a <%else%> to correct the error and make the message go away.