Good luck!
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.
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 :smile;
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.
Here's another thread that discusses the same issue:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=65&catid=45
0&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
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.
Question: The first time you tried the rename, we know now that you left the
cpd extension. So, on the second attempt, did you work with the same group of
project files, or revert back to your original project as saved in your backup?
If you worked with the same fileset, I would restore my backup, to be back at
the very beginning, and rename the cpd file extension (or really, you can just
delete it...) and try opening the project again, while waiting for some more
guidance.
This could prove to be a bit on the tricksy side. Here's why. RoboHelp HTML
has traditionally presented dialogs we may see from time to time that advise us
when things like this are outside the project. The problem with this is that
the dialogs also offer a nifty little check box that says "Don't show this
again". And if you were to click and place a check mark inside the check box,
you quite literally will never see the dialog again. And there is no simple way
to get it back. You have to edit your Windows Registry.
The bottom line here is that you have some investigative work to do to
determine where these references are coming from. Perhaps try clicking Tools >
Reports > Missing Topic References as a start.
Cheers... Rick :smile;
Cuz if you are publishing to the web, I wonder if you could go into Windows
Explorer, BACKUP the current folder set for the published Help, then delete it
entirely from its standard location - and publish again to put a fresh project
out there. Maybe there is some junk left over from older iterations?
Anyone see any problems with that?
Do you have another author there? Any way to open this project on a different
PC? My thinking here is as follows.
If you are hesitant to edit the registry, this might show up on a different
PC.
If you want to try and edit the registry (it's not really that bad) take a
look at fellow Adobe Community Expert Peter Grainge's site at the link below
and explore Snippet 13.
http://www.grainge.org/pages/snippets/snippets.htm
What is this output type?
Cheers... Rick :smile;
FYI- when you use terms like "backup the current folder"... I'm not sure many
people really get that. To me, it means "make a copy of it" and that's what I
do. So right now in my documents tree, I've got the regular folder and then the
"Copy of regular folder" etc. If you mean something different, please elaborate.
Thanks for continuing on the case.
Output type is CHM and WebHelp. The multiple search results occur in both
formats.
In Project Manager, right click [b]Single Source Layouts[/b] and select [b]New
Layout[/b]. In the New Layout dialog, type [i]Test CHM[/i] (or whatever) in the
[b]Layout Name[/b] box and select [i]Microsoft HTML Help[/i] in the [b]Output
Type[/b] pull-down. Then step through the HTML Help Options wizard (change the
path in the very first box on the first page). See what happens in that CHM
file.
Good luck,
Leon
Wow. It's always something. Now my last (??) question is, do I go in and
delete the RH-supplied Single Source Layouts (the ones that were problematic)
and leave mine? Can I then change their names back to what the RH ones were? (I
don't like seeing "TestWebHelp" and "TestCHM" in my list. I know, it's nutty,
but that's me. I want the regular names. Do I just delete the old/erroring ones
and replace them with my new ones?
THANKS!
Yes, delete away.
Good luck,
Leon