Giter Site home page Giter Site logo

Server Error about richfilemanager HOT 18 CLOSED

psolom avatar psolom commented on May 13, 2024
Server Error

from richfilemanager.

Comments (18)

psolom avatar psolom commented on May 13, 2024

Python connector is outdated.
The only up-to-date connector is PHP, also there are maintainers for Java and NodeJs connectors, which are in the development state currently. You could take a lead on Python connector and bring it into line with the latest changes, if you want.

from richfilemanager.

djb15 avatar djb15 commented on May 13, 2024

Yeah the issue is I can't get the PHP connector to run correctly as shown above. I just want to investigate the working application before I start development of the Python connector.

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

Hmm, I have just set it up and it works for me.
Do you use "master" branch? Because the "dev" branch may cause some issues at the moment.

from richfilemanager.

djb15 avatar djb15 commented on May 13, 2024

Yes I'm using the master branch and starting the simple PHP server from the root directory. If your setup is different to mine I would love to know! Thanks!

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

It should be good for your case.
Have you created "filemanager.config.json" file based on the "filemanager.config.default.json"?
Also change "filemanager.min.js" to "filemanager.js" in the "index.html" file to see which line is corrupted.

from richfilemanager.

djb15 avatar djb15 commented on May 13, 2024

Yes I've duplicated and renamed the default filemanager config file. After changing to "filemanager.js" in the "index.html" I receive the following error and a endless loading screen:
screen shot 2016-09-08 at 11 20 52

This is both with the "filemanager.config.json" settings with server root set as true and as false with a fileRoot path set.

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

Perhaps it's browser related bug. I may suppose this issue is related to sync ajax requests which were deprecated for some time. I am currently working on that problem at the dev branch. What is your browser name and version? And try it in Chrome, please.

from richfilemanager.

djb15 avatar djb15 commented on May 13, 2024

I'm using Safari 9.1.2. Which browser should I use for development at the moment then? Chrome?

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

Yeah, try Chrome please.

from richfilemanager.

djb15 avatar djb15 commented on May 13, 2024

Apologies I'm still getting the same error with Chrome. The issue is line 2342 of "filemanager.js" where it cannot read data of undefined which must mean that loadedFolderData[path] is returning no value. My "filemanager.config.json" is exactly the same as the default file so I'm not sure why this error is occurring.

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

I have never tested it at the mac OS
Perhaps there is some issue with PHP server, I'm not sure.

Try to use XAMPP server:
https://sourceforge.net/projects/xampp/files/XAMPP%20Mac%20OS%20X/5.6.24/
https://www.apachefriends.org/faq_osx.html

from richfilemanager.

djb15 avatar djb15 commented on May 13, 2024

Starting it with the XAMPP server doesn't help. Must be a Mac OS issue. I'll look into it a bit more

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

Keep me in touch, please.
I will also let you know when the possible solution will be ready at the "dev" branch.

from richfilemanager.

okwme avatar okwme commented on May 13, 2024

i'm running on mac using MAMP. i had the server error when serving from a symbolic link. what happens when you try to load /connectors/php/filemanager.php (maybe different spelling not looking at it directly right now). if working correctly i remember seeing two quotes. i was getting the server error when that page loaded as an error 500. if that's the case it should be a problem with your set up, i'd try running a simple index.php file from the same location and check your server logs. could be a permissions issue in the same vein.

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

@djb15 Check out the latest commit on the master branch. Should be fixed

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

But the real problem described at this thread:
http://stackoverflow.com/questions/16765158/date-it-is-not-safe-to-rely-on-the-systems-timezone-settings

You missed timezone setup in you php.ini for "date.timezone" directive

from richfilemanager.

djb15 avatar djb15 commented on May 13, 2024

Yeah that is where I found the solution too but I wasn't sure about the php.ini file. Where is that located or do I need to create my own one?

from richfilemanager.

psolom avatar psolom commented on May 13, 2024

For xampp it's located in [xampp_folder]/php/php.ini

from richfilemanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.