Coder Social home page Coder Social logo

Space Settings about ideaspace HOT 10 CLOSED

g3rman42 avatar g3rman42 commented on June 8, 2024
Space Settings

from ideaspace.

Comments (10)

weddingdj avatar weddingdj commented on June 8, 2024

Did you download v1.2 directly from Github? It is not officially released yet, but I will have a look at this issue.

from ideaspace.

weddingdj avatar weddingdj commented on June 8, 2024

I reproduced the bug, thanks for filing! It happens only if IdeaSpaceVR is installed in a sub-directory and if you are logged in.

from ideaspace.

g3rman42 avatar g3rman42 commented on June 8, 2024

Confirmed fixed, thanks!

from ideaspace.

g3rman42 avatar g3rman42 commented on June 8, 2024

Looks like it may not be entirely fixed. If I am logged in and I access "www.stclaresalumni.org/vr/login" it shows the admin page for a couple of seconds and then proceeds to load the selected default VR space.

from ideaspace.

weddingdj avatar weddingdj commented on June 8, 2024

Why would you want to access the login page (www.stclaresalumni.org/vr/login) when you are logged in?

from ideaspace.

weddingdj avatar weddingdj commented on June 8, 2024

It is indeed showing the admin page for a moment then redirects to the VR space. This is expected behavior, because by calling login I check if the user is logged in, so it would show the admin page, but since we are at the root of the installation it shows the selected VR space.

from ideaspace.

g3rman42 avatar g3rman42 commented on June 8, 2024

Sorry, my understanding was that in order to access the admin portal you have to access www.url.com/login.
When I try to access "https://www.stclaresalumni.org/vr/admin" I get an error of:

The requested URL /admin was not found on this server.

Notice that Ideaspace is installed in a subdirectory but tries to call the admin page at the root of the site, where it obviously does not exist.

from ideaspace.

weddingdj avatar weddingdj commented on June 8, 2024

I test installed it in a sub-directory as well. The behavior is as follows:

Not logged in:
If you access https://www.stclaresalumni.org/vr/admin or https://www.stclaresalumni.org/vr/login it redirects to login. I tested it with your URL.

Logged in:
If you access https://www.stclaresalumni.org/vr/admin you land on the dashboard. If you access https://www.stclaresalumni.org/vr/login you are redirected to https://www.stclaresalumni.org/vr/ (your VR space). I tested it with my install.

Let me know.

from ideaspace.

g3rman42 avatar g3rman42 commented on June 8, 2024

Found the problem. The difference is the final "/"

https://www.stclaresalumni.org/vr/admin - works
https://www.stclaresalumni.org/vr/admin/ - redirects to incorrect directory

Looks like Firefox adds the final / by default

from ideaspace.

weddingdj avatar weddingdj commented on June 8, 2024

I just had a look in Firefox and both /admin and /admin/ redirect to /login (not logged in user). Same behavior when you are logged in.

from ideaspace.

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.