Comments (4)
You need to handle a backend server.
In the demo there are a handler written in php.
So... you should clone the repo framework
jonas@:~/www$ git clone https://github.com/joni2back/angular-filemanager.git --recursive
jonas@:~/www$ cd angular-filemanager/
jonas@:~/www/angular-filemanager$ sudo php -S localhost:80 bridges/php/handler.php
Then edit the urls in angular-filemanager/assets/js/config.js
And compile js jonas@:~/www/angular-filemanager$ bash build.sh
from angular-filemanager.
After following your instructions, I've successfully have the HTML/JS/CSS of the site running, but I ran into issues getting various functionalities to work due to errors such as "status 500".
I ran handler.php on localhost:1234, modified the File Manager's config.js to link to http://localhost:1234/, ran build.sh, and use localhost:8100 for the HTML/JS/CSS app itself. After doing so, I run into the "Access-Control-Allow-Origin" missing header error as shown here
Along with that, even after adding this line to the top of handler.php right below the <?php:
header('Access-Control-Allow-Origin: *');
it still yields the 500 status error (also shown in the above image at the bottom of the web console).
Do you know what I'm missing that prevents the File Manager's server-based functionality from working?
from angular-filemanager.
This problem is related to the different ports (front/backend)
Try mounting php built-in server from the root directory...
Example:
jonas@:~/www$ git clone https://github.com/joni2back/angular-filemanager.git --recursive
jonas@:~/www$ cd angular-filemanager/
jonas@:~/www/angular-filemanager$ sudo php -S localhost:80
from angular-filemanager.
Can you solve the problem with this?
from angular-filemanager.
Related Issues (20)
- Change permissions + extract zip with PHP-FTP
- Error 200 - Bridge response error, please check the API docs or this ajax response HOT 2
- $translateProvider overwriting SPA translations HOT 1
- context menu issue on Firefox and Safari HOT 1
- New logo/icon proposal HOT 3
- Setting edit to false is not working
- Looking to connect this to my raspberry pi at home + Login System
- Thumbnail View & FTP Support
- date-time always shows GMT+14 for every folder and file HOT 1
- Error: [$injector:unpr] Unknown provider: fileManagerConfigProvider
- Cant connect to FTP server
- Add multiple FTP accounts
- 这个项目怎么配置才可以启动
- doesn't show uploaded files in webhost
- Demo not working HOT 2
- How to start standalone app for local development, debugging?
- Website Gives a 500 error using local-php HOT 1
- Using components in java Angular project
- Include the fixes from @durasj (issue#255) into the main repo!
- Can't using with Routing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-filemanager.