Unknown IP in logging table

Phoca Download - download manager
kenleehk
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 11 Aug 2016, 06:19

Unknown IP in logging table

Post by kenleehk »

Dear all,

I see occasionally entries in my logging table, ip cell is 'unknown', but most other entries are ok, showing the ip address of the download clients.
I could find the corresponding httpd log entries of those unknown rows. I see IP addresses are logged, but they just appear 'unknown' in logging table.
Would you kindly advise?
Phoca Download 3.1.2 on
Joomla 3.4.5 on CentOS.

Thanks a lot.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Unknown IP in logging table

Post by Jan »

Hi, the IP is set by PHP constant:
$data['ip'] = $_SERVER["REMOTE_ADDR"];
Jan
If you find Phoca extensions useful, please support the project
Post Reply