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
#3
Hi @mudmin,

Apologies for replying late. I was trying to figure out if I was the one that has got things messed up. But unfortunately, everything works fine on my local computer.

I have searched everywhere if there is any occurrence of $us_url_root.’/ or < ?=$us_url_root?>/ but none exists.

Initially on the shared server, if I access the private pages from Chrome, it loads for about 15 secs and then adds like 10 slashes and dies. But on a Maxthon browser, I could see the redirection back and forth between for eg 'users/account.php' and 'users/index.php'. Every time it redirects back and forth, it adds an extra slash. So 10 redirects just after log in will result in 10 slashes before dying.

Funny enough, I have "< ?php if (!securePage($_SERVER['PHP_SELF'])){die();} ?>" on all pages, but once I change any page to private then try to navigate, I just get the wierd multi redirection before the page dies. I added the message in both private and public pages but none of the pages showed any message. Now all it does is redirect to 'index.php' if accessing any private page.

And another thing is, I push the code to another shared server and nothing works atall. It's like it's not allowing DB connection. Dont know what to do.

I'm using version 4.1.8c
  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 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: 7 Guest(s)