[Koha] Label creator error
C.J. Walke
cjwalke at mofga.org
Sat Dec 11 10:40:17 NZDT 2010
On 12/10/10 10:37 AM, "Chris Nighswonger" <cnighswonger at foundations.edu>
wrote:
> On Fri, Dec 10, 2010 at 9:58 AM, C.J. Walke <cjwalke at mofga.org> wrote:
>> Hi Chris,
>>
>> I read in another post that 3.2 has label-manage.pl <http://label-manage.pl>
>> instead of label-manager.pl <http://label-manager.pl> . Below is my
>> /usr/share/koha/intranet/cgi-bin directory and it contains both. Is that
>> part of the issue?
>>
>
> That is part of the issue and only part I imagine....
>
> <snip>
>
>>
>> If not, where else would I look?
>>
>
>
> Well, all of the associated templates are probably incorrect as well since
> they are calling the old script rather than the new one.
>
> 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 "simple" as upgrading.)
>
> What process did you follow when upgrading to 3.2.0?
>
> ³I used wget to download the file, untarred, then followed the Upgrade section
> of INSTALL.ubuntu:
> UPGRADE
> =======
> If you are upgrading from a previous installation of Koha 3, you can
> use the following:
>
> ./koha_perl_deps.pl -u -m # to identify new Perl dependencies
> perl Makefile.PL --prev-install-log /path/to/koha-install-log
> make
> make test
> sudo make upgrade²
>
> Also, what does "SHOW tables LIKE '%creator%';" say?
>
> ³mysql> SHOW tables LIKE '%creator%';
> +----------------------------+
> | Tables_in_koha (%creator%) |
> +----------------------------+
> | creator_batches |
> | creator_images |
> | creator_layouts |
> | creator_templates |
> +----------------------------+
> 4 rows in set (0.00 sec)²
>
> Kind Regards,
> Chris
>
>
>
>>
>> On 12/9/10 8:58 PM, "Chris Nighswonger" <cnighswonger at foundations.edu
>> <http://cnighswonger@foundations.edu> > wrote:
>>
>>> Hi C.J.
>>>
>>> On Wed, Dec 8, 2010 at 3:44 PM, cjwalke <cjwalke at mofga.org
>>> <http://cjwalke@mofga.org> > wrote:
>>>>
>>>> Since upgrading to 3.2, the Label Creator tool is not functioning. All my
>>>> layouts, templates and batches are gone and everything I click on returns
>>>> an
>>>> error.
>>>>
>>>> When I click on manage label batches I get this error: Undefined subroutine
>>>> &main::get_active_layout called at
>>>> /usr/share/koha/intranet/cgi-bin/labels/label-manager.pl
>>>> <http://label-manager.pl> <http://label-manager.pl> line 51.
>>>
>>> 3.2.x does not have a label-manager.pl <http://label-manager.pl>
>>> <http://label-manager.pl> 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.
>>>
>>>
>>> Maybe the 3.2.x code was installed in a different directory by chance?
>>>
>>> Kind Regards,
>>> Chris
>>>
>>>
>>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20101210/f863bfe7/attachment.htm
More information about the Koha
mailing list