@@ -, +, @@ Patron DB) --------- -- quickest and dirtiest way to get the load to fail. -- so it will be easy to spot the log changes. -- back up the log file if you really want it. -- Check the log file. "Unable to load ..." will be there. -- Find your staff client entry in your apache configuration file and add: SetEnv DEBUG 1 -- "Unable to load..." will still be there. -- "Unable to load..." will NOT be there. -- to bring it back. -- "Unable to load..." will still not be there. --- C4/Members.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/C4/Members.pm +++ a/C4/Members.pm @@ -41,12 +41,13 @@ use Text::Unaccent qw( unac_string ); use Koha::AuthUtils qw(hash_password); use Koha::Database; +our ($VERSION,@ISA,@EXPORT,@EXPORT_OK,$debug); + use Module::Load::Conditional qw( can_load ); if ( ! can_load( modules => { 'Koha::NorwegianPatronDB' => undef } ) ) { - warn "Unable to load Koha::NorwegianPatronDB"; + $debug && warn "Unable to load Koha::NorwegianPatronDB"; } -our ($VERSION,@ISA,@EXPORT,@EXPORT_OK,$debug); BEGIN { $VERSION = 3.07.00.049; --