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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Cannot view or edit contact on CiviMobile
Pages: [1]

Author Topic: Cannot view or edit contact on CiviMobile  (Read 783 times)

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Cannot view or edit contact on CiviMobile
September 28, 2013, 09:37:09 am
Recently installed CiviMobile. This works okay for Events, but it does not work when attempting to view/edit contact. Nothing is visible on screen except for the header.

When viewing contact of type Organization I get the Display Name and the Email Address; with an Individual type I get nothing. Two javascript errors are appearing:

"Uncaught ReferenceError: ts is not defined" (rest.js:96)

I have also got a 404 on a file called: "jquery.min.map"

Anyone any ideas?
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Re: Cannot view or edit contact on CiviMobile
September 30, 2013, 01:50:49 am
Am I the only one with this error?

Bit more detail:

In Firebug:

.../civicrm/ajax/rest?sequential=1&contact_id=6991&return=contact_type&entity=Contact&action=getvalue&json=1
returns
"Individual"

then

.../civicrm/ajax/rest?version=3&name=new_individual&return=id&entity=uf_group&action=getvalue&json=1
returns
{"count":0,"is_error":1,"error_message":"Expected one uf_group but found 0"}

immediately after.
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Cannot view or edit contact on CiviMobile
September 30, 2013, 02:14:54 am
Can you upgrade your versions - if you really are on 4.1 I wouldn't expect it to work
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

mcarson

  • I post occasionally
  • **
  • Posts: 110
  • Karma: 5
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.x
  • MySQL version: 5.5
  • PHP version: 5.4.22
Re: Cannot view or edit contact on CiviMobile
September 30, 2013, 02:40:25 am
Updated my profile to show CiviCRM version installed  :-[

Debugged and discovered that somehow the system name of the reserved profile "New Individual" had been changed from "new_individual" to "new_individual_1316593889"  ???

Changed the values in ../com.webaccessglobal.module.civimobile/code/civimobile.contact_search.html
and .../com.webaccessglobal.module.civimobile/js/common.js

Got it working. ;D Now, just have to figure out how and when this value changed.

Any ideas?
“Anyone who has never made a mistake has never tried anything new.” - Albert Einstein
"If you are travelling at the speed of light and you turn on your headlights, would they work?" - Unknown

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Cannot view or edit contact on CiviMobile
September 30, 2013, 02:41:27 am
No ideas - that is just plain odd
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Cannot view or edit contact on CiviMobile

This forum was archived on 2017-11-26.