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) »
  • Linking to search profile without clean urls's: error can't find value for gid
Pages: [1]

Author Topic: Linking to search profile without clean urls's: error can't find value for gid  (Read 1906 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Linking to search profile without clean urls's: error can't find value for gid
March 24, 2009, 03:41:48 am
I have a profile set up for membership sign ups that updates the contact details and membership details. This profile is linked to a group.

I want to expose this profile as a search so that the co-ordinators can look up / print the data on the profile for this particular group of people

I am using Drupal 6.10 and CiviCRM 2.2 stable.

I don't have clean url's enabled 'cos I'm on a shared host that doesn't like them.

This is the link I am using...

http://<base_url>/?q=civicrm/profile/gid=8&reset=1&force=1

But - I get an error -

Sorry. A non-recoverable error has occurred.

Could not find valid value for gid

The profile id = 8 - It is in use to collect data and it is enabled as a search profile as well. there are fields that are enabled for search with visibility set to public user pages and listings that are also set up to appear in columns.

I have constructed the url from the 2.2 documentation [http://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles] which gives clean url's -

Is something wrong with my url?
Any ideas what else to look at to narrow things down?

Here's the back trace - I can see where things are breaking down, but I don't think this is a bug, more something this user is doing wrong!


<root>/civicrm/CRM/Core/Error.php, backtrace, 258
<root>/civicrm/CRM/Utils/Request.php, fatal, 108
<root>/civicrm/CRM/Profile/Page/Listings.php, retrieve, 111
<root>/civicrm/CRM/Profile/Page/Listings.php, preProcess, 210
<root>/civicrm/CRM/Core/Invoke.php, run, 314, profile,
<root>/civicrm/CRM/Core/Invoke.php, call_user_func, 172
<root>/civicrm/drupal/civicrm.module, invoke, 339, civicrm_invoke,
<root>/includes/menu.inc, call_user_func_array, 348
<root>index.php, menu_execute_active_handler, 18

« Last Edit: March 24, 2009, 04:09:36 am by myles »

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Linking to search profile without clean urls's: error can't find value for g
March 24, 2009, 07:28:29 am
Quote
This is the link I am using...

http://<base_url>/?q=civicrm/profile/gid=8&reset=1&force=1

Try making it - "http://<base_url>/?q=civicrm/profile&gid=8&reset=1&force=1" and check.
« Last Edit: March 24, 2009, 07:46:34 am by Deepak Srivastava »
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: Linking to search profile without clean urls's: error can't find value for gid
March 25, 2009, 02:36:19 am
Nice one, thanks!

Of course now I have to sort out the problems that has revealed with my profile!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Linking to search profile without clean urls's: error can't find value for gid

This forum was archived on 2017-11-26.