Quote:
Originally Posted by betagirl Hi Marcin -
Thanks for this - do you know, for the error you recieved, when you trace it to the cache file that refers to a specific template file, is it actually that template file that once corrected, solves the problem?
Since it is the language cache file that is generating the errors, my fear is that it is not necessarily the language file itself that is having the problem, but one of the many template files that uses that conf. file and so I could spend days rebuilding files until getting it right. |
Hi,
In my case I have noticed error was probably in header.tpl file. After sending orignial everything get back to norm, so I have made changes again on the orignial file and resend it. So it probably can happen on every template file.
I have changed practicly all my language file because I have translated it into Polish, in my case it has nothing to do with this(probably

).
I've made small investigation, what exactly was causing the error in header.tpl:
First of all I get different errors:
after first reloading of site I get no header (link start, login etc. ), the header was replaced by:
Parse error: parse error, unexpected $ in /srv/www/htdocs/ura157/html/class.template.php(745) : eval()'d code on line 213
and rest of site was ok, after reloading there was only the error:
Parse error: parse error, unexpected $ in /srv/www/htdocs/ura157/html/templates_c/c_c71060b777c38fc5b1c4030b867a0c9d.php on line 213
and nothing more.
So it can be helpful to know in which part of the site the error is showing up.
In my case I have(probably by mistake) erase the line
» {$navbar_where.text4}{/if}
in original it's in the line 69 of header.tpl.
Everything in Pligg beta 9.7.
It can be helpful to have some tool to comparing files, under linux I have "Kompare" - very good stuff.
Hope this will help you.