[Tiki-devel] small fix to commit in master

Torsten Fabricius via TikiWiki-devel <[email protected]>
Newsgroups gmane.comp.cms.tiki.devel
Message-ID <[email protected]>
Hi Devs,

I did find an error whilst installing a current Tiki master from our Git 
repository
(git clone --depth 1 --branch master [email protected]:tikiwiki/tiki.git .)
I did not yet setup Git completely for committing code, thus somebody 
else has to commit the fix .. seems to have been just a typo with an 
open bracket at the wrong place.

When starting the installer I got the following error message on a WSOD:

    *Fatal error*: Uncaught --> Smarty Compiler: Syntax error in
    template
    "file:/www/htdocs/XXXXXXXX/sitediary/s17/s17app/templates/tiki-install.tpl"
    on line 924 "{( if $client_charset_in_file eq 'utf8' or
    $client_charset_in_file eq 'utf8mb4' ) and ( $database_charset eq
    'utf8' or $database_charset eq 'utf8mb4' )}" - Unexpected " " <--
    thrown in
    */www/htdocs/XXXXXXXX/sitediary/s17/s17app/vendor_bundled/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php*
    on line *924*

This line 924 in templates/tiki-install.tpl has to be replaced:

    {*( *if $client_charset_in_file eq 'utf8' or $client_charset_in_file
    eq 'utf8mb4' ) and ( $database_charset eq 'utf8' or
    $database_charset eq 'utf8mb4' )}


by this line:

    {if *(*$client_charset_in_file eq 'utf8' or $client_charset_in_file
    eq 'utf8mb4' ) and ( $database_charset eq 'utf8' or
    $database_charset eq 'utf8mb4' )}


Please can somebody with commit access check that and if I am right, 
then commit that for me?

Thx in advance,
Torsten

_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.