RE: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-20 Thread Andrew O'Brien
> Richter, Gerald wrote: > > The best would be, if we had a packages maintainers for the main > > distrubtions (like Debian, SUSE, RedHat etc.) which knows > about their > > distribution (because I do not know all the specifica of all these > > distributions) > > Wasn't Angus Lees doing that

Re: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-20 Thread Neil Gunton
Richter, Gerald wrote: The best would be, if we had a packages maintainers for the main distrubtions (like Debian, SUSE, RedHat etc.) which knows about their distribution (because I do not know all the specifica of all these distributions) Wasn't Angus Lees doing that for Debian? I think I t

Re: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-20 Thread Chris Denman
Hi Gerald, Thanks for the advice. What I may do is try to install again from scratch on Centos 5 and show you my errors as I go. That is, of course if you are OK with this! There seems to be a lot of virtual dedicated server companies offering Centos 5 with Plesk so I am sure others would benef

Re: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-20 Thread Richter, Gerald
Hi Chris, I think Neil has done a good explaination what can be done, so that a site scales better. Regardings the installation issues. The Problem is, that because Embperl work very close togehther with Apache and mod_perl, it needs to be compiled with the same compiler settings as Apache and mo

Re: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-18 Thread Neil Gunton
Chris Denman wrote: I made a utility for Twitter that went viral for a week - my server took 30,000 hits in a few hours. Of course, it crashed. I went away and tried everything to get it working under this sort of load. Thing is, the traffic slowed and I'll never know if my new setup with hold

Re: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-18 Thread Chris Denman
Hi Gerald, For someone like me who is more of an enthusiast rather than expert (I play and use a lot of trial and error) I find installing Embperl really confusing. Maybe it's just me, maybe I am missing the point. But for some reason it can take me a few days of bashing around to get it all to

Re: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-17 Thread Richter, Gerald
2009/9/17 Michael Stevens > Gerald, > > I've attached my diff below. It's mainly from the previous mailing list > post: > > > Hoping to see a new release soon? > Thanks for the patch. I have now not so much workload anymore and hope to get out a new version during the next weeks. The main work

RE: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-17 Thread Gerald Richter
009 11:06 AM > To: Hoenie Luk > Cc: embperl@perl.apache.org > Subject: Re: Gerald: please update module to include patch > for CGI.pm 3.38+ > > I've got a version that should work on github: > > http://github.com/mstevens/embperl-fork > > But it's in no wa

Re: Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-17 Thread Michael Stevens
I've got a version that should work on github: http://github.com/mstevens/embperl-fork But it's in no way an official release. 2009/9/17 Hoenie Luk > Hi Gerald, > > Can you please issue an update of Embperl to include the patch required to > work with CGI.pm 3.38+ f

Gerald: please update module to include patch for CGI.pm 3.38+

2009-09-16 Thread Hoenie Luk
Hi Gerald, Can you please issue an update of Embperl to include the patch required to work with CGI.pm 3.38+ for multipart/form-data? I am on a shared web host and the host refuses to do any modification on the installed Embperl.pm, unless it is an officially released module. Please help

Update Apache2.0 configuration

2009-03-06 Thread Ruben Safir
I decided to update my apache configuration to include modssl which I left out of the original installation in 2005. Evidently I don't have openssl headers on the server so I guess it is time to reinstall everything. The problem is that this is a substantial site with a lot of use and I

Update Apache2.0 configuration

2009-02-28 Thread Ruben Safir
I decided to update my apache configuration to include modssl which I left out of the original installation in 2005. Evidently I don't have openssl headers on the server so I guess it is time to reinstall everything. The problem is that this is a substantial site with a lot of use and I

Update:: session question

2004-12-09 Thread Will Schroeder
I got to thinking and I tried this: [- $req_rec = shift; -] [- my $udat = HTML::Embperl::Req::SetupSession($req_rec); -] Now when I close the tab in mozilla and re open the last page I see the data. When I close the browser totally and try to access the page from I do not see anything. I tried rep

Re: Update: Embperl / Apache

2003-12-03 Thread Jaak
On Wed, 2003-12-03 at 11:40, Johan van Vliet wrote: > Sorry that I have to post an update so quickly but I've been going at this > without any luck for 3 days and now something important is discovered: > > I stumbled over an RPM that has mod_perl-1.99_09 on: > http://www.a

Update: Embperl / Apache

