Author Topic: UXPanel [Windows]  (Read 10430 times)

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
UXPanel [Windows]
« on: April 27, 2014, 05:04:01 pm »
Guys, so what i used to:
1) Installed AppServ [Latest]
2) Created uxpanel [DB MYSQL] and imported install.sql [from uxpanel-master]
3) Renamed uxpanel-master to panel
4) Moved this folder to root site => appserv/www/panel
5) Copied TEXT of config_local.sample.php to config.php
6) Fixed in Config.php : MYSQL DB connection
7) Now i got it with errors :/ still not get whats wrong 185.41.187.20/panel
8) I fixed the PHP extension problems [hopefully] but it was hard to fix
9) Now i got the following problem is Page:

Code: [Select]
Warning: include(./../../../../../config_default.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\config.php on line 14

Warning: include() [function.include]: Failed opening './../../../../../config_default.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\config.php on line 14

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\panel\config.php:14) in C:\AppServ\www\panel\include\session.php on line 7

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\panel\config.php:14) in C:\AppServ\www\panel\include\session.php on line 7

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in C:\AppServ\www\panel\include\session.php on line 11

Warning: include(/csrfguard.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\session.php on line 38

Warning: include() [function.include]: Failed opening '/csrfguard.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\session.php on line 38

Warning: include(./../../../../../style/header.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\common.php on line 309

Warning: include() [function.include]: Failed opening './../../../../../style/header.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\common.php on line 309

Warning: include(./../../../../../style/main/index.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\common.php on line 310

Warning: include() [function.include]: Failed opening './../../../../../style/main/index.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\common.php on line 310

Warning: include(./../../../../../style/footer.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\common.php on line 311

Warning: include() [function.include]: Failed opening './../../../../../style/footer.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\common.php on line 311


10) The check.php :
Code: [Select]
Warning: include(./../../../../../config_default.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\config.php on line 14

Warning: include() [function.include]: Failed opening './../../../../../config_default.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\config.php on line 14
Status Name Description
Good Configuration file Configuration file is readable
Good PHP register_globals PHP register_globals is disabled
Good PHP magic quotes PHP magic quotes are disabled
Good MySQL connection Connection to MySQL database successful
Good MySQL database MySQL database exists
Good MySQL tables MySQL tables appear to be created
Good PHP zip extension PHP zip extension is loaded
Good PHP mcrypt extension PHP mcrypt extension is loaded
Error GHost services GHost service path ($config['ghost_path']) does not exist or is not writable
Error Channel services Channel service path ($config['channel_path']) does not exist or is not writable
Error Garena services Garena service path ($config['garena_path']) does not exist or is not writable
Error Minecraft services Minecraft service path ($config['minecraft_path']) does not exist or is not writable
Good Hash algorithm The default hash algorithm, sha512, exists
Error Secure random source Preferred source, openssl_random_pseudo_bytes, does not exist
Error Encryption HTTPS is disabled; passwords will be sent in plaintext


SHALL YOU HELP ME WHATS WRONG AND tell how to fix Ghost
Here my config idk if its correct C:/Apserv/www/panel < here locate my panel files

IS IT CORRECT:
Code: [Select]
# path where all of the service files and such are kept
$config['root_path'] = "panel/";

### ** GHost settings

# path to GHost on server, with trailing slash
$config['ghost_path'] = $config['root_path'] . "panel/ghost/";

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: UXPanel [Windows]
« Reply #1 on: April 27, 2014, 06:04:22 pm »
You should copy config_default.php to config_local.php and adjust the settings in the new file. You can set $config['ghost_path'] to wherever you set up the GHost base directory per the INSTALL instructions, for example if you installed in C:\ghost then:
Code: [Select]
$config['ghost_path'] = "C:\\ghost\\";

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #2 on: April 27, 2014, 11:19:54 pm »
But isnt this step "right" ?

Copied config_local.sample.php text to config.php?

its looks like:
Code: [Select]
<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

$config = array();

if(
file_exists(basePath() . "/config_local.php")) {
include(basePath() . "/config_local.php");
}

//fill in any missing configuration options with the defaults
include(basePath() . "/config_default.php");

?>

<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

### ** server information

# a unique name for this uxpanel instance
$config['site_name'] = "[UcW] Hosting Panel";

# format to use for displaying times
$config['format_time'] = "j M Y H:i:s T";

# format to use for displaying dates
$config['format_date'] = "j M Y";

# path where all of the service files and such are kept
$config['root_path'] = "/panel/";

### ** GHost settings

# path to GHost on server, with trailing slash
$config['ghost_path'] = $config['root_path'] . "panel/ghost/";

# password to use for GHost users
$config['ghost_password'] = "abc";

# additional GHost parameters in ghost.cfg
#$config['ghostParameters'] = array();
#$config['bnetParameters'] = array();

# additional GHost parameters in default.cfg
#$config['defaultParameters'] = array();

# additional GHost editable files
#$config['updatableFiles'] = array();

### ** channel settings

# path to channel on server, with trailing slash
$config['channel_path'] = $config['root_path'] . "channel/";

# additional channel parameters in chop.cfg
#$config['channelParameters'] = array();
#$config['defaultChannelParameters'] = array();

# additional pychop plugins
#$config['channelPlugins'] = array();

# additional pychop editable files
#$config['channelUpdatableFiles'] = array();

### ** Minecraft settings

# path to Minecraft on server, with trailing slash
$config['minecraft_path'] = $config['root_path'] . "minecraft/";

### ** Garena settings

# path to Garena on server, with trailing slash
$config['garena_path'] = $config['root_path'] . "garena/";

### ** database settings

# path to the cron file, if it is being used
$config['cron_path'] = "/cron.php";

#additional cron parameters
#$config['cronParameters'] = array();

### ** email information

# email address to send mail from
$config['mail_from'] = "uxpanel@example.com";

# name to use when sending mail
$config['mail_fromname'] = "UXPanel";

### ** account information

# admin account username
$config['admin_username'] = "admin";

# admin account password
# see admin_passwordformat for how to securely add a password here
$config['admin_password'] = "";

# this is the format of the admin password
#  plain: plaintext; admin_password simply contains the desired password
#  hash: hashed with the sha512 algorithm
#   use the chash function in common.php, or mkpasswd.php
#  pbkdf2: hashed using PBKDF2 standard
#   use the pbkdf2_create_hash function in pbkdf2.php, or mkpasswd.php
$config['admin_passwordformat'] = "plain";

### ** database information

# host
$config['db_hostname'] = "localhost";

# database name
$config['db_name'] = "uxpanel";

# username
$config['db_username'] = "root";

# password
$config['db_password'] = "Russia1994";

### ** slave settings

# whether this is a slave uxpanel instance
# this allows remote logins
$config['slave_enabled'] = false;

# the master uxpanel base directory, with trailing slash
# users will be redirected here when they view anything other than the service
$config['slave_master'] = "http://uxpanel.example.com/";

# an id string or number for this slave instance
# this is only used if slave_enabled = true
$config['slave_id'] = 0;

### ** lock configuration

# the time in seconds a user must wait before trying again; otherwise they get locked out (count not increased)
$config['lock_time_initial'] = array('checkuser' => 5'checkadmin' => 5);

# the time that overloads last
$config['lock_time_overload'] = array('checkuser' => 60*2'checkadmin' => 60*2);

# the number of tries a user has (that passes the lock_time_initial test) before being locked by overload
$config['lock_count_overload'] = array('checkuser' => 12'checkadmin' => 12);

# if a previous lock found less than this many seconds ago, count++; otherwise old entry is replaced
$config['lock_time_reset'] = 60;

# max time to store locks in the database; this way we can clear old locks with one function
$config['lock_time_max'] = 60*5;

?>



Is my Root path right and Ghost [Ghost located in C:/ghost)

# path where all of the service files and such are kept
$config['root_path'] = "C:/appserv/www/panel/";

### ** GHost settings

# path to GHost on server, with trailing slash
$config['ghost_path'] = "C:/ghost/";

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #3 on: April 27, 2014, 11:21:49 pm »
Oh Ghost,garena,chanel all fixed

Whats wrong now?
Page still error
185.41.187.20/panel

And my config consist this text:
Code: [Select]
<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

$config = array();

if(
file_exists(basePath() . "/config_local.php")) {
include(basePath() . "/config_local.php");
}

//fill in any missing configuration options with the defaults
include(basePath() . "/config_default.php");

?>

<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

### ** server information

# a unique name for this uxpanel instance
$config['site_name'] = "[UcW] Hosting Panel";

# format to use for displaying times
$config['format_time'] = "j M Y H:i:s T";

# format to use for displaying dates
$config['format_date'] = "j M Y";

# path where all of the service files and such are kept
$config['root_path'] = "C:/appserv/www/panel/";

### ** GHost settings

# path to GHost on server, with trailing slash
$config['ghost_path'] = "C:/ghost/";

# password to use for GHost users
$config['ghost_password'] = "abc";

# additional GHost parameters in ghost.cfg
#$config['ghostParameters'] = array();
#$config['bnetParameters'] = array();

# additional GHost parameters in default.cfg
#$config['defaultParameters'] = array();

# additional GHost editable files
#$config['updatableFiles'] = array();

### ** channel settings

# path to channel on server, with trailing slash
$config['channel_path'] = $config['root_path'] . "channel/";

# additional channel parameters in chop.cfg
#$config['channelParameters'] = array();
#$config['defaultChannelParameters'] = array();

# additional pychop plugins
#$config['channelPlugins'] = array();

# additional pychop editable files
#$config['channelUpdatableFiles'] = array();

### ** Minecraft settings

# path to Minecraft on server, with trailing slash
$config['minecraft_path'] = $config['root_path'] . "minecraft/";

### ** Garena settings

# path to Garena on server, with trailing slash
$config['garena_path'] = $config['root_path'] . "garena/";

### ** database settings

# path to the cron file, if it is being used
$config['cron_path'] = "/cron.php";

#additional cron parameters
#$config['cronParameters'] = array();

### ** email information

# email address to send mail from
$config['mail_from'] = "uxpanel@example.com";

# name to use when sending mail
$config['mail_fromname'] = "UXPanel";

### ** account information

# admin account username
$config['admin_username'] = "admin";

# admin account password
# see admin_passwordformat for how to securely add a password here
$config['admin_password'] = "";

# this is the format of the admin password
#  plain: plaintext; admin_password simply contains the desired password
#  hash: hashed with the sha512 algorithm
#   use the chash function in common.php, or mkpasswd.php
#  pbkdf2: hashed using PBKDF2 standard
#   use the pbkdf2_create_hash function in pbkdf2.php, or mkpasswd.php
$config['admin_passwordformat'] = "plain";

### ** database information

# host
$config['db_hostname'] = "localhost";

# database name
$config['db_name'] = "uxpanel";

# username
$config['db_username'] = "root";

# password
$config['db_password'] = "Russia1994";

### ** slave settings

# whether this is a slave uxpanel instance
# this allows remote logins
$config['slave_enabled'] = false;

# the master uxpanel base directory, with trailing slash
# users will be redirected here when they view anything other than the service
$config['slave_master'] = "http://uxpanel.example.com/";

# an id string or number for this slave instance
# this is only used if slave_enabled = true
$config['slave_id'] = 0;

### ** lock configuration

# the time in seconds a user must wait before trying again; otherwise they get locked out (count not increased)
$config['lock_time_initial'] = array('checkuser' => 5'checkadmin' => 5);

# the time that overloads last
$config['lock_time_overload'] = array('checkuser' => 60*2'checkadmin' => 60*2);

# the number of tries a user has (that passes the lock_time_initial test) before being locked by overload
$config['lock_count_overload'] = array('checkuser' => 12'checkadmin' => 12);

# if a previous lock found less than this many seconds ago, count++; otherwise old entry is replaced
$config['lock_time_reset'] = 60;

# max time to store locks in the database; this way we can clear old locks with one function
$config['lock_time_max'] = 60*5;

?>



uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: UXPanel [Windows]
« Reply #4 on: April 28, 2014, 08:28:18 am »
You need both config_default.php and config_local.php.

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #5 on: April 28, 2014, 11:05:19 am »
Copied text pf default to config.php [still same problem]

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #6 on: April 28, 2014, 11:08:31 am »
Code: [Select]

Warning: include(./../../../../../config_default.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\config.php on line 14

Warning: include() [function.include]: Failed opening './../../../../../config_default.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\config.php on line 14

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\AppServ\www\panel\config.php:14) in C:\AppServ\www\panel\include\session.php on line 7

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\panel\config.php:14) in C:\AppServ\www\panel\include\session.php on line 7

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in C:\AppServ\www\panel\include\session.php on line 11

Warning: include(/csrfguard.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\session.php on line 38

Warning: include() [function.include]: Failed opening '/csrfguard.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\session.php on line 38

Warning: include(./../../../../../style/header.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\common.php on line 309

Warning: include() [function.include]: Failed opening './../../../../../style/header.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\common.php on line 309

Warning: include(./../../../../../style/main/index.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\common.php on line 310

Warning: include() [function.include]: Failed opening './../../../../../style/main/index.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\common.php on line 310

Warning: include(./../../../../../style/footer.php) [function.include]: failed to open stream: No such file or directory in C:\AppServ\www\panel\include\common.php on line 311

Warning: include() [function.include]: Failed opening './../../../../../style/footer.php' for inclusion (include_path='.;C:\php5\pear') in C:\AppServ\www\panel\include\common.php on line 311

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: UXPanel [Windows]
« Reply #7 on: April 28, 2014, 11:33:31 am »
It is still saying you don't have config_default.php file anymore..

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #8 on: April 28, 2014, 11:37:53 am »
Look screen attached

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #9 on: April 28, 2014, 11:41:11 am »
Maybe somthing wrong in this:

<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
   die("Access forbidden.");
}

$config = array();

if(file_exists(basePath() . "/config_local.php")) {
   include(basePath() . "/config_local.php");
}

//fill in any missing configuration options with the defaults
include(basePath() . "/config_default.php");

?>

Maybe need edit?

uakf.b

  • Administrator
  • Hero Member
  • *****
  • Posts: 566
  • Karma: +86/-12
    • View Profile
Re: UXPanel [Windows]
« Reply #10 on: April 28, 2014, 12:14:47 pm »
Don't think so.

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #11 on: April 28, 2014, 12:16:46 pm »
Shall you connect to My Server or by TeamView help me to solve it please?

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #12 on: April 28, 2014, 12:25:13 pm »
config.php
Code: [Select]
<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

$config = array();

if(
file_exists(basePath() . "/config_local.php")) {
include(basePath() . "/config_local.php");
}

//fill in any missing configuration options with the defaults
include(basePath() . "/config_default.php");

?>

<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

### ** server information

# a unique name for this uxpanel instance
$config['site_name'] = "[UcW] Hosting Panel";

# format to use for displaying times
$config['format_time'] = "j M Y H:i:s T";

# format to use for displaying dates
$config['format_date'] = "j M Y";

# path where all of the service files and such are kept
$config['root_path'] = "C:/appserv/www/panel/";

### ** GHost settings

# path to GHost on server, with trailing slash
$config['ghost_path'] = "C:/ghost/";

# password to use for GHost users
$config['ghost_password'] = "abc";

# additional GHost parameters in ghost.cfg
#$config['ghostParameters'] = array();
#$config['bnetParameters'] = array();

# additional GHost parameters in default.cfg
#$config['defaultParameters'] = array();

# additional GHost editable files
#$config['updatableFiles'] = array();

### ** channel settings

# path to channel on server, with trailing slash
$config['channel_path'] = $config['root_path'] . "channel/";

# additional channel parameters in chop.cfg
#$config['channelParameters'] = array();
#$config['defaultChannelParameters'] = array();

# additional pychop plugins
#$config['channelPlugins'] = array();

# additional pychop editable files
#$config['channelUpdatableFiles'] = array();

### ** Minecraft settings

# path to Minecraft on server, with trailing slash
$config['minecraft_path'] = $config['root_path'] . "minecraft/";

### ** Garena settings

# path to Garena on server, with trailing slash
$config['garena_path'] = $config['root_path'] . "garena/";

### ** database settings

# path to the cron file, if it is being used
$config['cron_path'] = "/cron.php";

#additional cron parameters
#$config['cronParameters'] = array();

### ** email information

# email address to send mail from
$config['mail_from'] = "uxpanel@example.com";

# name to use when sending mail
$config['mail_fromname'] = "UXPanel";

### ** account information

# admin account username
$config['admin_username'] = "admin";

# admin account password
# see admin_passwordformat for how to securely add a password here
$config['admin_password'] = "";

# this is the format of the admin password
#  plain: plaintext; admin_password simply contains the desired password
#  hash: hashed with the sha512 algorithm
#   use the chash function in common.php, or mkpasswd.php
#  pbkdf2: hashed using PBKDF2 standard
#   use the pbkdf2_create_hash function in pbkdf2.php, or mkpasswd.php
$config['admin_passwordformat'] = "plain";

### ** database information

# host
$config['db_hostname'] = "localhost";

# database name
$config['db_name'] = "uxpanel";

# username
$config['db_username'] = "root";

# password
$config['db_password'] = "SECRET";

### ** slave settings

# whether this is a slave uxpanel instance
# this allows remote logins
$config['slave_enabled'] = false;

# the master uxpanel base directory, with trailing slash
# users will be redirected here when they view anything other than the service
$config['slave_master'] = "http://uxpanel.example.com/";

# an id string or number for this slave instance
# this is only used if slave_enabled = true
$config['slave_id'] = 0;

### ** lock configuration

# the time in seconds a user must wait before trying again; otherwise they get locked out (count not increased)
$config['lock_time_initial'] = array('checkuser' => 5'checkadmin' => 5);

# the time that overloads last
$config['lock_time_overload'] = array('checkuser' => 60*2'checkadmin' => 60*2);

# the number of tries a user has (that passes the lock_time_initial test) before being locked by overload
$config['lock_count_overload'] = array('checkuser' => 12'checkadmin' => 12);

# if a previous lock found less than this many seconds ago, count++; otherwise old entry is replaced
$config['lock_time_reset'] = 60;

# max time to store locks in the database; this way we can clear old locks with one function
$config['lock_time_max'] = 60*5;

?>



config_deafult.php
Code: [Select]
<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

### ** server information

# a unique name for this uxpanel instance
if(!isset($config['site_name'])) $config['site_name'] = "UXPanel Unknown Site";

# format to use for displaying times
if(!isset($config['format_time'])) $config['format_time'] = "j M Y H:i:s T";

# format to use for displaying dates
if(!isset($config['format_date'])) $config['format_date'] = "j M Y";

# duration to maintain a session with a user
$config['session_duration'] = 1800;

# path where all of the service files and such are kept
if(!isset($config['root_path'])) $config['root_path'] = "/uxpanel/";

### ** GHost settings

# path to GHost on server, with trailing slash
if(!isset($config['ghost_path'])) $config['ghost_path'] = $config['root_path'] . "ghost/";

# password to use for GHost users
if(!isset($config['ghost_password'])) $config['ghost_password'] = "abc";

# additional GHost parameters in ghost.cfg
#$config['ghostParameters'] = array();
#$config['bnetParameters'] = array();

# additional GHost parameters in default.cfg
#$config['defaultParameters'] = array();

# additional GHost editable files
#$config['updatableFiles'] = array();

### ** channel settings

# path to channel on server, with trailing slash
if(!isset($config['channel_path'])) $config['channel_path'] = $config['root_path'] . "channel/";

# additional channel parameters in chop.cfg
#$config['channelParameters'] = array();
#$config['defaultChannelParameters'] = array();

# additional pychop plugins
#$config['channelPlugins'] = array();

# additional pychop editable files
#$config['channelUpdatableFiles'] = array();

### ** Minecraft settings

# path to Minecraft on server, with trailing slash
if(!isset($config['minecraft_path'])) $config['minecraft_path'] = $config['root_path'] . "minecraft/";

### ** Garena settings

# path to Garena on server, with trailing slash
if(!isset($config['garena_path'])) $config['garena_path'] = $config['root_path'] . "garena/";

### ** database settings

# path to the cron file, if it is being used
if(!isset($config['cron_path'])) $config['cron_path'] = "/cron.php";

#additional cron parameters
#$config['cronParameters'] = array();

### ** email information

# email address to send mail from
if(!isset($config['mail_from'])) $config['mail_from'] = "uxpanel@example.com";

# name to use when sending mail
if(!isset($config['mail_fromname'])) $config['mail_fromname'] = "UXPanel";

### ** account information

# admin account username
if(!isset($config['admin_username'])) $config['admin_username'] = "admin";

# admin account password
# see admin_passwordformat for how to securely add a password here
if(!isset($config['admin_password'])) $config['admin_password'] = "";

# this is the format of the admin password
#  plain: plaintext; admin_password simply contains the desired password
#  hash: hashed with the sha512 algorithm
#   use the chash function in common.php, or mkpasswd.php
#  pbkdf2: hashed using PBKDF2 standard
#   use the pbkdf2_create_hash function in pbkdf2.php, or mkpasswd.php
if(!isset($config['admin_passwordformat'])) $config['admin_passwordformat'] = "plain";

### ** database information

# host
if(!isset($config['db_hostname'])) $config['db_hostname'] = "localhost";

# database name
if(!isset($config['db_name'])) $config['db_name'] = "uxpanel";

# username
if(!isset($config['db_username'])) $config['db_username'] = "uxpanel";

# password
if(!isset($config['db_password'])) $config['db_password'] = "russia1994";

# false if ban expiration disabled, or the column name otherwise
$config['db_expiredate'] = 'expiredate';

# whether gametrack script is in use
#  see http://ent-usefulscripts.googlecode.com/svn/trunk/gametrack/gametrack.php
$config['db_gametrack'] = false;

### ** slave settings

# whether this is a slave uxpanel instance
# this allows remote logins
if(!isset($config['slave_enabled'])) $config['slave_enabled'] = false;

# the master uxpanel base directory, with trailing slash
# users will be redirected here when they view anything other than the service
if(!isset($config['slave_master'])) $config['slave_master'] = "http://uxpanel.example.com/";

# an id string or number for this slave instance
# this is only used if slave_enabled = true
if(!isset($config['slave_id'])) $config['slave_id'] = 0;

### ** lock configuration

# the time in seconds a user must wait before trying again; otherwise they get locked out (count not increased)
if(!isset($config['lock_time_initial'])) $config['lock_time_initial'] = array('checkuser' => 5'checkadmin' => 5);

# the time that overloads last
if(!isset($config['lock_time_overload'])) $config['lock_time_overload'] = array('checkuser' => 60*2'checkadmin' => 60*2);

# the number of tries a user has (that passes the lock_time_initial test) before being locked by overload
if(!isset($config['lock_count_overload'])) $config['lock_count_overload'] = array('checkuser' => 12'checkadmin' => 12);

# if a previous lock found less than this many seconds ago, count++; otherwise old entry is replaced
if(!isset($config['lock_time_reset'])) $config['lock_time_reset'] = 60;

# max time to store locks in the database; this way we can clear old locks with one function
if(!isset($config['lock_time_max'])) $config['lock_time_max'] = 60*5;

?>



config_local.sample.php
Code: [Select]
<?php

if(!isset($GLOBALS['IN_UXPANEL'])) {
die("Access forbidden.");
}

### ** server information

# a unique name for this uxpanel instance
$config['site_name'] = "[UcW] Hosting Panel";

# format to use for displaying times
$config['format_time'] = "j M Y H:i:s T";

# format to use for displaying dates
$config['format_date'] = "j M Y";

# path where all of the service files and such are kept
$config['root_path'] = "C:\AppServ\www\panel";

### ** GHost settings

# path to GHost on server, with trailing slash
$config['ghost_path'] = "C:\ghost\";

# password to use for GHost users
$config['ghost_password'] = "abc";

# additional GHost parameters in ghost.cfg
#
$config['ghostParameters'] = array();
#
$config['bnetParameters'] = array();

# additional GHost parameters in default.cfg
#
$config['defaultParameters'] = array();

# additional GHost editable files
#
$config['updatableFiles'] = array();

### ** channel settings

# path to channel on server, with trailing slash
$config['channel_path'] = $config['root_path'] . "channel/";

# additional channel parameters in chop.cfg
#
$config['channelParameters'] = array();
#
$config['defaultChannelParameters'] = array();

# additional pychop plugins
#
$config['channelPlugins'] = array();

# additional pychop editable files
#
$config['channelUpdatableFiles'] = array();

### ** Minecraft settings

# path to Minecraft on server, with trailing slash
$config['minecraft_path'] = $config['root_path'] . "minecraft/";

### ** Garena settings

# path to Garena on server, with trailing slash
$config['garena_path'] = $config['root_path'] . "garena/";

### ** database settings

# path to the cron file, if it is being used
$config['cron_path'] = "/cron.php";

#additional cron parameters
#
$config['cronParameters'] = array();

### ** email information

# email address to send mail from
$config['mail_from'] = "uxpanel@example.com";

# name to use when sending mail
$config['mail_fromname'] = "UXPanel";

### ** account information

# admin account username
$config['admin_username'] = "admin";

# admin account password
# see admin_passwordformat for how to securely add a password here
$config['admin_password'] = "";

# this is the format of the admin password
#  plain: plaintext; admin_password simply contains the desired password
#  hash: hashed with the sha512 algorithm
#   use the chash function in common.php, or mkpasswd.php
#  pbkdf2: hashed using PBKDF2 standard
#   use the pbkdf2_create_hash function in pbkdf2.php, or mkpasswd.php
$config['admin_passwordformat'] = "plain";

### ** database information

# host
$config['db_hostname'] = "localhost";

# database name
$config['db_name'] = "uxpanel";

# username
$config['db_username'] = "root";

# password
$config['db_password'] = "secret";

### ** slave settings

# whether this is a slave uxpanel instance
# this allows remote logins
$config['slave_enabled'] = false;

# the master uxpanel base directory, with trailing slash
# users will be redirected here when they view anything other than the service
$config['slave_master'] = "http://uxpanel.example.com/";

# an id string or number for this slave instance
# this is only used if slave_enabled = true
$config['slave_id'] = 0;

### ** lock configuration

# the time in seconds a user must wait before trying again; otherwise they get locked out (count not increased)
$config['lock_time_initial'] = array('checkuser' => 5'checkadmin' => 5);

# the time that overloads last
$config['lock_time_overload'] = array('checkuser' => 60*2'checkadmin' => 60*2);

# the number of tries a user has (that passes the lock_time_initial test) before being locked by overload
$config['lock_count_overload'] = array('checkuser' => 12'checkadmin' => 12);

# if a previous lock found less than this many seconds ago, count++; otherwise old entry is replaced
$config['lock_time_reset'] = 60;

# max time to store locks in the database; this way we can clear old locks with one function
$config['lock_time_max'] = 60*5;

?>



Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #13 on: April 28, 2014, 03:06:30 pm »
Please help me fix it

Assasin_WEST

  • Newbie
  • *
  • Posts: 37
  • Karma: +0/-2
    • View Profile
Re: UXPanel [Windows]
« Reply #14 on: April 28, 2014, 04:45:36 pm »
Fixed config default page still eror with other filed.


185.41.187.20\panel