Copy link to clipboard
Copied
This is usually caused by the whver.js not being copied over on the server during the publishing process. A fix is to manually copy it to the correct directory. Once this file is copied to the correct directory all is well. Does anyone know why this is occuring. It is not an every day thing but does occur occassionally. Can anything be done to prevent this from happening?
Copy link to clipboard
Copied
Actually, I found from speaking with the users it seems that it is not only that file that sometimes goes missing during a publish. It seems there are various .js files that go missing. Not sure why just .js files. Any ideas? And why it is sporadic? The users were publishing with the option of "Republish all" which may cause some of the problem. From what I gather this option deletes the files on the server. Perhaps something goes wrong and some files don't get copied. I've asked the users to publish without this option so that the files are not deleted.
I'm wondering whether there is any contention happening on the file during the time the project is being published to the server and someone opening the website...or having it already open. I'm wondering whether the recommendation is to publish outside of business hours.
Copy link to clipboard
Copied
Republish All does not delete anything from the server, it just publishes all the files in the layout rather than only the changed ones.
Deleting from the server is a manual process.
The only time I have seen reports of not all files being on the server is when developers have undertaken the task and considered the WH folders and files unnecessary. From the sound of it, you are talking about you publishing via RH so that should not be an issue.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Thank you, Peter for your reply.
I thought I read somewhere that 'Republish All' deletes files. Oh, well, that's not it then.
As far as I know the RH server is dedicated just to RH so nobody is removing any files manually.
The problem manifests itself by some functionality being missing or the page not displaying at all or partially.
This is reported to our Help Desk and our production control team looks at the project files on the server and finds one of the .js files is not there.
They manually copy over the missing one and all is well again. It seems to happen only to one project and not all the time.
Our authors publish during the day and it is possible that someone has the project open at the same time that the authors publish.
Could this cause the issue?
Copy link to clipboard
Copied
Hi all
An observation if I may. Sometimes folks severely confuse the act of Generating with Publishing. Generating should occur on the local PC and is similar to baking up a batch of cookies. You pop the doughballs in the oven and out come baked cookies. Publishing copies that content from the local PC (typically from the ProjectFolder\!SSL!\WebHelp folder) to the Web Server.
I've seen it occur where folks simply try to save a step by specifying the Web Server location as the output folder when you generate. And if you have done this, files WILL be deleted as the process begins. RoboHelp normally clears the folder in preparation for placing the new build. It's like clearing the cookie sheet in preparation for the new batch.
Food for thought when investigating what is happening.
Cheers... Rick
Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7 or 8 within the day - $24.95! |
Copy link to clipboard
Copied
Thanks Rick for your input. However, these are seasoned users and have their projects
set up correctly. These projects are quite mature and their options have not changed in recent years.
But I had them check just in case and they were all Generating to their C drives and Publishing to the Server.
So that's not a possibility.
Any other ideas?