• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

How to set Error page for permissons error?

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
In my forum annonymous users cannot post any message and when they click on new topict or reply they get empty page. I would like to provide some nice page like you have to login first.... instead of just nothing. How can i do that? How is not enough permissions response solved in jforum? For login users i use SSO not sure it has any influence.

Thanks
Pavel
[originally posted on jforum.net by palko]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe it has an influence, yes. When you get that blank page, is there anything in the HTML source code?

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1250"></HEAD>
<BODY></BODY></HTML>

Strange thing is that url is chnaged into http://localhost:8084/jForumhttp://localhost:8084/ftForum//jForum/posts/reply/0/7758.page
So there is twice main path
[originally posted on jforum.net by palko]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So it uses url from parameter sso.redirect and it must be only local path because it uses forum.link parameter as prefix which I suppose it should not in this case. It uses as well requested page path as suffix for new link but it might be usefull for redirect after login. Anyway it works for me now.
Thanks
[originally posted on jforum.net by palko]
 
A teeny tiny vulgar attempt to get you to buy our stuff
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic