Skip to Content Skip to Menu

[SOLVED] CB login module not working; loads cb-login page instead

9 years 5 months ago - 9 years 5 months ago #264916 by catconner1
I'm not seeing any errors in the logs, logging in from the module just simply doesn't work, and instead the CB Login page is loaded. Here's the scenario:

1. From any page on the site, user enters username and password in the module and clicks the "Log in" button.

2. The regular CB Login page (the same one as index.php?option=com_comprofiler&view=login) is loaded. It requests the username and password.

If you then enter the username and password, the login is successful.

I've tried disabling the CB login module and using the simple Joomla login, and the Joomla login module works.

Any idea where I could start looking for the problem?
Last edit: 9 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #264927 by krileon
Enable debug mode and maximum error reporting in Joomla global configuration. Next switch to default Joomla template. Now attempt to login from your CB login module and see if any errors output or if the message queue mentions anything wrong (should be displayed above the login form on the login page).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • jross
  • jross
  • OFFLINE
  • Posts: 63
  • Thanks: 2
  • Karma: 0
  • Add-ons
9 years 5 months ago #265082 by jross
Hello, I am having a similar / same problem. It's a J3.4 site using CB2.0.9.
No matter what url I put into the CB login module, I get a 404 - Category not found error.

I followed your advise about debug mode and max error reporting and got this result

Call stack
# Function Location
1 JApplicationCms->execute() /home/adtavorg/public_html/wip/index.php:40
2 JApplicationSite->doExecute() /home/adtavorg/public_html/wip/libraries/cms/application/cms.php:252
3 JApplicationSite->dispatch() /home/adtavorg/public_html/wip/libraries/cms/application/site.php:230
4 JComponentHelper::renderComponent() /home/adtavorg/public_html/wip/libraries/cms/application/site.php:191
5 JComponentHelper::executeComponent() /home/adtavorg/public_html/wip/libraries/cms/component/helper.php:371
6 require_once() /home/adtavorg/public_html/wip/libraries/cms/component/helper.php:391
7 JControllerLegacy->execute() /home/adtavorg/public_html/wip/components/com_content/content.php:16
8 ContentController->display() /home/adtavorg/public_html/wip/libraries/legacy/controller/legacy.php:728
9 JControllerLegacy->display() /home/adtavorg/public_html/wip/components/com_content/controller.php:104
10 ContentViewCategory->display() /home/adtavorg/public_html/wip/libraries/legacy/controller/legacy.php:690
11 JViewCategory->commonCategoryDisplay() /home/adtavorg/public_html/wip/components/com_content/views/category/view.html.php:72
12 JError::raiseError() /home/adtavorg/public_html/wip/libraries/legacy/view/category.php:127
13 JError::raise() /home/adtavorg/public_html/wip/libraries/legacy/error/error.php:254

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

  • jross
  • jross
  • OFFLINE
  • Posts: 63
  • Thanks: 2
  • Karma: 0
  • Add-ons
9 years 5 months ago #265086 by jross
And I am also getting a redirect to the CB Login page as well.....

If you could provide some feedback urgently it would be much appreciated. My client site is going live on Monday to 500 members. Didn't quite realise the severity of this issue.

JR

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 5 months ago #265109 by krileon
Create a public and published Joomla menu link to CBs profile page. This is mandatory. If you've a menu link to CBs login page then ensure it's public access. The 404 you're getting is an access denied error thrown by Joomla. Check the Itemid in the URL you're seeing the 404 and compare it to its menu item to find what menu item the login page is using then change the access to public.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

9 years 5 months ago #265118 by catconner1
OK, I have done some extensive testing and here is the result -- essentially, logging in via the CB Login page works perfectly; trying to log in directly via the CB Login Module simply results in a redirect to the CB Login page. But I can't see any errors.

I got the same results using our site template, and using the default Beez5 template:

-- No HTTP or Javascript errors
-- No errors in the Joomla error log
-- Errors in the Joomla debug messages:
**Not loaded** : JROOT/language/en-GB/en-GB.mod_cblogin.ini
**Not loaded** : JROOT/modules/mod_cblogin/language/en-GB/en-GB.mod_cblogin.ini

I checked the file system and these two files do not exist. Perhaps this is the problem?

I also checked component versions, just FYI:

Joomla Version 2.5.24
Community Builder version 2.0.4
CB Login Module version 2.0.4

Any idea where to look next?

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

Moderators: beatnantkrileon
Powered by Kunena Forum