Comments (12)
Do you have access to the server logs? "general error"s mostly indicates a server configuration problem.
from ifm.
apache_error_log is empty, no errors connected to ifm. In access_log i see the requery and replay with err 500. No other clue.
from ifm.
Well, that's weird. Did you test already if PHP runs correctly? It's also important that you have the correct version installed. The IFM needs at least PHP 5.4.
Also important:
- Does the webserver have at least read access to the filesystem?
- Can you maybe post an anonymized part of your access log?
from ifm.
PHP work correctly, I test few of php file manager over the w-end and only IFM faild to work.
I have PHP 5.5.11.
Scipts have read acces to filesystem
Access_log:
xxxxxxxx - - [15/Jun/2014:12:58:42 +0200] "GET /xxxx/ifm.php HTTP/1.1" 500 - "http://xxxxx/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36" /xxxxxxxx/ifm.php 4530 pid=25146 id=U5bk4lZv8QsAADJvvnkAAADG
from ifm.
OK, I found the problematic functions:
- posix_getpwuid
- posix_getgrgid
When switched off showing this info IFM is working.
On production serwer it doent return anything and cause errors.
from ifm.
Well, yeah, that functions don't work on windows systems. I'll write a hint in the documentation and add a workaround for this issue to the todo list.
Is your production system also a windows system? What about the server logs on that machine?
from ifm.
Production is Linux + Apache.
In the log was no info at all.
from ifm.
Hm. Which distribution do you use? On a linux machine you can send a request to the API of the IFM. Maybe this shows some error information:
curl --data "api=getFiles" yourhostname/yourpath/ifm.php
If you are using Apache Basic Authentication:
curl -u user:password --data "api=getFiles" yourhostname/yourpath/ifm.php
This should return a JSON-parsable string with all your files and directories. If it returns nothing you can try to enable PHPs error reporting at the beginning of the script right after the PHP-Tag:
<?php
error_reporting(E_ALL);
/*================...
from ifm.
None of this get any output, just blank page and in firebug i see it's error 500.
When i switch off this 2 option it works.
from ifm.
Hi. I just updated the IFM. I implemented a check for this posix_* functions. If they are not available it shows not a user or group name but the user or group id. Unfortunately it is not possible to resolve the user name on windows systems. I hope that your problems are solved now.
from ifm.
i'll check it and let you know.
from ifm.
I guess this issue can be closed.
from ifm.
Related Issues (20)
- Right click to download not functioning HOT 1
- Drop-down menu empty HOT 1
- Double menus on small screen HOT 3
- Filenames with "#" are not handled correctly HOT 13
- Nothing displayed if "auth" => 1 HOT 19
- Content-Security-Policy incompatibilities HOT 5
- Overwrite warning even when file doesn't exist HOT 1
- Some files cannot be edited HOT 8
- Picture previews wonβt close HOT 5
- File creation w/ exists filename HOT 1
- RemoteUpload & AjaxRequest HOT 2
- Feature request: custom colours HOT 2
- Doesn't work on raspberry pi HOT 2
- chdir(): No such file or directory (errno 2) in /app/public/files/index.php on line 5926" HOT 2
- Folder upload doesn't work HOT 1
- How to use a non-user owner:group to delete files in a folder HOT 3
- Discussion: Current state HOT 3
- Outdated release (Oct 2020) HOT 1
- Hint on where the configuration is contained HOT 2
- ZipArchive Class Not Found HOT 1
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 ifm.