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
/printthread.php 16 require_once



UserSpice
Extentionless login - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23)
+--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26)
+--- Thread: Extentionless login (/showthread.php?tid=357)



Extentionless login - Garewowl - 11-21-2016

Earlier had an issue with not being able to use extentionless URLs. Actually, it is happening only on login in URL.
It gets stuck at login.php line 34 "if (Input::exists()) {".

I'm checking beyond this.
Looks like a page permission issue now.

More to do. Will update.

Cheers!


Extentionless login - Garewowl - 11-21-2016

Hi,

Found the culprit at last.
It was the action url in the login form.
Replaced the "login.php" with "".
Now, vanity URLs working alright.

Cheers!


Extentionless login - mudmin - 11-21-2016

Ahh. That's cool. Are you going to have to do that for every form action?


Extentionless login - plb - 11-21-2016

US5 is moving in the direction of not specifying the action by default.

Is there any disadvantage to just leaving it unspecified if we want to process the data on the same page it was generated from?


Extentionless login - Garewowl - 11-22-2016

@mudmin
This is apache mod rewrite. Yes.

No need to do it on all pages of UserSpice.
Just once, one time on one page (login.php).
Works great.

Cheers!