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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • The requested Profile (gid=) is disabled - only in IE
Pages: [1]

Author Topic: The requested Profile (gid=) is disabled - only in IE  (Read 1586 times)

andersiversen

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
The requested Profile (gid=) is disabled - only in IE
September 12, 2011, 02:09:14 am
Hi

I have a profile submition form (also creates a Drupal user) that works in all browsers but Internet Explorer.
In IE it gives me this nonrecoverable error: "The requested Profile (gid=) is disabled, OR there is no Profile with that ID, OR a valid 'gid=' integer value is missing from the URL. Contact the site administrator if you need assistance."
So somehow it loses/miss the gid. [edit 091211] The url IE lands on with the error is http://mydomainname.com/civicrm/profile/create - which clearly misses all the arguments. In the other browsers it correctly sends you to the redirect url set in the profile's advanced settings. [/edit]
I'm using drupal 7.8 and civicrm 4.0.5. I do have a user 0 in my tables, and anonymous users have the permission for profile listings and forms (I've seen elsewhere that people had troubles with that).

It works fine in the latest versions for FF, Chrome and Safari (I haven't testet older or other browsers).


Thanks in advance for any help :)
« Last Edit: September 12, 2011, 02:18:30 am by andersiversen »

andersiversen

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: The requested Profile (gid=) is disabled - only in IE
September 12, 2011, 03:42:56 am
I changed settings in IE so that it would show me all script errors, and discovered there's a jQuery error. It says that jQuery is not defined in sites/all/modules/civicrm/js/jquery/jquery.crmaccordions.js and then 'cj' is not defined at civicrm/profile/create

So i guess it's a jQuery problem (but in IE only)







Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: The requested Profile (gid=) is disabled - only in IE
September 12, 2011, 07:26:51 am
What version of IE?
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.

andersiversen

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: The requested Profile (gid=) is disabled - only in IE
September 12, 2011, 08:25:35 am
IE version 9

I've noticed that Firebug in Firefox also shows jQuery errors, but it doesn't stop the profile submition from working:

$.datepicker is undefined
  (?)($=function())jquery...?lreyfr (linje 4)

$ = function()
  noConflict(j=function())jquery.js?v=1.4.4 (linje 30)

j = function()
  inArray()jquery.js?v=1.4.4 (linje 38)

[Break...]$.datepicker.regional['da'] = {


On a side note: when you google "The requested Profile (gid=) is disabled" you'll see lot's of civicrm implementations have this error...

andersiversen

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal 7.26
  • MySQL version: 5.5.32
  • PHP version: 5.3.10
Re: The requested Profile (gid=) is disabled - only in IE
October 07, 2011, 04:39:31 am
Problem solved !

I needed to set the cookie domain in Drupals settings.php (it is commented out by default) - look for:

Code: [Select]
$cookie_domain = 'example.com';
and edit it to your own domain-name and remove the comment #

:)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • The requested Profile (gid=) is disabled - only in IE

This forum was archived on 2017-11-26.