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 »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Subscription error
Pages: [1]

Author Topic: Subscription error  (Read 804 times)

onyxnz

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5
  • PHP version: 5.3
Subscription error
June 01, 2013, 08:52:23 pm
I have inherited a site to fix, that ran CiviCRM 4.2 on Drupal 7.19. It has an email subscription form built to talk to CiviCRM, but never actually worked...I think.

the error upon submission:
Quote
The requested Profile (gid=3) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance.

The code that submits to it:
domain name... &
civicrm/profile/create?gid=13&reset=1
...& rest of the tag

Note the two different GIDs mentioned.

I am a competent hacker with PHP, MySQL, Drupal...but not yet CiviCRM. So after googling the issue, I tried to update Civi, and followed all necessary steps to get it to version 4.3.3, on Drupal 7.22. The same issue exists.

Any ideas where to look?

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Subscription error
June 01, 2013, 09:13:00 pm
When you say "the code that submits to it" are you talking about an html snippet or a php script or... ?
Since you are already familiar with Drupal I think you'll find the easiest way to create a subscription sign-up form is to use Civi Webform Integration. it lets you quickly and painlessly create a form in Drupal that talks to Civi.
Try asking your question on the new CiviCRM help site.

onyxnz

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Subscription error
June 01, 2013, 09:20:58 pm
It's an HTML snippet. If I could post a link I would  ;D

go to lifestream.org , click Sign Up Now in Email updates.

I'll have a look at the webform integration, thanks.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Subscription error
June 01, 2013, 09:25:35 pm
Yea those html snippets are SPAM magnets. Probably the fact that it's broken is for the best.
Use a webform and turn on your favorite drupal anti-spam module, good to go :)
Try asking your question on the new CiviCRM help site.

onyxnz

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Subscription error
June 01, 2013, 09:28:10 pm
 :D LOL

thanks for the help!

onyxnz

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Subscription error
June 06, 2013, 03:05:48 pm
In the end this was quite simple, but hard to find unless you knew what to look for.

This cryptic error message:

Quote
Sorry but we are not able to provide this at the moment.
The requested Profile (gid=3) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance.
Return to home page.

appears when the Redirect URL (in Advanced settings of the Profile ) doesn't exist.

In my case, I guess the landing page may once have existed, created by the previous developer, then deleted somewhere along the way.
Needless to say, this error message is not helpful for the error at hand, I will file a bug report.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM (Moderator: Dave Greenberg) »
  • Subscription error

This forum was archived on 2017-11-26.