Announcement

Collapse
No announcement yet.

Digital Download Error

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

    Digital Download Error

    I've read up on many posts about this subject and the only answer I see is to switch to a Unix server. We're running on a Windows virtual server & changing to Unix is certainly not an alternative at this time. My error is familiar, but I could not find any answer. I've tried renaming NPH-Download.pl to Download.pl with the results posted below. One of the main reasons for purchasing Actinic was the ability to have digital downloads.


    With NPH-Download.pl
    *************
    Can't locate dd000001.pm in @INC (@INC contains: D:/apps/Perl/lib D:/apps/Perl/site/lib .) at d:\users\procheck\html\cgi-bin\nph-dl000001.pl line 36.
    BEGIN failed--compilation aborted at d:\users\procheck\html\cgi-bin\nph-dl000001.pl line 36.


    With Download.pl
    *************
    CGI Error
    The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

    Can't locate dd000001.pm in @INC (@INC contains: D:/apps/Perl/lib D:/apps/Perl/site/lib .) at d:\users\procheck\html\cgi-bin\dl000001.pl line 36.
    BEGIN failed--compilation aborted at d:\users\procheck\html\cgi-bin\dl000001.pl line 36.

    Has anyone succeeded in getting the digital download working on a Windows platform? Thanks

    Al

    #2
    switch

    Hi,

    Had the same problem myself, initially set up on windows server - was then advised by host not to run actinic on windows so switched to lunix - all worked fine then. I am not really up on server functionality but i do think that you should switch, thats from my own experience, - it seems far less problematic.

    By the way, i am always interested in looking at sites that do digital downloads. If anyone could provide links to their sites it would be great. Ours is www.trustmeimathief.com

    Andy

    Comment


      #3
      Hi Andy,

      thanks for your answer, but not to be rude, I'm not looking for a switch to Unix answer. We have spent the last 3 months setting up on Windows & switching is not an option. There has been time & money spent thus far. We've put our customers through a downtime & order problems enough as it is. Internet customers have short attention spans and once miffed, they do not come back.
      Actinic has advertized digital download, so I expect it to work. I can't believe
      that everyone who uses Actinc is on Unix. Thanks for your reply.

      Comment


        #4
        Digital Download will work on NT/Win server but most hosts don't setup correctly.

        IMHO you should bite the bullet now and switch to Unix server. If you contact me off the list I will give you a test server to use so you can confirm that NT/Win is the problem
        Owner of a broken heart

        Comment


          #5
          Thanks for your replies, but I have specified that I'm not interested in switching at this time. It's not a matter of preferring Windows over Unix. I will contact Actinic offline as I am getting the wrong replies to my question. Again accept my apologies if I'm being too direct. I am a programmer by trade and I do not accept switching to Unix as a valid answer.

          Comment


            #6
            You posted your support request at https://suresolutionsinc.net the sure solutions support portal, however you redirected us to this thread so we will try to answer your problem here for the benefit of others on the form. First have you tried this configuration suggestion listed in the knowledgebase?

            Actinic uploads a dummy index.html to the DD folder to prevent directory browsing. This works for most servers however, on an IIS server the default page is usually default.html.

            To ensure that directory browsing is disabled for the DD folder when the server is configured to use a default page name other than index.html you should upload a dummy web page to the DD folder giving the page the file name and extension that the server uses as the default page name.

            It appears from your posting you attempted this fix,
            This may occur if the server uses a CGI-Wrapper that does not support non-parsed headers. Check the server HTTP error log for the error:-

            nph-dl000001.pl malformed header from script. Bad header=HTTP/1.1 200 OK:

            To resolve this problem rename nph-download.pl to download.pl in the site directory on your PC and update the site ( Web | Update Website).

            however did you look at your log files to capture the error comming off the server?

            To let you know I have successfully tested digital download on windows IIS running windows 2000 locally without a problem. The system will work on windows server running IIS. If your getting an error that is tracked in your log file please post it so that we can reasearch the problem further. I would also help to know the version of windows and perl your using.

            Thanks

            Brian
            Brian Johnson
            :::Sure Solutions Inc:::Professional Actinic templates from Buythisdesign.com:::
            1-732-528-7635 x203

            Comment


              #7
              Originally posted by procheck
              Thanks for your replies, but I have specified that I'm not interested in switching at this time. It's not a matter of preferring Windows over Unix. I will contact Actinic offline as I am getting the wrong replies to my question. Again accept my apologies if I'm being too direct. I am a programmer by trade and I do not accept switching to Unix as a valid answer.

              what on earth does being a programmer have to do with your prejudice against *nix? I would say that if anything, it shows a closed mind - hardly a useful attribute to any programmer.

              I'm also a programmer - and with going on 20 years of working on both *nix and 'doze - I can state from bitter experience that there are far more poorly setup 'doze boxes than *nix... and when it comes to reliability...

              don't get me started....
              Web Design & Ecommerce - Affordable Web Hosting
              Free and low cost Merchant Accounts coming soon..
              NOD32 Antivirus - Reciprocal Links for Actinic Sites ONLY

              Comment


                #8
                by any chance are you running version six? here is a post that fixes the problem in version six with windows server:
                hi there, here is a copy of the post by chris dicken from actinic:

                Open 'nph-download.pl' in your Site1 folder and locate the line

                NETQUOTEVAR:INCLUDEPATHADJUSTMENT

                add the following code just above it.

                my $bFound = 0;
                my $sDir;
                foreach $sDir (@INC)
                {
                if ($sDir eq ".")
                {
                $bFound = 1;
                last;
                }
                }
                if (!$bFound)
                {
                push (@INC, ".");
                }
                push (@INC, "cgi-bin");

                Next, locate the line

                use NETQUOTEVAROWNLOADMODULE;

                and change it to read

                require NETQUOTEVAROWNLOADMODULE;

                Then upload your store.

                I found this here: http://community.actinic.com/showthr...ph-dl000001.pl

                brian
                Brian Johnson
                :::Sure Solutions Inc:::Professional Actinic templates from Buythisdesign.com:::
                1-732-528-7635 x203

                Comment


                  #9
                  Hi Brian,

                  That was the answer. I saw that code when I first bought Actinic, but of course it meant nothing to me at the time. For some reason it did not come up in subsequent searches when I really needed it.

                  Also, I want to thank Andy for his input & Gary for offering a test server & of course Brian. Proof once again that this forum works. The answer to most problems is how hard you work to find the solution.

                  Al

                  Comment

                  Working...
                  X