You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Hosted Forums > UTStats > General Chat

Reply
Thread Tools Display Modes
  #1  
Unread 18th January, 2019, 05:01 AM
beatzz beatzz is offline
Forum Newcomer
 
Join Date: Jan 2019
Location: Nagaoka, Japan
Posts: 5
Exclamation can't get log files imported

So, I have everything configured as best I can, I have ran admin.php and the database has been filled with the corresponding tables, and when I run import.php it executes without any errors. However, I'm not getting any log files downloaded into the logs directory? I have even ran the following SQL statements and restarted mysql. Please any help would be appreciated
Code:
SET GLOBAL sql_mode='';
SET SESSION sql_mode='';
proof of database/table existence


this is what it looks like when I run import.php


contents of logs directory listed


config.php
PHP Code:
<?php

// Database connection details
$dbname "utstats";
$hostname "localhost";
$uname "root";
$upass "mydatabasepassword";

// The key needed to run the import script
$import_adminkey "ut4life";

// When runnning from the command-line (cron jobs):
// The absolute path to UTStats's home directory.
// Only needed if you're starting the importer from another directory
// Leave emtpy if unsure
$import_homedir "";

// Use the MySQL temporary tables feature?
// Available since MySQL 3.23 - requires CREATE TEMPORARY TABLE privilege since 4.0.2
// No longer supported from UTStats version 4.3 onwards. Left here for historical purposes.
$import_use_temporary_tables false;   // DON'T USE IF YOU DON'T KNOW WHAT YOU'RE DOING!

// Use temporary heap tables?
// This will (at any cost) keep the entire table in RAM and may speed and/or fuck things up
$import_use_heap_tables false;        // DON'T USE IF YOU DON'T KNOW WHAT YOU'RE DOING!

// Log files start with...
$import_log_start "Unreal.ngLog";

// Log files end with...
$import_log_extension ".log";

// How to backup logfiles?
// Possible values: yes      - move logfiles to the backup directory
//                  no       - don't make a backup. The file will be lost after it was imported
//                  compress - will compress the logfile and move it to the backup directory
//                             It'll first try bzip2 compression, then gzip (your php must be
//                             compiled to support these)
//                             If both fail, it will backup the uncompressed log
//                  gzip     - same as compress but will only try to gzip the file
$import_log_backup "yes";

// Purge old logs after x days. 0 to disable.
$import_log_backups_purge_after 14;

// After how many seconds should we reload the import page?
// This is to prevent the 'maximum execution time exeeded' error. It will reload
// the page after the amount of seconds you specify in order to bypass php's time limit.
// Set to 0 to disable (f.e. if your php does not run in safe mode)
$import_reload_after 0;

// Ignore bots and bot kills/deaths?
$import_ignore_bots true;

// How to deal with banned players?
// 1 - (recommended) import the player and display him/her on matchpages (without values :D)
//     but don't include him/her in rankings and don't allow to show individual player stats
//     You may unban a player banned with this setting and all stuff will display again
// 2 - don't import at all
//     will lead to 'strange' results on matchpages because kills of and against this player
//     won't be shown; efficiency etc. will be calculated including these kills though.
$import_ban_type 1;

// Try to import logs from previous versions of UTStats
// Set this to true and you'll probably some strange results - You've been warned ;)
$import_incompatible_logs false;

// Don't import if the gametime was less than x minutes. Set to 0 to import all logs.
$import_ignore_if_gametime_less_than 0;


// UTStats can download and manage your UTDC logs
// Enable downloading of UTDC logs?
$import_utdc_download_enable true;

// Log files start with...
$import_utdc_log_start "[UTDC]";

// Log files end with...
$import_utdc_log_extension ".log";

// Screenshot files start with...
$import_utdc_screenshot_start "[UTDC]";

// Screenshot files end with...
$import_utdc_screenshot_extension ".enc";

// Compress UTDC logfiles after download? [compress/gzip/no]
// (see $import_log_backup for available options)
$import_utdc_log_compress "no";

// Purge old UTDC logs after x days. 0 to disable.
$import_utdc_log_purge_after 14;

// UTStats can download and manage your AnthChecker logs
// Enable downloading of AC logs?
$import_ac_download_enable true;

// Log files start with...
$import_ac_log_start "[AC]";

// Log files end with...
$import_ac_log_extension ".log";

// Compress AnthChecker logfiles after download? [compress/gzip/no]
// (see $import_log_backup for available options)
$import_ac_log_compress "no";

// Purge old AnthChecker logs after x days. 0 to disable.
$import_ac_log_purge_after 14;

// UTStats can download and manage your ACE logs
// Enable downloading of ACE logs?
$import_ace_download_enable true;

