Announcement

Collapse
No announcement yet.

rs000001.pl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    rs000001.pl

    Hi,

    Just realised that our affiliate program was dying on the actinic referrer script so I took a quick look at the code. I found that I had to move the "push (@INC, "cgi-bin");" line above the require lines for it to work. The originial looked like this...

    Code:
    #!\c:\perl\bin\perl.exe
    
    require al000001;
    require ao000001;
    require sm000001;
    
    push (@INC, "cgi-bin");
    
    my $bFound = 0;
    {rest of code stays the same}
    ... and the modified code looks like this ...

    Code:
    #!\c:\perl\bin\perl.exe
    
    push (@INC, "cgi-bin");
    
    require al000001;
    require ao000001;
    require sm000001;
    
    my $bFound = 0;
    {rest of code stays the same}
    Both snippets are taken from the top of rs000001.pl. Is this a change that usually needs to be made, or is it a problem with our perl setup?

    We're running ActivePerl on a Windows 2003 Standard server if that makes any difference.

    Thanks,
    Kev
    <b>Our Actinic Sites:</b>
    Hip Hop Wardrobe: <a href="http://www.hiphopwardrobe.co.uk">http://www.hiphopwardrobe.co.uk</a>
    Sussex Brassware: <a href="http://www.sussexbrassware.co.uk">http://www.sussexbrassware.co.uk</a>
    Dandelion Designs: <a href="http://www.dandeliondesigns.co.uk">http://www.dandeliondesigns.co.uk</a>
    Floaty Lady (WIP): <a href="http://www.floatylady.co.uk">http://www.floatylady.co.uk</a>

    #2
    Oh yeah, forgot to mention that all of the other perl scripts seem to be functioning fine.

    Kev
    <b>Our Actinic Sites:</b>
    Hip Hop Wardrobe: <a href="http://www.hiphopwardrobe.co.uk">http://www.hiphopwardrobe.co.uk</a>
    Sussex Brassware: <a href="http://www.sussexbrassware.co.uk">http://www.sussexbrassware.co.uk</a>
    Dandelion Designs: <a href="http://www.dandeliondesigns.co.uk">http://www.dandeliondesigns.co.uk</a>
    Floaty Lady (WIP): <a href="http://www.floatylady.co.uk">http://www.floatylady.co.uk</a>

    Comment


      #3
      Hi there.

      Quick question. Is the Windows 2003 server setup with a virtual cgi-bin, or do have have parent paths ticked under the main website properties Home Directory | Configuration | Options? If not, I think that our

      Knowledge Base article applies. (Which is what you have done anyway )
      Darren

      SellerDeck

      www.sellerdeck.co.uk

      Comment

      Working...
      X