CMS MADE SIMPLE FORGE

CGUserDirectory

 

[#5684] When using uselike="1" link to user details gives Error 406 and Error 404

avatar
Created By: Geoff Hill (heffegg)
Date Submitted: Mon Nov 15 19:39:02 -0500 2010

Assigned To:
Version: 1.2.4
CMSMS Version: None
Severity: Major
Resolution: None
State: Open
Summary:
When using uselike="1" link to user details gives Error 406 and Error 404
Detailed Description:
If I put the following command in a page it works fine:
[code]{CGUserDirectory group="Producers" summarytemplate="Summary_Farm_Gate"
prop="availability" propval="Farm Gate"}[/code]

BUT... Farm Gate is in a multiple select list so only Producers with a single
selection "Farm Gate" are returned (approx 8 from 21 known entries)

When I change the code to:
[code]{CGUserDirectory group="Producers" summarytemplate="Summary_Farm_Gate"
prop="availability" uselike="1" propval="Farm Gate%"}[/code]

A summary of all 21 users are found but the link to an individual producer's
details no longer works.
I receive the following error:
[quote]Error 406 Not Acceptable
An appropriate representation of the requested resource /index.php could not be
found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.[/quote]

An example of the URL created for the "detail" link is:

index.php?mact=CGUserDirectory,cntnt01,detail,0&cntnt01group=Producers&cntnt01summarytemplate=Summary_Farm_Gate&cntnt01prop=availability&cntnt01uselike=1&cntnt01propval=Farm
Gate%25&cntnt01uid=58&cntnt01returnid=109

The URL is created by the following code in the summary template:
[code]<a href="{$oneuser.detail_url}"
title="{$onepropvalue}">{$onepropvalue}</a>[/code]

Something is very wrong here.

CMSMS 1.8.1
FEU  1.10.1
CG UserDirectory 1.2.4


History