[Koha-bugs] [Bug 26895] New: Template process failed: file error - parse error - patron-title.inc line 37: unexpected token ('<span) [% span_start = '<span class="patron-title">‘ %] at /usr/share/koha/lib/C4/Templates.pm line 122.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 2 15:39:54 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26895

            Bug ID: 26895
           Summary: Template process failed: file error - parse error -
                    patron-title.inc line 37: unexpected token ('<span)
                    [% span_start = '<span class="patron-title">‘ %] at
                    /usr/share/koha/lib/C4/Templates.pm line 122.
 Change sponsored?: ---
           Product: Koha
           Version: 20.05
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: xescjp at hotmail.com
        QA Contact: testopia at bugs.koha-community.org

Hello:

I have installed Koha 20 in Ubuntu 20LTS through command line.
I have installed ca-ES language. 
The intranet interface appears translated.
When I try to add a new user (member)in the intranet part I get this error:

Template process failed: file error - parse error - patron-title.inc line 37:
unexpected token ('<span)
  [% span_start = '<span class="patron-title">‘ %] at
/usr/share/koha/lib/C4/Templates.pm line 122.


To install the new language I had to do following:

BEFORE:

I created following folders :

/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/ca-ES
/usr/share/koha/opac/htdocs/opac-tmpl/bootstrap/ca-ES

If I don't create these folders before, translation command says that the
folders no exists.

I gave 777 permissions to koha-conf.xml file (before langugage installation)

THEN:

I excuted the followinfg command.

sudo koha-translate --install ca-ES


To install Koha I followed this web page instructions:

https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages



Thank you very much.

francescjp

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list