2003-12-03 Thread Johan van Vliet
Sorry that I have to post an update so quickly but I've been going at this without any luck for 3 days and now something important is discovered: I stumbled over an RPM that has mod_perl-1.99_09 on: http://www.apache.org/~gozer/mp2/ However I still get: Invalid command 'Embperl_UseEnv

problems after update

2003-04-04 Thread Enrique Reyes
Hi I'm enrique and I have a problem I have apache2 (rpm httpd-2.0.40-8), mod_perl (rpm mod_perl-1.99_05-3) and perl-5.8.0-55 I get this long message the @INC can't find Constants.pm # apachectl start [Mon Mar 31 20:24:17 2003] [error] Can't locate loadable object for module Apache::Constant

Re: Update ...

2002-12-19 Thread Aaron Johnson
On Thu, 2002-12-19 at 02:51, Rajesh Kumar Mallah. wrote: > Oh so sorry to hear abt the laptop. > > > > tell me one thing , if i want to upgrade to Embperl 2.0b8 > from 1.3.4 what catastrope shud i expect? > do i have to change by code massively? > > In my case I had some very old scripts tha

Re: Update ...

2002-12-19 Thread Rajesh Kumar Mallah.
Thanks Andre , regds mallah. On Thursday 19 December 2002 01:54 pm, Andre Landwehr wrote: > On Thu, Dec 19, 2002 at 01:21:29PM +0530, Rajesh Kumar Mallah. wrote: > > tell me one thing , if i want to upgrade to Embperl 2.0b8 > > from 1.3.4 what catastrope shud i expect? > > do i have to change

Re: Update ...

2002-12-19 Thread Andre Landwehr
On Thu, Dec 19, 2002 at 01:21:29PM +0530, Rajesh Kumar Mallah. wrote: > tell me one thing , if i want to upgrade to Embperl 2.0b8 > from 1.3.4 what catastrope shud i expect? > do i have to change by code massively? Most things are in readme.v2, which is delivered along with embperl2.0b8 and is al

Re: Update ...

2002-12-18 Thread Rajesh Kumar Mallah.
Oh so sorry to hear abt the laptop. tell me one thing , if i want to upgrade to Embperl 2.0b8 from 1.3.4 what catastrope shud i expect? do i have to change by code massively? and thanks for the kind reply regds mallah. On Thursday 19 December 2002 12:52 pm, Angus Lees wrote: > At Wed

Re: Update ...

2002-12-18 Thread Angus Lees
At Wed, 18 Dec 2002 12:38:37 +0530, Rajesh Kumar Mallah. wrote: > I am using Embperl 1.3.4 > On Tuesday 17 December 2002 09:04 pm, Rajesh Kumar Mallah. wrote: > > [27802]CUP: Error while closing HTML::Embperl::DOC::_12::LOG: Can't locate > > object method "CLOSE" via package "HTML::Embperl::Log"

Re: Update ...

2002-12-17 Thread Rajesh Kumar Mallah.
Hi Cameron, Thanks for the reply , But EMBPERL_DEBUG is already set to 0 . Still its printing. Regds mallah. SetEnv EMBPERL_DEBUG 0 SetEnv EMBPERL_OPTIONS 16 # optReturnError = 262144 # SetEnv EMBPERL_OPTIONS 262160 PerlSetEnv EMBPERL_COOKIE_NAME "INF_AWER_6786876_UTTFES__QWF

Re: Update ...

2002-12-17 Thread Cameron McBride
> I am using Embperl 1.3.4 > > and its pumping 1000s of those lines every minute > into /tmp/embperl.log will any one please help well, if everything seems to be working - just turn off the logging until you figure out why. (I assume you have enough sampling of the error message). ;-) PerlSetEn

Update ...

2002-12-17 Thread Rajesh Kumar Mallah.
I am using Embperl 1.3.4 and its pumping 1000s of those lines every minute into /tmp/embperl.log will any one please help regds mallah. On Tuesday 17 December 2002 09:04 pm, Rajesh Kumar Mallah. wrote: > Hi All, > > I get following error in my embperl.log file on every request i think. > >

Re: DBIx Update

2002-09-02 Thread Gerald Richter
> table. Now, the problem is, that when some variables are undefined in this > %hash, but they exist in table, then Update sets them to 'undef' in table > too and I don't like it. > Just delet them from the data hash: foreach (keys %$data) { delete $data

DBIx Update

