Page 1 of 1

Company Directory Search Result Entry Not Found

Posted: Sun Jul 11, 2010 3:13 am
by wazman21
Hi guys,

After a few searches I've seen some similar issues, but nothing that has helped me completely solve my dilemma...

I have tried reinstalling the company directory module a few times, etc but to no avail.

If I use a default summary template, everything works hunky-dory, and clicking company names brings up the detail page no problem.

As soon as I use the action="search" tag and enter a search, the search results appear to display fine.  If I click the company name to get to the company detail page however, I receive an error message saying 'entry not found'.

URL containing entry not found error:

http://www.frizzendz.com.au/index.php?m ... eturnid=70

URL When it works:

http://www.frizzendz.com.au/index.php?m ... eturnid=70

In the url string, I can see that the link to the detail page does NOT include a companyid= string, so I figure that is why it is giving the entry not found error.  I, unfortunately, don't know how to fix that issue, so if anyone can help me out with a source code edit or similar, it would be GREATLY appreciated, as I'm starting to pull my hair out!!

EDIT: if I add $companyid=1 to the URL, I get to the correct company detail page, so this is definitely the issue, I just don't know how to solve.

CMS version 1.7.1
Company Directory 1.6.1

Also, if anyone has a brief walkthrough on getting the postcodes module to work with a search, that would be appreciated - I assume I need to add city and postcode field definitions to each entry?  I have the postcode module installed.  Any pointers here appreciated also.

Another EDIT: If I add a postcode and city field definition, then search for that postcode, I get a blank results page.

Re: Company Directory Search Result Entry Not Found

Posted: Sun Jul 11, 2010 4:11 am
by calguy1000
Fixed in SVN.  New release should be out in a few days after I do some more testing.

Re: Company Directory Search Result Entry Not Found

Posted: Sun Jul 18, 2010 2:27 am
by wazman21
Sensational, I'll keep checking the Module Manager for the new version's release!

Re: Company Directory Search Result Entry Not Found

Posted: Tue Jul 20, 2010 11:21 am
by wazman21
Hey Calguy, I've upgraded my CMS and the module, but I still experience the entry not found error.

Re: Company Directory Search Result Entry Not Found

Posted: Thu Sep 09, 2010 12:19 am
by mccord42
I am seeing this behavior with CompanyDirectory 1.6.5

The link I an getting from a {CompanyDirectory action="search"} that is generating the Entry Not Found:
index.php?mact=CompanyDirectory,cntnt01,details,0&cntnt01returnid=16

And the link I am getting from {CompanyDirectory action="categorylist"} which opens the detail page correctly:
index.php?mact=CompanyDirectory,cntnt01,details,0&cntnt01categoryid=1&cntnt01returnid=17&cntnt01cd_origpage=17&cntnt01companyid=1&cntnt01returnid=17

Re: Company Directory Search Result Entry Not Found

Posted: Fri Dec 03, 2010 9:20 pm
by amhoffmaster
I'm having this same issue with the company directory giving a listing result of:
http://www.hfmadv.org/index.php?mact=Co ... turnid=108

Then when you click on it, you get the "entry not found".
This is the tag I put in the content area for the search: {search modules='CompanyDirectory'}

I'm using CD 1.7.2. I see this reported as a bug, but I don't see a fix.