On 28-jun-2007, at 21:41, Eddie Bindt wrote:


On 28-jun-2007, at 17:55, Gerhard Weber wrote:

Hi Eddie,

This error was apparently found to be the result of updating PERL.

BUT, as my otrs runs on a shared webserver, my provider refuses to
downgrade perl and tels me to fix my own
problems ... :-(

Restoring question.pm and base.pm to a pre-upgrade version resolved
the issue for the other poster.

So thats the Perl standard modules Net::DNS::Question and
Net::DNS::Resolver::Base.
They are located somewhere in your perl path. That is your provider's
perl path, where you can't change anything.

So you could try to
* create the directories Kernel/cpan-lib/Net/DNS/Resolver/
* get old, working versions of these two files (from cpan.org),
* copy them to Kernel/cpan-lib/:
  * Kernel/cpan-lib/Net/DNS/Question.pm
  * Kernel/cpan-lib/Net/DNS/Resolver/Base.pm

Thanks for the suggestion,
I did as you suggested and got the 610 versions from CPAN ...
No luck, still the same error, I guess the webserver still gets the global modules ... As I am not a perl "guru", do you have any suggestions to put these "old" modules to work ?

Some digging around in perl module land told me that this is not going to work ...
Perl is always preferring system modules above local modules.
In the index.pl both extra local dirs are "pushed" onto @INC ... and as push means "apend", local modules with the same name as global modules wil never be used ...

SO, back to zero ...

I think that should work.
You could try to find out which versions you are using with these lines
in index.pl:

use Net::DNS::Question;
warn "Net::DNS::Question: version $Net::DNS::Question::VERSION\n";
warn "Net::DNS::Resolver::Base: version
$Net::DNS::Resolver::Base::VERSION\n";

This doesn't give any output at all on my system ...

I'm using version 610 of both modules. Cpan says current versions are
630 and 659.

Hope that helps.

Gerhard

Any suggestion is welcome,

Eddie
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to