Hi All, I am using a Koha Virtual Machine created by Kyle M Hall, with the Koha Management Console, and have just ran the ³Update Koha² function, and Koha has updated to Version 3.03.00.052. But, when I go to log Koha Staff Client or visit the OPAC, I receive the following error pages (as per below): Staff Client Software error: Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/mainpage.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/mainpage.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error. OPAC Software error: Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line 29. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 29. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error. Could someone please provide step-by-step instructions on how to reverse this upgrade back to our previous version of Koha, Version 3.03.00.018. I need assistance urgently as this is our Production system, and at present, don¹t have a backup of the system. Many thanks in advance for any assistance!! Please Help!!! Kindest Regards, Joel
Hiya! You probably don't need to go back to an older version, what you need is the Template Toolkit. Issuing this command on the commandline should take care of it: sudo apt-get install libtemplate-perl Good luck! Magnus Enger libriotech.no 2011/4/15 Joel Harbottle <Joel.Harbottle@hotmail.com.au>:
Hi All,
I am using a Koha Virtual Machine created by Kyle M Hall, with the Koha Management Console, and have just ran the “Update Koha” function, and Koha has updated to Version 3.03.00.052. But, when I go to log Koha Staff Client or visit the OPAC, I receive the following error pages (as per below):
Staff Client
Software error:
Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/mainpage.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/mainpage.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
OPAC
Software error:
Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line 29. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 29. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
Could someone please provide step-by-step instructions on how to reverse this upgrade back to our previous version of Koha, Version 3.03.00.018. I need assistance urgently as this is our Production system, and at present, don’t have a backup of the system.
Many thanks in advance for any assistance!!
Please Help!!!
Kindest Regards, Joel _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Magnus is correct. It sounds like the upgrade went smoothly, but the newest version of Koha has switched from HTML::Template to Template::Toolkit ( which is a huge improvement for developers ). However, even though the Koha code has been upgraded, new software dependencies are not installed automatically ( this applies to a standard Koha install as well ). As Magnus wrote, just drop to the command line and run the command 'sudo apt-get install libtemplate-perl' and you should be good to go. If you run into any more issues, please let me know. Kyle http://www.kylehall.info Mill Run Technology Solutions ( http://millruntech.com ) Crawford County Federated Library System ( http://www.ccfls.org ) Meadville Public Library ( http://www.meadvillelibrary.org ) On Fri, Apr 15, 2011 at 7:19 AM, Joel Harbottle <Joel.Harbottle@hotmail.com.au> wrote:
Hi All,
I am using a Koha Virtual Machine created by Kyle M Hall, with the Koha Management Console, and have just ran the “Update Koha” function, and Koha has updated to Version 3.03.00.052. But, when I go to log Koha Staff Client or visit the OPAC, I receive the following error pages (as per below):
Staff Client
Software error:
Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/mainpage.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/mainpage.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
OPAC
Software error:
Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line 29. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 29. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
Could someone please provide step-by-step instructions on how to reverse this upgrade back to our previous version of Koha, Version 3.03.00.018. I need assistance urgently as this is our Production system, and at present, don’t have a backup of the system.
Many thanks in advance for any assistance!!
Please Help!!!
Kindest Regards, Joel
Hi All, Many thanks for your help. Especially thanks to Kyle and Magnus. Kindest Regards, Joel
From: Kyle Hall <kyle.m.hall@gmail.com> Date: Fri, 15 Apr 2011 07:54:12 -0400 To: Joel Harbottle <Joel.Harbottle@hotmail.com.au> Cc: Koha List <koha@lists.katipo.co.nz> Subject: Re: Please Help!! Urgently!
Magnus is correct. It sounds like the upgrade went smoothly, but the newest version of Koha has switched from HTML::Template to Template::Toolkit ( which is a huge improvement for developers ). However, even though the Koha code has been upgraded, new software dependencies are not installed automatically ( this applies to a standard Koha install as well ).
As Magnus wrote, just drop to the command line and run the command 'sudo apt-get install libtemplate-perl' and you should be good to go. If you run into any more issues, please let me know.
Kyle
http://www.kylehall.info Mill Run Technology Solutions ( http://millruntech.com ) Crawford County Federated Library System ( http://www.ccfls.org ) Meadville Public Library ( http://www.meadvillelibrary.org )
On Fri, Apr 15, 2011 at 7:19 AM, Joel Harbottle <Joel.Harbottle@hotmail.com.au> wrote:
Hi All,
I am using a Koha Virtual Machine created by Kyle M Hall, with the Koha Management Console, and have just ran the ³Update Koha² function, and Koha has updated to Version 3.03.00.052. But, when I go to log Koha Staff Client or visit the OPAC, I receive the following error pages (as per below):
Staff Client
Software error:
Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/mainpage.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/mainpage.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
OPAC
Software error:
Can't locate Template.pm in @INC (@INC contains: /home/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/C4/Templates.pm line 32. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Templates.pm line 32. Compilation failed in require at /home/koha/kohaclone/C4/Output.pm line 35. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Output.pm line 35. Compilation failed in require at /home/koha/kohaclone/C4/Auth.pm line 29. BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 29. Compilation failed in require at /home/koha/kohaclone/opac/opac-main.pl line 22. BEGIN failed--compilation aborted at /home/koha/kohaclone/opac/opac-main.pl line 22. For help, please send mail to the webmaster (webmaster@koha), giving this error message and the time and date of the error.
Could someone please provide step-by-step instructions on how to reverse this upgrade back to our previous version of Koha, Version 3.03.00.018. I need assistance urgently as this is our Production system, and at present, don¹t have a backup of the system.
Many thanks in advance for any assistance!!
Please Help!!!
Kindest Regards, Joel
participants (3)
-
Joel Harbottle -
Kyle Hall -
Magnus Enger