Ip Tracking in ACP

Support for IntegraMOD 141

Moderator: Integra Moderator

Ip Tracking in ACP

PostAuthor: a_lunatic » Wed Feb 27, 2008 12:32 pm

All thses are getting this error in

IP Tracking Admin: Admin Page Hits
Ip: Admin Hits
Ip: Logs
Ip: Multi Users

Error Getting IP Count.

DEBUG MODE

SQL Error : 1146 Table 'xxxxxxxxxx.phpbb_ip_tracking' doesn't exist

SELECT COUNT(*) AS total FROM phpbb_ip_tracking WHERE located LIKE '%admin%' GROUP BY time

Line : 679
File : admin_ip_tracking.php
Last edited by a_lunatic on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
a_lunatic
Members
Members
 
Posts: 56
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 9:05 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: meijin » Wed Feb 27, 2008 12:45 pm

Yeah, I get the same thing...just have not gotten around to trying address it.
Last edited by meijin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Michael
User avatar
meijin
Members
Members
 
Posts: 62
Likes: 0 post
Liked in: 0 post
Joined: Fri Feb 22, 2008 2:16 am
Cash on hand: 0.00

PostAuthor: Fallen » Wed Feb 27, 2008 4:51 pm

Exactly the same here with my site.
Last edited by Fallen on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Fallen
Members
Members
 
Posts: 39
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 8:54 pm
Cash on hand: 0.00

PostAuthor: tmotley » Wed Feb 27, 2008 6:47 pm

What are you doing to get these errors exactly?
Last edited by tmotley on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
tmotley
IntegraMODerators
IntegraMODerators
 
Posts: 524
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 3:56 am
Cash on hand: 0.00
Location: Missouri, USA

Re: Ip Tracking in ACP

PostAuthor: Helter » Wed Feb 27, 2008 7:09 pm

see if this helps

Code: Select all
DROP TABLE IF EXISTS phpbb_ip_tracking_config;
DROP TABLE IF EXISTS phpbb_ip_tracking;
CREATE TABLE `phpbb_ip_tracking_config` ( `max` varchar(15) NOT NULL DEFAULT '' ) TYPE=MyISAM;
INSERT INTO `phpbb_ip_tracking_config` VALUES ('25000');
CREATE TABLE `phpbb_ip_tracking` ( `ip` varchar(15) NOT NULL DEFAULT '', `time` int(11) NOT NULL DEFAULT '0', `located` varchar(255) NOT NULL DEFAULT '', `username` varchar(50) NOT NULL DEFAULT '') TYPE=MyISAM;
Last edited by Helter on Wed Aug 15, 2012 2:50 pm, edited 3 times in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: a_lunatic » Thu Feb 28, 2008 5:56 am

Fixed it but had to do it in server control panel as on phpbbmyadmin had ctracker warning
Last edited by a_lunatic on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
a_lunatic
Members
Members
 
Posts: 56
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 9:05 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: meijin » Thu Mar 06, 2008 7:00 am

I hate to show my newbie-ness yet again, but I have to.

What, exactly, should I be doing with that code snippet above to get the IP Tracking feature to work?

Thanks (AGAIN) for the help!
Last edited by meijin on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Michael
User avatar
meijin
Members
Members
 
Posts: 62
Likes: 0 post
Liked in: 0 post
Joined: Fri Feb 22, 2008 2:16 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: Helter » Sun Mar 09, 2008 3:30 am

open your database in phpmyadmin, click the querry button and paste that code in the box that appears, click submit. That will add the ip_tracking_config table to your database
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Ip Tracking in ACP

PostAuthor: Neva » Fri Apr 25, 2008 5:40 pm

I had the same error and ran the fix, I no longer have the error but Ip Tracking is not tracking anything.

Any Ideas?
Last edited by Neva on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Moo
User avatar
Neva
Members
Members
 
Posts: 44
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 8:19 pm
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: melamkish » Sun Apr 27, 2008 5:54 pm

Same problem here. Updated the db, fixed the error, but no tracking.

Started to dig into the code and in the admin_ip_logger.php file I found the following line

include($phpbb_root_path . "includes/functions_ip_logger.php");


If I'm not mistaken, this line calls the functions for the logger. I have searched all over the software and have not found this file. Even downloaded the earlier versions of IM as well as looked at the core phpbb2 software.

Nowhere.

It would appear that this mod is incomplete. <img>
Last edited by melamkish on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Too many projects, too little time.
User avatar
melamkish
Newbie
Newbie
 
