Since some time I´m noticing an erratic behaviour on the dowload log /email.
Phoca only logs one file and not always, no mater the file is dowloaded from a log / non loged user
Any idea on what is going on?
Regards
David
Erratic dowload logs
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Erratic dowload logs
Hi, check if the file is not accessed per direct link. The system is set to log any file everytime (there is no sense to do it other way), so really no idea what can be wrong there 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 30 Jan 2014, 20:05
Re: Erratic dowload logs
Hi Jan
I think I got it. Since i don't have much space on the site I have to resort to an FTP to store the files. I used to encode the user & password on the external link and it used to work.
I tested with local files and indeed phoca logs and send emails,
I think the FTP was upgraded and since then phoca isn't loging the downloads. Any idea why this is happening? Phoca recognizes and handles the files BUT it seems not to acknowledge the download...
David
I think I got it. Since i don't have much space on the site I have to resort to an FTP to store the files. I used to encode the user & password on the external link and it used to work.
I tested with local files and indeed phoca logs and send emails,
I think the FTP was upgraded and since then phoca isn't loging the downloads. Any idea why this is happening? Phoca recognizes and handles the files BUT it seems not to acknowledge the download...
David
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Erratic dowload logs
Hi, Phoca Download stores the statistics in database, so this should have nothing to do with FTP 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 30 Jan 2014, 20:05
Re: Erratic dowload logs
Hi Jan
The problem seems to be when writing on the database. I tested with Google drive drive and had the same problem. No records where kept of the download.
Another strange think is the direct link option. I had the idea that when you choose yes the external link was visible on the browser. Now, no mater what I choose is always obfuscated.
I wonder if i re-install everything i will have to add everything again...
Regards
David
The problem seems to be when writing on the database. I tested with Google drive drive and had the same problem. No records where kept of the download.
Another strange think is the direct link option. I had the idea that when you choose yes the external link was visible on the browser. Now, no mater what I choose is always obfuscated.
I wonder if i re-install everything i will have to add everything again...
Regards
David
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Erratic dowload logs
Hi,

Jan
this is really something what I cannot say, before re-installing, you should backup allI wonder if i re-install everything i will have to add everything again...

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 30 Jan 2014, 20:05
Re: Erratic dowload logs
One neat thing missing is the option of cloning a file. This is useful when you have a complex external url this way you can create several files just by changing the filename.Jan wrote:Hi,
you should backup all
Jan
Regards
David
-
- Phoca Member
- Posts: 10
- Joined: 30 Jan 2014, 20:05
Re: Erratic dowload logs
Hi Jan
I got some pacience and decided to try again
Indeed phoca can log if the file is local. If one uses the external link function no matter "direct link" option is set to yes or no it never logs statistics.
I was using an FTP but the same aplies to a Google Drive file
Regards
David
I got some pacience and decided to try again
Indeed phoca can log if the file is local. If one uses the external link function no matter "direct link" option is set to yes or no it never logs statistics.
I was using an FTP but the same aplies to a Google Drive file
Regards
David
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Erratic dowload logs
Hi, hmm, testing now, when I set direct link to "No" with external link, I get the statistics there.
Jan
Jan
If you find Phoca extensions useful, please support the project