Jump to content
  • 0

move localhost fluxcp to online but error


zerovsnd

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  01/10/16
  • Last Seen:  

Hello everyone

.

.

.

I have a question like my 'Topic Title'

.

that....

 

"Is it possible that using phpMyAdmin on my local com but using FluxCP on other Web Hosting with DirectAdmin CP"

.
.
I just think that it's maybe possible!!
first.
My PC use this program 'WAMP Server' and try to install FluxCP by localhost, it's worked.
 
8Iu9E4.jpg
 
 
After i know that work every function. I copy that folder and forward port 3306. Then i set like this.....
 
config/application.php


'ServerAddress'        => 'http://www.aprilroz.com:80',          << This is my domain registered with host
'BaseURI'              => '',                       // The base URI is the base web root on which your application lies.
'InstallerPassword'    => '<hidden>',         // Installer/updater password.
'RequireOwnership'     => true,                     // Require the executing user to be owner of the FLUX_ROOT/data/ directory tree? (Better for security)
                                                   // WARNING: This will be mostly IGNORED on non-POSIX-compliant OSes (e.g. Windows).
'DefaultLoginGroup'    => null,
'DefaultCharMapServer' => null,
'DefaultLanguage'      => 'en_us',                  // Specify the default control panel language (see FLUX_ROOT/lang/ directory for available languages.)
'SiteTitle'            => 'April Ragnarok Online',     // This value is only used if the theme decides to use it.
'ThemeName'            => 'default',                // The theme name of the theme you would like to use.  Themes are in FLUX_ROOT/themes.
'ScriptTimeLimit'      => 0,
.
.
.
'DebugMode'            => false,

config/error.php

$adminEmail      = 'root@localhost'; // Administrator e-mail address.
$errorFile       = 'error.php';       // Error file to render.
$showExceptions  = true;              // Whether or not to show exceptions (only applies to error.php)

and finally .... server.php

<?php
return array(
// Example server configuration. You may have more arrays like this one to
// specify multiple server groups (however they should share the same login
// server whilst they are allowed to have multiple char/map pairs).
array(
'ServerName'     => 'April RO',
// Global database configuration (excludes logs database configuration).
'DbConfig'       => array(
//'Socket'     => '/tmp/mysql.sock',
//'Port'       => 3306,
//'Encoding'   => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is.
'Convert'    => 'utf8',
// -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available.
// -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8)
'Hostname'   => 'zaprilro.no-ip.info',    << i use Dynamic ip
'Username'   => '<hidden>',                      << ๊Username Password Database it's work on local
'Password'   => '<hidden>',
'Database'   => '<hidden>',
'Persistent' => true,
'Timezone'   => null // Example: '+0:00' is UTC.
// The possible values of 'Timezone' is as documented from the MySQL website:
// "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'."
// "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!)
// **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated."
),
// This is kept separate because many people choose to have their logs
// database accessible under different credentials, and often on a
// different server entirely to ensure the reliability of the log data.
'LogsDbConfig'   => array(
//'Socket'     => '/tmp/mysql.sock',
//'Port'       => 3306,
//'Encoding'   => null, // Connection encoding -- use whatever here your MySQL tables collation is.
'Convert'    => 'utf8',
// -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available.
// -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8)
'Hostname'   => '<hidden>',
'Username'   => '<hidden>',
'Password'   => '<hidden>',
'Database'   => '<hidden>',
'Persistent' => true,
'Timezone'   => null // Possible values is as described in the comment in DbConfig.
),
// Login server configuration.
'LoginServer'    => array(
'Address'  => '<hidden>',
'Port'     => 6900,
'UseMD5'   => false,
'NoCase'   => true, // rA account case-sensitivity; Default: Case-INsensitive (true).
'GroupID'  => 0,    // Default account group ID during registration.
//'Database' => 'ragnarok'
),
'CharMapServers' => array(
array(
'ServerName'      => 'April Ragnarok Online',
'Renewal'         => false,
'MaxCharSlots'    => 9,
'DateTimezone'    => null, // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones)
//'ResetDenyMaps'   => 'sec_pri', // Defaults to 'sec_pri'. This value can be an array of map names.
//'Database'        => 'ragnarok', // Defaults to DbConfig.Database
'ExpRates' => array(
'Base'        => 500, // Rate at which (base) exp is given
'Job'         => 500, // Rate at which job exp is given
'Mvp'         => 100  // MVP bonus exp rate
),
'DropRates' => array(
// The rate the common items (in the ETC tab, besides card) are dropped
'Common'      => 1000,
'CommonBoss'  => 100,
// The rate healing items (that restore HP or SP) are dropped
'Heal'        => 100,
'HealBoss'    => 100,
// The rate usable items (in the item tab other then healing items) are dropped
'Useable'     => 1000,
'UseableBoss' => 100,
// The rate at which equipment is dropped
'Equip'       => 1000,
'EquipBoss'   => 100,
// The rate at which cards are dropped
'Card'        => 1000,
'CardBoss'    => 100,
// The rate adjustment for the MVP items that the MVP gets directly in their inventory
'MvpItem'     => 100
),
'CharServer'      => array(
'Address'     => '<hidden>',
'Port'        => 6121
),
'MapServer'       => array(
'Address'     => '<hidden>',
'Port'        => 5121
),
// -- WoE days and times --
// First parameter: Starding day 0=Sunday / 1=Monday / 2=Tuesday / 3=Wednesday / 4=Thursday / 5=Friday / 6=Saturday
// Second parameter: Starting hour in 24-hr format.
// Third paramter: Ending day (possible value is same as starting day).
// Fourth (final) parameter: Ending hour in 24-hr format.
// ** (Note, invalid times are ignored silently.)
'WoeDayTimes'   => array(
//array(0, '12:00', 0, '14:00'), // Example: Starts Sunday 12:00 PM and ends Sunday 2:00 PM
//array(3, '14:00', 3, '15:00')  // Example: Starts Wednesday 2:00 PM and ends Wednesday 3:00 PM
),
// Modules and/or actions to disallow access to during WoE.
'WoeDisallow'   => array(
array('module' => 'character', 'action' => 'online'),  // Disallow access to "Who's Online" page during WoE.
array('module' => 'character', 'action' => 'mapstats') // Disallow access to "Map Statistics" page during WoE.
)
)
)
)
);
?>

1st test it's not work.....error about permission chro 0600 that stuff bla bla bla...
then i change permission to 777 lol it's gonna be 2nd test like this....
 
b7U9si.jpg
Honestly I'm very discouraged. Pls help me
or Is it impossible to link like this /sob

Edited by Emistry
codebox.
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

LOL the exception has actually guided you how to fix your issue.

3QKToFn.png

 

and please use a proper topic title next time.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

why would you show everything, you should change your cp password....

Edited by benching
Link to comment
Share on other sites

×
×
  • Create New...