Comments (14)
@akmalfikri maybe #6 will help you?!
from mongodb-php-gui.
@akmalfikri What is your OS and Web server?
from mongodb-php-gui.
Apache2 on Ubuntu 20.04
from mongodb-php-gui.
@akmalfikri What is your URL?
from mongodb-php-gui.
@akmalfikri What is your URL?
http://mongo.neuroware.io/login#
from mongodb-php-gui.
@akmalfikri maybe #6 will help you?!
This fix worked on my Apache2.4 setup.
Does it work for you @akmalfikri? ;-)
from mongodb-php-gui.
Thanks guys. #6 worked for me.
Note : Make sure you enable mod_rewrite before applying the fix.
from mongodb-php-gui.
Now, after login, it went back to URL not found again.
from mongodb-php-gui.
@akmalfikri Can you please login to the GUI then attach here the error log of your Apache virtual host?
from mongodb-php-gui.
Here's the error after I logged in :
[Tue Nov 03 00:23:38.615400 2020] [php7:notice] [pid 15670] [client 162.158.166.253:50304] PHP Notice: Undefined variable: response in /var/www/mongodb.neuroware.io/index.php on line 69, referer: http://mongo.neuroware.io/login [Tue Nov 03 00:23:38.615547 2020] [php7:error] [pid 15670] [client 162.158.166.253:50304] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Limber\\Application::send() must be an instance of Psr\\Http\\Message\\ResponseInterface, null given, called in /var/www/mongodb.neuroware.io/index.php on line 69 and defined in /var/www/mongodb.neuroware.io/vendor/nimbly/limber/src/Application.php:368\nStack trace:\n#0 /var/www/mongodb.neuroware.io/index.php(69): Limber\\Application->send(NULL)\n#1 {main}\n thrown in /var/www/mongodb.neuroware.io/vendor/nimbly/limber/src/Application.php on line 368, referer: http://mongo.neuroware.io/login [Tue Nov 03 00:23:39.400782 2020] [php7:notice] [pid 21401] [client 162.158.166.254:57832] PHP Notice: Undefined variable: response in /var/www/mongodb.neuroware.io/index.php on line 69, referer: http://mongo.neuroware.io/login [Tue Nov 03 00:23:39.400994 2020] [php7:error] [pid 21401] [client 162.158.166.254:57832] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Limber\\Application::send() must be an instance of Psr\\Http\\Message\\ResponseInterface, null given, called in /var/www/mongodb.neuroware.io/index.php on line 69 and defined in /var/www/mongodb.neuroware.io/vendor/nimbly/limber/src/Application.php:368\nStack trace:\n#0 /var/www/mongodb.neuroware.io/index.php(69): Limber\\Application->send(NULL)\n#1 {main}\n thrown in /var/www/mongodb.neuroware.io/vendor/nimbly/limber/src/Application.php on line 368, referer: http://mongo.neuroware.io/login [Tue Nov 03 00:24:05.045054 2020] [negotiation:error] [pid 15829] [client 162.158.165.165:36842] AH00687: Negotiation: discovered file(s) matching request: /var/www/mongodb.neuroware.io/index (None could be negotiated)., referer: http://mongo.neuroware.io/login [Tue Nov 03 00:24:05.248962 2020] [php7:notice] [pid 20632] [client 162.158.166.254:37254] PHP Notice: Undefined variable: response in /var/www/mongodb.neuroware.io/index.php on line 69, referer: http://mongo.neuroware.io/index [Tue Nov 03 00:24:05.249066 2020] [php7:error] [pid 20632] [client 162.158.166.254:37254] PHP Fatal error: Uncaught TypeError: Argument 1 passed to Limber\\Application::send() must be an instance of Psr\\Http\\Message\\ResponseInterface, null given, called in /var/www/mongodb.neuroware.io/index.php on line 69 and defined in /var/www/mongodb.neuroware.io/vendor/nimbly/limber/src/Application.php:368\nStack trace:\n#0 /var/www/mongodb.neuroware.io/index.php(69): Limber\\Application->send(NULL)\n#1 {main}\n thrown in /var/www/mongodb.neuroware.io/vendor/nimbly/limber/src/Application.php on line 368, referer: http://mongo.neuroware.io/index
from mongodb-php-gui.
@akmalfikri I see in your error log that PHP fails but I dont know exactly why 😞
from mongodb-php-gui.
@akmalfikri Can you provide us the matched requests from the access.log?
Can you double check your .htaccess?
The .htaccess file should internaly redirect to the index.php file and no 404 should happen.
I can provide the same error when i access an invalide route (e.g https://domain.com/aaa, but https://domain.com/aaa/queryDatabase is valid) but i always get a redirect to a valid url.
from mongodb-php-gui.
After log in, the URL redirect to http://domain.com/index# .
So I had to manually direct the URL to http://domain.com/queryDatabase for the page to work. Here is the .htaccess file.
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [QSA,L]
from mongodb-php-gui.
@akmalfikri You can add a comment if you still need help.
from mongodb-php-gui.
Related Issues (20)
- Secure login with hCatpcha HOT 1
- Add reference to the GitHub repository/issues HOT 1
- Quick edit full document entry HOT 3
- Import from CSV / Export to CSV HOT 1
- Login for user having only database specific roles HOT 1
- Deny access to private files to improve security HOT 1
- Provide tagged Docker image HOT 5
- Not working behind ingress controller HOT 2
- Various feature requests for navigation and search
- Database visualization gets really slow with huge dataset HOT 1
- Edit document null attribute doesn't work
- Support for ARM64 architecture HOT 4
- Login page: store multiple target connection URIs
- Login page: do not retain credentials
- How to query an ObjectId field not named _id? HOT 3
- Accessing through subdirectory (reverse proxy)
- No input file specified.
- URI login problem HOT 4
- How to deploy on kubernetes
- Optimization of data visualization
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 mongodb-php-gui.