Highlighted

TOC Entries in Responsive HTML5 won't Expand when Viewed Live

Participant ,
May 16, 2016

Copy link to clipboard

Copied

RoboHelp 11, exporting as Responsive HTML5.

When I view the result locally (either from my PC, on via another PC on our network), 'books' in the TOC expand correctly, when clicked upon.

In the example below, I've clicked the "Snapshots" book entry in the TOC. Notice that it expands to display its sub-topics.

TOC1.gif

However, when viewed from our Corporate web site (i.e. after publishing the content 'live'), TOC no longer function correctly. Using the same example as above, when clicking/pressing upon the Snapshots TOC entry, the screen flickers slightly, but nothing else happens - the menu does not expand.

TOC2.gif

There's a few of us here at work (including myself) that this was working properly last week. We're now wondering if our Systems Admin have disable a script or something. Any ideas?

Note that I've also tried deleting the contents of the live directory, and doing a fresh export from Robohelp, but we get the same result.

TOPICS
HTML5 layout

Views

300

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

TOC Entries in Responsive HTML5 won't Expand when Viewed Live

Participant ,
May 16, 2016

Copy link to clipboard

Copied

RoboHelp 11, exporting as Responsive HTML5.

When I view the result locally (either from my PC, on via another PC on our network), 'books' in the TOC expand correctly, when clicked upon.

In the example below, I've clicked the "Snapshots" book entry in the TOC. Notice that it expands to display its sub-topics.

TOC1.gif

However, when viewed from our Corporate web site (i.e. after publishing the content 'live'), TOC no longer function correctly. Using the same example as above, when clicking/pressing upon the Snapshots TOC entry, the screen flickers slightly, but nothing else happens - the menu does not expand.

TOC2.gif

There's a few of us here at work (including myself) that this was working properly last week. We're now wondering if our Systems Admin have disable a script or something. Any ideas?

Note that I've also tried deleting the contents of the live directory, and doing a fresh export from Robohelp, but we get the same result.

TOPICS
HTML5 layout

Views

301

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 16, 2016 0
Adobe Community Professional ,
May 17, 2016

Copy link to clipboard

Copied

You'd think that if it was some corporate policy thing interfering, it would have manifested itself at the browser level for both the local build and the live location (you are using the same browser for both instances, right?) What happens if you access the live site from home or some other location that isn't within the corporate area? Does that have any impact? If not, then I think you're probably correct in thinking that they've disabled something on the web server that the HTML5 was counting on.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 17, 2016 0
Participant ,
May 17, 2016

Copy link to clipboard

Copied

Thanks, Jeff.

I'm testing the site in Chrome and IE, both from my local PC, and via the remote location.

I have to make a correction; it's not so much a 'live' site, as a 'test' site, which can't be accessed from outside of the Corporate network. We upload to the test site first, before pushing it live. Either way, you may be right about any policy being the same for both instances, test and local.

After I posted this yesterday, I figured I'd create a brand new help in Robohelp, and upload it, just to test whether perhaps I'd done something wrong myself - I'd been tinkering with the HTML - I wanted to test a clean build. So, I used the default content supplied with RH, when you go to create a new online help, and it too has this issue with the TOC entries not expanding when I upload it to the test site - works fine when viewed from my PC (or even a shared network drive), but not via the Corporate test site.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 17, 2016 0
Adobe Community Professional ,
May 18, 2016

Copy link to clipboard

Copied

Do you have any project that works OK on the Test site? My suspicion is that the Test site is not properly configured as a web server.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 18, 2016 0
Participant ,
May 29, 2016

Copy link to clipboard

Copied

Thanks, Peter.

I suspect so too.

No project I export from RH (with the TOC design I'm using) works properly on our test server or live server.

IT Support (here, at my office) has responded to my inquiry with the following, below.

Notes:

  • I've removed references to our actual test/live sites.
  • The paths to my help content begin with ".../support/insights/table_of_contents.htm"

  • The paths ".../our.demo.site.com/common/" referred to here are hidden from me - no idea why they're coming up in the error text - must be something to do with our web server.
  • Excuse my ignorance here - I'm not a programmer / web-guru.

I think it is a problem with the code . Please see the below errors in the log file.

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/www/our.demo.site.com/common/Authentication.php on line 181, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Notice:  Undefined index: sso_groups in /var/www/our.demo.site.com/common/Authentication.php on line 181, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/www/our.demo.site.com/common/Authentication.php on line 181, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Notice:  Undefined offset: 2 in /var/www/our.demo.site.com/common/Router.php on line 265, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Notice:  Undefined offset: 2 in /var/www/our.demo.site.com/common/Router.php on line 265, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Notice:  Undefined offset: 2 in /var/www/our.demo.site.com/common/Router.php on line 265, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Warning:  Cannot modify header information - headers already sent by (output started at /var/www/our.demo.site.com/layouts/header.php:17) in /var/www/our.demo.site.com/common/Authentication.php on line 206, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Warning:  session_destroy(): Trying to destroy uninitialized session in /var/www/our.demo.site.com/common/Authentication.php on line 210, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Notice:  Undefined index: iPlanetDirectoryPro in /var/www/our.demo.site.com/common/OpenSSO.php on line 147, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Notice:  Undefined index: sso_groups in /var/www/our.demo.site.com/common/Authentication.php on line 181, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Warning:  in_array() expects parameter 2 to be array, null given in /var/www/our.demo.site.com/common/Authentication.php on line 181, referer: http://our.demo.site.com/support/insights/table_of_contents.htm

[Mon May 30 10:13:19 2016] [error] [client 10.130.6.106] PHP Notice:  Undefined offset: 2 in /var/www/our.demo.site.com/common/Router.php on line 265, referer: http://our.demo.site.com/support/insights/table_of_content

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 29, 2016 0
Adobe Community Professional ,
May 30, 2016

Copy link to clipboard

Copied

Sorry but I cannot help you with the log file. That is stuff that only a web administrator or similar would understand.

I notice you say "The paths to my help content begin with ".../support/insights/table_of_contents.htm". Help is normally called via an Index.htm file. Perhaps you have an HTML page that links to all your help outputs and that is its name. Otherwise it seems unusual.


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

www.grainge.org for free RoboHelp & Authoring info. Use the blue Reply button at the top to help me help you.
The black Reply link nests replies and they sort out of order.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 30, 2016 0
Participant ,
May 30, 2016

Copy link to clipboard

Copied

Well, they've resolved it. I'm told that they had an old redirect in place for the 'help' directory I'd used.

...which doesn't explain why the other 'demo' directories I'd tried gave the same result.

And despite asking them twice for more info (with the idea that I'd log it here for record), I've not had a response.

If they ever care to share how they actually fixed it, I'll post a follow-up.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 30, 2016 0