On 8 September 2011 21:38, Perch <j...@pk.dy.fi> wrote: > This is what 3.4.4 throws on me when I try to access the Koha intranet: > > Software error: > > syntax error at /usr/share/koha/lib/C4/Search.pm line 497, near "$data ~" > syntax error at /usr/share/koha/lib/C4/Search.pm line 498, near "}->" > syntax error at /usr/share/koha/lib/C4/Search.pm line 498, near "++;" > syntax error at /usr/share/koha/lib/C4/Search.pm line 511, near "}" > Compilation failed in require at /usr/share/koha/lib/C4/Heading.pm line 26. > BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Heading.pm line
Looks to me like your upgrade/install didn't complete right. rorohiko:[git/v3.04.04-]:~/git/koha% git checkout v3.04.04 HEAD is now at de9926a... Updating Version Number to 3.04.04.000 rorohiko:[git/v3.04.04-]:~/git/koha% perl -c C4/Search.pm C4/Search.pm syntax OK So I checked the tarball also rorohiko:/tmp% wget http://download.koha-community.org/koha-3.04.04.tar.gz rorohiko:/tmp% tar xzvf koha-3.04.04.tar.gz rorohiko:/tmp% cd koha-3.04.04 rorohiko:/tmp/koha-3.04.04% perl -c C4/Search.pm C4/Search.pm syntax OK Hmmm, I think I might know the problem What version of perl are you using? Line 497 is unless ( $data ~~ @used_datas ) { The ~~ is a binary smart matching operator, which doesn't exist in 5.8.8. Chris _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha