
Hi Martin, well that's what i figured too. ;) So I checked the config.pm and default.pm files and they have correct settings. To be sure I edited Tickets.pm and hard coded the module ArticleStorageDB in it. It gave me exactly the same error. All files are available and the require statement doesn't give an error so there must be something else wrong. I'll past the bit of code that gives the error here: my $StorageModule = 'Kernel::System::Ticket::ArticleStorageDB'; eval "require $StorageModule"; push(@ISA, $StorageModule); $Self->ArticleStorageInit(); It gives me an error at the last line of the code above. I don't know what is going wrong, as I'm not very much into Perl (yet), but why is the module pushed in the @ISA array and than used with a $Self statement? Looks like a strange statement to me, but I may be wrong of course. :) Hope you can help me. Maarten -----Oorspronkelijk bericht----- Van: otrs-admin@otrs.org [mailto:otrs-admin@otrs.org]Namens Martin Edenhofer Verzonden: zondag 12 januari 2003 18:23 Aan: otrs@otrs.org Onderwerp: Re: [otrs] ArticleStorageInit error Hi Maarten, On Sun, Jan 12, 2003 at 06:03:42PM +0100, Maarten Engelen wrote:
I just installed otrs RC1 on my system. When I visit http://www.domain.com/otrs/index.pl I get a 500 server error. When I manually run <OTRSHOME>/bin/cgi-bin/index.pl I get the following error:
Can't locate object method "ArticleStorageInit" via package "Kernel::System::Ticket" (perhaps you forgot to load "Kernel::System::Ticket"?) at /home/otrs/bin/cgi-bin/../../Kernel/System/Ticket.pm line 96.
Seems like a bug to me, but to be sure if I'm not the one to blaim here I like to know if there's someone who knows a solution to this problem. Any help is greatly appreciated.
It looks like there is a non existing module defined as "TicketStorageModule" in Kernel/Config.pm. For TicketStorageModule it's 'Kernel::System::Ticket::ArticleStorageFS' or 'Kernel::System::Ticket::ArticleStorageDB' possible. If I set 123 as TicketStorageModule in Kernel/Config.pm I get the following error: [...] [18:19:18 martin@cuba]:~/src/otrs >perl bin/cgi-bin/index.pl [...] Can't locate object method "ArticleStorageInit" via package "Kernel::System::Ticket" (perhaps you forgot to load "Kernel::System::Ticket"?) at /home/martin/src/otrs/bin/cgi-bin/../../Kernel/System/Ticket.pm line 96. [Sun Jan 12 18:19:25 2003] index.pl: Can't locate package 123 for @Kernel::System::Ticket::ISA. [...] -=> The same error message.
Maarten
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl _______________________________________________ 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