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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Dashboard CSS and Javascript not working. [SOLVED]
Pages: [1]

Author Topic: Dashboard CSS and Javascript not working. [SOLVED]  (Read 2743 times)

hpinson

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.2
  • MySQL version: 5.1.52
  • PHP version: 5.3.n
Dashboard CSS and Javascript not working. [SOLVED]
October 26, 2011, 11:09:10 am
Fresh install of CiviCRM 4.0.7 onto Joomla 1.7.2

Install appears to be successful.

CiviCRM adminstrative dashboard interface and Javascript widgets don't appear.  Clicking on links does not work. It's like the CSS and Javascript is not being applied.

Followed instructions in troubleshooting guide for this condition "Look at http://(domainname)/administrator/components/com_civicrm/civicrm" and all I see is a directory listing.  No indication of what to do to fix.

Can anyone help?
« Last Edit: October 27, 2011, 11:04:58 am by hpinson »

hpinson

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.2
  • MySQL version: 5.1.52
  • PHP version: 5.3.n
Re: Dashboard CSS and Javascript not working.
October 26, 2011, 11:20:45 am
This thread describes the problem quite well. 

http://forum.civicrm.org/index.php?topic=21127.0

None of the proposed solutions have worked though.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Dashboard CSS and Javascript not working.
October 26, 2011, 12:44:31 pm
A couple of times we have found a Drupal module JQuery Update upsets things and turning it off sorts it out. Wondering if there are any Joomla modules that might do similar? But likely to be a red herring.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Dashboard CSS and Javascript not working.
October 27, 2011, 05:31:51 am
hpinson, can you look at the Net tab of Firebug for Firefox and see if any files are not loaded correctly?
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.

hpinson

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.2
  • MySQL version: 5.1.52
  • PHP version: 5.3.n
Re: Dashboard CSS and Javascript not working.
October 27, 2011, 09:01:02 am
From the Firebug output, it looks like common.js and jQuery are not loading.  See screenshot attached.

How could I fix? Is this a path issue? Is something being hard-coded?

Any help would be appreciated.

-- Harlow

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Dashboard CSS and Javascript not working.
October 27, 2011, 10:03:47 am
Can you check the full URL of those files? Actually it seems like you need to check the settings for "Resource URLs" here:

http://j16.demo.civicrm.org/administrator/?option=com_civicrm&task=civicrm/admin/setting/url&reset=1

on your site that is.
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.

hpinson

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Joomla 1.7.2
  • MySQL version: 5.1.52
  • PHP version: 5.3.n
Re: Dashboard CSS and Javascript not working.
October 27, 2011, 10:58:45 am
Ok. I go there and find a form with three text entry fields:

CiviCRM Resource URL: which is empty
Image Upload URL: http://dev.explora.us/media/civicrm/persist/contribute/
Custom CiviCRM CSS URL: which is empty

So I added the following values to the fields and saved:
http://dev.explora.us/administrator/components/com_civicrm/civicrm
http://dev.explora.us/media/civicrm/persist/contribute/
http://dev.explora.us/administrator/components/com_civicrm/civicrm

This appears to have worked. Thanks!

Now, how can this problem be addressed so that it does not happen to new users again? Can the developers look into this?  I'm new to CiviCRM and willing to work through some moderate level of pain, but many would give up.  I do appreciate the guidance.
« Last Edit: October 27, 2011, 11:04:06 am by hpinson »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Dashboard CSS and Javascript not working.
October 27, 2011, 11:02:41 am
The last one should be empty. I think the first two should be:

http://dev.explora.us/administrator/components/com_civicrm/civicrm/
http://dev.explora.us/media/civicrm/persist/contribute/
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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Dashboard CSS and Javascript not working. [SOLVED]

This forum was archived on 2017-11-26.