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) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • problem with resource URL
Pages: [1]

Author Topic: problem with resource URL  (Read 992 times)

irebout

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
problem with resource URL
June 06, 2015, 11:02:32 pm
I'm also running into this problem with the Resource URL  I have tried the media/civicrm/custom/ext/ as well as media/civicrm/custom_ext location neither of which worked. Is there something I'm missing here?

/home/fosflwi/public_html/media/civicrm/custom/ext/
http://fosfl.com/home/fosflwi/public_html/media/civicrm/custom/ext/

Joomla 3.4.1
CiviCRM 4.6.0
CiviVolunteer 1.4.0
GoDaddy CPanel
« Last Edit: June 08, 2015, 08:31:31 am by GinkgoFJG »

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: problem with resource URL
June 08, 2015, 08:33:36 am
If you have CiviVolunteer installed in /home/fosflwi/public_html/media/civicrm/custom/ext/, then your Resource URL should be http://fosfl.com/media/civicrm/custom/ext/.
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

irebout

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: problem with resource URL
June 08, 2015, 05:14:44 pm
I tried that one as well, that didn't work either.  Still getting the URL problem.  See attached. I have everything set I think

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: problem with resource URL
June 09, 2015, 06:18:32 am
Are you sure you need "civicrmtest" in all those URLs? Are you sure you need it twice in the extensions URL?
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

irebout

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.3
Re: problem with resource URL
June 09, 2015, 01:56:19 pm
I did pull the second civicrmtest out of the resource URL, still get the error.  Is this because it installed with that resource URL and now it can't find it? The first civicrmtest is the testing website I built inside. http://fosfl.com is a different Joomla installation then http://fosfl.com/civicrmtest

I appreciate the help as this is the last part that I need fixed for a non-profit that I am helping out!

Respectfully,

Ike

GinkgoFJG

  • Moderator
  • I post frequently
  • *****
  • Posts: 135
  • Karma: 4
    • Ginkgo Street Labs
Re: problem with resource URL
June 09, 2015, 06:07:26 pm
CiviVolunteer contains a file js/checkResourceUrl.js. In my test site, it's accessible via http://civivol-clean-install.localhost/sites/default/ext/org.civicrm.volunteer/js/checkResourceUrl.js. Pulled up in a browser, that file displays the following:

Code: [Select]
// http://civicrm.org/licensing
window.civiVolunteerResourceUrlIsOk = true;

It doesn't matter if you had the URL wrong at the time of installation. Setting it to the correct value now should resolve the problem.

If your Extensions Directory path ends in media/civicrm/custom/ext, you should get the same when you pull up http://fosfl.com/???/media/civicrm/custom/ext/org.civicrm.volunteer/js/checkResourceUrl.js. The ??? depends on your configuration, but once you can pull up that file in the browser, you know you've got it right.

I'm not terribly familiar with Joomla, and I haven't tried nesting sites like you seem to have done, but on CiviCRM's Joomla demo site, the extensions directory is /var/www/demosites/joomla.demo.civicrm.org/public/media/civicrm/custom/ and the extension resource URL is http://joomla.demo.civicrm.org/media/civicrm/custom/. The pattern is basically to lop off everything up to and including your web root (i.e., everything before media) and prepend the URL to the homepage of the site in question.

I would note that I can't access http://fosfl.com/civicrmtest at all. Is this because the site is private?

Also, are you getting any errors in the JavaScript console? (See http://forum.civicrm.org/index.php?topic=35850.0)
Are you a CiviVolunteer user? Join the CiviVolunteer 2.0 Matching Grant effort to help the project win $15,000 in grant funding.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • problem with resource URL

This forum was archived on 2017-11-26.