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) »
  • Certain UI links going to "localhost" and causing timeouts.
Pages: [1]

Author Topic: Certain UI links going to "localhost" and causing timeouts.  (Read 1073 times)

DerekL

  • I post frequently
  • ***
  • Posts: 132
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Certain UI links going to "localhost" and causing timeouts.
August 19, 2011, 11:48:40 am
I'm running Civi 4 on Drupal 7.

Everything is fine, except that certain "dynamically generated" CiviCRM (ex: in custom data, "the view and edit custom fields", or the edit contact links after a contact search), link to "localhost"

Ex:

http://localhost/drupal7/civicrm/admin/custom/group/field?reset=1&action=browse&gid=2

Instead of what most other links are doing:

http://*IP ADDRESS HERE*/drupal7/civicrm/admin/custom/group/field?reset=1&action=browse&gid=2

I've checked my Global Settings, resource URLS, and tried to rebuild my menus with "civicrm/menu/rebuild?reset=1 ", no cigar.

Any ideas?


DerekL

  • I post frequently
  • ***
  • Posts: 132
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Re: Certain UI links going to "localhost" and causing timeouts.
August 19, 2011, 12:42:25 pm
Update:

Just did a search via PHPmyadmin of both Drupal and CiviCRM DB's.

No hits for "localhost".


I can confirm I've checked both BASE and RESOURCE URLS, also I've deleted the contents of the cache.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Certain UI links going to "localhost" and causing timeouts.
August 20, 2011, 12:58:06 pm
I presume you also ran

Code: [Select]
UPDATE `civicrm_domain` SET `config_backend`=NULL ;
Was this site previously on localhost?
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.

DerekL

  • I post frequently
  • ***
  • Posts: 132
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Re: Certain UI links going to "localhost" and causing timeouts.
October 12, 2011, 03:18:05 pm
LAMP running on an ubuntu VM on my desktop. My workaround was to work from the VM exclusively.

Should I run this on my VM?

Code: [Select]
UPDATE `civicrm_domain` SET `config_backend`=NULL ;

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Certain UI links going to "localhost" and causing timeouts.

This forum was archived on 2017-11-26.