0

I set up a test domain with fresh installs of Drupal 9.1.9 / CiviCRM 5.37.2 / CiviMobileAPI 5.6.1 / PHP 7.4.14 / Android 8.0.0

Everything seemed to work fine, but I’m having problems with CiviMobile.

Here are two excerpts from my original civicrm.settings.php file:

// Additional settings generated by installer:
$civicrm_paths['civicrm.files']['url'] = 'https://ffv.dreamhosters.com//sites/default/files/civicrm';
$civicrm_paths['civicrm.files']['path'] = '/home/xxxx/ffv.dreamhosters.com/sites/default/files/civicrm';

global $civicrm_root;

$civicrm_root = '/home/xxxx/ffv.dreamhosters.com/vendor/civicrm/civicrm-core/';
if (!defined('CIVICRM_TEMPLATE_COMPILEDIR')) {
  define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/home/xxxx/ffv.dreamhosters.com/sites/default/files/civicrm/templates_c');
}

Why is there a double slash // in the [‘civicrm.files’]???

My Directory Setting look OK to me:

enter image description here

My Resource URL screen (below) has a different civicrm.root than the one above?! Why???

enter image description here

CiviMobile Checklist says the path and url for rest.php is wrong. It says:

Rest path /libraries/civicrm/core/extern/rest.php

Absolute rest url

https://ffv.dreamhosters.com/libraries/civicrm/core/extern/rest.php

userFrameworkBaseURL(Config) https://ffv.dreamhosters.com/

+++++++++++++++++++++++++++++

The correct path for rest.php is …/ffv.dreamhosters.com/vendor/civicrm/civicrm-core/extern/rest.php

What’s the best way to fix this…thanks!!!

1
  • I never figured this out, but it was a test domain, so I gave up and deleted it.
    – jimcrist
    Aug 15 '21 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.