Posts: 28
Likes: 0 post
Liked in: 0 post
Joined: Fri Jul 21, 2006 4:46 pm
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: star » Wed May 07, 2008 6:19 am

"melamkish";p="32885" wrote:Same problem here. Updated the db, fixed the error, but no tracking.

Started to dig into the code and in the admin_ip_logger.php file I found the following line

include($phpbb_root_path . "includes/functions_ip_logger.php");


If I'm not mistaken, this line calls the functions for the logger. I have searched all over the software and have not found this file. Even downloaded the earlier versions of IM as well as looked at the core phpbb2 software.

Nowhere.

It would appear that this mod is incomplete. <img>



whats missing are the sql commands and 2 file edits
edit one
Code: Select all
 OPEN Root/includes/page_header.php
FIND
 ?>
 BEFORE ADD
 include_once($phpbb_root_path . 'includes/functions_ip_track.'.$phpEx);



edit 2
Code: Select all
 OPEN Root/admin/index.php
FIND
include_once($phpbb_root_path . 'includes/lite.'.$phpEx);
ADD AFTER
include_once($phpbb_root_path . 'includes/functions_ip_track.'.$phpEx);



and then run the following 2 sql commands

Code: Select all
CREATE TABLE `phpbb_ip_tracking` ( `ip` varchar(15) NOT NULL default '', `time` int(11) NOT NULL default '0', `located` varchar(255) NOT NULL default '', `referer` varchar(255) NOT NULL default '', `username` varchar(50) NOT NULL default '') ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE `phpbb_ip_tracking_config` ( `max` int(15) NOT NULL default '0') ENGINE=MyISAM DEFAULT CHARSET=utf8;
Last edited by star on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

star
Newbie
Newbie
 
Posts: 17
Likes: 0 post
Liked in: 0 post
Joined: Sat Jun 17, 2006 12:50 pm
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: Neva » Wed May 07, 2008 4:30 pm

Thanks for the suggestion star but I still don't have any IPs being tracked in Ip Tracking. <img>
Last edited by Neva on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Moo
User avatar
Neva
Members
Members
 
Posts: 44
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 27, 2006 8:19 pm
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: DjPorkchop » Tue Jun 17, 2008 3:41 pm

my girlfriends website has the same problem as well as another that Im helping work on as well as 2 other installs I did. Seems we need to mark this one as BUG and get it fixed in the new version eh?
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Ip Tracking in ACP

PostAuthor: .QUACK.Major.Pain » Mon Jun 30, 2008 2:41 pm

After reading, still not sure where you getting this error.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: DjPorkchop » Tue Jul 01, 2008 12:29 pm

The error is there when you click on IP Tracking in the ACP. My girfriends website had it as well.

I did run the sql on my girlfriends website and it did absolutely nothing for her BUT to get rid of the error. Everything is there but not a 1 ip gets logged.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Ip Tracking in ACP

PostAuthor: .QUACK.Major.Pain » Tue Jul 01, 2008 1:54 pm

I must be missing it. I don't see ip tracking anywhere.
I can click on the online users ip and see their info.
Last edited by .QUACK.Major.Pain on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: DjPorkchop » Tue Jul 01, 2008 5:00 pm

I suspect that it is the all languages version only then. I have the english only version and it does NOT have IP Tracking in the ACP anywhere at all.
Last edited by DjPorkchop on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Don't gain the world and lose your soul, wisdom is better than silver and gold" -Bob Marley

If you build it, I can break it! ~ Whispered in the tone of the movie Field of Dreams.
User avatar
DjPorkchop
Administrator
Administrator
 
Posts: 1593
Likes: 136 posts
Liked in: 26 posts
Images: 12
Joined: Fri Apr 21, 2006 7:59 pm
Cash on hand: 1,575.25
Location: Illinois
IntegraMOD version: phpBB2x

Re: Ip Tracking in ACP

PostAuthor: Dioncecht » Fri Oct 03, 2008 11:31 am

I'm getting this error as well. I know part fo it is that it is missing the table in the databases. I can't try the fix because I can't see any snippets of code posted on this site anymore.

I get this:
'We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths.' - Walt Disney

[img=left]http://rpghq.org/banner2.jpg[/img]
[url=http]The RPG Headquarters. The RPG capitol of the net![/url]
User avatar
Dioncecht
Sr Integra Member
Sr Integra Member
 
Posts: 244
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 5:23 pm
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: djcasper » Thu Dec 04, 2008 2:13 am

I have fixed the problem with this tracker.
You can download the missing file + file edits and sql code from the link below.

Your tracker will then log your actions. To test it login to admin and goto your tracker and you will see your login data.

