Results 1 to 5 of 5
  1. #1
    Full Member
    Join Date
    January 18th, 2005
    Posts
    302
    I'm running gocollect.pl from the server and am having trouble getting gocollect.pl to put the files in the right directory. I have changed the script to point to the directy (i.e. ../, etc.) but the script will only output to the html directory in cgi-bin. If I delete the html directory, the script gives and error that the html direcotry is missing.

    Any ideas?

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Location
    Toronto, Canada
    Posts
    1,369
    The default value for rootDir variable is "html".

    Is gocollect.ini in the same directory as the gocollect.pl file?

    When you run gocollect.pl via SSH/telnet, are you in cgi-bin directory, that is, did you do a cd to get to the cgi-bin directory?

    When you run gocollect.pl, does it say "cfg: defaults" (means that built-in defaults processed) followed by "cfg: gocollect.ini" (means that gocollect.ini processed)?

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. #3
    Full Member
    Join Date
    January 18th, 2005
    Posts
    302
    I cd'ed to the cgi-bin from root after logging in via telnet. The script resides in cgi-bin--.pl .ini in same directory.

    yes, I get both of the .cfg messages when I run .pl

  4. #4
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    Sounds like there may be a lurking problem with the path you've given the script. It's possible the path you can see as a hosting customer isn't the full path the script needs.

    Possible fix while you work that out ...

    Let the script build the pages in cgi-bin/html and then use the unix move command. I hesitate to give any detailed *nix advice but I think you could run it from the level below your cgi-bin as:

    mv cgi-bin/html/* html

    Please research/check first though - I'm no *nix guru.

    Are you Crazy?

  5. #5
    Full Member
    Join Date
    January 18th, 2005
    Posts
    302
    Thanks for the help. I figured it out and will share this so others will know.

    ***Don't edit your .ini file with DMX.

  6. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. More GoCollect changes...
    By loxly in forum Cusimano.com Scripts
    Replies: 3
    Last Post: July 15th, 2004, 12:14 PM
  2. GoCollect.com
    By AWaR in forum Commission Junction - CJ
    Replies: 8
    Last Post: November 27th, 2001, 12:18 PM

Posting Permissions

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