Re: 1.3.5 : still make test pb on RedHat 8
Gerald Richter wrote: From the files you send me it looks like it is a problem of the test programm and not a problem of Embperl or that the Apache that you are using is doing some unicode conversions. Is there any chance that I can get remote access to the machine where this problem occurs? continue by private email - r. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dreamweaver MX and Embperl?
Hi Maurício, What is not working for you? Até mais, Luiz Fernando B. Ribeiro Engenho Soluções para a Internet Em Mon, 20 Jan 2003 20:56:53 + "Maurício Amorim " <[EMAIL PROTECTED]> escreveu: > Hi list, > > I have the following problem: > > I am using dream weaver MX in an Windows NT workstation. > > The dream weaver MX copy the configuration files to > c:\winnt\profiles\masilva\Dados de aplicativos(application > data)\dreamweaverMX\Configuration > > I have that update the files present in Configuration directory > instalattion and copy for directory above or update directly in the > directory above (c:\winnt\profiles\masilva\Dados de > aplicativos(application data)\dreamweaverMX\Configuration).(or remove > the directory c:\winnt\profiles\masilva\Dados de > aplicativos(application data)\dreamweaverMX\Configuration and quit and > init the DreamWeaver MX newly. ) > > I modify the following files: > > 1) \Extensions.txt > > I modify the first row for: > > HTM,HTML,SHTM,SHTML,HTA,HTC,STM,SSI,JS,AS,XML,XSL,XSD,DTD,XSLT,LBI,DW > T,ASP,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4 > ,LASSO,JSP,VB,VTM,VTML,INC,JAVA,EDML,WML,EPL:All Documents > > I add: > > EPL:EmbPerl Documents > > > 2) DocumentTypes\MMDocumentTypes.xml > >macfileextension="epl" file="Default.html"> > > > 3) CodeColoring\CodeColoring.xml > >doctypes="ASP.NET_VB,ASP.NET_CSharp,ASP-JS,ASP-VB,ColdFusion,CFC,HTM > L,JSP,EDML,PHP_MySQL,LibraryItem,WML,EMBPERL" priority="50"> > > > 4) \FTPExtensionMap.txt > > > EPL ASCII > > > > Bye, Mauricio > > > De:"Luiz Fernando B. Ribeiro" > > Para:[EMAIL PROTECTED] > > Cópia: > > Data:Mon, 20 Jan 2003 08:40:58 -0200 > > Assunto:Re: Dreamweaver MX and Embperl? > > > > > Hi Noel, > > > > It seems that some of the files were not updated. Open your > > Extensions.txt and MMDocumentType.xml and check if the .epl > > extension is there. > > > > Regards, > > > > Luiz Fernando B. Ribeiro > > Engenho Soluções para a Internet > > > > > > Em Thu, 16 Jan 2003 21:44:57 -0500 > > "Noel King" escreveu: > > > > > Luiz, > > > I hope you don't mind me writing you on this. I copied the files > > > from the extracted zip to the configuration folder and the > > > appropriate sub-folders in that folder. Dreamweaver MX still opens > > > my .epl files to edit as text files only and the iconic appearance > > > in the tree is still that Dreamweaver seems not to be able to > > > identify the file type. Is there anything else I should do. > > > Thanks, > > > Noel > > > > > > -Original Message- > > > From: Luiz Fernando B. Ribeiro > > > [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, > > > 2003 06:35 AM To: [EMAIL PROTECTED] > > > Subject: Re: Dreamweaver MX and Embperl? > > > > > > Hi, > > > > > > Download: > > > http://www.engenhosolucoes.com.br/arquivos/DW_Embperl.zip > > > > > > Extract this zip file in your Dreamweaver MX Configuration folder > > > (backup first) and it should work. This is a simple setup with > > > just code identification and icons. I use the extension .epl to > > > designate Embperl pages so if you use any other you you have to > > > add them to the Extensions.txt file and MMDocumentTypes.xml file. > > > > > > Dreamweaver MX is very customizable and you can really make it an > > > Embperl friend. You can be surprized by how much it can speed up > > > your layuot and design tasks. > > > > > > Contact me if you need further help. > > > > > > Regards, > > > > > > Luiz Fernando B. Ribeiro > > > Engenho Soluções para a Internet > > > > > > > > > Em Thu, 16 Jan 2003 01:02:03 -0500 > > > Saadiq Rodgers-King escreveu: > > > > > > > I'm aware of this extension (http://www.somewhere.com/software/) > > > > for Dreamweaver 3, but has anyone had any success making MX play > > > > nicely w/ Embperl? I'm not very familiar w/ Dreamweaver at all, > > > > preferring vi myself, but I can't expect the rest of my team to > > > > use vi. I'd appreciate any tips. Thanks. > > > > > > > > --- > > > > -- To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] For additional commands, > > > > e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --- > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > > Scan engine: VirusScan / Atualizado em 15/01/2003 / Versão: 1.3.13 > > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/ > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command
compiling error
Hi! While compiling Embperl from CVS (2.0b9_dev-6) and mod_perl 1.99_08. I got an error: gcc -c -I/usr/local/apache2/include -I/usr/local/apache2/regex -I/usr/local/apache2/os/unix -I/usr/include/libxml2 -I/usr/include/libxml2 -I/usr/src/embperl/embperl/xs -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdbm -I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE -DMOD_PERL -O2 -march=i386 -mcpu=i686 -DVERSION=\"2.0b9_dev-6\" -DXS_VERSION=\"2.0b9_dev-6\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DAPACHE -DAPACHE2 -DEP2 -DLIBXSLT -o mod_embperl.o mod_embperl.c In file included from mod_embperl.c:659: epcfg.h: In function `embperl_Apache_Config_AppConfigbCookieSecure': epcfg.h:59: warning: cast from pointer to integer of different size In file included from mod_embperl.c:659: epcfg.h: In function `embperl_Apache_Config_AppConfigbMaildebug': epcfg.h:62: warning: cast from pointer to integer of different size mod_embperl.c: In function `embperl_GetApacheReqParam': mod_embperl.c:953: request for member `sin_port' in something not a structure or union gmake: *** [mod_embperl.o] Error 1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with %udat
I haven't disabled cookies. I reconfigured my browser (Netscape 7 on Mac OS X) as you suggest, and there was no notice of a cookie being sent. :-( On Tuesday, January 21, 2003, at 01:06 AM, Gerald Richter wrote: Is it possible that you disabled cookies? The best thing is to tell the browser to ask whenever to set a cookie, then restart your browser and see if the page where you access %udat send you a cookie Gerald - Gerald Richterecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131 WWW:http://www.ecos.de Fax: +49 6133 925152 - - Original Message - From: "Michael Boudreau" <[EMAIL PROTECTED]> To: "Gerald Richter" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, January 17, 2003 4:56 PM Subject: Re: problem with %udat At 1/17/03 08:21 AM, Gerald Richter wrote: % apachectl start [6351]SES: Embperl Session management enabled () Mmmh, you should see a version number between the braces. DO you have also Apache::Session installed (without the ending X) ? Apache::Session and Apache::SessionX are installed. I can run a tiny script that includes "use Apache::Session" and "use Apache::SessionX" and it gives no error messages. ok, so Apache::SessionX installation is ok. Do you have any configuration directives realated to sessions in your httpd.conf. If yes please send them. There are none. I added [- $dbgSession=1; -] before the code which uses %udat. Do you see any lines starting with SES in your embperl.log file? None. The only other thing I can think to add is that, for each attempt, I do see two rows added to the "sessions" table of the "session" database, but I don't know how to interpret it: mysql> select * from sessions where lastchanged > '2003-01-17'; +-- + -++ | id | a_session | lastchanged| +-- + -++ | 6296fed74205b1cdada087a292b96482 | | 20030117094746 | | fa38276d2d5258b139e7fa7aa4268be7 | | 20030117094755 | +-- + -++ 2 rows in set (0.01 sec) mysql> VT102VT102 Notice the two "VT102" strings that appear in the mysql prompt after the result set. Very weird. = Michael Boudreau Senior Electronic Publishing Developer The University of Chicago Press 1427 E. 60th Street Chicago, IL 60637-2954 phone: 773 753 3298 fax: 773 753 3383 = Michael R. Boudreau Senior Electronic Publishing Developer The University of Chicago Press 1427 E. 60th Street Chicago, IL 60637 773-753-3298 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dreamweaver MX and Embperl?
I'm sorry, I didn't have more problems. I tried explain the problems that i had. Bye De: "Luiz Fernando B. Ribeiro" <[EMAIL PROTECTED]> Para: [EMAIL PROTECTED] Cópia: Data: Tue, 21 Jan 2003 12:14:33 -0200 Assunto: Re: Dreamweaver MX and Embperl? > Hi Maurício, > > What is not working for you? > > Até mais, > > Luiz Fernando B. Ribeiro > Engenho Soluções para a Internet > > > Em Mon, 20 Jan 2003 20:56:53 + > "Maurício Amorim " <[EMAIL PROTECTED]>escreveu: > > > Hi list, > > > > I have the following problem: > > > > I am using dream weaver MX in an Windows NT workstation. > > > > The dream weaver MX copy the configuration files to > > c:\winnt\profiles\masilva\Dados de aplicativos(application > > data)\dreamweaverMX\Configuration > > > > I have that update the files present in Configuration directory > > instalattion and copy for directory above or update directly in the > > directory above (c:\winnt\profiles\masilva\Dados de > > aplicativos(application data)\dreamweaverMX\Configuration).(or remove > > the directory c:\winnt\profiles\masilva\Dados de > > aplicativos(application data)\dreamweaverMX\Configuration and quit and > > init the DreamWeaver MX newly. ) > > > > I modify the following files: > > > > 1) \Extensions.txt > > > > I modify the first row for: > > > > HTM,HTML,SHTM,SHTML,HTA,HTC,STM,SSI,JS,AS,XML,XSL,XSD,DTD,XSLT,LBI,DW > > T,ASP,ASPX,ASCX,ASMX,CONFIG,CS,CSS,CFM,CFML,CFC,TLD,TXT,PHP,PHP3,PHP4 > > ,LASSO,JSP,VB,VTM,VTML,INC,JAVA,EDML,WML,EPL:All Documents > > > > I add: > > > > EPL:EmbPerl Documents > > > > > > 2) DocumentTypes\MMDocumentTypes.xml > > > > > > macfileextension="epl" file="Default.html"> > > > > > > 3) CodeColoring\CodeColoring.xml > > > > > > doctypes="ASP.NET_VB,ASP.NET_CSharp,ASP-JS,ASP-VB,ColdFusion,CFC,HTM > > L,JSP,EDML,PHP_MySQL,LibraryItem,WML,EMBPERL" priority="50"> > > > > > > 4) \FTPExtensionMap.txt > > > > > > EPL ASCII > > > > > > > > Bye, Mauricio > > > > > > De:"Luiz Fernando B. Ribeiro" > > > > Para:[EMAIL PROTECTED] > > > > Cópia: > > > > Data:Mon, 20 Jan 2003 08:40:58 -0200 > > > > Assunto:Re: Dreamweaver MX and Embperl? > > > > > > > > > Hi Noel, > > > > > > It seems that some of the files were not updated. Open your > > > Extensions.txt and MMDocumentType.xml and check if the .epl > > > extension is there. > > > > > > Regards, > > > > > > Luiz Fernando B. Ribeiro > > > Engenho Soluções para a Internet > > > > > > > > > Em Thu, 16 Jan 2003 21:44:57 -0500 > > > "Noel King" escreveu: > > > > > > > Luiz, > > > > I hope you don't mind me writing you on this. I copied the files > > > > from the extracted zip to the configuration folder and the > > > > appropriate sub-folders in that folder. Dreamweaver MX still opens > > > > my .epl files to edit as text files only and the iconic appearance > > > > in the tree is still that Dreamweaver seems not to be able to > > > > identify the file type. Is there anything else I should do. > > > > Thanks, > > > > Noel > > > > > > > > -Original Message- > > > > From: Luiz Fernando B. Ribeiro > > > > [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, > > > > 2003 06:35 AM To: [EMAIL PROTECTED] > > > > Subject: Re: Dreamweaver MX and Embperl? > > > > > > > > Hi, > > > > > > > > Download: > > > > http://www.engenhosolucoes.com.br/arquivos/DW_Embperl.zip > > > > > > > > Extract this zip file in your Dreamweaver MX Configuration folder > > > > (backup first) and it should work. This is a simple setup with > > > > just code identification and icons. I use the extension .epl to > > > > designate Embperl pages so if you use any other you you have to > > > > add them to the Extensions.txt file and MMDocumentTypes.xml file. > > > > > > > > Dreamweaver MX is very customizable and you can really make it an > > > > Embperl friend. You can be surprized by how much it can speed up > > > > your layuot and design tasks. > > > > > > > > Contact me if you need further help. > > > > > > > > Regards, > > > > > > > > Luiz Fernando B. Ribeiro > > > > Engenho Soluções para a Internet > > > > > > > > > > > > Em Thu, 16 Jan 2003 01:02:03 -0500 > > > > Saadiq Rodgers-King escreveu: > > > > > > > > > I'm aware of this extension (http://www.somewhere.com/software/) > > > > > for Dreamweaver 3, but has anyone had any success making MX play > > > > > nicely w/ Embperl? I'm not very familiar w/ Dreamweaver at all, > > > > > preferring vi myself, but I can't expect the rest of my team to > > > > > use vi. I'd appreciate any tips. Thanks. > > > > > > > > > > --- > > > > > -- To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] For additional commands, > > > > > e-mail: [EMAIL PROTECTED] > > > > >
How to execute an epl as if url parms were passed?
How do I execute a epl script and pass it parms like calling a URL: http://host/page.url?key=value How do I pass key and value to an executed script correctly? Thanks! Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to execute an epl as if url parms were passed?
Do you mean to redirect to other page, like this?:
[-
$http_headers_out{Location}="index.epl?module=News;sid=$sid;order=$fdat{order}"; -]
CKG
El mar, 21-01-2003 a las 15:50, Scott Chapman escribió:
> How do I execute a epl script and pass it parms like calling a URL:
> http://host/page.url?key=value
>
> How do I pass key and value to an executed script correctly?
>
> Thanks!
> Scott
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Consultoría ERP BaaN Tools
Aplicaciones Internet/Intranet
http://www.glin.com.mx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to execute an epl as if url parms were passed?
I want the same effect but I don't want to use redirection. I want to use
execute instead.
Scott
On Tuesday 21 January 2003 02:40 pm, Carlos Kassab wrote:
> Do you mean to redirect to other page, like this?:
>
> [-
> $http_headers_out{Location}="index.epl?module=News;sid=$sid;order=$fdat{ord
>er}"; -]
>
>
> CKG
>
> El mar, 21-01-2003 a las 15:50, Scott Chapman escribió:
> > How do I execute a epl script and pass it parms like calling a URL:
> > http://host/page.url?key=value
> >
> > How do I pass key and value to an executed script correctly?
> >
> > Thanks!
> > Scott
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to execute an epl as if url parms were passed?
You can load your files like this and then the variables are in the same
namespace.
Execute ({inputfile => 'config_news.epl', package => __PACKAGE__});
or you can do this:
[-
$eplsiteparams = shift;
$eplsiteparams -> {param1} = "one";
$eplsiteparams -> {param2} = "two";
Execute ('config_news.epl');
-]
and inside file config_news.epl(file being executed) you have to do
this(once) to get the values:
[-
$eplsiteparams = shift;
$param1 = $eplsiteparams -> {param1};
$param2 = $eplsiteparams -> {param2};
-]
more code
I hope it helps.
CKG
El mar, 21-01-2003 a las 16:43, Scott Chapman escribió:
> I want the same effect but I don't want to use redirection. I want to use
> execute instead.
>
> Scott
>
> On Tuesday 21 January 2003 02:40 pm, Carlos Kassab wrote:
> > Do you mean to redirect to other page, like this?:
> >
> > [-
> > $http_headers_out{Location}="index.epl?module=News;sid=$sid;order=$fdat{ord
> >er}"; -]
> >
> >
> > CKG
> >
> > El mar, 21-01-2003 a las 15:50, Scott Chapman escribió:
> > > How do I execute a epl script and pass it parms like calling a URL:
> > > http://host/page.url?key=value
> > >
> > > How do I pass key and value to an executed script correctly?
> > >
> > > Thanks!
> > > Scott
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to execute an epl as if url parms were passed?
Although I haven't done it, the docs on Execute say you can pass
ffld => []
fdat => {}
and it will set them up.
--
Kee Hinckley - Somewhere.Com, LLC
Business: http://consulting.somewhere.com/
Writings: http://commons.somewhere.com/buzz/
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Re: Recursivity with embperl
Hi:
Thank you for your help. it worked. Below is an example of a recursive
process:
But i still have a question, how can i do to print inside the procedure
get_factorial without call the subroutine eplprint?. If i try to use
embperl code to define the sub ([$ sub get factorial $]), it does not
work.
[$ sub eplprint $]
[- $c = shift ; -]
[+ $c +]
[$ endsub $]
[*
sub get_factorial
{
local $a;
$a = shift;
if( $a == 1 )
{
&eplprint($a);
return($a);
} else {
&eplprint($a);
return($a*&get_factorial($a-1));
}
}
*]
[- $d= 3; $b=&get_factorial($d);-]
--- "Factorial" of [+ $d +] is [+ $b +]
Thank you
Carlos Kassab
El mar, 21-01-2003 a las 00:59, Gerald Richter escribió:
>
> >
> > it seems that embperl is loosing the values for recursive process.
> >
> > Do you know a way to do recursive processes with embperl? i am using
> > embperl 1.3.4
> >
>
> If you are using Embperl's [$ sub $] or Execute to do the recursive call you
> need to declare the variables local. In Embperl you can do this with
>
> [*
> local $foo ;
> local $bar ;
> *]
>
> Note that in 1.3.4 'my' instead of local does not work (in 2.0 it does)
>
> Gerald
>
>
> -
> Gerald Richterecos electronic communication services gmbh
> Internetconnect * Webserver/-design/-datenbanken * Consulting
>
> Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
> E-Mail: [EMAIL PROTECTED] Voice:+49 6133 925131
> WWW:http://www.ecos.de Fax: +49 6133 925152
> -
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Re: Recursivity with embperl
If you don't want to use [* local *], I've on occasion made use of the @_ as a variable stack. Doesn't exactly make for clear code though. -- Kee Hinckley - Somewhere.Com, LLC Business: http://consulting.somewhere.com/ Writings: http://commons.somewhere.com/buzz/ I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Recursivity with embperl
>But i still have a question, how can i do to print inside the procedure >get_factorial without call the subroutine eplprint? print OUT $a ; Gerald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
