Welcome, Guest
Username: Password: Remember me
Pleas keep in mind that SPAM will be deleted instantly
  • Page:
  • 1

TOPIC: Login and Logout Error Pages

Login and Logout Error Pages 2 months 2 weeks ago #5007

  • cryptohorse
  • cryptohorse's Avatar Topic Author
  • Offline
  • Posts: 3
  • Thank you received: 0
I have just installed the free version of JooDB to allow searching of an existing database I have. It works very well except when users login or logout while in catalogue view.

If they are logged in on that page and then go to logout they get sent to a page with itemid=1 as in domain.com/index.php?option=com_joodb&view=catalog&Itemid=1 . This shows a catalogue view of the test database (My Little DB). The itemid of the main database was 233.

If they are not logged in upon going to the catalogue page with itemid 233 after logging in they are directed to the itemid=1 catalogue view of the test database.

If I turn on SEO URL's in Joomla backend it generates a 404 View not found [name, type, prefix]: joodb, html, joodbView error on login and logout.

How do I fix this?

Please Log in or Create an account to join the conversation.

Login and Logout Error Pages 2 months 2 weeks ago #5008

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1016
  • Karma: 21
  • Thank you received: 183
Do you mean the normal site logout?
Normally the Itemid should not be 1

Try to add a hidden logout menu entry and set a redirect to the catalog in your menu settings.
The following user(s) said Thank You: cryptohorse

Please Log in or Create an account to join the conversation.

Login and Logout Error Pages 2 months 2 weeks ago #5009

  • cryptohorse
  • cryptohorse's Avatar Topic Author
  • Offline
  • Posts: 3
  • Thank you received: 0
That didn't change anything. Even if it did I imagine that a logout from any page would take the user to the JooDB component which is not the behaviour that I want.

I'm using the most recent Joomla release 3.9.1. Other components on the site login and logout normally. I've set redirection in both cases to same page.

Doing some research Menu itemid=1 used to be the home page but now it seems to be 101.

Three questions.

1. How/why does JooDB put an itemid on a login or logout on one of its pages?
2. Where does the 1 come from?
3. Why does the itemid=1 send the user to the mylittledb page?

Please Log in or Create an account to join the conversation.

Login and Logout Error Pages 2 months 2 weeks ago #5010

  • cryptohorse
  • cryptohorse's Avatar Topic Author
  • Offline
  • Posts: 3
  • Thank you received: 0
Problem solved. Your clue regarding redirect helped.

Upon searching for redirect in the plugins to turn on system redirect I discovered the Jomsocial login redirect which had a default setting of itemid =1.

Fixed that and all was well.

Thanks for the heads up.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: Dirkjoest