Regards
DJ Casper

djcasper
Newbie
Newbie
 
Posts: 7
Likes: 0 post
Liked in: 0 post
Joined: Sun Nov 30, 2008 4:28 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: .QUACK.Major.Pain » Thu Dec 04, 2008 6:03 am

djcasper that edit didn't work here.

Causes this error on portal page:

Warning: main() [function.main]: Unable to access ./includes/functions_ip_track.php in /home4/stuffupf/public_html/bindepot/forum/includes/page_header.php on line 1416

Warning: main(./includes/functions_ip_track.php) [function.main]: failed to open stream: No such file or directory in /home4/stuffupf/public_html/bindepot/forum/includes/page_header.php on line 1416

Warning: main() [function.include]: Failed opening './includes/functions_ip_track.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home4/stuffupf/public_html/bindepot/forum/includes/page_header.php on line 1416


I just did a new install and the file doesn't exist.
I downloaded integramod files again and checked, but the file functions_ip_track.php doesn't exist in the download.

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: .QUACK.Major.Pain » Thu Dec 04, 2008 6:09 am

Nevermind. LOL

Just got out of bed and still half asleep.

Found the file in your download and everything working great now.

Great job.

Thanks

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: dungeon » Mon Sep 14, 2009 6:06 am

Hai


I have this error

Configuration = Oke


Ip: Admin Hits error =

Error Getting IP Count.

DEBUG MODE

SQL Error : 1146 Table 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.phpbb_ip_tracking' doesn't exist

SELECT COUNT(*) AS total FROM phpbb_ip_tracking WHERE located LIKE '%admin%' GROUP BY time

Line : 679
File : admin_ip_tracking.php

Ip: Logs error =

Error Getting IP Count.

DEBUG MODE

SQL Error : 1146 Table 'xxxxxxxxxxxxxxxxx.phpbb_ip_tracking' doesn't exist

SELECT COUNT(ip) AS total FROM phpbb_ip_tracking GROUP BY username

Line : 470
File : admin_ip_tracking.php

Ip: Multi Users error =

Error Getting IP Count.

DEBUG MODE

SQL Error : 1146 Table 'xxxxxxxxxxxx.phpbb_ip_tracking' doesn't exist

SELECT COUNT(ip) AS total FROM phpbb_ip_tracking GROUP BY ip

Line : 798
File : admin_ip_tracking.php

Ip: Search = oke


When i do the querry from this topic from JWI

Than i have this

[img=left:2geqc4jq]http://www.spuwjegalonline.nl/test/database.jpg[/img]


Greetz Dungeon

dungeon
Newbie
Newbie
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 22, 2009 10:31 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: Okki » Mon Sep 14, 2009 2:42 pm

Maybe you can try the solution from djcasper.

I suppose this solution can go in the package, maybe also as an update package for the current version!!??
[hr][size=99px] [url=http]http][/size]
[color=red][size=99px][/size]
Please visit our advertisers.
User avatar
Okki
Dev Team
Dev Team
 
Posts: 576
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 2:05 pm
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: dungeon » Tue Sep 15, 2009 10:18 am

I have don that but a can do this in Query


Code: Select all
SQL FIX  CREATE TABLE phpbb_ip_tracking_config (    max INT(15) NOT NULL DEFAULT '0'    );                CREATE TABLE phpbb_ip_tracking (    ip varchar(15) NOT NULL DEFAULT '',    time int(11) NOT NULL DEFAULT '0',    located varchar(255) NOT NULL DEFAULT '',    referer varchar(255) NOT NULL,    username varchar(50) NOT NULL DEFAULT ''    );    INSERT INTO phpbb_ip_tracking_config VALUES (25000);  




#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE phpbb_ip_tracking ( ip varchar(15) NOT NULL default '', tim' at line 5






Dungeon

dungeon
Newbie
Newbie
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 22, 2009 10:31 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: .QUACK.Major.Pain » Tue Sep 15, 2009 1:19 pm

You must be doing something wrong.
I just created a test database and did the above, and all was successful.

First, you mention query. You don't do query, you use the "SQL" tab and enter this in the box:

Code: Select all
CREATE TABLE phpbb_ip_tracking_config (    max INT(15) NOT NULL DEFAULT '0'    );                CREATE TABLE phpbb_ip_tracking (    ip varchar(15) NOT NULL DEFAULT '',    time int(11) NOT NULL DEFAULT '0',    located varchar(255) NOT NULL DEFAULT '',    referer varchar(255) NOT NULL,    username varchar(50) NOT NULL DEFAULT ''    );    INSERT INTO phpbb_ip_tracking_config VALUES (25000);