// Log files start with...
$import_ace_log_start "[ACE]";

// Log files end with...
$import_ace_log_extension ".log";

// Log files start with...
$import_ace_screenshot_start "[ACE]";

// Log files end with...
$import_ace_screenshot_extension ".jpg";

// Compress ACE logfiles after download? [compress/gzip/no]
// (see $import_log_backup for available options)
$import_ace_log_compress "no";

// Purge old ACE logs after x days. 0 to disable.
$import_ace_log_purge_after 14;

// Enable the creation of pictures? (Signature pictures for users where they can see their current ranking and stuff)
// Requires GD- and FreeType support.
// see config_pic.php for picture configuration options
$pic_enable true;


// FTP Connection Details
$ftp_use true;             // Whether to auto get the log files
$ftp_interval 20;            // How often in minutes to allow stats update
$ftp_debug false;           // Debugging output that may help you to resolve ftp problems
$ftp_type 'sockets';        // Which FTP module do you want to use?
                              // sockets - (recommended)
                              //           Use PHP's socket extension to connect to the FTP server
                              //           will fallback to 'pure' if no sockets available
                              // pure    - Use fsockopen() to connnect to the FTP server
                              //           should work with any php version
                              // php     - Use PHP's FTP extension (must be compiled in)
                              //           Debugging will not be available with this module and
                              //           error handling may not be as good as with the other modules

// UT Server 1
$i 0;
$ftp_hostname[$i] = '74.91.112.56';       // FTP server location here
$ftp_port[$i]     = 21;       // FTP Port - do not remove this even if you do not use ftp
                              // Do not add '' around the port either
$ftp_uname[$i]    = 'ut99';       // FTP Username
$ftp_upass[$i]    = 'serversftppassword';       // FTP Password
$ftp_dir[$i][]    = '/Logs';      // Directory of the log files - MUST NOT end with a /
// $ftp_dir[$i][]    = '/';     // You may repeat this entry as often as you wish but please remember
// $ftp_dir[$i][]    = '/';     // to enter the directory relative to the last one
// $ftp_dir[$i][]    = '/';     // (or use an absolute path)
$ftp_passive[$i]  = true;     // Use passive transfer mode for this connection?
$ftp_delete[$i]   = true;     // Delete logs after download?

/*
// UT Server 2 --- Uncomment this one if needed, or copy/paste the block above if more servers are needed.
$i++;
$ftp_hostname[$i] = '';        // FTP server location here
$ftp_port[$i]     = 21;        // FTP Port - do not remove this even if you do not use ftp
                               // Do not add '' around the port either
$ftp_uname[$i]    = '';        // FTP Username
$ftp_upass[$i]    = '';        // FTP Password
$ftp_dir[$i][]    = '/';       // Directory of the log files - MUST NOT end with a /
// $ftp_dir[$i][]    = '/';      // You may repeat this entry as often as you wish but please remember
// $ftp_dir[$i][]    = '/';      // to enter the directory relative to the last one
// $ftp_dir[$i][]    = '/';      // (or use an absolute path)
$ftp_passive[$i]  = true;      // Use passive transfer mode for this connection?
$ftp_delete[$i]   = true;      // Delete logs after download?
*/

// This section is for stats graphs as of version 4.3
$renderer_folder "renderings";
$renderer_width 350;
$renderer_heigth 250;
$renderer_color['team'][0][0] = '#ff3333';            // team red color 1
$renderer_color['team'][0][1] = '#cc0000';            // team red color 2
$renderer_color['team'][1][0] = '#0080ff';            // team blue color 1
$renderer_color['team'][1][1] = '#0000cc';            // team blue color 2
$renderer_color['team'][2][0] = '#88d8b0';            // team green color 1
$renderer_color['team'][2][1] = '#009f50';            // team green color 2
$renderer_color['team'][3][0] = '#ffeead';            // team gold color 1
$renderer_color['team'][3][1] = '#e5b021';            // team gold color 2
$renderer_color['player'][0][0] = '#a7d848';    // player 1 color 1
$renderer_color['player'][0][1] = '#98be44';    // player 1 color 2
$renderer_color['player'][1][0] = '#6ccdd0';    // player 2 color 1
$renderer_color['player'][1][1] = '#66af9f';    // player 2 color 2
$renderer_color['player'][2][0] = '#ffce59';    // player 3 color 1
$renderer_color['player'][2][1] = '#ffa65a';    // player 3 color 2
$renderer_color['player'][3][0] = '#fba263';    // player 4 color 1
$renderer_color['player'][3][1] = '#eb7254';    // player 4 color 2
$renderer_color['player'][4][0] = '#fb6370 ';    // player 5 color 1
$renderer_color['player'][4][1] = '#fb6363';    // player 5 color 2
$renderer_color['background'] = '#262626';// background color 1
$renderer_color['band'][0] = '#666666';// band color 1
$renderer_color['band'][1] = '#515151';// band color 2
$renderer_color['heading'] = '#bbdeff';// font heading
$renderer_color['font'] = '#999999';// font other
$renderer_color['amp'] = '#aa02db';// color amp
$renderer_color_transparancy 0.3;// color amp

