The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
double slash on login page redirect
#1
Sorry if this isn't the right place to post but when I click on the bugs forum I'm getting an error 500 from your page.

So I created an override to login.php in the usersc folder, and its contents are:

require_once '../users/init.php';
Redirect::to('../dashboard/login.php');

And it indeed works, and redirects normally and the login form works well, except that I'm getting a double slash on the url:
http://example.com//dashboard/login.php

And when I login I get a triple slash:
http://example.com///users/account.php

Anyway we can fix this?
  Reply


Messages In This Thread
double slash on login page redirect - by dimitrisscript - 11-02-2016, 06:34 AM
double slash on login page redirect - by dan - 11-02-2016, 08:03 AM
double slash on login page redirect - by Brandin - 11-02-2016, 08:57 PM
double slash on login page redirect - by venedude - 11-03-2016, 02:00 AM
double slash on login page redirect - by mudmin - 11-03-2016, 03:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)