Jump to content
Froxlor Forum

kingsley ezenwa

Members
  • Posts

    123
  • Joined

  • Last visited

Posts posted by kingsley ezenwa

  1. 18 minutes ago, d00p said:

    This is for theoretical use of multiple database servers yes. Has never really been tested or used (been there since syscp). You could define another database-server in lib/userdata.inc.php (note the index [0] for the root-access stuff); 

    
    $sql_root[0]['caption']='Default';
    $sql_root[0]['host']='127.0.0.1';
    $sql_root[0]['user']='root';
    $sql_root[0]['password']='your-db-root-pwd';
    
    // another db server
    $sql_root[1]['caption']='DB Server #2';
    $sql_root[1]['host']='10.0.0.30';
    $sql_root[1]['user']='root';
    $sql_root[1]['password']='your-db-root-pwd';

    Even I never used that - so no idea whether this works as expected :) Feedback would be nice

    without testing this, can say probability of this working is very very High.
    How do I know this; because I developed a custom built Framework which I use both personally and for some clients and this is very very similar to how I did it except that the array index e.g $sql_root[1] can be numeric or alphaNumeric.
    Thanks a lot; now I can go ahead with ma work.

  2. Looking into the database table  `panel_databases` , I can see a column called  `dbserver` with Values all Zero.

    My question is, where is that value set ? 

    and what's it's use ?

    How would it function had it been set to 2 ?


    What happens should we have like 2 or more external databases (non localhost Databases) ; how do we allow customers utilize them.

    Does the value of `dbserver` correspond to something such as DataBase Server0, DataBase Server 1, .... 

     

    Really need help with answers please.

    Thanks

  3. Allow customers to enable shell access for ftp-users</b><br><strong class="red">Please note: Shell access allows the user to execute various binaries on your system. Use with extrem caution. Please only activate this if you REALLY know what you are doing!!!

    Now am asking, what's the real Dangers in enabling this ?
    Would their commands be limited to their Space (more like CHROOT) or would it affect everyone else (other users) including the Host Machine itself .

     

     

    PSS: I asked this in here to avoid opening another unhealthy thread.

  4. 42 minutes ago, d00p said:

    Just Download the tarball provided on the website, it includes all dependencies without the need of composer being installed on the system.

    Just downloaded the tarbal via https://files.froxlor.org/releases/froxlor-latest.tar.gz   and a quick peep into .../froxlor/lib/init.php shows it still needs Composer for autoLoading.

    Am looking at doing away with composer completely hence willing to manually include files if possible.

    This is among other reasons to accomodatee changes I made on my previous Froxlor + I equally don't want composer anywhere close to Me.

    Yea composer might be cool but ...

  5. Hello

    Been quite a while.

    Glad seeing the Good work happening here especially with all the interesting Updates.

    My issue is , I downloaded most recent version of Froxlor and can see a lot's changed including the fact You now need Composer to AutoLoad and install Certain Packages.
    Anyway I was able to Spin up a new VM where I tried installing Froxlor just so the Packages gets downloaded and I can see them now in Vendor folder.

    Anyway I have copied the entire Froxlor directory into my server BUT issue is I still need AutoLoad them BUT I still don't want any Composer so I looked into composer.json and tracked the files till I got to /vendor/composer/autoload_psr4.php    and    /vendor/composer/autoload_static.php   hence I can make out their File Paths.

    I equally know the composer file (/vendor/autoload.php) is being included in the init file located in  /lib/init.php   .

    Now rather than blindly testing, I want to know if there are any negative impacts to individually including each files from /vendor/composer/autoload_psr4.php   using include()  or require() functions .

    return array(
        'RobThree\\Auth\\' => array($vendorDir . '/robthree/twofactorauth/lib'),
        'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
        'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
        'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'),
        'Froxlor\\' => array($baseDir . '/lib/Froxlor'),
        'Algo26\\IdnaConvert\\' => array($vendorDir . '/froxlor/idna-convert-legacy/src'),
    );

    I believe I found a patern on how those files might have been included e.g  'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),    becomes    require($vendorDir . '/phpmailer/phpmailer/src/PHPMailer.php')

     

    but then, I might be wrong.  Really would appreciate your kind response and understanding

  6. Am sorry BUT the English in your Announcement seems Huge for me.

    I just want to confirm / ask one thing -   Has the API FROXLOR version already been merged into the current Master in Github  ?
     

    I can see 2 Main Branches - Master and 0.9.x . Does the current Master already contain version 0.10.0 which is the API version ?

    What's the difference between  Master and 0.9.x  .  and which should we download if downloading from Github.

    In a simpler way, is version 0.10.0 now the new Master Branch ?

    Hoping to hear from you.

    Thanks

  7. I suddenly started getting such errors on an already Active FROXLOR installation in Production.

    Though the error only appears while I try navigating to the Admin Settings page, every other pages works perfectly Okay.

    What I did to remedy it was to edit FROXLOR's config file in /lib  directory and change  127.0.0.1   To   localhost .

    Yet to really understand why that suddenly started anyway.

  8. 15 hours ago, Ivan Slišković said:

    I have made mistake and I install WP before Froxlore. Using this example http://sliskovic.online/install-froxlor-centos7/

    Now my question is; how to "import" this site into Froxlor ? Can I just copy all files into default site structure?

    Yea BUT you would end up making things more complex.

     

    A simpler solution would be to Reinstall the wordpress website OR  copy Over the files to Froxlor and import the database to the database created and managed by FROXLOR

  9. 19 hours ago, محمدرضا چاوشی پور said:

     

    Thankful

    Will this functionality be available in future versions of froxlor?

    D00p Means Web-File-Managers are dangerous hence won't be introduced Now or In-Future versions of FROXLOR.
    But you can always use FTP either installed on Desktops (e.g File Zilla) or Browser based (e.g Mostra FTP, Net2FTP, etc) .

    If it's just you, better to use Desktop based FTP clients.
    NB: I would suggest if you are going for Browser-based FTP solutions, make sure it's one you can download and host yourself.

×
×
  • Create New...