Skip to main content
July 14, 2008
Question

Multiple/broken/repeated listings in Search results

  • July 14, 2008
  • 19 replies
  • 1914 views
Hi, I recently switched from RH 6 to RH 7 and when I generate a project, I'm now getting multiple repeats in my search results. For example, if I did a search on "Laboratory processes," it will appear three (or more) times in my search list (though not all bunched together). One of those links will take me to the right place. The others will have the "You've reached a broken link" page. I've already gone through and fixed *all* broken links in the document. RoboHelp even says there are no broken links. What could be causing this? I already read the "Multiple search results" topic on here, and this is *not* my issue. Any responses will be appreciated!
~ Heather in NC
This topic has been closed for replies.

19 replies

July 14, 2008
Nope, no other changes. And weirdly, out of 7 projects, this is the only one this is happening in. Albeit, it's the biggest one we have.
July 14, 2008
ok, let's back up a little. You say you came up from RH6 to RH7. Everything worked well back in 6... did you make any other changes as you migrated up to 7? I didn't get a sense of that, which is why I didn't start with investigating paths and such.
July 14, 2008
Hi, I had indeed changed the name of the file, not the extension. I tried that, changing it to "BAD" and had no change. No worries- I did not save the folders inside the folders. They are separate folders (though they're not far, far away). We're working off the C: drive here, but everything has its own folder.

I don't undestand the whole root/upstream thing, or how I know if something's out of the root. Or where I'd look to see where else it would be or how it would have gotten there. Thanks for hanging in.
Participating Frequently
July 14, 2008
Hi, Heather,

Here's another thread that discusses the same issue:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=450&threadid=1362525

In that case — and this is the usual reason why the results of a search contain duplicated and broken entries — the writer had inavertently created some hyperlinks to topics that were above the root folder of the help project.

Pete
July 14, 2008
<<I opened Exporer, right-clicked on the project folder, made a copy, pasted it into the directory. >> Does this mean that you copied the project back into itself? I hope not...

As for the rename - did you change the file name or the extension?
I should have been more clear.

First, make a complete copy of your project, and save it somewhere else. Far away.

Then, rename <<project>>.cpd to <<project>>.bad. Or old. Or yuck. Whatever. But rename the extension.

If you didn't do this, try again. I might just be misunderstanding your last reply, so feel free to clarify.
July 14, 2008
Sadly, this didn't change anything. I opened Exporer, right-clicked on the project folder, made a copy, pasted it into the directory. Then I opened the "real" project folder, changed the CPD file name to "Test" (just to change it to something), closed Explorer, and opened the project in RH. Ran the compiler and... same deal.
July 14, 2008
The CPD file is in your project directory. For example, if your project is called Accounting, the file to look is Accounting.cpd. Make a complete project backup, rename or delete the CPD file, and open the project again.

The CPD file is a database, sorta, that keeps track of where everything is in your project. It's a little cranky, and every once in a while has to be reindexed (renamed) to cure any one of a host of neuroses.
Captiv8r
Legend
July 14, 2008
Hi all

Laurin, thanks for the chuckle. You are correct in that the CPD file is a database. And that's precisely what it is! It's a Microsoft Access database. These normally have a file extension of .MDB. RoboHelp HTML used to use these with a custom extension of .MPJ. Then things changed and XML entered the picture. Hence the change to .XPJ. But the .MPJ file is still around. He just had his name changed. He is now known as the .CPD. I'm speculating a bit on this, but I believe the .CPD means "Cache Project Database.

Cheers... Rick
July 14, 2008
Um, what's a CPD file? :-)
July 14, 2008
Just for giggles, Heather (and I think it may very well solve the problem...), make a backup of your project, then rename the CPD file and reenter your project. I think the CPD data got scrambled in the upgrade, or was already scrambled and didn't complain until the upgrade. I'll bet you a cookie this fixes it.

Good luck!