Hello to all, i am using koha 3.12 on xubuntu when i import data through bulkmarc import this is giving error given below can any one help me unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373. Can't call method "config" on unblessed reference at /usr/share/koha/lib/C4/Context.pm line 791 (#1) (F) A method call must know in what package it's supposed to run. It ordinarily finds this out from the object reference you supply, but you didn't supply an object reference in this case. A reference isn't an object reference until it has been blessed. See perlobj. Uncaught exception from user code: Can't call method "config" on unblessed reference at /usr/share/koha/lib/C4/Context.pm line 791. at /usr/share/koha/lib/C4/Context.pm line 791 C4::Context::_new_dbh() called at /usr/share/koha/lib/C4/Context.pm line 862 C4::Context::dbh('C4::Context') called at bulkmarcimport.pl line 90 -- View this message in context: http://koha.1045719.n5.nabble.com/Bulkmarc-import-error-tp5762064.html Sent from the Koha-general mailing list archive at Nabble.com.
On 20/07/13 11:19, malikaamir wrote:
i am using koha 3.12 on xubuntu when i import data through bulkmarc import this is giving error given below can any one help me
unable to locate Koha configuration file koha-conf-site-xml at /usr/share/koha/lib/C4/Context.pm line 373
What is the import command being tried and have you tried telling it where to locate your Koha configuration file? Hope that helps, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/
i am using 3.12 koha version but now i have solved this problem now bulkmarcimport is working through the following command Export KOHA_CONF=/etc/koha/koha-conf.xml Export PERL5LIB=/usr/share/koha/lib cd /usr/share/koha/bin/migration_tools/ perl bulkmarcimport.pl -d -commit 1000 -file /home/koha/koha.mrc But I am facing another issue regarding -d parameter -d is used for deleting all existing bib records After execute the above command new file is successfully uploading but the previous existing records are still in database these should be deleted but not Please tell me its possible solution. I want to delete previous records from database I shall be highly thankful for help and support -- View this message in context: http://koha.1045719.n5.nabble.com/Bulkmarc-import-error-tp5762064p5762442.ht... Sent from the Koha-general mailing list archive at Nabble.com.
participants (2)
-
malikaamir -
MJ Ray