+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: perl script for guestbook, need help

  1. #1
    shifeng is offline x10Hosting Member shifeng is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    perl script for guestbook, need help

    Hi, I need some help with the perl script I've installed to run a guestbook.

    I've checked and everything on the script is fine. I've followed the instructions of the setup but i still get an error when i click the send button. It will come up with a 404 error. Please help.

    my URL is http://shifeng.exofire.net

    Thanks lots.

  2. #2
    Corey's Avatar
    Corey is offline VPS Migration Professional Corey is a glorious beacon of lightCorey is a glorious beacon of light
    Join Date
    Dec 2004
    Location
    Northfield, NH
    Posts
    17,151

    Re: perl script for guestbook, need help

    Moved to site management.

  3. #3
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: perl script for guestbook, need help

    Do you have a link to it?

  4. #4
    shifeng is offline x10Hosting Member shifeng is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Re: perl script for guestbook, need help

    yes. my guestbook link is http://shifeng.exofire.net/guestbook/guestbook.html

    the script is placed in /home/shifeng/public_html/cgi-bin/guestbook.pl

  5. #5
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Re: perl script for guestbook, need help

    looks fine.
    Is the path to perl right?
    Is permissions set to 755?
    Is there any undefined vars in your script?
    Maybe the script requiers a module not installed on the server?
    check ciroc's perl modules:
    http://www.defectalisman.exofire.net...s/check_mod.pl

    The only other thing I can think of is something directly wrong in the script, such as wrong syntax or a "or die stament that is doing exactly that".

    I got around this by creating a sub for the script to die.
    eg:
    Code:
    #!usr/bin/perl
    
    sub error;
    
    print $var or &error(01, "error message here");
    
    sub error {
     my ($no, $msg) = @_;
     print "This script has a error number $no.\n The message for the error is this: $msg\n";
    }
    Worked for me. Put it next to everything that is suspect and it will tell you where it is having problems.

    http://dev.x10hosting.com (this has nothing to do with x10hosting)

    ->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the +rep icon on the left hand side of a post if that post was helpfull.



  6. #6
    shifeng is offline x10Hosting Member shifeng is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Re: perl script for guestbook, need help

    i have no experience with scripting really. I don't know anything about scripting. could you help me? maybe i could email u the file?

  7. #7
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Re: perl script for guestbook, need help

    By all means I can help you, not via e-mail though.

    How many files is it and how many lines of code are there?

    If its small enough put it inside a code tag.
    eg:

    [code]
    The script here.
    [/code]


    else change the extension to *.txt and upload it to your account and then link me to it.
    Last edited by DefecTalisman; 09-16-2007 at 08:14 AM.

    http://dev.x10hosting.com (this has nothing to do with x10hosting)

    ->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the +rep icon on the left hand side of a post if that post was helpfull.



  8. #8
    shifeng is offline x10Hosting Member shifeng is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Re: perl script for guestbook, need help

    It's a pretty long script. Here is the link.

    http://www.mediafire.com/?bm0utoxjlxt

    thank u very much. I've uploaded the file there.

  9. #9
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Re: perl script for guestbook, need help

    uhm... I dont want to download it.

    Its 12.5kb. That cant be more than 100 lines code or so.

    Copy and paste all the text from the script into a text file and upload it to your public_html and then give me a link to it.
    eg:
    http://www.defectalisman.exofire.net/examples/test.txt
    Last edited by DefecTalisman; 09-16-2007 at 08:33 AM.

    http://dev.x10hosting.com (this has nothing to do with x10hosting)

    ->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the +rep icon on the left hand side of a post if that post was helpfull.



  10. #10
    shifeng is offline x10Hosting Member shifeng is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Re: perl script for guestbook, need help


+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. [OFF] Script Instillations (Now Accepting)
    By kryptonyte in forum The Marketplace
    Replies: 0
    Last Post: 08-02-2006, 02:15 AM
  2. Server UP time Script
    By dharmil in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 04-03-2006, 04:39 PM
  3. Just a question about my script
    By rubens in forum Free Hosting
    Replies: 11
    Last Post: 02-28-2006, 01:41 PM
  4. CGI - script, Advertisement _HELP.
    By kaliforna in forum Free Hosting
    Replies: 12
    Last Post: 06-02-2005, 06:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers