Raised This Month: $ Target: $400
 0% 

[ANY] adminWatch (v1.2.2)


Post New Thread Reply   
 
Thread Tools Display Modes
midnight9
Senior Member
Join Date: Nov 2012
Old 03-04-2017 , 05:53   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #141

I belive you need to change command varchar lenght (default is 100) in the adminwatch_logs table.
midnight9 is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 05-03-2017 , 10:03   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #142

im using this https://forums.alliedmods.net/showpo...&postcount=112

and his webpanel and his smx

but on the webpanel

PHP Code:
Total Idle
NoticeUndefined variablePRECISION in blabla/adminwatch/index.php in line 21 

looking like this atm and not showing a steam image, $steamprofile 2

Last edited by Robin955; 05-03-2017 at 10:08.
Robin955 is offline
B_R
Member
Join Date: May 2017
Old 05-26-2017 , 15:36   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #143

hello guys need help here,
i put this on databases.cfg
"adminwatch"
{
"driver" "mysql"
"host" "localhost"
"database" "database"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}

Error files says :
Quote:
L 05/26/2017 - 21:07:40: [adminwatch.smx] Unable to connect to the database. Error: [2003]: Can't connect to MySQL server on 'localhost' (10061)
L 05/26/2017 - 21:07:40: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 05/26/2017 - 21:07:40: [SM] Blaming: adminwatch.smx
L 05/26/2017 - 21:07:40: [SM] Call stack trace:
L 05/26/2017 - 21:07:40: [SM] [0] SQL_TQuery
L 05/26/2017 - 21:07:40: [SM] [1] Line 171, C:\Users\Pat\Documents\Work\aMity\PawnStudio\ adminwatch.sp::OnPluginStart

Last edited by B_R; 05-26-2017 at 16:15.
B_R is offline
Rodya
Senior Member
Join Date: Mar 2017
Location: Russia
Old 05-28-2017 , 02:14   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #144

Quote:
Originally Posted by B_R View Post
hello guys need help here,
i put this on databases.cfg
"adminwatch"
{
"driver" "mysql"
"host" "localhost"
"database" "database"
"user" "root"
"pass" ""
//"timeout" "0"
"port" "3306"
}

Error files says :
you create mysql database?
Rodya is offline
B_R
Member
Join Date: May 2017
Old 05-28-2017 , 07:06   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #145

Quote:
Originally Posted by Rodya View Post
you create mysql database?
No isn't the plugin supposed to create the database by itself ?, if so could you please give me the schema of tables on it and the path where to put the database ? Thank you !
B_R is offline
Sketchy
Senior Member
Join Date: Nov 2010
Old 08-05-2017 , 03:32   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #146

Quote:
Originally Posted by darkyy1994 View Post
hey i got this error on top from the adminwatch webpanel

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/customers/webs/xxxxxx/adminwatch/includes/database.include.php on line 25

anyone know how to fix this?

everything is working but this is still here xD
I also get that error on the web page.


Quote:
Originally Posted by micazoid View Post
Find:
Code:
		if( 0 == $this->Link_ID )
			$this->Link_ID=mysql_connect( $this->Host, $this->User, $this->Password );
Alter it to:
Code:
		if( 0 == $this->Link_ID )
			$this->Link_ID=mysqli( $this->Host, $this->User, $this->Password );
This does not work.

If I change "mysql_connect" to "mysqli" I get this:
Fatal error: Call to undefined function mysqli() in /home3/crazime/public_html/adminwatch/go8/includes/database.include.php on line 25

If I change "mysql_connect" to "mysqli_connect" I get this:
Warning: mysqli_connect(): (HY000/2003): Can't connect to MySQL server on '172.16.0.3' (110) in /home3/crazime/public_html/adminwatch/go8/includes/database.include.php on line 25
Database error: Link-ID == false, connect failedMySQL Error: 0 ()Session halted.

Anybody know what the correct syntax is to fix this?
Sketchy is offline
ownage13
AlliedModders Donor
Join Date: Apr 2015
Old 09-16-2017 , 00:45   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #147

So I do like this plugin but I don't see the option to sort the admins activity by each week. All I see is a last played option, and a total time played. I check my admins activity once a week and with it only being total time and last played this plugin currently doesn't help me as much as I would like it to. Do you think maybe in the future you could include an option to check their activity per week? or is that already incorporated and I'm just a noob who can't find that option in this plugin?

Thanks for any help/replies!
ownage13 is offline
Danii
AlliedModders Donor
Join Date: Oct 2014
Location: localhost
Old 11-18-2017 , 13:56   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #148

Quote:
52 <Failed> "adminWatch" (1.2.2) by Pat841
Errors:
adminwatch.smx (adminWatch): Data too long for column 'command' at row 1
Any fix?!
__________________
Danii is offline
teran
Junior Member
Join Date: Oct 2017
Old 08-22-2018 , 08:43   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #149

I need to know how much admin played last day/month, e.t.c. Can u add such a feature? Total time is too big and I can't understand how much time admin plays on average.
teran is offline
Gumiland
Member
Join Date: Jun 2016
Old 08-24-2018 , 02:52   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #150

Quote:
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /usr/www/*****/public/admon/includes/database.include.php:25 Stack trace: #0 /usr/www/*****/public/admon/includes/database.include.php(37): Database->connect() #1 /usr/www/*****/public/admon/index.php(28 ): Database->query('SELECT * FROM `...') #2 {main} thrown in /usr/www/*****/public/admon/includes/database.include.php on line 25
Is there any fix for this?
__________________

Last edited by Gumiland; 08-24-2018 at 02:54.
Gumiland is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode