Raised This Month: $ Target: $400
 0% 

ZP WEB STATS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kjm
Member
Join Date: Jun 2011
Location: Odessa
Old 06-28-2011 , 20:13   ZP WEB STATS
Reply With Quote #1

Im use last version of zp web stats
he not connect to my Mysql base

maybe my hosting doesn't allow? because My base contains the forum data

Quote:
L 06/29/2011 - 03:00:22: [MySQL] Invalid database handle: 0
L 06/29/2011 - 03:00:22: [AMXX] Displaying debug trace (plugin "zp_web_stats.amxx")
L 06/29/2011 - 03:00:22: [AMXX] Run time error 10: native error (native "SQL_PrepareQuery")
L 06/29/2011 - 03:00:22: [AMXX] [0] sqlx.inc::SQL_QueryAndIgnore (line 345)
L 06/29/2011 - 03:00:22: [AMXX] [1] zp_web_stats.sma::plugin_cfg (line 287)
sorry my bad english
Attached Files
File Type: sma Get Plugin or Get Source (zp_web_stats.sma - 608 views - 46.1 KB)
kjm is offline
Send a message via Skype™ to kjm
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-28-2011 , 20:17   Re: ZP WEB STATS
Reply With Quote #2

did you enable mysql in your modules.ini ?
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
kjm
Member
Join Date: Jun 2011
Location: Odessa
Old 06-28-2011 , 20:19   Re: ZP WEB STATS
Reply With Quote #3

Quote:
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;

mysql
sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;

fun
engine
fakemeta
geoip
sockets
regex
nvault
cstrike
csx
hamsandwich
yeah

p.s если я не ошибаюсь ты русский, мне так будет легче с тобой общаться
kjm is offline
Send a message via Skype™ to kjm
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-28-2011 , 20:34   Re: ZP WEB STATS
Reply With Quote #4

[en]
in admin.sma did you remove the (//) in the line #define USING_SQL
[ru]
в admin.sma ты удаление (//) в линия #define USING_SQL
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
kjm
Member
Join Date: Jun 2011
Location: Odessa
Old 06-28-2011 , 20:38   Re: ZP WEB STATS
Reply With Quote #5

Quote:
Originally Posted by Dolph_Ziggler View Post
[en]
in admin.sma did you remove the (//) in the line #define USING_SQL
[ru]
в admin.sma ты удаление (//) в линия #define USING_SQL

// Uncomment for SQL version
#define USING_SQL

Correctly?
правильно?
kjm is offline
Send a message via Skype™ to kjm
kjm
Member
Join Date: Jun 2011
Location: Odessa
Old 06-28-2011 , 20:40   Re: ZP WEB STATS
Reply With Quote #6

i have zp_web_stats.cfg
and i write in this file
// Databse settings
zp_stats_host
zp_stats_db
zp_stats_user
zp_stats_password

and i have sql.cfg in this file i must write info too?

not work, i don't know why

Last edited by kjm; 06-28-2011 at 20:45.
kjm is offline
Send a message via Skype™ to kjm
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-28-2011 , 20:45   Re: ZP WEB STATS
Reply With Quote #7

Quote:
Originally Posted by kjm View Post
// Uncomment for SQL version
#define USING_SQL

Correctly?
правильно?
yes correct
Quote:
Originally Posted by kjm View Post
i have zp_web_stats.cfg
and i write in this file
// Databse settings
zp_stats_host
zp_stats_db
zp_stats_user
zp_stats_password

and i have sql.cfg in this file i must write info too?

not work, i don't know why
the in the zp_web_stats.cfg must be the same a sql.cfg
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
Old 06-28-2011, 20:45
Dolph_Ziggler
This message has been deleted by Dolph_Ziggler. Reason: double post
kjm
Member
Join Date: Jun 2011
Location: Odessa
Old 06-28-2011 , 20:47   Re: ZP WEB STATS
Reply With Quote #8

There too most
там тоже самое

not work(

может быть потому что в этой базе есть данные от моего форума, и хостинг не разрешает дополнительное подключение помимо?
kjm is offline
Send a message via Skype™ to kjm
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-28-2011 , 20:51   Re: ZP WEB STATS
Reply With Quote #9

Quote:
Originally Posted by kjm View Post
There too most
там тоже самое

not work(

может быть потому что в этой базе есть данные от моего форума, и хостинг не разрешает дополнительное подключение помимо?
[en]
show me your sql.cfg

[ru]
покажите мне ваш sql.cfg
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
kjm
Member
Join Date: Jun 2011
Location: Odessa
Old 06-28-2011 , 20:51   Re: ZP WEB STATS
Reply With Quote #10

i show you in private
kjm is offline
Send a message via Skype™ to kjm
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 07:10.


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