CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Joomla login required when bottom profile used
Pages: [1]

Author Topic: Joomla login required when bottom profile used  (Read 2000 times)

jgowans

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
    • CiviCRM
Joomla login required when bottom profile used
October 03, 2011, 07:52:52 am
Currently using Joomla 1.7.1 and CiviCRM 4.0.6 and I've noticed that when placing a profile into the bottom profile position of a contribution page, even with "joomla user account registration option" set to "no account create option",  the system forces the joomla user registration to display and to be required.  I've tried shifting profiles around, creating new ones, but the only common denominator I can see is that the bottom profile triggers this action somehow.
CiviCRM Core Team

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla login required when bottom profile used
October 03, 2011, 04:20:04 pm
Sounds like it might be a bug. Can you recreate on the Joomla demo - http://j16.demo.civicrm.org/? If so, please post an issue and if possible investigate and submit a patch.
Protect your investment in CiviCRM by  becoming a Member!

jgowans

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
    • CiviCRM
Re: Joomla login required when bottom profile used
October 03, 2011, 07:10:46 pm
Demo contribution page at: http://j16.demo.civicrm.org/index.php/example-contribution-page  Seems to be working perfectly.

Live donation page with error located at: https://adoptmountainpets.org/donor-information/general-contribution

I've recreated both a new contribution page and profiles, but still get the same result.  I recently upgraded to 1.7.1 and had this problem: http://forum.civicrm.org/index.php/topic,21771.0.html  Note that this problem remains when I place a web links module in the footer.

Thinking this current issue involved the template somehow, I assigned the atomic template to the live contribution page but still am forced to register with Joomla.  I am not sure I can investigate this any deeper than I have as I am not very strong technically, however I am happy to share access offline if that would help others look into it.

TY for the reply.
CiviCRM Core Team

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla login required when bottom profile used
October 04, 2011, 10:07:56 am
Wondering if this is a template caching issue? You could try removing the template cache directories / files (from your joomla site root directory -> media/civicrm/templates_c).
Protect your investment in CiviCRM by  becoming a Member!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla login required when bottom profile used
October 04, 2011, 10:37:49 am
Just chatted w/ lobo on this and we think the problem is related to the non-standard link you're using (which we think is an SEO module generated link) - and NOT related to template caching. We experimented with some 'native' CiviCRM formatted URLs on your site - and we can get to one of your  contribution pages WITHOUT the login required block using this URL:

https://adoptmountainpets.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=3

... so at least contribution page id 3 works. Hope that gives you some things to try.
Protect your investment in CiviCRM by  becoming a Member!

jgowans

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
    • CiviCRM
Re: Joomla login required when bottom profile used
October 04, 2011, 01:46:19 pm
Cleared the template cache but it didn't resolve the error with web links or the forced Joomla registration.  I added a profile to the bottom position in the link you provided...

https://adoptmountainpets.org/index.php?option=com_civicrm&task=civicrm/contribute/transact&reset=1&id=3

It's requiring Joomla registration.  What's interesting is that it appears only when a profile in the bottom position (even if there's not one in the top).  I'm going to do a clean install on demo site and see what happens.
CiviCRM Core Team

jgowans

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
    • CiviCRM
Re: Joomla login required when bottom profile used
October 04, 2011, 04:59:35 pm
Well, did a fresh install Joomla 1.7.1 and Civi 4.0.6, same template (Yootheme Nano) and corresponding components and the 'required joomla registration' issue did not materialize on a demo contribution page (only difference is no SSL installed on demo site), so it looks like that specific issue is related to my live install (not happy about that...:(...).

The issue involving the web links was still present.  Thinking it was the Nano theme, I attempted with the Atomic theme as well with the same result.  Demo site at: http://dev.3plumes.com/demojoomla/ with the error displayed at: http://dev.3plumes.com/demojoomla/example-donate

Note that I moved the web links module around and the error materialized each time, so it seems to no be position-specific.  I'll keep this live for a few days then disable it (not sure if you can glean anything from it).
« Last Edit: October 04, 2011, 05:02:44 pm by jgowans »
CiviCRM Core Team

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla login required when bottom profile used
October 04, 2011, 05:08:36 pm
Let's make sure the profile settings in your DB are all set to NOT request Joomla logins. If you can run a SQL query against your live site CiviCRM DB - try this and see whether the is_cms_user is something other than NULL or 0 for any of the profiles:

Code: [Select]
SELECT id, title, is_cms_user
FROM `civicrm_uf_group`
Protect your investment in CiviCRM by  becoming a Member!

jgowans

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
    • CiviCRM
Re: Joomla login required when bottom profile used
October 04, 2011, 09:04:00 pm
"Showing rows 0 - 13 ( 14 total, Query took 0.0004 sec)"

"2" displays for "name and address" and "supporter" profiles.  All others are "0" or "null".
CiviCRM Core Team

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla login required when bottom profile used
October 05, 2011, 11:05:08 am
Try going into the settings -> Advanced Settings for those two profiles and "turning off" the create user option (so that all your profiles have is_cms_user = 0.
Protect your investment in CiviCRM by  becoming a Member!

jgowans

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 3
    • CiviCRM
Re: Joomla login required when bottom profile used
October 05, 2011, 11:26:39 am
You know, I had honestly thought about doing that but assumed that it would not help.  However, it has solved the issue.  I now have "is_cms_user = 0" on all profiles and the required joomla registration issue is no longer present.  Thanks for your help.

JG

I wanna be (like) lobo...  ;D
CiviCRM Core Team

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Joomla login required when bottom profile used
October 05, 2011, 04:02:16 pm
Cool - altho I'm not thrilled that we may have just worked around a bug or some anomaly in your DB :-( I did discover that the "create cms user" setting does NOT work at all in my 3.4 or 4.1 sandboxes when the profile that specifies it is the "bottom profile" I'll file an issue for that for 4.1.
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Joomla login required when bottom profile used

This forum was archived on 2017-11-26.