You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by D B <ga...@yahoo.com> on 2004/06/29 17:12:29 UTC

Re: [Apache::ASP] Digest Number 487

Thanks for the quick response Josh.  I took a much needed fishing trip this weekend so im just getting back to this.  I asked the creator of this app if it has been run on Apache::ASP, and they just keep telling me that they don't give support for free programs.  So they arent going to help on bit.  Anyway, I have gotten this far.  After finally calming down i decided to try to put all the subs from PirinDN::PageFrame into the files that are calling them, and now they are working fine.  So that tells me that this app is not calling PirinDN::PageFrame correctly, or even at all.  The rest of the "use"\'s its asking for are working perfectly.  Is there anything i can check as far as permissions or anything in this file that would stop it from working?
 
Anyway i got those subs moved and now i get this:
(this is where the app is trying to parse the first page of the app)
 
Couldn't create file parser context for file "dir/path/to/PageFrame.xslt": No such file or directory at /usr/lib/perl5/site_perl/5.8.0//i386-linux-thread-multi/XML/LibXML.pm line 435. at /usr/lib/perl5/site_perl/5.8.0//PirinDN/XSLT.pm line 131

Any ideas on this error?
once again i know its not much to work with, but its all i got as well.
 
--thanks, 
      Donnie

apache-asp@yahoogroups.com wrote:
------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/ndFolB/TM
--------------------------------------------------------------------~-> 

There are 2 messages in this issue.

Topics in this digest:

1. ASP newb
From: "gamgisan" 
2. Re: ASP newb
From: Josh Chamas 


________________________________________________________________________
________________________________________________________________________

Message: 1
Date: Fri, 25 Jun 2004 18:08:31 -0000
From: "gamgisan" 
Subject: ASP newb

i have spent most of my morning trying to get some third party 
control panel setup on my server. First i got ASP up and running 
fine, i know this cause the examples from the website worked fine. 
So i copied over all the info for the control panel and run it, and i 
get this error:

Errors Output 
Undefined subroutine &PirinDN::PageFrame::Redirect called 
at /home/httpd/vhosts/jbsites.com/httpdocs/interface/Default.asp line 
33. , /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1489 
Debug Output 
Undefined subroutine &PirinDN::PageFrame::Redirect called 
at /home/httpd/vhosts/jbsites.com/httpdocs/interface/Default.asp line 
33. , /usr/lib/perl5/site_perl/5.8.0/Apache/ASP.pm line 1489 
ASP to Perl Script 

