|
Custom Search
|
Hi,
Download Tracking fails for me...
It wont work as advertised as far as the statement with full address URL link to file.exe. I used the stated structure and instead it pop's up an Huggly "Hacking Attempt" page, and blocks the download instead of pushing the file as requested or tracking the number of download for the file.
I use MkPortal over PHPBB2.2
Guy
Last edited by MindlessGenius (24-04-2009 21:35:51)
Offline
Hi,
The issue is due to the fact that you have certainly enter your site url in CrawlTrack with http:// at the begining.
You have two choices,
1) remove the http:// in your site url in CrawlTrack (tools page: Modify the name or domain of a site.) normally it's write to enter the url without http:// but you are not the only one to have enter it with...
or
2) As you are not the only one, I have made a modification since 3 days in the script to avoid that issue, so you can redownload the script and take the new /php/countdownload.php file
Regards,
Jean-Denis
Offline
Jean Denis,
I have downloaded the entire script to acquire the changed file. Then uploaded it as indicated...
No change in the response, it blocks the download, and responds with "Hacking Attempt" page.
Should I run a full upgrade once again?
or is something else the issue?
Thanks for the help
Note: I had two years worth of data in the database managed by crawltrack. All of it got wiped during the upgrade but all the configuration was kept. The data is still tracked as if nothing had happened and even using test crawlers came ok...
Should I kill this and rebuild new (crawltrack) or do you have some specific solution?...
Last edited by MindlessGenius (26-04-2009 19:07:32)
Offline
Hi,
Is the file to download host on a site which is audited by CrawlTrack?
The script is checking that and if it's not the case it give a "hacking attempt" warning.
Maybe this safety feature need to be adapted...
Jean-Denis
Offline
Hi,
Yes the file is on the same server/site/domain as the crawltrack host/database...
Perplexing isn't it....
Last edited by MindlessGenius (27-04-2009 00:47:52)
Offline
Hi,
I have made new modifications today on the countdownload.php file.
You should try it to see if this solve your issue.
Jean-Denis
Offline
Hi,
I am facing the same, and tried as you followed him but still same problem.
Thanks
Offline
Hi,
Can you send me a download link which is not working (here or by Email).
Jean-Denis
Offline
Quick answer - go into countdownload.php and comment out the following lines of code from lines 113 to 128:
/*
$result = mysql_query("SELECT id_site FROM crawlt_site
WHERE url='".sql_quote($downloadhost)."' OR url='".sql_quote($downloadhosthttp)."' OR url='".sql_quote($downloadhostslash)."' OR url='".sql_quote($downloadhostwww)."'",$connexion);
$num_rows = mysql_num_rows($result);
if ($num_rows>0)
{
//the host is known by CrawlTrack
while ($ligne = mysql_fetch_row($result))
{
$idsite=$ligne[0];
}
}
elseif($noconnect==0)
{
echo"<h1>Hacking attempt !!</h1>";
exit();
}
*/
This will bypass the domain check and allow the download to be recorded.
You will also need to hard-code the site you're storing data for. Nice if you only have one site - a problem if you have multiple. If you only have one site, all you need to do is add the following line of code after the above commented code:
$idsite=1;
...and everything will automagically work.
Last edited by 137th Gebirg (11-09-2009 22:39:44)
Offline
Hi,
Love your product, everything works fine except i cannot see anything under | Downloads | section.
I can see when someone is accessing my page "htp://site/manuals/index.php" (shows as "/manuals/")
But i cannot see if they click the PDF files i have listed, the <A HREF> HTML code for the listing has the full reference
"htp://site.com/manuals/TOC/type/manufacturer/manual1.PDF"
I have no hacking attempts.
I have tried the above suggestion and commented out the code and added the "$idsite=1;"
I have entered my site name into the Admin - Domain without htp://
I have tried the test crawler and i see "/manuals/" only
can u help please?
Thanks
Offline
Edgepark Medical |
SwipeAuctions |