Discussion Forums
David Dienhart
 
       
Dienhart.com
Graphics
Software
David Dienhart Resume
Discussion Forums
Links
 
downloadtracker
Welcome, Guest.Please login or register.
September 9th, 2010, 3:29am
Home Calendar Search Register Login

Forum Login
Username: Create a new Account
Password:     Forgot Password

 Board Index    Free PERL Scripts    PERL Scripts  ›  downloadtracker
Moderators: Daboo 
Users Browsing Forum
No Members and 1 Guests

 Pages: 1
Recommend Print
  Author    downloadtracker  (currently 7,632 views)
wizardcarver
Posted on: November 1st, 2005, 4:15am Quote Report to Moderator
Guest User



downloadtracker

I find no other mention of problems,
confused as where to post ..?
oks ~ I have all the files uploaded,
and change as decribed,
- How to execute the log..?
Attempts

Help:

http://www.xxx.com/cgi-bin/daboo/download.pl
I get = downloading
frwds to
http://www.xxxx.com/downloads/
(After seeing this .-.  I made a said directory)
what I get is the
http://www.xxx.com/downloads.
Parent Directory
All Cmod = 755
-
Next attempt:
localanalysis is installed:

http://www.xxx/cgi-bin/daboo/localanalysis//download.pl
displays = Internal Server Error
-
http://www.xxx/cgi-bin/daboo/localanalysis/DLAnalysis.pl
Error:
Could not open localsearch.txt

This file was Not Given with ether download..??
downloadtracker.zip
DLAnalysis.zip
Or mentioned anywhere in the set-up / instructions / usage...

No Graphics showing (GIF
==
Item 2: Loading to web page ad described /
Optin 1:
<a href="#" onClick="MM_openBrWindow('/cgi-bin/daboo/download/download.pl?link=/software/PERL_scripts/localsearch.zip','D','width=100,height=100')">Download Local Search</a>

Option #2
<a href="http://www.xxx.com/downloads/software/PERL_scripts/localsearch.zip">Download Local Search Engine</a>
All I get is a script Error:
as discribed I get nothing but a 404 Error,..

Question How to / or what to use.. where..?


Have I made any sence..??
Thanks.

Revision History (1 edits)
wizardcarver  -  November 1st, 2005, 4:18am
Logged
e-mail
Daboo
Posted on: November 1st, 2005, 9:11am Quote Report to Moderator
Administrator


If it 'aint broke, you didn't try hard enough.

Posts: 57
Daboo Local Analysis (replaced Local Analysis) is primarily used for Daboo Local Search, but you can get around installing it by creating an empty localsearch.txt file in the /cgi-bin/daboo/localanalysis/ directory.

For the second part of your question, the Standard Link is an example of what a normal HTML link to you file would look like without using download tracker.
The enhanced link link= is the most important part, as it will point to the file to be downloaded using the downloads directory as the root directory (This helps to mask the actual file location)
<a href="#" onClick="MM_openBrWindow('/cgi-bin/daboo/download/download.pl?link=/software/PERL_scripts/localsearch.zip','D','width=100,height=100')">Download Local Search</a>

The following snippet should also be pasted in the <head> of your html:
----------
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
 window.open(theURL,winName,features); }
//-->
</script>
----------

I hope this helps.

Best Regards,

David
Logged Offline
Private Message Reply: 1 - 9
wizardcarver
Posted on: November 1st, 2005, 6:04pm Quote Report to Moderator
Guest User



Thanks Dave,
Oks. I did dwload *Daboo Local Analysis*
This is what is uploaded
-
as your brought to my attention here.
the <head> entry

I uploaded a test directoy:
with a HTML file as indicated,

http://www.xxxx.com/testdaboo/
http://www.xxxx/testdaboo/testdaboo.html
Turns into
http://www.xxxxx.com/testdaboo/testdaboo.html#

Download Local Search =
404 Error
-=-
-=-

Please bear with this tired old man;
what  URL is used to call the tracker ..?

http://www.xxxx/cgi-bin/daboo/localanalysis/DLAnalysis.pl
now is with out the original error, (_Could not open localsearch.txt_)

But when testing several dwl's nothing is entered

-=-
my test: entering,
http://www.xxxx.com/cgi-bin/daboo/download.pl
Opens
http://www.xxxx.com/downloads/ (Parent Directory) only
-
http://www.xxxx/cgi-bin/daboo/localanalysis/DLAnalysis.pl
all dwl test are not being shown in the logs?
all the gif's  ( blank )  
& links are 404 error all leading to:
http://www.xxxx.com (404 error )
I-E=search,buttons.gif/home,graphics.gif,software.gif,
software.gif,resume.gif
Local Search Analysis
Time Span: Current Month
Local Search Local Search  This Month All This Month This Year  Select Graph: Date IP Item All

