<HTML>
<HEAD>
<TITLE>Re: [Koha] Label creator error</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On 12/10/10 10:37 AM, &quot;Chris Nighswonger&quot; &lt;<a href="cnighswonger@foundations.edu">cnighswonger@foundations.edu</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>On Fri, Dec 10, 2010 at 9:58 AM, C.J. Walke &lt;<a href="cjwalke@mofga.org">cjwalke@mofga.org</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Chris,<BR>
<BR>
I read in another post that 3.2 has label-manage.pl &lt;<a href="http://label-manage.pl">http://label-manage.pl</a>&gt; &nbsp;instead of label-manager.pl &lt;<a href="http://label-manager.pl">http://label-manager.pl</a>&gt; .  Below is my /usr/share/koha/intranet/cgi-bin directory and it contains both.  Is that part of the issue?<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
That is part of the issue and only part I imagine....<BR>
 <BR>
&lt;snip&gt;<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
If not, where else would I look?<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
Well, all of the associated templates are probably incorrect as well since they are calling the old script rather than the new one.<BR>
<BR>
I'm not sure what happened, but the upgrade definitely broke, and I don't know if it might be easier to remove the entire directory structure and re-run Makefile.PL to start fresh. Of course your database would not be affected (Disclaimer: You should *always* backup your database before doing anything drastic... including things as &quot;simple&quot; as upgrading.)<BR>
<BR>
What process did you follow when upgrading to 3.2.0?<BR>
<BR>
&#8220;I used wget to download the file, untarred, then followed the Upgrade section of INSTALL.ubuntu:<BR>
UPGRADE<BR>
=======<BR>
If you are upgrading from a previous installation of Koha 3, you can<BR>
use the following:<BR>
<BR>
&nbsp;./koha_perl_deps.pl -u -m # to identify new Perl dependencies<BR>
&nbsp;perl Makefile.PL --prev-install-log /path/to/koha-install-log<BR>
&nbsp;make<BR>
&nbsp;make test<BR>
&nbsp;sudo make upgrade&#8221;<BR>
<BR>
Also, what does &quot;SHOW tables LIKE '%creator%';&quot; say?<BR>
<BR>
&#8220;mysql&gt; SHOW tables LIKE '%creator%';<BR>
+----------------------------+<BR>
| Tables_in_koha (%creator%) |<BR>
+----------------------------+<BR>
| creator_batches &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| <BR>
| creator_images &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| <BR>
| creator_layouts &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| <BR>
| creator_templates &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| <BR>
+----------------------------+<BR>
4 rows in set (0.00 sec)&#8221;<BR>
<BR>
Kind Regards,<BR>
Chris<BR>
<BR>
<BR>
 <BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
On 12/9/10 8:58 PM, &quot;Chris Nighswonger&quot; &lt;<a href="cnighswonger@foundations.edu">cnighswonger@foundations.edu</a> &lt;<a href="http://cnighswonger@foundations.edu">http://cnighswonger@foundations.edu</a>&gt; &gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi C.J.<BR>
<BR>
On Wed, Dec 8, 2010 at 3:44 PM, cjwalke &lt;<a href="cjwalke@mofga.org">cjwalke@mofga.org</a> &lt;<a href="http://cjwalke@mofga.org">http://cjwalke@mofga.org</a>&gt; &gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Since upgrading to 3.2, the Label Creator tool is not functioning.  All my<BR>
layouts, templates and batches are gone and everything I click on returns an<BR>
error.<BR>
<BR>
When I click on manage label batches I get this error: Undefined subroutine<BR>
&amp;main::get_active_layout called at<BR>
/usr/share/koha/intranet/cgi-bin/labels/label-manager.pl &lt;<a href="http://label-manager.pl">http://label-manager.pl</a>&gt; &nbsp;&lt;<a href="http://label-manager.pl">http://label-manager.pl</a>&gt;  line 51.<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
3.2.x does not have a label-manager.pl &lt;<a href="http://label-manager.pl">http://label-manager.pl</a>&gt; &nbsp;&lt;<a href="http://label-manager.pl">http://label-manager.pl</a>&gt;  script. Based on this error and the results of the SQL statement I had you execute the other day, it sounds like you did not have a successful upgrade. It seems that the database may have been upgraded, but not the code which is in the /usr/share/koha/intranet/cgi-bin directory.<BR>
<BR>
<BR>
Maybe the 3.2.x code was installed in a different directory by chance?<BR>
<BR>
Kind Regards,<BR>
Chris<BR>
<BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>