Longjumps Web Stats

Started by MaHy
14/05/2009 20:43
Page 2 of 3
MaHy18/08/2009 17:35

Originally posted by ^nevermoRe
i have on my server lj stats by Exolent cani use these web stats??

No, you can't. You need edit this plugin and then u can, but Exolent said that make web stats soon

MaHy25/08/2009 15:51

new version php
1 post

NFS28/10/2009 14:48


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/xxxxxxx/public_html/top10/wljs.php on line 68 ok?

MaHy29/10/2009 16:31

all tables created in your database? this error mean that result of mysql query = 0

NFS29/10/2009 19:50

Dude if any error will accur for a noob in php and such, make a guide on how to create databases not everyone that have knowlage of that ^^

Nikša Jovanovic11/11/2009 20:26

name version author file status
ljsweb 1.3 many wljs.amxx error

MaHy15/11/2009 01:49

Originally posted by NFS
Dude if any error will accur for a noob in php and such, make a guide on how to create databases not everyone that have knowlage of that ^^

No, plugin create all tables itself, but maybe you don't correctly configure a connection to DB? If so, there are no tables in your DB now. I think it's wrong configurations.

MaHy15/11/2009 01:52

Originally posted by niki.
name version author file status
ljsweb 1.3 many wljs.amxx error

Is mysql module enable?

Nikša Jovanovic15/11/2009 10:51(edited 15/11/2009 11:11)

No its not...i will try now
Edit:

modules.ini

;;;
; 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
hamsandwich


sql.cfg


// SQL configuration file
// File location: $moddir/addons/amxmodx/configs/sql.cfg

// *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1"
// We recommend using your server IP address instead of its name

// *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use.

amx_sql_host "85.25.1xx.xxx"
amx_sql_user "xxx"
amx_sql_pass "xxxxxxxxxx"
amx_sql_db "xxxx"
amx_sql_table "admins"
amx_sql_type "mysql"

kREWAN15/11/2009 11:37

What's web stats?

NFS15/11/2009 15:02

table name then -.- cuz this shit wont create it by it self

MaHy20/11/2009 19:48(edited 20/11/2009 19:50)

niki.

Enable one of
mysql
sqlite

INSTALLING:

1.copy wljs.amxx to addons/axmodx/plugins/
2.add line wljs.amxx in addons/amxmodx/config/plugins.ini
3.add this cvars with your personal settings to amxx.cfg

ljs_db_host "127.0.0.1"
ljs_db_user "root"
ljs_db_pass "xxx"
ljs_db_name "xxx"

4.open wljs.php and edit settings

define("DB_HOST", "127.0.0.1");
define("DB_USER", "root");
define("DB_PASS", "xxx");
define("DB_NAME", "xxx");

5.copy wljs to your web server


or u can open .sma file and edit connection setting there, but then u must compile it

kREWAN, Web stats means that u can see server top of lj,cj and so on, on your web-site like this - http://cs.freeside.ru/test/wljs.php

NFS, don't understand your post =)


THIS PLUGIN WORKS ONLY WITH Long Jump Stats PLUGIN!

kREWAN20/11/2009 22:25

Aha thanks :)

NFS21/11/2009 08:49

it wont work for me though.

Nikša Jovanovic21/11/2009 10:46

same here

MaHy22/11/2009 03:28

in your plugins.ini type
wljs.amxx debug

then u can see all erors in /amxmodx/logs/error_xxxxx.log

type all errors of my plugin from log there.
but on my server there is no errors of my plugin..

Check your database for tables
tabels name:
kz_top_lj
kz_top_cj
kz_top_bj

Is your server running with Long Jump Stats? may be you try to install this plugin with jumpstats(exolent)

And what version of your amxx?

NFS22/11/2009 09:55

L 11/22/2009 - 09:53:23: [AMXX] Plugin ("wljs.amxx") is setting itself as failed.
L 11/22/2009 - 09:53:23: [AMXX] Plugin says: Can't connect to MySQL server on 'MYMYSQLHOSTSTANDSHERE.com' (10060)
L 11/22/2009 - 09:53:23: [AMXX] Displaying debug trace (plugin "wljs.amxx")
L 11/22/2009 - 09:53:23: [AMXX] Run time error 1: forced exit
L 11/22/2009 - 09:53:23: [AMXX] [0] wljs.sma::plugin_init (line 48)
L 11/22/2009 - 09:53:23: Function "cmdChangeShowtime" was not found

Didnt got any tables in my database.

igot lt.rats extreme modification 3.0

ive got latest amx version 1.8.3 or smth

MaHy22/11/2009 16:37

Can't connect to MySQL server on 'MYMYSQLHOSTSTANDSHERE.com'

Do you try connect to MYMYSQLHOSTSTANDSHERE.com ?

Add this cvars with your personal settings to amxx.cfg

ljs_db_host "127.0.0.1" // Your SQL HOST
ljs_db_user "root" // Your user at SQL HOST
ljs_db_pass "xxx" // Your password at SQL HOST
ljs_db_name "xxx" // Name of already created DB



ALL WHAT YOU NEED AT FIRST POST!

NFS15/12/2009 15:25

i did im not a nub on this shit :s

MaHy25/12/2009 22:08

may be your sql host block connect from internet?
i mean that u can connect to sql server only from this server and cs-server is set on another server?

sorry for my english :)

Page 2 of 3

Please log in to post replies.