Graph: Month

Total
Day


Raw Data
Date
(yyyy-mm-dd) Time IP Address Item Times
Found Top 5
Results

Local Analysis Copyright 1997-2005 David Dienhart All Rights Reserved.
Dienhart.com
Local Search Local Search  This Month All This Month This Year  Select Graph: Date IP Item All

 

[Home] [Free Graphics] [Free Software] [Free CAD Drawings] [Resume] [Discussion Forums] [Links]
© 2005 David Dienhart  

Dave,
is this the page we are to be viewing?

Thanks Again



Revision History (1 edits)
wizardcarver  -  November 1st, 2005, 6:08pm
Logged
e-mail Reply: 2 - 9
Daboo
Posted on: November 1st, 2005, 7:36pm Quote Report to Moderator
Administrator


If it 'aint broke, you didn't try hard enough.

Posts: 57
Ok, I see what you mean by the gifs are not showing.
The form you are viewing is my template that I included as an example for Daboo Local Analysis. The gifs and links work on my site, but will not on yours, as your layout is different, I'm sure.

As for Download Tracker:
The link to call it is: <a href="#" onClick="MM_openBrWindow('/cgi-bin/daboo/download/download.pl?link=/software/PERL_scripts/localsearch.zip','D','width=100,height=100')">Download Local Search</a>

Change the link=/software/PERL_scripts/localsearch.zip to whatever download you want to track.

for example, if you want to track http://mysite.com/downloads/software/mysoftware.zip, the link would look like this:
<a href="#" onClick="MM_openBrWindow('/cgi-bin/daboo/download/download.pl?link=/software/mysoftware.zip','D','width=100,height=100')">Download My Software</a>

the downloads directory is a parameter setting in the perl script.

As for Daboo Local Analysis, the pulldown in the template will show download tracker as a choice, once the log file is created after a file is successfully downloaded using download tracker.

Best Regards,

David
Logged Offline
Private Message Reply: 3 - 9
wizardcarver
Posted on: November 1st, 2005, 8:44pm Quote Report to Moderator
Guest User



bck#2
Ok, I see what you mean by the gifs are not showing.
The form you are viewing is my template that I included as an example for Daboo Local Analysis.
 I load my page The gifs and links work on my site, but will not on yours, as your layout is different, I'm sure.
Me:
No dave, this is what comes up from mt link not reading from dwl files
My Host= http://www.xxxx/cgi-bin/daboo/localanalysis/DLAnalysis.pl
apparently is showing your page?..??
(XXX as not to spam the forum)

http://www.xxxx/cgi-bin/daboo/localanalysis/DLAnalysis.pl..
is this the correct link?
-
 apparently is showing your page?..??
-=-=-=-

** As for Download Tracker:
Setup..
~Change the link~  as the documenation refered to was that it did not matter where the dwld on host were, the

***Edit $DownloadDir="/downloads"; in download.pl to point to the location of your downloads. "/" may be used if there are a number of download locations.
so what one must to is set a individual link for each download?

once I figure out how to get the script to show my page & not yours?

seems I have really missed something here?

I'll have to reload it all as all I get viewing in a html editer is ..script error,

--
amend:
Daboo Local Analysis
cut from setup...
1:Where do you ad the files
 2: [** Create What Directory..?]
---RE: Setup---
Copy all of the files to /cgi-bin/daboo/localanalysis/ directory.
CHMOD everything to 755
create the following directory: {Question![** Create What Directory..?]
Add The Following to your template.html document:
$documentheader (Report Name)
$graph (Graphs)
$results (Raw Data)
$pulldowns (Pulldown Menus)


Revision History (1 edits)
wizardcarver  -  November 1st, 2005, 9:54pm
Logged
e-mail Reply: 4 - 9
Daboo
Posted on: November 1st, 2005, 10:01pm Quote Report to Moderator
Administrator


If it 'aint broke, you didn't try hard enough.

Posts: 57
The http://www.xxxx/cgi-bin/daboo/localanalysis/DLAnalysis.pl link is correct for viewing the local analysis report.

For $DownloadDir=, set the path that points to your download directory, that way every time you pass the variable for the file to download, you will only need to use the filename or a directory beneath the $DownloadDir variable.

I have attached two files that you can use for testing Download Tracker. (You may need to rename them to test.txt and untitled.html, as my forum may change the names when I upload them)
First off, I want you to reinstall the download.pl script so we can start fresh.

Make sure that a directory exists called downloads in the root directory of your web server (http://mysite.com/downloads)
Copy test.txt to that directory

copy untitled.html to your web server root directory. (http://mysite.com/untitled.html)

Now from your web browser, you should be able to type http://mysite.com/untitled.html and see a simple page with one link on it.
Click the link Download test.txt
A small popup window will appear and the text "this is a test document" should be shown.

If you see this text, then everything is configured correctly and all you will need to do is modify the filename in each link for files you will be tracking.

Best Regards,

David




Logged Offline
Private Message Reply: 5 - 9
wizardcarver
Posted on: November 1st, 2005, 10:54pm Quote Report to Moderator
Guest User



Thanks Dave,
whew..!

your so kind to spend so much time on this,
Guess I'm a dummy..?

need sleep.. so will attempt this a   little later..

amend:
Daboo Local Analysis
cut from setup...
1:Where do you ad the files
2: [** Create What Directory..?]
---RE: Setup---
Copy all of the files to /cgi-bin/daboo/localanalysis/ directory.
CHMOD everything to 755
create the following directory: {Question![** Create What Directory..?]
Add The Following to your template.html document:
$documentheader (Report Name)
$graph (Graphs)
$results (Raw Data)
$pulldowns (Pulldown Menus)
Logged
e-mail Reply: 6 - 9
Daboo
Posted on: November 1st, 2005, 11:40pm Quote Report to Moderator
Administrator


If it 'aint broke, you didn't try hard enough.

Posts: 57
Ok, I see what you are talking about.

2: [** Create What Directory..?] This is a mistake in the document, I used to have a sub directory in the localanalysis directory, but did away with it.

Just copy all of the files to the localanalysis directory.

Attached is a demo of a simple template.html document. Just rename it, and replace template.html in the localanalysis directory.

Best Regards,

David


Logged Offline
Private Message Reply: 7 - 9
wizardcarver
Posted on: November 2nd, 2005, 2:13am Quote Report to Moderator
Guest User



Done...Nope, No Pop-up..
RE: If you see this text, then everything is configured correctly :
-
Sorry(This is not Understood...??...
**~and all you will need to do is modify the filename in each link for files you will be tracking.)

RE:
I have attached two files that you can use for testing Download Tracker.

-=-

Quoted from Daboo, posted November 1st, 2005, 10:01pm at here
The http://www.xxxx/cgi-bin/daboo/localanalysis/DLAnalysis.pl link is correct for viewing the local analysis report.

For $DownloadDir=, set the path that points to your download directory, that way every time you pass the variable for the file to download, you will only need to use the filename or a directory beneath the $DownloadDir variable.

I have attached two files that you can use for testing Download Tracker. (You may need to rename them to test.txt and untitled.html, as my forum may change the names when I upload them)
First off, I want you to reinstall the download.pl script so we can start fresh.

Make sure that a directory exists called downloads in the root directory of your web server (http://mysite.com/downloads)
Copy test.txt to that directory

copy untitled.html to your web server root directory. (http://mysite.com/untitled.html)

Now from your web browser, you should be able to type http://mysite.com/untitled.html and see a simple page with one link on it.
Click the link Download test.txt
A small popup window will appear and the text "this is a test document" should be shown.

If you see this text, then everything is configured correctly and all you will need to do is modify the filename in each link for files you will be tracking.

Best Regards,

David



Logged
e-mail Reply: 8 - 9
wizardcarver
Posted on: November 2nd, 2005, 2:16am Quote Report to Moderator
Guest User



 Dave,
ok's the page is clean..
no GIF's showing..
on tofiiguring how to getting dwl's to track..
---

Quoted from Daboo, posted November 1st, 2005, 11:40pm at here
Ok, I see what you are talking about.

2: [** Create What Directory..?] This is a mistake in the document, I used to have a sub directory in the localanalysis directory, but did away with it.

Just copy all of the files to the localanalysis directory.

Attached is a demo of a simple template.html document. Just rename it, and replace template.html in the localanalysis directory.

Best Regards,

David


Logged
e-mail Reply: 9 - 9
 Pages: 1
Recommend Print

Locked Board Board Index    PERL Scripts  [ previous | next ] Switch to:

Thread Rating
There is currently no rating for this thread
 
Forum Rules
You may not post new threads
You may not post replies
You may not post polls
You may not post attachments
HTML is off
Blah Code is on
Smilies are on
Powered by e-blah Platinum 8.1 © 2001-2004
Still can't find what you are looking for, try google.
Google
[Home] [Free Graphics] [Free Software] [Free CAD Drawings] [Resume] [Discussion Forums] [Links]
© David Dienhart All Rights Reserved
Contact: DSupport@Dienhart.com