angular-filemanager icon indicating copy to clipboard operation
angular-filemanager copied to clipboard

how to run angular-filemanager php-local styep by styep?

Open voosam opened this issue 8 years ago • 5 comments

Please help me in how to run angular-filemanager by php-local on my vps step by step It's very important

voosam avatar Jan 15 '17 15:01 voosam

Hi @durasj , can you explain how work your bridge?

joni2back avatar Jan 18 '17 12:01 joni2back

Hi @joni2back,

I would like to do it as part of #200. I don't think it makes sense to explain it over and over again in issues. Can you please take a look at that one?

Thanks

durasj avatar Feb 05 '17 09:02 durasj

@joni2back @durasj Political, structural and clear No to run the project It does not work with most users We will be thankful to you in the event of a detailed explanation Khtzac

voosam avatar Feb 13 '17 13:02 voosam

When running the project, the following occurs

pic-20170214-102134

and When you run a file on the server

pic-20170214-102635

An attempt to run the file do I modify it

ExceptionCatcherJSON::register();
$oResponse = new Response();
$oFtp = new FileManager(array(
    'hostname' => '172.16.16.200',
    'username' => 'root',
    'password' => '123456'
));

if (! $oFtp->connect()) {
    throw new Exception("Cannot connect to the FTP server");
}

But the same result Also edit the path angular-filemanager-master\src\js\providers\config.js To run php-local

            listUrl: 'bridges/php-local/index.php',
            uploadUrl: 'bridges/php-local/index.php',
            renameUrl: 'bridges/php-local/index.php',
            copyUrl: 'bridges/php-local/index.php',
            moveUrl: 'bridges/php-local/index.php',
            removeUrl: 'bridges/php-local/index.php',
            editUrl: 'bridges/php-local/index.php',
            getContentUrl: 'bridges/php-local/index.php',
            createFolderUrl: 'bridges/php-local/index.php',
            downloadFileUrl: 'bridges/php-local/index.php',
            downloadMultipleUrl: 'bridges/php-local/index.php',
            compressUrl: 'bridges/php-local/index.php',
            extractUrl: 'bridges/php-local/index.php',
            permissionsUrl: 'bridges/php-local/index.php',
            basePath: '/',

But it does not work in any way Please help me the ideal way to run the project

voosam avatar Feb 14 '17 08:02 voosam

Hi @voosam,

I created a bundle which should work out-of-the-box, also with short instructions and some common questions and answers for you: bundle-php-local

Can you try it and let me know how it works?

durasj avatar Feb 19 '17 21:02 durasj