One link works, identical link doesn't

4 posts by 3 authors in: Forums > CMS Builder
Last Post: November 16, 2010   (RSS)

I have two CMSBuilder sites for the same client. We need to call pages that use one result for a field.

The link on one site works prefectly:
http://www.starhomeusa.com/listings.php?lfield3=danville

The identical link on the other site returns "no record found" even though it is using another version of he same database:
http://www.kylandsales.com/listings.php?lfield3=danville

The client has made some changes to records on the 2nd page - the one that no longer works, but I can't see where anything he did messed it up. It worked when I installed it, but it isn't working now. The settings are identical. Any idea what could have gone wrong on the 2nd page?

Thanks for any help,
Bob

Re: [Jason] One link works, identical link doesn't

Thanks, Jason, but there are records where lfield3=danville. It works for one city name but not the others. I'll fill out a Level 2 request so someone can take ma look at it.

Re: [orangecat] One link works, identical link doesn't

By Damon - November 16, 2010

Hi,

Just fixed that. The issue was the Where statement. Removed this code:
'where' => whereRecordNumberInUrl(1),
and the search works as expected.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/