Re: 64 bit integers

2002-10-18 Thread Joshua Spoerri
I'm enclosing a script which displays the bug, and a gross patch which fixes it. The patch just makes dbix treat bigints as non-numeric. Maybe it would be better to use Math::BigInt, or transparent bigint in perl5.8? On Thu, 10 Oct 2002, Kee Hinckley wrote: > At 10:27 PM -0400 10/9/02, Joshua Sp

Re: DBIx::Recordset 0.24 issues

2002-10-18 Thread Ilia Lobsanov
On Fri, Oct 18, 2002 at 08:50:48PM +0200, Gerald Richter wrote: > > 3. Is it possible to get count of total records returned when using > > PrevNextForm with $max > > > > Set $DBIx::Recordset::FetchsizeWarn = 0 and you will get the total number of > records with scalar(@set), if your database su

Re: curious error related to SSI filtering (I think)

2002-10-18 Thread Robert Waldstein
> my $r = Apache -> request ; And that did it! Thanks very much - makes a number of aspects of how this ties together clearer for me as well! thanks, bob -- Robert K. WaldsteinEmail: [EMAIL PROTECTED] Bell Laboratories, Room 3A-531 Phone: (908) 582-6171 600 Mountain Avenue

Re: DBIx::Recordset 0.24 issues

2002-10-18 Thread Gerald Richter
> 1. There seems to be a bug in DBIx::Recordset PrevNextForm. When specifying > the -goto parameter, the Goto button is returned even if there are no > (more) results. > Yes, because you can go back via the goto button > 2. Is it possible to put the PrevNextForm before iterating $set->Next > I

Re: $PreserveCase in Recordset

2002-10-18 Thread Gerald Richter
>DBIx::Database -> new ({'!DataSource' => 'DBI:mysql:Memphis', >'!Username' => 'root', >'!Password' => 'escher', >'!KeepOpen' => 1, >'!SaveAs' => 'memphis', >'

Re: disable loading embperl_object_base

2002-10-18 Thread Gerald Richter
>In my website environment i will display the content >of some files outside the documentroot (for example >logfiles) in a new browser window without the layout >defined in the embperl object base (base.epl). >How could i avoid the use of base.epl in that case? Use normal Embperl as handler: Set

Re: Strange problems with smbmounted files

2002-10-18 Thread Gerald Richter
>SuSE Linux 7, Kernel 2.4.4-4GB >Apache/1.3.19 >EmbPerl 1.3.4 >... > So it seems to be a > problem with EmbPerl, doesn't it? I am quite sure that Embperl 1.3.4 does close it's files correctly, but Linux 2.4.4 is known to be quite buggy. I would suggest to upgrade your kernel and then your problem

Re: curious error related to SSI filtering (I think)

2002-10-18 Thread Gerald Richter
> > I have an authentication handler that cleverly starts like: > sub handler { > my $r = shift; >... > > THe error I am getting is: > [error] Can't locate object method "is_initial_req" via package "Apache::AUTHtest" at ... > Just use my $r = Apache -> request ; and you should get the

curious error related to SSI filtering (I think)

2002-10-18 Thread wald
I have an authentication handler that cleverly starts like: sub handler { my $r = shift; return OK unless $r->is_initial_req; My server has *.epl files using (and I have been happy) PerlHandler Apache::EmbperlFilter Apache::SSI I now authen

DBIx::Recordset 0.24 issues

2002-10-18 Thread Ilia Lobsanov
1. There seems to be a bug in DBIx::Recordset PrevNextForm. When specifying the -goto parameter, the Goto button is returned even if there are no (more) results. 2. Is it possible to put the PrevNextForm before iterating $set->Next I tried to do it, but the first record would get lost. 3. Is it p

Re: disable loading embperl_object_base

2002-10-18 Thread Ilia Lobsanov
On Fri, Oct 18, 2002 at 12:39:58PM +0200, Leideck, Wolfgang wrote: > Hello. > In my website environment i will display the content > of some files outside the documentroot (for example > logfiles) in a new browser window without the layout > defined in the embperl object base (base.epl). > How coul

$PreserveCase in Recordset

2002-10-18 Thread Andre Landwehr
Hi, Mysql on Unix systems uses the filename of the file where a table is saved as name for the table and is therefore case sensitive. Unfortunately I can't change the table names as other applications use them as well, so I have to do it on the application side. I have DBIx::Database -> new ({'!Da

disable loading embperl_object_base

2002-10-18 Thread Leideck, Wolfgang
Hello. In my website environment i will display the content of some files outside the documentroot (for example logfiles) in a new browser window without the layout defined in the embperl object base (base.epl). How could i avoid the use of base.epl in that case? Wolfgang Wolfgang Leideck (Se

Strange problems with smbmounted files

2002-10-18 Thread Rainer Perl
Hi, Here is my setup: SuSE Linux 7, Kernel 2.4.4-4GB Apache/1.3.19 EmbPerl 1.3.4 I've mounted (via smbmount) a directory which is hosted on a Windows 2000 server. In this directory, there is a html-file. I want to open it, read it's content and display it within an embperl-generated page: --sn