Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Try out Apache::PageKit online

by princepawn (Parson)
on Jul 25, 2001 at 20:27 UTC ( [id://99725]=perlmeditation: print w/replies, xml ) Need Help??

Installing all the stuff for Apache::PageKit has been arduous... but now you can try it out at my Perlmonk's User Site.. lots of nice demos, something that can't be said for it's similar framework, AxKit. for the better part of this day as I must get down to real work instead of Perl hobbying.

Replies are listed 'Best First'.
(Ovid) Re: Try out Apache::PageKit online
by Ovid (Cardinal) on Jul 26, 2001 at 00:12 UTC

    Your form validation script appears to have some validation issues. As of this writing, this link to it causes an internal server error. I tried using a single quote in the email field as single quotes often break sites using a database. I'd be surprised if such a simple script is using any SQL, but if it is, I'd be careful. It's trivial to embed malicious SQL in a URL if the single quote is interfering with the SQL. It's a relatively common attack (and ridiculously easy).

    Cheers,
    Ovid

    Vote for paco!

    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Re: Try out Apache::PageKit online
by scratch (Sexton) on Jul 25, 2001 at 23:34 UTC
    Can't find an email address for princepawn so I'll just post here that when I tried it out I saw the following:

    FATAL: Cannot find xml file /usr/home/princepawn/.cpan/build/Apache-Pa +geKit-1.05/eg/Content/form_validation_done.xml or template file Default/form_validation_done.tmpl at /home/princep +awn/install/lib/perl5/site_perl/5.6.1/Apache/PageKit/Content.pm line +39. Apache::ErrorReport::fatal('Cannot find xml file /usr/home/pri +ncepawn/.cpan/build/Apache-Pag...') called at /home/princepawn/instal +l/lib/perl5/site_perl/5.6.1/Apache/PageKit.pm line 138 Apache::PageKit::fatal_error('Apache::PageKit=HASH(0x89024c0)' +, 'Cannot find xml file /usr/home/princepawn/.cpan/build/Apache-Pag.. +.') called at /home/princepawn/install/lib/perl5/site_perl/5.6.1/Apac +he/PageKit.pm line 119 Apache::PageKit::handler('Apache::PageKit', 'Apache=SCALAR(0x8 +8f9884)') called at /dev/null line 0 eval {...} called at /dev/null line 0 HTTP/1.1 500 Internal Server Error Date: Wed, 25 Jul 2001 19:27:52 GMT + Server: Apache/1.3.20 (Unix) mod_perl/1.25 Content-Type: text/html; charset=iso-8859-1 Internal Server Error The server encountered an internal error or misconfiguration and was u +nable to complete your request. Please contact the server administrator, [no address given] and inform + them of the time the error occurred, and anything you might have don +e that may have caused the error. More information about this error may be available in the server error + log.
(crazyinsomniac) Re: Try out Apache::PageKit online
by crazyinsomniac (Prior) on Jul 26, 2001 at 09:54 UTC
    I hate that orange/gray combination so I always switch to printable (more like readable) view. What I don't like is that when I switch pages, like from /pagekit/ to /pagekit/charset, I have to "enable" printable view again. Since it's a "query string" setting, when you re-display the page in printable mode, why don't you just go ahead and tackle on ?&pkit_view=print to every applicable linke (like you wouldn't do it for ?&pkit_view=xml). That wasy I don't gotta scroll to the bottom of the page and switch it myself five times in one session. Asides from that, looks very promising, but you ought to write about your setup experience (easy, hard, issues you had, etc???)

     
    ___crazyinsomniac_______________________________________
    Disclaimer: Don't blame. It came from inside the void

    perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://99725]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2024-04-26 06:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found