WebHelp Search not working
Post here questions and problems related to oXygen frameworks/document types.
WebHelp Search not working
I have created a webhelp transformation and placed it on our corporate server. For now, everything seems as expected except the Search functionality does not work.
It appears certain js files are not being included in the transformation.
Here is the error log from the server:
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/index-1.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/index-2.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/htmlFileList.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/htmlFileInfoList.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/index-3.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
I'm not sure where to turn next. Any help is greatly appreciated!
It appears certain js files are not being included in the transformation.
Here is the error log from the server:
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/index-1.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/index-2.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/htmlFileList.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/htmlFileInfoList.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
[Wed May 15 12:29:59 2013] [error] [client 192.168.119.129] File does not exist: //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide/oxygen-webhelp/search/index-3.js, referer: http://win-77k0a406p89/Help/Iramc/userguide/
I'm not sure where to turn next. Any help is greatly appreciated!
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: WebHelp Search not working
Post by sorin_ristache »
Hello,
All these specific JavaScript files are needed for search. From the log messages I understand that they do not exist on disk. Is the base directory of the Webhelp deployment //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide? If yes please look for these JavaScript files in the directory where the Webhelp files were generated by the Oxygen Webhelp transformation. Were they created on disk by the Oxygen Webhelp transformation?
Regards,
Sorin
All these specific JavaScript files are needed for search. From the log messages I understand that they do not exist on disk. Is the base directory of the Webhelp deployment //WIN-77K0A406P89/NASTest/Help/IRAMC/userguide? If yes please look for these JavaScript files in the directory where the Webhelp files were generated by the Oxygen Webhelp transformation. Were they created on disk by the Oxygen Webhelp transformation?
Regards,
Sorin
Re: WebHelp Search not working
You are correct about the base directory.
I ran a new transformation and searched for the files. The local transformation location is: C:\Dev\out\webhelp
After running a recursive search for *.js from that folder, I received a return of 25 various .js files (most in the location of C:\Dev\out\webhelp\oxygen-webhelp\resources), none of which were the missing files.
Thanks, Sorin, for the help!
I ran a new transformation and searched for the files. The local transformation location is: C:\Dev\out\webhelp
After running a recursive search for *.js from that folder, I received a return of 25 various .js files (most in the location of C:\Dev\out\webhelp\oxygen-webhelp\resources), none of which were the missing files.
Thanks, Sorin, for the help!
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: WebHelp Search not working
Post by sorin_ristache »
Hello,
It seems the Webhelp pages were not indexed due to an error in the DITA Webgelp transformation. Please post here or send us using the online form the entire content of the Oxygen view called DITA OT which displays the logging messages of the Webhelp transformation. We have to check if there was an error when indexing the output pages. You can copy the content of the view DITA OT by right clicking in the view and selecting the Select All action from the popup menu, then right click again and select the Copy action.
Regards,
Sorin
It seems the Webhelp pages were not indexed due to an error in the DITA Webgelp transformation. Please post here or send us using the online form the entire content of the Oxygen view called DITA OT which displays the logging messages of the Webhelp transformation. We have to check if there was an error when indexing the output pages. You can copy the content of the view DITA OT by right clicking in the view and selecting the Select All action from the popup menu, then right click again and select the Copy action.
Regards,
Sorin
Re: WebHelp Search not working
Hello,
I ran into the same problem using the DITA OT in Oxygen 16.1
The DITA OT view does not display any error from what I can see, but you can check it for yourself: https://drive.google.com/file/d/0B6QNAc ... sp=sharing (couldn't include it in this message because it was too long).
Also, when I try to click on the search button in the browser, I get this message in the developer console:
I would appreciate any help you can give me.
I ran into the same problem using the DITA OT in Oxygen 16.1
The DITA OT view does not display any error from what I can see, but you can check it for yourself: https://drive.google.com/file/d/0B6QNAc ... sp=sharing (couldn't include it in this message because it was too long).
Also, when I try to click on the search button in the browser, I get this message in the developer console:
I would appreciate any help you can give me.
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: WebHelp Search not working
Post by bogdan_cercelaru »
Hello,
I cannot see the message that you get when the "Search" button is pressed.
How are you accessing the generated WebHelp output? Is it loaded from the local file system or from a web server?
If the WebHelp is accessed from the local file system, browser security restrictions could block the search feature.
Also, please make sure that the indexer correctly generated the necessary JS files in the "${OUTPUT_DIR}/oxygen-webhelp/search" ("index-1.js", "index-2.js", "index-3.js").
Regards,
Bogdan
I cannot see the message that you get when the "Search" button is pressed.
How are you accessing the generated WebHelp output? Is it loaded from the local file system or from a web server?
If the WebHelp is accessed from the local file system, browser security restrictions could block the search feature.
Also, please make sure that the indexer correctly generated the necessary JS files in the "${OUTPUT_DIR}/oxygen-webhelp/search" ("index-1.js", "index-2.js", "index-3.js").
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: WebHelp Search not working
I get the same error whether I try to search the local or the web hosted version of the documentation in both Chrome and Firefox.
The index.js files you mentioned are where they are supposed to be.
Let's try again with the image:
Also, our documentation is publicly available here: http://cwrc.ca/Documentation/public/
Thanks,
Mihaela
The index.js files you mentioned are where they are supposed to be.
Let's try again with the image:
Also, our documentation is publicly available here: http://cwrc.ca/Documentation/public/
Thanks,
Mihaela
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: WebHelp Search not working
Post by bogdan_cercelaru »
Hello,
Please check the file names of the topics linked in the DITA Map. It seems that you have some files that contains quotes (") in their names and it is recommended to avoid this character in a file name.
I've found the following topics that contains quotes in file name:
- Plot-It/Filter by "Event type".html
- DITA_Files-Various_Applications/Plot-It/Filter by "Event type".html
Regards,
Bogdan
Please check the file names of the topics linked in the DITA Map. It seems that you have some files that contains quotes (") in their names and it is recommended to avoid this character in a file name.
I've found the following topics that contains quotes in file name:
- Plot-It/Filter by "Event type".html
- DITA_Files-Various_Applications/Plot-It/Filter by "Event type".html
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Re: WebHelp Search not working
It worked! I had to manually clear the destination folders and run the transformation again, since the .js files that contained the error didn't update when I run the transformation and let the XSLT in the DITA OT to replace the output for the changed files.
Thanks for all your help.
Thanks for all your help.
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service