2002-09-02 Thread Viljo Marrandi
Hello, I have a problem with DBIx::Recordset Update (or it has a problem with me, not sure yet ;). I want to use one subroutine to update data in one table, but this sub is called from different places and it updates different fields of this table. Now, the problem is, that when some variables

Re: Lost update question

2001-05-03 Thread Gerald Richter
> > After a tiny bit of thinking maybe simple field > > last_update TIMESTAMP > > would be even simpler. It could even be automatically updated from a > DB trigger, so I'd only need to modify UPDATEs as you proposed > Yes, this will work too, but it's dat

Re: Lost update question

2001-05-03 Thread Robert
impler. It could even be automatically updated from a DB trigger, so I'd only need to modify UPDATEs as you proposed $set -> Update (\%params, { id => $fdat{id}, last_update => $fdat{last_update} }) Does Recordset's Update method return how many rows where updated? How will I know

Re: Lost update question

2001-05-02 Thread Robert
; and you take the next number out of the sequence. If your db doesn't have a > sequence you can return a number from the DBIx::Recordset sequnce classes. > The above filter will always be executed on every update so it makes sure > you always get a new number. > > So now you se

Re: Lost update question

2001-05-02 Thread Gerald Richter
an return a number from the DBIx::Recordset sequnce classes. The above filter will always be executed on every update so it makes sure you always get a new number. So now you select your record, pass the value of the updatecnt field to the next page. When it comes to an Update you simply say UPDATE

Re: Lost update question

2001-05-02 Thread ___cliff rayman___
Robert wrote: > Hi, > > I need to solve the "lost update problem" (when two users are editing > the same database record, one's changes are lost when they both save > it). I'm thinking about putting original version of the record in the > hidden field (ser

Re: Lost update question

2001-05-02 Thread Robert
Gerald Richter wrote: > > > I need to solve the "lost update problem" (when two users are editing > > the same database record, one's changes are lost when they both save > > it). I'm thinking about putting original version of the record in the > >

Re: Lost update question

2001-05-02 Thread Gerald Richter
Hi, > > I need to solve the "lost update problem" (when two users are editing > the same database record, one's changes are lost when they both save > it). I'm thinking about putting original version of the record in the > hidden field (serialied by Storable

Lost update question

2001-05-02 Thread Robert
Hi, I need to solve the "lost update problem" (when two users are editing the same database record, one's changes are lost when they both save it). I'm thinking about putting original version of the record in the hidden field (serialied by Storable) and upon saving do S

Re: Re: Re: about UPDATE table

2000-11-23 Thread Gerhard Egger
> $ki="UPDATE table1 SET name= 'ok5' where id=4 " !! Is there a semicolon after "where id=4 ""?? # well, i´m using Linux & mySQL, # i don´t have any idea about using disconnect on M$-SQL # (but it will prop

Re: Re: about UPDATE table

2000-11-23 Thread lyf
=sa;pwd=sa;'; $dbh = DBI->connect("dbi:ODBC:$DSN") or die "$DBI::errstr\n"; $ki="UPDATE table1 SET name= 'ok5' where id=4 " $st=$dbh->prepare($ki)or die"cannot update"; $st->execute; $dbh->disconnect; Server Error too, --

Re: about UPDATE table

2000-11-22 Thread Gerhard Egger
I think the right thing would be: > $ki="UPDATE table1 SET name= 'ok5' where id=4 " > $st=$dbh->prepare($ki); $st -> execute; $st->finish; # # You do not need to finish the handler if you re-use it # use $st again (makes the code more raedable) # > $sth=

about UPDATE table

2000-11-22 Thread lyf
i have problem with write sql writing like this: $ki="UPDATE table1 SET name= 'ok5' where id=4 " $st=$dbh->prepare($ki); $sth= $dbh -> prepare ("SELECT id,name,phone,data from $table order by id") or die "Cannot SELECT from '$table'" ; $sth

Re: problems after update

2000-11-07 Thread Gerald Richter
> I just updated to apache1.3.14, also updated mod_perl and tried to > reinstall embperl. Everything seems to be working until I add the > code to httpd.conf > Which version of mod_perl do you have ? You need mod_perl-1.24_01, anything before won't work with Apache 1.3.14 Gerald > > SetHand

problems after update

2000-11-07 Thread tleaven
I just updated to apache1.3.14, also updated mod_perl and tried to reinstall embperl. Everything seems to be working until I add the code to httpd.conf SetHandler perl-script PerlHandler HTML::Embperl Options ExecCGI I get this long message the @INC can't find Constants.pm Can't locate