This isn't so much a bug in embperl 2, as it is a lack of an expected error
message
I have the following script:
[-
$table_type=2;
-]
[$ if ($table_type == 1) $]
One kind of table
Another kind of table
[$ endif $]
NOTE the missing close angle bracket on the first tag !
When
> [$ else $]
>
...
> When this page is displayed, no error is thrown up and the output is all
the
> html except that which would have come out of the buggy if statement.
>
I know that the error reporting of Embperl has to be improved, but such an
error is hard to catch. The above code becomes o
I was concerned when I saw these entries in my apache error log:
[Sun May 13 12:05:09 2001] [error] [client 38.28.207.49] File does not exist:
/www/crazyguyonabike/com/htdocs/_vti_bin/shtml.exe/_vti_rpc
(offline mode: enter name=value pairs on standard input)
What's this offline mode stuff? Is
> I was concerned when I saw these entries in my apache error log:
>
> [Sun May 13 12:05:09 2001] [error] [client 38.28.207.49] File does not
exist: /www/crazyguyonabike/com/htdocs/_vti_bin/shtml.exe/_vti_rpc
> (offline mode: enter name=value pairs on standard input)
>
This is from CGI.pm. CGI.
Hi.
I'm trying to work out the reason for some speed problems
I'm having with a complicated embperl based page...
Is there any equivalent of Devel::DProf that will give
me useful and meaningful results on the time spent inside
different sections of my embperl pages?
I've used Devel::DProf, and
Gerald Richter wrote:
> I don't think there is much to worry about. I guess somebody has opend your
> page with MS Word. The only interesting thing for me, would be why CGI.pm
> think it's started form the command line
Thanks Gerald, so this looks like yet another annoyance from Microsoft.
Just a
Hi.
>
> I've used Devel::DProf, and all I can tell is that my code
> spends most if its time inside HTML::Embperl::Req::ExecuteReq,
> which isn't really surprising, given that all it does
> is run one big embperl page.
>
For Embperl 2 I would expect more detailed results from Devel::DProf, but I
>
> Thanks Gerald, so this looks like yet another annoyance from Microsoft.
Oh, webdav is a cool thing, if you need write access to your webserver, for
example for maintaining the content of your website. Addtional to uploading
documents, you can also assign properties to every document. I use th
> I guess this location ( the root of your web) is served by Embperl, isn't it
> ? If it is, it's actualy the CGI.pm inside of Embperl that gets triggered.
> The question is why ? Do you see an access to your web root with strange
> parameters in %fdat ?
I have the following code in my /init.html
instead of putting the icon in each directory, try these rewrite rules:
RewriteCond %REQUEST_FILENAME !/my_icons/favicon.ico$
RewriteRule favicon.ico$ /my_icons/favicon.ico
Neil Gunton wrote:
> Just as I'd gotten rid of all those irritating error log entries related
> to favicon.ico (I finally
___cliff rayman___ wrote:
>
> instead of putting the icon in each directory, try these rewrite rules:
>
> RewriteCond %REQUEST_FILENAME !/my_icons/favicon.ico$
> RewriteRule favicon.ico$ /my_icons/favicon.ico
Hmmm, thanks a lot! I'll try that.
-Neil
---
I am just starting out with embperl. I installed it on a Redhat 5.2 server
running Linux 2.0.26 and perl 5.004_04 and Apache 1.3.6. Tests from the
examples at perl.apache.org (if.htm, loop.htm, etc.) work fine on this
machine with this virtual host. But I can not get an example on a
template show
if by key order then"
@application_k = sort keys %GSIS::PROD_APPLICATION;
if by value order by key order then:
@application_k =
map {$_->[0]}
sort {$a->[1] <=> $b->[1] || $a->[0] cmp $b->[0]}
map {[$_ , $GSIS::PROD_APPLICATION{$_}]}
keys %GSIS::PROD_A
> no error is thrown up and the output is all the
> html except that which would have come out of the buggy if statement.
EmbPerl does not validate html.
I once heard that the reason that Natscape was so bloated, was because
that it tries to render these things correctly. i.e. anticipate bad
ht
On Mon, May 14, 2001 at 05:14:31PM -0700, ___cliff rayman___ wrote:
> if by value order by key order then:
> @application_k =
> map {$_->[0]}
> sort {$a->[1] <=> $b->[1] || $a->[0] cmp $b->[0]}
> map {[$_ , $GSIS::PROD_APPLICATION{$_}]}
> keys %GSIS::PROD_A
Greeting
When we work with forms, the values of which are automatically filled in
the
follow up forms with the same values, as it should. WHo do I turn that off
on
given form? Do I need to manipulate udat or idat?
Ruben
--
Brooklyn Linux Solutions
http://www.mrbrklyn.com
http://www.brookly
you're right.
in the original example i stole this from, there were
some function calls and data tests. without them,
this is overly complex .
Angus Lees wrote:
> On Mon, May 14, 2001 at 05:14:31PM -0700, ___cliff rayman___ wrote:
> > if by value order by key order then:
> > @application_k
On Mon, May 14, 2001 at 10:22:22PM -0400, Brooklyn Linux Solutions CEO wrote:
> When we work with forms, the values of which are automatically
> filled in the follow up forms with the same values, as it should.
> WHo do I turn that off on given form? Do I need to manipulate udat
> or idat?
$optD
> I am just starting out with embperl. I installed it on a Redhat 5.2 server
> running Linux 2.0.26 and perl 5.004_04 and Apache 1.3.6. Tests from the
> examples at perl.apache.org (if.htm, loop.htm, etc.) work fine on this
> machine with this virtual host. But I can not get an example on a
> t
19 matches
Mail list logo