Then click "GO"

You should get the following when done]Your SQL query has been executed successfully[/code]

[code=sql]SQL query]

[code=sql]Run SQL query/queries ON DATABASE aaquac5_test]

.QUACK.Major.Pain
Sr Integra Member
Sr Integra Member
 
Posts: 986
Likes: 0 post
Liked in: 0 post
Joined: Sat Jan 27, 2007 11:15 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: Helter » Tue Sep 15, 2009 9:35 pm

mysql5 / mysqli

Code: Select all
 CREATE TABLE IF NOT EXISTS `phpbb_ip_tracking` (   `ip` varchar(15) NOT NULL DEFAULT '',   `time` int(11) NOT NULL DEFAULT '0',   `located` varchar(255) NOT NULL DEFAULT '',   `referer` varchar(255) NOT NULL DEFAULT '',   `username` varchar(50) NOT NULL DEFAULT '') ENGINE=MyISAM DEFAULT CHARSET=latin1;    CREATE TABLE IF NOT EXISTS `phpbb_ip_tracking_config` (   `max` varchar(15) NOT NULL DEFAULT '0') ENGINE=MyISAM DEFAULT CHARSET=latin1;  INSERT INTO `phpbb_ip_tracking_config` (`max`) VALUES('25000');  


mysql4

Code: Select all
 CREATE TABLE IF NOT EXISTS `phpbb_ip_tracking` (   `ip` varchar(15) NOT NULL DEFAULT '',   `time` int(11) NOT NULL DEFAULT '0',   `located` varchar(255) NOT NULL DEFAULT '',   `referer` varchar(255) NOT NULL DEFAULT '',   `username` varchar(50) NOT NULL DEFAULT '') TYPE=MyISAM;    CREATE TABLE IF NOT EXISTS `phpbb_ip_tracking_config` (   `max` varchar(15) NOT NULL DEFAULT '0') TYPE=MyISAM;  INSERT INTO `phpbb_ip_tracking_config` (`max`) VALUES('25000');  
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

Re: Ip Tracking in ACP

PostAuthor: dungeon » Wed Sep 16, 2009 12:15 am

I whas in the rong box lol now i have don this and it works


Code: Select all
 DROP TABLE IF EXISTS phpbb_ip_tracking_config;  DROP TABLE IF EXISTS phpbb_ip_tracking;  CREATE TABLE `phpbb_ip_tracking_config` ( `max` varchar(15) NOT NULL DEFAULT ''  ) TYPE=MyISAM;  INSERT INTO `phpbb_ip_tracking_config` VALUES ('25000');  CREATE TABLE `phpbb_ip_tracking` ( `ip` varchar(15) NOT NULL DEFAULT '', `time` int(11) NOT NULL DEFAULT '0', `located` varchar(255) NOT NULL DEFAULT '', `username` varchar(50) NOT NULL DEFAULT ''  ) TYPE=MyISAM;    

dungeon
Newbie
Newbie
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 22, 2009 10:31 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: dungeon » Thu Sep 17, 2009 3:14 am

i have fix the error but Tracking is not tracking anything


Dungeon

dungeon
Newbie
Newbie
 
Posts: 24
Likes: 0 post
Liked in: 0 post
Joined: Wed Jul 22, 2009 10:31 am
Cash on hand: 0.00

Re: Ip Tracking in ACP

PostAuthor: Moander » Wed Jun 02, 2010 6:34 am

The djcasper fix worked perfectly, no errors, no issues, and I got tracking.

Thank you djcasper.
http://tubeworks.mortality.net - Tube Works / Mosvalve Fan Site
User avatar
Moander
Newbie
Newbie
 
Posts: 18
Likes: 0 post
Liked in: 0 post
Joined: Sun May 28, 2006 8:13 am
Cash on hand: 0.00
Location: Fort Myers, Florida

Re: Ip Tracking in ACP

PostAuthor: Moander » Thu Jun 03, 2010 7:01 am

Only issue remaining, as I spoke too early <img>

I get no guest IP tracking. When I look at the Config screen, I can delete the registered member logs, but the Guest log shows 0 entries all the time.....

Ideas?
http://tubeworks.mortality.net - Tube Works / Mosvalve Fan Site
User avatar
Moander
Newbie
Newbie
 
Posts: 18
Likes: 0 post
Liked in: 0 post
Joined: Sun May 28, 2006 8:13 am
Cash on hand: 0.00
Location: Fort Myers, Florida


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot], Majestic-12 [Bot]