define("TIMERATIO"1.09863333333333333333333333333333333333333333333333333333333);

define("RENDERER_CHARTTYPE_LINE""line");
define("RENDERER_CHARTTYPE_COLUMN""column");
define("RENDERER_CHARTTYPE_BAR""bar");
define("RENDERER_CHARTTYPE_LINESTEP""linestep");
define("RENDERER_CHARTTYPE_LINECOLUMN""linecolumn");
define("RENDERER_CHARTTYPE_LINESTEPCOLUMN""linestepcolumn");
define("RENDERER_CHARTTYPE_RADAR""radar");

define("RENDERER_CHART_CTF_TEAMSCORE"10);
define("RENDERER_CHART_CTF_GRABBREAKDOWN"11);

define("RENDERER_CHART_DOM_SCOREDERIV"21);

define("RENDERER_CHART_FRAGS_TEAMSCORE"90);
define("RENDERER_CHART_FRAGS_TEAMDERIV"91);
define("RENDERER_CHART_FRAGS_TEAMNORMAL"92);
define("RENDERER_CHART_FRAGS_PLAYERSCORE"93);
define("RENDERER_CHART_FRAGS_PLAYERDERIV"94);
define("RENDERER_CHART_FRAGS_PLAYERNORMAL"95);
define("RENDERER_CHART_FRAGS_PLAYERSCORE5"96);
define("RENDERER_CHART_FRAGS_PLAYERNORMAL5"97);

define("RENDERER_CHART_ITEMS_TEAMPICKUPS"100);
define("RENDERER_CHART_ITEMS_PLAYERPICKUPS"101);
define("RENDERER_CHART_ITEMS_AMPRUNS"102);
?>

Last edited by beatzz : 18th January, 2019 at 05:04 AM.
Reply With Quote
  #2  
Unread 18th January, 2019, 07:38 AM
medor medor is offline
Holy Shit!!
 
Join Date: Nov 2006
Location: France
Posts: 1,845
Default

No time to read i go to my work but may be a LAN VAN ip problem
__________________
UT99 files






Reply With Quote
  #3  
Unread 18th January, 2019, 09:01 AM
beatzz beatzz is offline
Forum Newcomer
 
Join Date: Jan 2019
Location: Nagaoka, Japan
Posts: 5
Default

When I turn php debugging on, I get this
Code:
Staring FTP client class with PORT mode support
UMASK 022
Transfer type: auto ASCII
Timeout 30
Passive mode off
Connect to:

- Server: 74.91.112.56

- Port: 21


Host "c-74-91-112-56.inap-atlanta.nfoservers.com(74.91.112.56):21"
Local OS : UNIX
Using PHP's socket extension
Creating socket
Connecting to "74.91.112.56:21"
Connected to remote host "c-74-91-112-56.inap-atlanta.nfoservers.com:21". Waiting for greeting.
GET < 220 Microsoft FTP Service
PUT > USER ut99
GET < 331 Password required for ut99.
PUT > PASS UTserversFTPpwd
GET < 230 User logged in.
Authentication succeeded
PUT > REST 100
GET < 350 Restarting at 100.
This server can resume broken uploads/downloads
Transfer type: binary
Passive mode on
PUT > PWD
GET < 257 "/" is current directory.
PUT > CWD /Logs
GET < 250 CWD command successful.
PUT > PWD
GET < 257 "/Logs" is current directory.
PUT > TYPE A
GET < 200 Type set to A.
Creating data socket
PUT > PASV
GET < 227 Entering Passive Mode (74,91,112,56,122,170).
Connecting to 74.91.112.56:31402
PUT > NLST
GET < 125 Data connection already open; Transfer starting.
Disconnected data from remote host
GET < 226 Transfer complete.

... {super long list of all the server's log files} ...

PUT > QUIT
GET < 221 Goodbye.
Session finished
Socket closed
Yet still, no log files in logs/
Reply With Quote
  #4  
Unread 27th January, 2019, 08:44 AM
beatzz beatzz is offline
Forum Newcomer
 
Join Date: Jan 2019
Location: Nagaoka, Japan
Posts: 5
Default

It's been like 10 days and I have made zero progress on this. Can anyone please help me here?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:24 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.