The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (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
Redirect problem on all private pages
#4
Hi

I also have the problem with version 4.2.3 both on my wamp and public server php 5.6 it only affects admin logins as far I can tell.

The solution for me on login was change /usersc/scripts/custom_login_script.php

comment out the redirect as below adding a redirect simply to index

//Redirect::to($us_url_root.'users/account.php');
Redirect::to('../index.php');

But this only solved the first login if I want to see my account page it goes into a redirect loop again and the browser stops the 302 redirect between users/account.php and users/index.php after 10 attempts with an error:

"The page isn’t redirecting properly"

So I place an echo statement at the begining of both pages.

$url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
echo "In account.php ".$url;
if (strstr($url,'///////')) exit;

The echo is displayed in the browser, so the redirect is not from .htaccess and must be in the php somwhere.

Checking out admin level differences to see I can spot anything.

......

  Reply


Messages In This Thread
Redirect problem on all private pages - by jason - 01-20-2017, 06:55 PM
Redirect problem on all private pages - by mudmin - 01-20-2017, 07:52 PM
Redirect problem on all private pages - by jason - 01-22-2017, 06:54 AM
Redirect problem on all private pages - by mpcleverdon - 03-30-2017, 10:57 AM
Redirect problem on all private pages - by mudmin - 03-30-2017, 02:12 PM
Redirect problem on all private pages - by Jeff - 04-25-2017, 10:00 AM
Redirect problem on all private pages - by mudmin - 04-27-2017, 06:58 PM
Redirect problem on all private pages - by mudmin - 05-22-2017, 07:12 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)