I have made the patch
my file DBI.pm
## binding values to placeholders
my $q_count=0;
foreach my $q_value (@bind_values)
{
$q_count ++;
my $q_type = shift(@bind_types);
# if ( $q_type =~ /DECIMAL/ )
# {
## If is a number
if ( $q_value = /^-?(?:\d+\.?|\.\d)\d*\z/ )
{
if ( $q_type =~ /DECIMAL/ )
{
$self->{STH}->bind_param( $q_count, $q_value, SQL_DECIMAL );
}
elsif ( $q_type =~ /BIGINT/ )
{
$self->{STH}->bind_param( $q_count, $q_value, SQL_BIGINT );
}
else
{
$self->{STH}->bind_param( $q_count, $q_value, SQL_UNKNOWN_TYPE );
}
}
else
{
$self->{STH}->bind_param( $q_count, $q_value,
SQL_UNKNOWN_TYPE);
}
}
I have made
make
make install-offline
make install-online
reboot
start openca deamon
But nothing, all database entry's will be null, it seams no variables
are bound in insert statement! Sorry I'm not an Perl programmer!
It is that there more patches nessesary ! Can you upload an running
Source! Or it is possible that I have an configuration Problem?
Am 27.09.13 13:35, schrieb Carlos Velasco:
>>>> 6295035 [initServer:314] Cannot load CSR from the database.
>>>>
>>>> As can be seen in the mysql debugs, the correct values are never sent to
>>>> the database. There are only empty values submitted by openca when the CSR
>>>> is
>>>> generated:
>>> Ops, it seems a typo in the commit of one of my patches to the new 1.5.0 by
>>> Max.
>>>
>>> Try this new patch and see if it solves the problem.
>> Thanks, but without success! I have the same result, like pre patch !?
> Did you make a clean installation with the patch? (you must start over).
> If so... have you real data now in the database?
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> _______________________________________________
> Openca-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openca-users
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Openca-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openca-users