You are here: Big Brother Bot ForumAdd-OnsXLRXLR Releases! (Moderator: Freelander)Echelon - Web investigation tool for B3
Pages: 1 ... 13 14 [15] 16   Go Down
  Print  
Author Topic: Echelon - Web investigation tool for B3  (Read 32474 times)
Dev. Team
Hero Member
*****
Posts: 1038
Offline Offline
Don't contact me on Xfire! I will just reject you!
« Reply #210 on: December 12, 2009, 01:55:17 PM »

You may not have access to your php.ini file.

You will want to make a file called .htaccess (the period at the start is important)

As it's contents, have this:

Code:
php_value date.timezone Europe/Bucharest

Stick that file in your echelon folder, and it should work (as long as you use php5).
Logged

Jr. Member
**
Posts: 33
Offline Offline
« Reply #211 on: December 13, 2009, 07:09:14 AM »

You may not have access to your php.ini file.

You will want to make a file called .htaccess (the period at the start is important)

As it's contents, have this:

Code:
php_value date.timezone Europe/Bucharest

Stick that file in your echelon folder, and it should work (as long as you use php5).


my PHP version is 5.2.10. i tried to make a .htacess file with that code inside, bu when i do that i get an error and i cant see anything.

500 Internal Server Error

The request was not completed. The server met an unexpected condition.
75.125.199.210/~worlduni/echelon/links.php?game=1 (port 80)

Please forward this error screen to 75.125.199.210's WebMaster.
Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at 75.125.199.210 Port 80

btw, when im checking the chatlogger in real time, the time is correct, only when they disconnect the time goes wrong
« Last Edit: December 13, 2009, 07:14:36 AM by Maks » Logged
Dev. Team
Hero Member
*****
Posts: 1038
Offline Offline
Don't contact me on Xfire! I will just reject you!
« Reply #212 on: December 13, 2009, 07:27:51 AM »

In Cpanel, or whatever panel you have, can you check the button marked 'error_log' and check for the error?
Logged

Jr. Member
**
Posts: 33
Offline Offline
« Reply #213 on: December 13, 2009, 07:51:41 AM »

[Sun Dec 13 09:52:09 2009] [alert] [client 89.180.146.74] /home/worlduni/public_html/echelon/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration, referer: http://75.125.199.210/~worlduni/echelon/links.php?game=1

here it was 15:52
Logged
[ www.xlrstats.com ]
Project leader
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1211
Offline Offline
WWW
« Reply #214 on: December 13, 2009, 07:57:21 AM »

Hm, you probably won't have permissions to change the file.

Perhaps this wil work for you:
http://corz.org/serv/tricks/htaccess.php

Try and find date.timezone in the .htaccess file and experiment. Your webhost will have to allow these overrides tho
Logged


Serving: CoD2 | CoD5 | UrT4.1
Jr. Member
**
Posts: 33
Offline Offline
« Reply #215 on: December 13, 2009, 08:01:39 AM »

i can see an .htaccess file inside the www folder. the permissions on the file is 644 and inside the file is this code

Code:
RewriteEngine on

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName worldunited.tk
AuthUserFile /home/worlduni/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/worlduni/public_html/_vti_pvt/service.grp

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^webmail\/?$ "http\:\/\/webmail\.worldunited\.tk\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^webmail\/?$ "http\:\/\/webmail\.worldunited\.tk\/" [R=301,L]

Logged
Dev. Team
Hero Member
*****
Posts: 1038
Offline Offline
Don't contact me on Xfire! I will just reject you!
« Reply #216 on: December 13, 2009, 08:51:14 AM »

That site is where I got my info from Cheesy

Code:
php_value date.timezone Europe/Bucharest
is the line you want.
Logged

Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1136
Offline Offline
WWW
« Reply #217 on: December 13, 2009, 08:56:25 AM »

what about http://www.php.net/manual/en/function.date-default-timezone-set.php ?
Logged

Jr. Member
**
Posts: 33
Offline Offline
« Reply #218 on: December 13, 2009, 09:08:54 AM »


where should i put that code? in .htaccess?
Logged
Dev. Team
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT, SmG
Posts: 1136
Offline Offline
WWW
« Reply #219 on: December 13, 2009, 09:44:10 AM »

I would use that php function in inc_config.php like :
Code: php
date_default_timezone_set('Europe/Paris'); // see all available timezones at http://www.php.net/manual/en/timezones.php
$path = "/echelon/";

## settings for the echelon database
$hostname_wwwvalidate = "localhost";
$database_wwwvalidate = "echelon";
$username_wwwvalidate = "echelon";
$password_wwwvalidate = "somepass";

## settings for your b3 databases
$config = array(
 "clanname" => "My Team",
 //How many servers do we have down here
 "numservers" => 3,
 "servers" => array(
   1 => array(

Logged

Jr. Member
**
Posts: 33
Offline Offline
« Reply #220 on: December 13, 2009, 10:21:27 AM »

OMG, it was that easy... Cheesy
i really feel stupid eheheh but at the same time, i dont cause i dont know anything about php Tongue
the timezone is Lisbon.

thanks a lot you all
Its good to see that there are still people ready to help the next one.

If i can help on anything just say so and ill do my best Cheesy

Hugs
Logged
Dev. Team
Hero Member
*****
Posts: 1038
Offline Offline
Don't contact me on Xfire! I will just reject you!
« Reply #221 on: December 13, 2009, 10:36:38 AM »

whooa, I never knew you could do that Cheesy
Logged

[ www.xlrstats.com ]
Project leader
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1211
Offline Offline
WWW
« Reply #222 on: December 13, 2009, 11:06:30 AM »

will add it to the repository.
Logged


Serving: CoD2 | CoD5 | UrT4.1
Full Member
***
OS: Linux
Type: Home user
Gameservers: 3 URT servers 1)Local, 2)Remote gameserves.com
Posts: 101
Offline Offline
you know its true
WWW
« Reply #223 on: January 20, 2010, 01:35:41 PM »

Ubuntu9.10 + UrbanTerror4.1 + BigBrotherBot-big-brother-bot-26741c9.zip + xlr8or-echelon-64c736b.zip (both from the download page here around 01/15/2010).

I ran in to a little bug.

when I try to register users and or make a user a admin with Echelon.

XLR-web will shows them, phpmyadmin shows the group_bits are correct, but B3 states they are still 0 or 1 if they registered.

all "B3" related tables reside in the same data base.
Logged

[ www.xlrstats.com ]
Project leader
Hero Member
*****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1211
Offline Offline
WWW
« Reply #224 on: January 21, 2010, 05:46:44 AM »

If you do that in Echelon while players are online, they will have to reconnect before the changes take effect. This is different than when you do it ingame (the !putgroup command), that will take effect immediately.
Logged


Serving: CoD2 | CoD5 | UrT4.1
Tags:
Pages: 1 ... 13 14 [15] 16   Go Up
  Print  
 
Jump to: