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) »
  • No pictures
Pages: [1]

Author Topic: No pictures  (Read 3156 times)

aszalos

  • Guest
No pictures
April 23, 2007, 03:52:11 am
Hi guys,

I installed CiviCRM 1.7 under Drupal 5.1. Everything is fine except there are no pictures showing up on the CiviCRM screens. looking at the source I found that instead of src="http://mysite/...", images have the source: src="/var/www/...". This is determined by the CIVICRM_UF_RESOURCEURL setting. Here is mine:

define( 'CIVICRM_UF_RESOURCEURL'  , 'http://mysite/modules/civicrm' );

This works fine with Drupal 4.7 on another site. CIVICRM_UF_RESOURCEURL is passed to a variable called resourceBase in Config.php and used in templates which I can print on the page. This resourceBase variable definitely contains the wrong path.

Any idea?

« Last Edit: April 24, 2007, 12:12:24 am by Donald Lobo »

Piotr Szotkowski

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1497
  • Karma: 57
Re: No pictures
April 23, 2007, 03:55:55 am
Please go to Administer CiviCRM → Global Settings → Resource URLs and check what’s there. CiviCRM 1.6+ has a GUI for this and falls back to the settings file only if it’s not set there.
If you found the above helpful, please consider helping us in return – you can even steer CiviCRM’s future and help us extend CiviCRM in ways useful to you.

aszalos

  • Guest
Re: No pictures
April 23, 2007, 06:05:23 am
Many thanks. It works.

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

This forum was archived on 2017-11-26.