Giter Club home page Giter Club logo

Comments (14)

peterfromthehill avatar peterfromthehill commented on July 27, 2024 1

@akmalfikri maybe #6 will help you?!

from mongodb-php-gui.

SamuelTallet avatar SamuelTallet commented on July 27, 2024

@akmalfikri What is your OS and Web server?

from mongodb-php-gui.

akmalfikri avatar akmalfikri commented on July 27, 2024

Apache2 on Ubuntu 20.04

from mongodb-php-gui.

SamuelTallet avatar SamuelTallet commented on July 27, 2024

@akmalfikri What is your URL?

from mongodb-php-gui.

akmalfikri avatar akmalfikri commented on July 27, 2024

@akmalfikri What is your URL?
http://mongo.neuroware.io/login#

from mongodb-php-gui.

SamuelTallet avatar SamuelTallet commented on July 27, 2024

@akmalfikri maybe #6 will help you?!
This fix worked on my Apache2.4 setup.
Does it work for you @akmalfikri? ;-)

from mongodb-php-gui.

akmalfikri avatar akmalfikri commented on July 27, 2024

Thanks guys. #6 worked for me.

Note : Make sure you enable mod_rewrite before applying the fix.

from mongodb-php-gui.

akmalfikri avatar akmalfikri commented on July 27, 2024

Now, after login, it went back to URL not found again.

from mongodb-php-gui.

SamuelTallet avatar SamuelTallet commented on July 27, 2024

@akmalfikri Can you please login to the GUI then attach here the error log of your Apache virtual host?

from mongodb-php-gui.

akmalfikri avatar akmalfikri commented on July 27, 2024

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.

SamuelTallet avatar SamuelTallet commented on July 27, 2024

@akmalfikri I see in your error log that PHP fails but I dont know exactly why 😞

from mongodb-php-gui.

peterfromthehill avatar peterfromthehill commented on July 27, 2024

@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.

akmalfikri avatar akmalfikri commented on July 27, 2024

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.

SamuelTallet avatar SamuelTallet commented on July 27, 2024

@akmalfikri You can add a comment if you still need help.

from mongodb-php-gui.

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.