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) »
  • Civivolunteer not responding
Pages: [1]

Author Topic: Civivolunteer not responding  (Read 1303 times)

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
Civivolunteer not responding
November 03, 2013, 12:51:08 pm
I am trying out Civivolunteer on a test site running WP 3.7.1.  It installs ok, but on the Volunteers tab of an event, the "Define volunteer needs" and "Assign volunteers" buttons don't do anything.  Backtracing is on, but there are no errors or warnings, nothing in the logs.  The "Log volunteer hours" button works and I can record hours against volunteer names as expected.  Any ideas on how to debug this?
Thanks.

Flaf

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.6.4
  • CMS version: WordPress 4.2.2
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Civivolunteer not responding
November 03, 2013, 02:04:55 pm
I faced the same problem yesterday.
The problem was the ressource URL for extension.
In my case it was a typo.

To confirm you can look at the java console in you browser, after trying to run the "define" or "assing" fonction.
Or you can look at the apache error log; you will see a "file not found" error.

Ether way the solution is to fill out the ressource URL.
And remember that it should be a URL not a file path (http://yoursite.com/wp-content/plugins/files/your_custom_dir/  NOT http://yoursite.com//var/www/html/wp-content/plugins/files/your_custom_dir/ . That was the cause of my problem.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Civivolunteer not responding
November 03, 2013, 02:33:02 pm
FYI: Placing extensions in wordpress/vendor/civicrm is the foolproof way to do it - doesn't require you to set the extension directory or resource urls.
« Last Edit: November 22, 2013, 02:08:47 pm by Coleman Watts »
Try asking your question on the new CiviCRM help site.

robinhood

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 6
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.56
  • PHP version: 5.3.5
Re: Civivolunteer not responding
November 03, 2013, 05:29:01 pm
That was it.  Thanks!

edewsberry

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.2.11
  • CMS version: WordPress 3.6.1
  • MySQL version: 5.5.34
  • PHP version: 5.4
Re: Civivolunteer not responding
December 24, 2013, 09:53:13 am
I'm having the exact same problem.

I have set my resource and directory url for extensions to:
wp-content/plugins/files/civicrm/custom_ext

I didn't understand the answer about NOT setting the resource and directory URL but putting extensions in wordpress/vendor instead ... can you explain that fix a little further to me?

Thanks.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Civivolunteer not responding
December 24, 2013, 02:45:31 pm
The vendor trick doesn't work in WP, scratch that.  :-\

I think your directory is right but remember that the url needs to be a real url (starting with http://) that will lead to that directory.
Try asking your question on the new CiviCRM help site.

Flaf

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
  • CiviCRM version: 4.6.4
  • CMS version: WordPress 4.2.2
  • MySQL version: 5.1.69
  • PHP version: 5.3.3
Re: Civivolunteer not responding
December 26, 2013, 07:27:23 am
Quote from: edewsberry on December 24, 2013, 09:53:13 am

I have set my resource and directory url for extensions to:
wp-content/plugins/files/civicrm/custom_ext


Sorry but you got that wrong on 2 count:

1 - The ressource directory should be an absolute path and it must end with a "/"
/var/www/html/wp-content/plugins/files/custom_ex/

note: the "/var/www/html/" part may be different on your server but it is very unlikely to be "/wp-content" as the root.
 
2 - The url must start with "http://...." or https://..." and it must end with a "/"
http://YOURDOMAIN.ORG/wp-content/plugins/files/custom_ex/


« Last Edit: December 26, 2013, 07:35:34 am by Flaf »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions »
  • CiviVolunteer (Moderators: GinkgoFJG, Michael Z Daryabeygi) »
  • Civivolunteer not responding

This forum was archived on 2017-11-26.