Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Help installing hibytes Autosite program

    This has me totaly stumped. I have uploaded the files, changed permission, checked the path to perl, even renamed the .htaccess to see if it was messing with it, there is a file that should run, said to show the true path, it even gives me the server error. http://www.backinactionmassage.com/c.../auto/check.pl
    Most the time i can muddle my way though, but this has me stumped. I am not getting anything to run, its a new server, i have contacted them and they say everything should be fine, it has to be something in the scripts.
    But after 2 days i am getting no where.
    to get a idea of what the script is. Its http://www.hibyte.co.uk/software/hbpages/auto_over.html.
    I plan on buying the license later and some add on's for the site, But first i want to see it running on my server to make sure it will function correctly, and serve the need i have, and have the look and feel. (Free download version)
    But so far no luck, the company will install it, but they want almost as much as the license runs to install.
    If i can figure out why nothing at all is working, then i should be able to go from there. But with everything coming up server error i am hitting a brick wall and not getting anywhere.
    Thanks in advance for any replies.

  • #2
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by severdsoul View Post
    This has me totaly stumped. I have uploaded the files, changed permission, checked the path to perl, even renamed the .htaccess to see if it was messing with it, there is a file that should run, said to show the true path, it even gives me the server error. http://www.backinactionmassage.com/c.../auto/check.pl
    Most the time i can muddle my way though, but this has me stumped. I am not getting anything to run, its a new server, i have contacted them and they say everything should be fine, it has to be something in the scripts.
    But after 2 days i am getting no where.
    to get a idea of what the script is. Its http://www.hibyte.co.uk/software/hbpages/auto_over.html.
    I plan on buying the license later and some add on's for the site, But first i want to see it running on my server to make sure it will function correctly, and serve the need i have, and have the look and feel. (Free download version)
    But so far no luck, the company will install it, but they want almost as much as the license runs to install.
    If i can figure out why nothing at all is working, then i should be able to go from there. But with everything coming up server error i am hitting a brick wall and not getting anywhere.
    Thanks in advance for any replies.
    look into your server logs. the error message is too generic, 500 could mean anything.

    best regards

  • #3
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did that, i was just as confused as before... here is the list for today when i tryed running the scripts



    [Tue Oct 13 14:15:25 2009] [error] [File does not exist: /home/backinac/public_html/404.shtml
    [Tue Oct 13 14:15:24 2009] [error] File does not exist: /home/backinac/public_html/500.shtml

    Edit: Public IP address removed by FishMonger
    Last edited by severdsoul; 10-13-2009 at 09:23 PM.

  • #4
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by severdsoul View Post
    Did that, i was just as confused as before... here is the list for today when i tryed running the scripts
    not that, I was expected other messages, something like "premature end of header...", "file not exists ..." or something else.
    That two lines tell as that you don't handle 404 and 500 using shtml, you don't have this pages but have nothing to do with your problem.

    best regards

  • #5
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So while working last night i was thinking of what could be wrong... no luck,

    so i put up a small test script...

    #!/usr/bin/perl

    print "Content-type: text/plain\n\nHet werkt!\n";


    simple enough, should run, and print the words on the screen...
    i changed the .hacesss file to .haccess1 (think i put it wrong but i'm beat.)
    I uploaded as a binary, i changed permission to 755, i even renamed the file to test.cgi and yet.. nothing same error 500. So i sent a ticket to the server admin to see, although last time they just gave me a generic pre written trouble shoot reply, which is probably what i will get this time. Hard to tell, i shall see.

    But now i am even more stumped than before. this simple script wont run... the path to the perl is correct according to the info in have in my control panel.
    Man i hope they can figure something out, because this is driving me nuts. But at least i know its not all me. I know it has been a while since i have played with a cgi bin, but man i didnt think i forgot that much.

  • #6
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    oh this is great... the responce i get is..
    ________________________________________________________________________
    Unfortunately, we may not be able to help with Your scripting problems. You may want to contact professionals like fixmyscript.com

    We look forward to being of service.

    Very Truly Yours,
    Helpdesk Staff
    _________________________________________________________________________

    now if that simple script wont work, i am not so sure its anything on my end and possibly on their end..

    dunno, going to bed.. i'll mess with it when i get up.

  • #7
    Super Moderator
    Join Date
    May 2005
    Location
    Southern tip of Silicon Valley
    Posts
    2,877
    Thanks
    2
    Thanked 164 Times in 159 Posts
    I uploaded as a binary,
    That's the problem.

    You need to upload in ascii mode.

  • #8
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    you upload the script in the cgi-bin directory? or in another subdirector?

    best regards

  • #9
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I will try that FishMonger, thanks..


    yup, directly in the cgi directory, no subs to confuse it.


    otay off to nap, i'll be up in a couple hours to try the ascii mode and see what happens..

    man i hope i solve this soon , not only is it driving me nuts, but making me feel stupid *lol*.

  • #10
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    no luck there either...


    man this is driving me nuts.. it should just run...

    *scratchin head*

  • #11
    Super Moderator
    Join Date
    May 2005
    Location
    Southern tip of Silicon Valley
    Posts
    2,877
    Thanks
    2
    Thanked 164 Times in 159 Posts
    Does your control panel give you access to the web server error log?

    The log file will provide some details that will tell you why it failed, or at least point you in the right direction.

  • #12
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi severdsoul,
    I'm dealing with the exact problems with autosites.
    I want a website where kids sports teams can make a team website.
    I'll be contacting my server but expect there are no problems on their end.
    I have been able to get them by phone easily and they are usually quite helpful.

    I am not an expert in installations and like you, can usually make my way through.
    I have a question for those who DO know and my best shot at whats wrong.

    I understand cgi-bin is for running scripts and it has "permission" to do so.
    I have many scripts running from the html directory.
    Does a cgi script HAVE to be installed in the cgi-bin?

    Alrighty then, autosites doesn't work either way. I think the edits of the file
    pages.cfg are incorrect for me. Trouble is, I'm not sure of the paths they want.
    Here's what needs to be edited:

    Lines 1 - 4
    subloc|/auto/ -- The subdirectory that AutoSites HTML files are in
    cgisub|/cgi-bin/auto/ -- The subdirectory that AutoSites Scripts are in
    basedir|\inetpub\fp04-202\ -- The true path to the web account
    ipath|\inetpub\fp04-202\auto\images\ -- The true path to AutoSites’ image directory

    Lines 15 -16
    defpath|\inetpub\fp04-202\auto\ -- The true path to the directory for Trial Websites creation
    defurl|http://www.hibyte.co.uk/auto/ -- The URL (web address) for Trial Websites creation

    Lines 34 - 35 (NT/2000 Example)
    mailprog|mailhost.dircon.co.uk -- Specify the Outgoing (STMP) mail server address here.
    mailport|25 -- Enter the mailport here (default is 25)

    Lines 34 - 35 (UNIX Example)
    mailprog|/usr/bin/sendmail -- Specify the mail program here, eg ‘/usr/bin/sendmail’
    mailport|25 -- Unix installations will ignore this line

    Mine is a unix server

    I believe lines 1-4 are the ones causing trouble. Just don't know what to put there!
    (the others may just make the site not work completely)...I think...

    I'm rechecking my path to perl but am quite sure its correct. (And it is the same on the script pages)

    I need to get this up too to see if it fits my needs. I'll update this and check for other members replies and try to help get us both running soon.

    This was my first post, thanks all! I'll go to the introduce yourself thread tomorrow...yawn...
    Good luck!
    Ken

  • #13
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by incomecr View Post
    Lines 1 - 4
    subloc|/auto/ -- The subdirectory that AutoSites HTML files are in
    cgisub|/cgi-bin/auto/ -- The subdirectory that AutoSites Scripts are in
    basedir|\inetpub\fp04-202\ -- The true path to the web account
    ipath|\inetpub\fp04-202\auto\images\ -- The true path to AutoSites’ image directory

    I believe lines 1-4 are the ones causing trouble. Just don't know what to put there!
    (the others may just make the site not work completely)...I think...
    write this in a file:
    Code:
    #!/usr/bin/perl
    use strict;
    use warnings 'all';
    use CGI;
    
    my $c = CGI->new;
    print $c->header,
       map { $_.":  ".$ENV{$_}."<br/>"; } keys %ENV;
    set permision to 755 to the file and upload to the cgi-bin directory.
    any path is relative to "DOCUMENT_ROOT" and this will show you all enviroment variables of the server, including document root.

    I don't know nothing about AutoSites so I can't help with specific information.

    best regards

  • #14
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, incomecr. Yea, edited the pages.cfg a long time ago..well ok feels like it... i've goen through every file i can find to see if there was something that may be causing it.


    thanks oesxyl, tryed that... same thing, i am begining to think there is something off with the webspace i'm paying for.


    Hey incomecr, just curious what hosting are you using? Maby we are at the same place and for some unknown reason they have something not working and its not us.

    I hate to think i have to give up and pay someone to figure out why cgi is not working, espicaly since now i dont think its me.. (although could still be) but it may come to that..


    fixmyscript.com charges $3 bucks to give instructions on how ti fix it.. i'm tempted, although not sure never used a service like this before.
    Last edited by severdsoul; 10-15-2009 at 10:51 AM. Reason: type0

  • #15
    New Coder
    Join Date
    Oct 2009
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So i went to the fixmyscript site, opend a ticket and put the problem, espicaly since there is more than one having the problem, and chose the step by step instructions, hmm that was at 6am, its now 2pm and not even a hello... hmmmm
    makes ya wonder since the site talks about how fast and efficent they are, and you dont pay till its done, ... and yet... wating... although could be they work night shift, i know i think better at night.. so we shall see.


    incomecr i'll update this thread so you know how things are going, it could be the same problem for both of us. Keep me posted if you have any luck.
    Thanks to all who are trying to help.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •