Menu

#375 Login redirection

1.1
closed
nobody
None
1
2016-02-02
2016-01-29
No

I've recently installed phpipam 1.1, and most things are working great, except when I want to log in, I need to enter http://hostname/?page=login. If I give any other address, the redirect to the login page doesn't work, and I get an error page served by the web browser ("This page can't be displayed" in Internet Explorer, for example, and chrome just doesn't do anything).

Discussion

  • Simon Walters

    Simon Walters - 2016-02-02

    After looking into it, I found the issue in the code.
    My setup involved being on a non-standard port. Looking at the page source showed the base address as hostname:8080:8080
    I looked up the code, and on line 105 in functions-common.php, I saw that it was appending the port to http_host. http_host already contains whatever port the user has entered, so I stopped the port being appended, and now I can log on fine.

     
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-02

    Hi Simon, I believe this was fixed in 1.2.

     
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-02
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB