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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Blank Profile Numbers on Profile Create in Joomla Frontend Menu
Pages: [1]

Author Topic: Blank Profile Numbers on Profile Create in Joomla Frontend Menu  (Read 2718 times)

Cedeira

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
    • CompuLogiX Systems, Inc.
Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 06, 2009, 07:34:15 pm
Hi all,

upgraded to Civicrm 2.2.6, after an upgrade to 2.2.5 from 2.1.

Quote
System information:
Database Version:    5.0.51a-log
Database Collation:    utf8_general_ci
PHP Version:    5.2.10
Web Server:    Apache
Joomla! Version:    Joomla! 1.5.6 Production/Stable [ Vusani ] 12-August-2008 22:00 GMT

Mostly everything seems to be working fine, after a couple of problems with menus in the admin backend not displaying correctly, cleaning out the media directory fixed those issues ;D.

BUT,  ??? I am running into a problem with my existing Joomla front end menus, some of which already existed and creating new ones have the same problem.  The profile ID numbers do not show up in the dropdown list when selecting to create a new menu and selecting Profile Create, see attached image. Using firebug the html shows the list of items is empty
Code: [Select]
<td class="paramlist_value">
<select id="paramsgid" class="inputbox" name="params[gid]">
<option value=""/>
<option value=""/>
<option value=""/>
<option value=""/>
<option value=""/>
<option value=""/>
<option value=""/>
<option value=""/>
<option value=""/>
<option value=""/>
</select>
</td>
.  THe profiles are listed correctly on the admin backend, they test without any problems. I am going to test one embedded in a page and see if it works. Any ideas, suggestions ? I searched the forum but could not find a similar issue.

thank you in advance,
Jose
« Last Edit: July 06, 2009, 07:44:00 pm by Cedeira »
God grant me the serenity to accept the things I can not change, valor to change the ones I can, and the knowledge to recognize the difference!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 07, 2009, 09:30:09 am
Jose - This is "known" problem with the newer menu manager integration code - which occurs when CiviCRM and Joomla are in separate DB's. We don't know a good fix for this (yet) - waiting for some input from Joomla folks.

There's an issue here you can follow:
http://issues.civicrm.org/jira/browse/CRM-4709

In the meantime, the workaround is to use "links" to create your front-end menus as described here:
http://forum.civicrm.org/index.php/topic,8577.0.html

... basically the same URL pattern as for backend access to Profiles, contrib pages etc. - but without the "administrator" path segment.
Protect your investment in CiviCRM by  becoming a Member!

Cedeira

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
    • CompuLogiX Systems, Inc.
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 07, 2009, 08:18:07 pm
Dave, thanks for the quick response. I think I have bad news. I don't have separate databases. I am going to check right now.
...
Well, I checked phpMyAdmin and both configuration files, the one for Joomla and the one for Civi and they are both pointing to the same database.

I had read the Jira defect you mention and thought it did not match my issue, being that I am using the same DB, but it seems that it is the same issue.

For now, while you look into it, I will use the workaround URLs/links you pointed out. Let me know if you need someone to test any code changes or anything else...

thanks,
Jose
 
God grant me the serenity to accept the things I can not change, valor to change the ones I can, and the knowledge to recognize the difference!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 08, 2009, 10:59:11 am
Jose - We're not seeing that problem on our 2.2.7 Joomla demo:

http://joomla.demo.civicrm.org/administrator

Can you see if you can recreate it there?

We also need to upgrade Joomla to latest on that site (it's on 1.5.7 now) - which we'll do shortly. Can you update your forum profile w/ your current civi and joomla versions.
Protect your investment in CiviCRM by  becoming a Member!

Cedeira

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
    • CompuLogiX Systems, Inc.
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 08, 2009, 08:42:39 pm
Dave,

I updated my profile with current information. I upgraded Civi to 2.2.7 of CiviCRM late last night and I have not been able to look at it since then. I will test the joomla.demo.civicrm.org and my own site tomorrow morning.

Jose
God grant me the serenity to accept the things I can not change, valor to change the ones I can, and the knowledge to recognize the difference!

Cedeira

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
    • CompuLogiX Systems, Inc.
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 09, 2009, 07:26:59 pm
Dave,

Unfortunately I am still having problems with my site and this issue. The list of profiles does not come up when creating a menu in Joomla. But, I did test it on the joomla.demo.civicrm.org site and it works like it should. This is the test I ran:

Access http://joomla.demo.civicrm.org/administrator

Components->CiviCRM->CiviCRM Admin

CiviCrm admin:
   1. Create profile with Individual and Contact fields, include email.
   2. Set settings of profile to "Create cms User" and to use captcha.

Joomla admin:
   1. Menu manager and create a new menu item.
          a. Select Civicrm
          b. Profile Create
          c. The Joomla new menu form should come up with a list of CiviCRM Profiles, including the one create previously.
   2. Save the menu item give it a name.
   3. Access the Joomla Front end http://joomla.demo.civicrm.org. The menu items should be listed.
   4. Select the menu item created and fill out the CiviCRM profile.

I was able to add information to the profile and no errors were encountered.

In my website step 1.c fails since the profiles list does not come up, refer to my initial post. I checked out the xml file used to query the DB and the query works when I extract it and use it in phpMyAdmin against the same DB. So it seems to me that it is not a SQL error since the data exists, it seems to be a display error (php, html). My direct links, using urls without going through the menu system seems to be working fine.

thanks,
Jose
God grant me the serenity to accept the things I can not change, valor to change the ones I can, and the knowledge to recognize the difference!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 10, 2009, 11:51:52 am
No idea why it's not working for you :-( . I think you'll either have to debug further on your site, OR follow this issue because deepak is supposed to post some documentation about how to change the xml files to make things work for separate DB's - and that might help you too.

http://issues.civicrm.org/jira/browse/CRM-4709
Protect your investment in CiviCRM by  becoming a Member!

Cedeira

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
    • CompuLogiX Systems, Inc.
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 10, 2009, 12:57:02 pm
Thanks Dave. Once I figure it out, or find a solution, I will post it for the benefit of others and to close the thread.

God grant me the serenity to accept the things I can not change, valor to change the ones I can, and the knowledge to recognize the difference!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 12, 2009, 06:44:15 pm
Jose - Deepak has posted a procedure for fixing this condition (at least when it's caused by CiviCRM and Joomla in separate DB's). I'm thinking that going through it and examining the xml files etc might also help shed light on your situation. Check out the Troubleshooting section at the bottom of this page:

http://wiki.civicrm.org/confluence/display/CRMDOC/Configuring+Front-end+Profile+Listings+and+Forms+in+Joomla%21+Sites
Protect your investment in CiviCRM by  becoming a Member!

Cedeira

  • I post occasionally
  • **
  • Posts: 45
  • Karma: 1
    • CompuLogiX Systems, Inc.
Re: Blank Profile Numbers on Profile Create in Joomla Frontend Menu
July 13, 2009, 12:36:50 pm
Thank you Dave. I will check and if I fix it I will let you know.

Jose
God grant me the serenity to accept the things I can not change, valor to change the ones I can, and the knowledge to recognize the difference!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Blank Profile Numbers on Profile Create in Joomla Frontend Menu

This forum was archived on 2017-11-26.