From: Johan Bogema <johan.bogema@realworld-systems.com>Date: 12 november 2008 11:39:30 GMT+01:00To: otrs@otrs.orgSubject: Re: [otrs] Fwd: problem installing packagesHi all,After some communication with Michiel Beijen, I have to come back to the mailing list, cause he might have found the reason that it doesn't work in my case. When I put out a trace on the mssql server during the installation of a package, I have the following entry:declare @p1 intset @p1=15exec sp_prepare @p1 output,N'@P1 varchar(80),@P2 varchar(80),@P3varchar(80),@P4 varchar(80),@P5 varchar(80)',N'INSERT INTOpackage_repository (name, version, vendor, filename, content_size,content_type, content, install_status, create_time, create_by,change_time, change_by) VALUES (@P1, @P2, @P3, @P4, ''213'', ''text/xml'',@P5, ''not installed'', current_timestamp, 1, current_timestamp,1)',1select @p1He thought that the problem might be caused in the following piece of code in Kernel/System/Package.pm:# add new package
my $FileName = $Structure{Name}->{Content} . '-' .
$Structure{Version}->{Content} . '.xml';
return $Self->{DBObject}->Do(
SQL => 'INSERT INTO package_repository (name, version, vendor,
filename, '
. ' content_size, content_type, content, install_status, '
. ' create_time, create_by, change_time, change_by)'
. ' VALUES (?, ?, ?, ?, \'213\', \'text/xml\', ?, \'not
installed\', '
. ' current_timestamp, 1, current_timestamp, 1)',
Bind => [
\$Structure{Name}->{Content}, \$Structure{Version}->{Content},
\$Structure{Vendor}->{Content}, \$FileName, \$Param{String},
],
);
}The problem as he told me, is that there are 5 values (the questionmarks) in the insert statement, from which only 4 are filled in the bind statement. In his database, the last value is a blob field with the contents of the module. I however can not check if this is the case in my database since I don't have any modules installed yet. Does anyone know how to solve this further?Regards,Johan BogemaSystems AdministratorRealworld Systems
Tel: +31 345 614 406
Mobile: +31 6 509 50804
http://www.realworld-systems.com
johan.bogema@realworld-systems.comDate: Mon, 10 Nov 2008 08:47:11 +0100From: "Michiel Beijen" <michiel@beefreeit.nl>Subject: Re: [otrs] Fwd: problem installing packagesTo: "User questions and discussions about OTRS." <otrs@otrs.org>Message-ID:<9eda38a40811092347r4fa7295cgb7dca688f9bfc637@mail.gmail.com>Content-Type: text/plain; charset=UTF-8Johan,The FAQ you are refering to is for MySQL, not for MS-SQL. Other thanthat, it lists TWO possible issues.Can you specify what the exact issue is you are experiencing? Errormessage, maybe a screen shot?Regards,--Michiel BeijenSoftware Consultant+31 6 - 457 42 418Bee Free IT + http://beefreeit.nl2008/11/10 Johan Bogema <johan.bogema@realworld-systems.com>:Does anybody have any idea?From: Johan Bogema <johan.bogema@realworld-systems.com>Date: 7 november 2008 10:58:39 GMT+01:00To: otrs@otrs.orgSubject: problem installing packagesHi all,We've just set up an installation of OTRS using an MSSQL server. This duetothe fact that we want to have just one database engine in our company.However, when I try to install an extra package (fe. the FAQ package) itgives the same error as explained in the FAQ item here:http://faq.otrs.org/otrs/public.pl?Action=PublicFAQ&CategoryID=4&ItemID=50The problem I have, is that I can't use that hint to configure my MSSQLserver. Does anyone know how to overcome this problem using MSSQL server?Regards,Johan Bogema