[Koha] Label creator error
C.J. Walke
cjwalke at mofga.org
Thu Dec 23 08:17:54 NZDT 2010
Hi Chris,
So I have taken your advice and installed 3.2.1 fresh. What I don't know is
how to restore my koha database to the new install. Please advise and thank
you.
C.J.
On 12/10/10 11:37 PM, "Chris Nighswonger" <cnighswonger at foundations.edu>
wrote:
> On Fri, Dec 10, 2010 at 4:40 PM, C.J. Walke <cjwalke at mofga.org> wrote:
>> ³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)²
>
> Well, at least the db upgrade appears to have gone ok.
>
> I'm not sure what went wrong with the rest of the upgrade. My best
> suggestion at this point is to back up and punt... install fresh.
>
> 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
>>
>>
>>
>>
>>
>>
>
More information about the Koha
mailing list