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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Blank Page editing details
Pages: [1]

Author Topic: Blank Page editing details  (Read 3367 times)

kunapipi

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Blank Page editing details
July 10, 2007, 04:10:13 pm
I am using civicrm 1.0.12 Stable for Joomla and love it. I look after the website for my club and I am trying to manage the club members details.
I have set up a profile to allow the users to edit their own details (Name, address, email  etc) and display it on the front end members only area. The form looks good but if I try to edit the address or phone number I get a blank page display after submit and the details are not saved.
I can edit the email address and or name, but this does not update the Joomla contact, so I get a Sync issue between Joomla contacts and the CiviCrm contacts.
I followed the documentation closley and added the required line to index.php and searched the forms for a similar issue. Any help would be appreciated.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank Page editing details
July 10, 2007, 05:36:50 pm

Can you check your php error log. Seems like php is experiencing an error and dying

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

speleo

  • Ask me questions
  • ****
  • Posts: 396
  • Karma: 28
  • CiviCRM version: 4.3.1
  • CMS version: J! 2.5,9
  • MySQL version: 5.1
  • PHP version: 5.3.24
Re: Blank Page editing details
July 11, 2007, 02:16:00 am
Just as a matter of interest. If you allow you members to modify their email address via a profile, how do you sync it back to the joomla user db? If you don't synch it then the user isn't matched next time.

kunapipi

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Blank Page editing details -Fixed
July 11, 2007, 06:24:55 am
Quote from: speleo on July 11, 2007, 02:16:00 am
Just as a matter of interest. If you allow you members to modify their email address via a profile, how do you sync it back to the joomla user db? If you don't synch it then the user isn't matched next time.

OK I found what the issue is. It is to do with Google mapping. I removed the Geocode setting and this fixed it. I feel it still needs to be investigated more. But for now I will be aware of it and If I ever really want to have mapping refrences then I will trry Yahoo first.
Thanks everyone for the help and input.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank Page editing details
July 11, 2007, 07:22:00 am

1. You host might be blocking traffic from your webserver to outgoing ports. You might want to chat with them. If true for maps.google.com, i suspect the same for maps.yahoo.com

2. CiviCRM does sync up between the primary email address and the CMS email address. For joomla, changing the primary email address in Civi shoudl also change the address in the joomla table (but not vice versa, since there is no callback functionality in joomla)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kunapipi

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Blank Page editing details
July 11, 2007, 10:40:00 pm
Quote from: Donald Lobo on July 11, 2007, 07:22:00 am

2. CiviCRM does sync up between the primary email address and the CMS email address. For joomla, changing the primary email address in Civi shoudl also change the address in the joomla table (but not vice versa, since there is no callback functionality in joomla)
This was my expectation but my initial tests didn't work. Though, this was while I had the issue with the Geocode. I will try it again and see what happens.
Bonza beaut mate!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank Page editing details
July 11, 2007, 10:50:51 pm

oops :(

just checked the code and this is a drupal only feature. We'll consider adding this for joomla in 2.x

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kunapipi

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Blank Page editing details
July 12, 2007, 04:36:06 am
Quote from: Donald Lobo on July 11, 2007, 10:50:51 pm

oops :(

just checked the code and this is a drupal only feature. We'll consider adding this for joomla in 2.x

lobo
No probs. I notice the Sync feature in Joomla is not that good. Maybe the next version :) For now it something I can manage manually. Next time there is a raining weekend I will look at the code and see if I can help.

In SQLServer you can set a parameter to on update, update another tables data element. Is there similar for MYSQL? I had a quick look around and it was not obviuse.

Mike

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Blank Page editing details
July 12, 2007, 09:22:10 am

The code to do a one way sync is actually quite easy:

CRM/Core/BAO/UFMatch.php (line 248)

however we felt a one way sync is a bad idea since its not consistent. A 2 way sync is a better model. And since we do not know how to do a 2 way sync in joomla, we decided to skip the sync aspect :(

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

kunapipi

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Blank Page editing details
July 16, 2007, 02:30:30 am
Quote from: Donald Lobo on July 12, 2007, 09:22:10 am

The code to do a one way sync is actually quite easy:

CRM/Core/BAO/UFMatch.php (line 248)

however we felt a one way sync is a bad idea since its not consistent. A 2 way sync is a better model. And since we do not know how to do a 2 way sync in joomla, we decided to skip the sync aspect :(

lobo


OK. So If it is in the core do I just have to call the function "function updateContactEmail($contactId, $emailAddress)" in my contact form?

Within my website I don't allow registration so I turned of the email edit  in Joomla so users can only change password. Thanks to your help I now have a form for them to update the CRM address etc and If I get the one way sync for email address working it will be perfect.
 
Love Joomla.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Blank Page editing details

This forum was archived on 2017-11-26.