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) »
  • Extensions directory does not have a matching Extension Resource URL
Pages: [1]

Author Topic: Extensions directory does not have a matching Extension Resource URL  (Read 1929 times)

redgar

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • NJ Libertarian Party
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 2.5.27
Extensions directory does not have a matching Extension Resource URL
December 28, 2012, 08:40:38 am
I've upgraded from J1.5 to 2.5 and upgraded civicrm as well. I've done this twice now with similar results.

"Your Extensions Directory (/home/XXXX/public_html/media/civicrm/extensions/) does not have a matching Extensions Resource URL. Please go to the URL setting page and correct it."

I originally had both the extensions directory and the URL as blank and was getting a different error. (I'll retry that and post it here.

Currently I have the extension directory set as:

/home/XXXX/public_html/media/civicrm/extensions/

and the Extension Resource URL as:
http://XXXX.org/media/civicrm/extensions/

I've tried emptying my media/civicrrm directory and nulling out a field in civicrm_domain. I've tried resetting the cache. I still keep getting this message.

Other problems that I'm having is if I try to view a contribution page (either from the front end or from the back end with "Live Preview") I get: "Sorry but we are not able to provide this at the moment. You do not have permission to access this page." I'm assuming its because of this error.

The extensions directory didn't exist. I created it and set the permissions to 755. I also was able to successfully install, disable, and uninstall the Extended Reports extension (I didn't test to see if it worked because I was still getting the above message)

I can go to the URL with a browser (i.e. I can go to http://XXXX.org/media/civicrm/extensions/) It shows me the contents of that directory.

My upgrade process involved using jupgrade. I copied the entire old database to a new database, emptied the media/civicrm/ directory and nulled out that field in the civicrm_domain table and then upgraded civicrm. I then moved the build to the root directory (again resetting the civicrm paths as before). The upgrade process seems to have gone ok (except for this obviously)


lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Extensions directory does not have a matching Extension Resource URL
December 28, 2012, 08:51:54 am
check your file system permissions for that directory. it's possible that is what is throwing it off.

re: the permissions issue - that sounds unrelated. did you review your Joomla permissions?
go to administer > users and permissions > permissions -- and click the link to open the joomla ACL options. make sure that the permission for making contributions is adequately set.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

redgar

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • NJ Libertarian Party
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 2.5.27
Re: Extensions directory does not have a matching Extension Resource URL
December 28, 2012, 10:03:50 am
Yes, I just found the civicrm acl settings. My donation pages are now viewable.

I'm now trying to find good documentation on what to allow the public to do, and which I should disallow on this page. I fear enabling too much! I would have thought that this page would be set so that the typical stuff that you use civicrm for would be enabled (like public use of civicrm, public use of donation page, etc).

I still have the message concerning the extensions url. The directory is set to 755. I don't think its a permission problem.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Extensions directory does not have a matching Extension Resource URL
December 28, 2012, 10:24:22 am

99% sure we do the right thing for new installs and see decent permissions for auth / anon users (i.e, access to event reg, donation pages etc)

i dont know / forgot what we did in the case of an upgrade

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

redgar

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • NJ Libertarian Party
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 2.5.27
Re: Extensions directory does not have a matching Extension Resource URL
December 28, 2012, 10:40:26 am
I fixed it. Poking around in my database I found two entries in the civirm_settings table both with the name = userFrameworkResourceUrl

One had the correct "administrator/comonents/com_civicrm/civicrm"
The other had "administrator//comonents/com_civicrm/civicrm"

So using mysqlphp I changed the name of the second to be olduserFrameworkResourceUrl and everything seems good now. I'm not really sure what happened to make things like this.

Thanks for your help.

redgar

  • I’m new here
  • *
  • Posts: 26
  • Karma: 2
    • NJ Libertarian Party
  • CiviCRM version: 4.5.0
  • CMS version: Joomla 2.5.27
Re: Extensions directory does not have a matching Extension Resource URL
December 30, 2012, 08:59:19 am
I did a fresh install on a different site. The Joomla Access Control was indeed set up to a default set of permissions on a fresh install, but was not set at all for an upgrade.

Sorry - I should have started this thread under upgrades, not installations. If not already in upgrades I'm going to post what the default set of permisssions are in case this will help anyone.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Extensions directory does not have a matching Extension Resource URL

This forum was archived on 2017-11-26.