Re: Dreamweaver MX and Embperl?
This erros occurs if the MMDocumentType.xml contains duplicated entries in the extensions attribute over different server models. Send me a copy of your file. Regards, Luiz Fernando B. Ribeiro Engenho Soluções para a Internet Em Tue, 21 Jan 2003 14:34:57 -0500 "Noel King" <[EMAIL PROTECTED]> escreveu: > The files appear to be updated. I get the following error on start > up:-"The document type 'HTML' will not be added because it uses a file > extension that is already associated with a prior document type." > > This error repeats while DMX is starting up for 'HTML' 'JavaScript' > 'VBScript' 'C-Sharp' 'VB' 'Java' 'HTML Template' 'EDML' 'CSS' 'XML' > 'Action Script' 'Text' 'WML' 'TLD' 'Library Item' 'Action Script > Communication' etc. actually it appears to repeat for every file type > in MX. > > I rename the current files 'extensionBAK.txt' and > 'MMDocumentTypeBAK.xml' and simply copy over the 'Extension.txt' to > the configuration sub-directory and MMDocumentType.xml to the Document > Types folder and the contents of the third party tags folder to its > counterpart in the DMX sub-directory. > > Do you have any other suggestions? Thanks for your help so far. > > 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" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dreamweaver MX and Embperl?
You have to backup your original files outside the original folders since DW scans them for xml files. I think that should solve your issues. Regards, Luiz Fernando B. Ribeiro Engenho Soluções para a Internet Em Tue, 21 Jan 2003 14:34:57 -0500 "Noel King" <[EMAIL PROTECTED]> escreveu: > The files appear to be updated. I get the following error on start > up:-"The document type 'HTML' will not be added because it uses a file > extension that is already associated with a prior document type." > > This error repeats while DMX is starting up for 'HTML' 'JavaScript' > 'VBScript' 'C-Sharp' 'VB' 'Java' 'HTML Template' 'EDML' 'CSS' 'XML' > 'Action Script' 'Text' 'WML' 'TLD' 'Library Item' 'Action Script > Communication' etc. actually it appears to repeat for every file type > in MX. > > I rename the current files 'extensionBAK.txt' and > 'MMDocumentTypeBAK.xml' and simply copy over the 'Extension.txt' to > the configuration sub-directory and MMDocumentType.xml to the Document > Types folder and the contents of the third party tags folder to its > counterpart in the DMX sub-directory. > > Do you have any other suggestions? Thanks for your help so far. > > 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" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
embedded perl and Interstage IPP
Hi, We are trying to port an existing application working on Apache to Interstages' IPP(Infoprovider Pro). The problem is that though we've managed to get mod perl examples running on IPP, we are at our wits end to figure out as to how embedded perl could be enabled on IPP. Interstage comes built in with its own perl. Has anybody worked with embedded perl and Interstage? We'll be extremly thankful for any light shed on this issue. Regards, Jagmohan ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mdat + udat = hang
Are there any issues with using mdat and udat in the same page?
I've been using udat for a while with no problems, and mdat also seems to
work fine on its own, but mdat and udat in a single page cause the server
to lockup.
I'm using Embperl 1.3.4, Session 1.54, SessionX 2.00b3. I'm using mysql
for session storage.
I have pages,
x.html: [+ $udat{x} +]
y.html: [+ $mdat{y} +]
z.html: [+ $udat{x}." ".$mdat{y} +]
x.html and y.html work fine, but z.html causes the page to hang forever.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
mdat + udat = hang
Are there any issues with using mdat and udat in the same page?
I've been using udat for a while with no problems, and mdat also seems to
work fine on its own, but mdat and udat in a single page cause the server
to lockup.
I'm using Embperl 1.3.4, Session 1.54, SessionX 2.00b3. I'm using mysql
for session storage.
I have pages,
x.html: [+ $udat{x} +]
y.html: [+ $mdat{y} +]
z.html: [+ $udat{x}." ".$mdat{y} +]
x.html and y.html work fine, but z.html causes the page to hang forever.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
no strict 'defs'
how do you set "no strict 'defs'" for the whole page (if you're using [$ var $]) ? thanks in advance - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: no strict 'defs'
Oops, that should read "no strict 'refs'". Sorry for the multiple posts. On Wed, 22 Jan 2003, Joshua Spoerri wrote: > how do you set "no strict 'defs'" for the whole page > (if you're using [$ var $]) ? > > thanks in advance > > > - > 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?
The URL parameters (?key=value) are not passed in to fdat with a form POST
method. I don't want them to go into fdat when I do an execute either. They
need to be passed to execute as key=value parameters just as if the page were
being hit from the web with the same parameters.
Does anyone know how to do this?
Scott
On Tuesday 21 January 2003 05:28 pm, Kee Hinckley wrote:
> Although I haven't done it, the docs on Execute say you can pass
> ffld => []
> fdat => {}
> and it will set them up.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
DBIx:Recordset
Can DBIx::Recordset make this update: UPDATE table SET col = col + ? WHERE id = ? If so, how??? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag 12.00-16.00 Web: www.suse.dk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
When will 2.0b9 be out?
"[=" changed from 2.0b8 to 2.0b9. In 2.0b8 [=Update Selected=] will give an error; 2.0b8 expects single quotes: [='Update Selected'=] . Not so in 2.0b9 from CVS. Can I tell 2.b8 to do as in 2.0b9? Or how long time before an official 2.0b9 ? -- Kaare Rasmussen--Linux, spil,--Tlf:3816 2582 Kaki Datatshirts, merchandize Fax:3816 2501 Howitzvej 75 Åben 12.00-18.00Email: [EMAIL PROTECTED] 2000 FrederiksbergLørdag 12.00-16.00 Web: www.suse.dk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
$fdat not working when using POST
I have been developing an embperl page on my local Windows machine with
Apache 1.3.6 installed. It has a button named "enter" and when pressed, the
form pass the query strings by POST method to the same page, and I can
detect a value in $fdat{enter}. So everything is working fine.
Then I ftp the page to my web host running Linux and Apache. All of a
sudden, $fdat{enter} is always undefined even when the button is pressed.
In fact, %fdat is always empty. So the same page reload as if it was
accessed for the first time.
I did find that if I change the method to GET, then the $fdat works again.
BTW, %udat works normally on the web host (using MySQL for storage and
locking; Apache::SessionX installed)
Now I would like POST to work on my web host, too, when the strings are
long. What could possibly cause this problem? Where should I look? (There
are no errors in the error log).
Thanks.
Hoenie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
$fdat not working when using POST
I have been developing an embperl page on my local Windows machine with
Apache 1.3.6 installed. It has a button named "enter" and when pressed, the
form pass the query strings by POST method to the same page, and I can
detect a value in $fdat{enter}. So everything is working fine.
Then I ftp the page to my web host running Linux and Apache. All of a
sudden, $fdat{enter} is always undefined even when the button is pressed.
In fact, %fdat is always empty. So the same page reload as if it was
accessed for the first time.
I did find that if I change the method to GET, then the $fdat works again.
BTW, %udat works normally on the web host (using MySQL for storage and
locking; Apache::SessionX installed)
Now I would like POST to work on my web host, too, when the strings are
long. What could possibly cause this problem? Where should I look? (There
are no errors in the error log).
Thanks.
Hoenie
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
HTML tags in hash
Hi all,
I'd like to do the following
$req->{msg} = "some text some more text";
Unfortunately the '' is not breaking. It's just getting displayed. The HTML output looks like '
'. Any ideas on how I can accomplish this... or if this is a dumb way to go about this.
I've tried escaping like so "\" to no avail.
--
Farouk Khawaja <[EMAIL PROTECTED]>
Instinet Corporation
***
<>
This message is intended only for the use of the Addressee and
may contain information that is PRIVILEGED and/or
CONFIDENTIAL or both.
This email is intended only for the personal and confidential use
of the recipient(s) named above.
If the reader of this email is not an intended recipient, you have
received this email in error and any review, dissemination,
distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender
immediately by return mail and permanently deleting the copy
you received.
Thank you.
***
Re: How to execute an epl as if url parms were passed?
At 10:23 AM -0800 1/22/03, Scott Chapman wrote: The URL parameters (?key=value) are not passed in to fdat with a form POST method. I don't want them to go into fdat when I do an execute either. They need to be passed to execute as key=value parameters just as if the page were being hit from the web with the same parameters. You've lost me here. First of all, are we talking about HTML::Embperl::Execute, or are you actually running a program that you want to have read parameters from STDIN? POST certainly sets %fdat normally. And the values are available to any Embperl::Execute subroutines directly. -- 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: HTML tags in hash
This didn`t work but I found the answer thanks to a tip by another member of this list.
[- $req->{msg} = "some test some more text"; -]
[+ do { local $escmode = 0; $req->{msg} } +]
This works. See... I just needed a good kick in the *ss to get me going.
fsk
On Wed, 2003-01-22 at 17:10, jose Luis Hernandez wrote:
On 22 Jan 2003, Farouk Khawaja wrote:
very simple
$req->{msg} = "some text \\\ some more text";
> Hi all,
>
> I'd like to do the following
>
> $req->{msg} = "some text some more text";
>
> Unfortunately the '' is not breaking. It's just getting displayed.
> The HTML output looks like '
'. Any ideas on how I can
> accomplish this... or if this is a dumb way to go about this.
>
> I've tried escaping like so "\" to no avail.
>
--
Farouk Khawaja <[EMAIL PROTECTED]>
Instinet Corporation
Installation problem
Below is the output from a attempt to install Embperl 1.3.4 on a system with the following Redhat 8.0 (psyche) httpd-2.0.40-11 httpd-devel-2.0.40-11 mod_perl-1.99_05-3 Seems to be looking for the Apache/src.pm file but can't find it. It is not on the system anywhere. A similar error with previous versions of apache was solved by installing apache-devel, but the devel package is installed here and there is no such file. Any suggestions appreciated. Winfield [root@win-laptop HTML-Embperl-1.3.4]# perl Makefile.PL Build with support for Apache mod_perl?(y/n) [y]y Searching for Apache sources... Look at .. Look at ../src Look at ./src Apache source not found, enter path name or q to quit []/usr/include/httpd Searching for Apache sources... Look at /usr/include/httpd Use /usr/include/httpd as Apache source(y/n) [y] Will use /usr/include/httpd for Apache Headers Enter path and file to start as httpd [/usr/include/httpd/httpd]/usr/sbin/httpd Apache Version Server version: Apache/2.0.40 Library for mod_actions.c not found, please enter path to mod_actions.so []/usr/lib/httpd/modules/ + Load dynamic module mod_actions.c (/usr/lib/httpd/modules//mod_actions.so) + Load dynamic module mod_cgi.c (/usr/lib/httpd/modules//mod_cgi.so) + Load dynamic module mod_alias.c (/usr/lib/httpd/modules//mod_alias.so) + Load dynamic module mod_env.c (/usr/lib/httpd/modules//mod_env.so) + Load dynamic module mod_perl.c (/usr/lib/httpd/modules//mod_perl.so) + Load dynamic module mod_mime.c (/usr/lib/httpd/modules//mod_mime.so) + Load dynamic module mod_dir.c (/usr/lib/httpd/modules//mod_dir.so) + mod_perl was build with USE_DSO Can't locate Apache/src.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at Makefile.PL line 852, line 5. [root@win-laptop HTML-Embperl-1.3.4]# - 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?
On Wednesday 22 January 2003 12:43 pm, you wrote: > At 10:23 AM -0800 1/22/03, Scott Chapman wrote: > >The URL parameters (?key=value) are not passed in to fdat with a form > > POST method. I don't want them to go into fdat when I do an execute > > either. They need to be passed to execute as key=value parameters just > > as if the page were being hit from the web with the same parameters. > > You've lost me here. > > First of all, are we talking about HTML::Embperl::Execute, or are you > actually running a program that you want to have read parameters from > STDIN? > > POST certainly sets %fdat normally. And the values are available to > any Embperl::Execute subroutines directly. Quote from Gerald: >Embperl passes the URL parameters in %fdat. That's what it always did. Only >if you have POST data (from a form) and URL parameters, you only get the >POST data in %fdat Yes, I'm using HTML::Embperl::Execute. How do I pass URL parameters to it just like it was receiving data from a browser? Do I just : [- Execute "/www/htdocs/page.epl?key=$value" -] ? Thanks! Scott - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DBIx:Recordset
At 7:31 PM +0100 1/22/03, Kaare Rasmussen wrote:
Can DBIx::Recordset make this update:
UPDATE table SET col = col + ? WHERE id = ?
$set->Update({
id => $id,
'\col' => "col + $foo",
});
but you are responsible for making sure $foo is escaped properly.
--
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: How to execute an epl as if url parms were passed?
At 5:29 PM -0800 1/22/03, Scott Chapman wrote:
On Wednesday 22 January 2003 12:43 pm, you wrote:
At 10:23 AM -0800 1/22/03, Scott Chapman wrote:
>The URL parameters (?key=value) are not passed in to fdat with a form
> POST method. I don't want them to go into fdat when I do an execute
> either. They need to be passed to execute as key=value parameters just
> as if the page were being hit from the web with the same parameters.
You've lost me here.
First of all, are we talking about HTML::Embperl::Execute, or are you
actually running a program that you want to have read parameters from
STDIN?
POST certainly sets %fdat normally. And the values are available to
any Embperl::Execute subroutines directly.
Quote from Gerald:
Embperl passes the URL parameters in %fdat. That's what it always did. Only
if you have POST data (from a form) and URL parameters, you only get the
POST data in %fdat
Ah. Right. I've never been able to determine from any spec what is
supposed to be done if there is both POST *and* GET data. Just
taking the POST seems as good as any solution.
Yes, I'm using HTML::Embperl::Execute. How do I pass URL parameters to it
just like it was receiving data from a browser? Do I just :
[- Execute "/www/htdocs/page.epl?key=$value" -]
That's what I was trying to say with my hurried example. From the
documentation it looks like you should be able to say:
Execute({ inputfile => "/www/htdocs/page.epl", $fdat => {key =>
$value}, $ffld -> ['key']});
--
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]
