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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • civiCRM Base URL issue
Pages: [1]

Author Topic: civiCRM Base URL issue  (Read 909 times)

pgerhard

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.2
  • MySQL version: SQL 3
  • PHP version: PHP 5
civiCRM Base URL issue
January 05, 2014, 11:00:03 pm
We have migrated to a new server our website, and during this migration something surprising is happening.

Based on the URL used in civiCRM, some of the options in filters for 'basic search' or 'From email addresses' are not appearing. ie:

http://myurl.org/en/civicrm/admin/options/from_email?group=from_email_address >> From email address appear
http://www.myurl.org/en/civicrm/admin/options/from_email?group=from_email_address >>> From email do not appear

AND

http://myurl.org/en/civicrm/contact/search >> is working and give all options to search users in groups
http://www.myurl.org/en/civicrm/contact/search >> is not working and either give a 'page not found' or hides the options to search groups

(not the real domain address, don't want to disclose it yet.) --

Additionally, each time i change URLs from www. and without www. I am kicked out and have to log in again.

I have checked the config files and the URL in civicrm.settings is correctly listed as:

define( 'CIVICRM_UF_BASEURL'      , 'http://www.myurl.org/' );

and correct in settings.php too:

$base_url = 'http://www.myurl.org';  // NO trailing slash!

Any idea what could be wrong?

thanks for great community!
« Last Edit: January 05, 2014, 11:17:50 pm by pgerhard »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: civiCRM Base URL issue
January 06, 2014, 05:28:55 am
Quote from: pgerhard on January 05, 2014, 11:00:03 pm
Additionally, each time i change URLs from www. and without www. I am kicked out and have to log in again.

With Drupal, that is expected. Each is a unique domain and has a unique login cookie.

For the main issue, try resetting the config_backend value in the civicrm_domain table. This will lose your locality (and a few other) settings, but it resets the main URL.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

pgerhard

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 3.4
  • CMS version: Drupal 6.2
  • MySQL version: SQL 3
  • PHP version: PHP 5
Re: civiCRM Base URL issue
January 09, 2014, 03:14:00 am
Thanks, it turns out that www was pointing to a different server! DNS update error.

We are having another issue at the moment, each time we try to update the path for custom module and template in Directory settings:
en/civicrm/admin/setting/path?reset=1

for Custom Templates and civiCRM Extension Directory whcih we use),

after save, the fields revert to blank, and civiCRM is broken. What could be overriding this? We have permission to the folder 755. Where is this value stored in the DB so that I can check...

thanks

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: civiCRM Base URL issue
January 09, 2014, 05:40:17 am
Not sure but try clearing caches and IDS file and also try

UPDATE `civicrm_domain` SET `config_backend`=NULL ;

but that will of course all of your locality (and some other) settings which you would have to reset after.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • civiCRM Base URL issue

This forum was archived on 2017-11-26.