-: use strict;;;use vars qw($Application $Session $Response $Server 
$Request);;
-: #line 
1 /home/httpd/vhosts/jbsites.com/httpdocs/interface/Default.asp
1: ;; ; ; &Apache::ASP::WriteRef($main::Response, \('
2: '));
3: #----------------------------------------------------------------
---------
4: # $Id: Default.asp,v 0.10 2003/02/14 17:10:00 mrobski Exp $
5: # $Revision: 0.10 $
6: #
7: # Copyright (C) 2003 Mike Robski
8: #
9: # This library is free software; you can redistribute it and/or
10: # modify it under the terms of the GNU Library General Public
11: # License as published by the Free Software Foundation; either
12: # version 2 of the License, or (at your option) any later 
version.
13: #
14: # This library is distributed in the hope that it will be useful,
15: # but WITHOUT ANY WARRANTY; without even the implied warranty of
16: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
GNU
17: # Library General Public License for more details.
18: #
19: # You should have received a copy of the GNU Library General 
Public
20: # License along with this library; if not, write to the
21: # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22: # Boston, MA 02111-1307, USA.
23: #----------------------------------------------------------------
---------
24: 
25: use ASP;
26: use PirinDN::Config;
27: use PirinDN::PageFrame;
28: use strict;
29: 
30: PirinDN::Config::init( $main::Application->{'configPath'} );
31: 
32: 
33: PirinDN::PageFrame::Redirect( $PirinCPConfig
{'baseURL'} . '/Domains/Default.asp' );
34: ;

so of course i got pissed off after about the 50th time seeing this 
that i just pounded on my refresh button until i get this: 

Couldn't create file parser context for 
file "home/httpd/vhosts/jbsites.com/httpdocs/interface/xslt/PageFrame.
xslt": No such file or directory 
at /usr/lib/perl5/site_perl/5.8.0//i386-linux-thread-
multi/XML/LibXML.pm line 435. 
at /usr/lib/perl5/site_perl/5.8.0//PirinDN/XSLT.pm line 131 

now the two errors happen sparatically. 

did i screw something up in my config so make these files not find 
the subroutines they are looking for. I know theres not much info 
here on my config, but if anybody has any suggestions i would greatly 
appreciate it.


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org



________________________________________________________________________
________________________________________________________________________

Message: 2
Date: Fri, 25 Jun 2004 11:29:12 -0700
From: Josh Chamas 
Subject: Re: ASP newb

gamgisan wrote:
> i have spent most of my morning trying to get some third party 
> control panel setup on my server. First i got ASP up and running 
> fine, i know this cause the examples from the website worked fine. 
> So i copied over all the info for the control panel and run it, and i 
> get this error:

You might contact the author of the control panel about this, but it
seems to me that since the control panel code is referencing ASP,
and not Apache::ASP, that it would not necessarily run under Apache::ASP.

In looking now at the README for the ASP.pm module, it seems that it
offers Apache::ASP compatibility as well, but it seems that was bolted
on after the fact as the cross platform support may not be complete
or well tested. It was developed origially for use on IIS/ASP/PerlScript

Anyway, you should check with the author to make sure the panel has
been run under Apache::ASP before. The obvious bug here is that the
PirinDN::PageFrame::Redirect subroutine is not defined, so maybe this
is as easy as fixing the PirinDN::PageFrame package (?) I am betting
that it is trying to import a Redirect from an ASP object namespace,
and failing under Apache::ASP to do this.

Regards,

Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org



________________________________________________________________________
________________________________________________________________________



------------------------------------------------------------------------
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/apache-asp/

<*> To unsubscribe from this group, send an email to:
apache-asp-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

------------------------------------------------------------------------



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: [Apache::ASP] Digest Number 487

Posted by Josh Chamas <jo...@chamas.com>.
D B wrote:
> Thanks for the quick response Josh.  I took a much needed fishing trip 
> this weekend so im just getting back to this.  I asked the creator of 
> this app if it has been run on Apache::ASP, and they just keep telling 
> me that they don't give support for free programs.  So they arent going 
> to help on bit.  Anyway, I have gotten this far.  After finally calming 
> down i decided to try to put all the subs from PirinDN::PageFrame into 
> the files that are calling them, and now they are working fine.  So that 
> tells me that this app is not calling PirinDN::PageFrame correctly, or 
> even at all.  The rest of the "use"\'s its asking for are working 
> perfectly.  Is there anything i can check as far as permissions or 
> anything in this file that would stop it from working?
>  
> Anyway i got those subs moved and now i get this:
> (this is where the app is trying to parse the first page of the app)
>  
> Couldn't create file parser context for file 
> "dir/path/to/PageFrame.xslt": No such file or directory at 
> /usr/lib/perl5/site_perl/5.8.0//i386-linux-thread-multi/XML/LibXML.pm 
> line 435. at /usr/lib/perl5/site_perl/5.8.0//PirinDN/XSLT.pm line 131
> Any ideas on this error?
> once again i know its not much to work with, but its all i got as well.
>  

Well, you might try to find out where PageFrame.xslt is, and make sure
that the path being executed by the LibXML load will work with that.
You could do a chdir() to make that work later file call work if you
don't want to move the xslt file, but you would want to chdir() back
to &File::Basename::dirname($0) afterward to make sure script
execution processes as normal, as Apache::ASP script execution
often relies on this being true.  $0 is the current script filename BTW.

Regards,

Josh
________________________________________________________________________
Josh Chamas, Founder    | NodeWorks - http://www.nodeworks.com
Chamas Enterprises Inc. | NodeWorks Directory - http://dir.nodeworks.com
http://www.chamas.com   | Apache::ASP - http://www.apache-asp.org


---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org