# Web page reports have no content

**URL:** <https://gramps.discourse.group/t/web-page-reports-have-no-content/411>\
**Category:** Help\
**Tags:** websolutions\
**Created:** [May 6, 2020, 1:31am UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411 "2020-05-06T01:31:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Researcher](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Researcher](https://gramps.discourse.group/u/Researcher)\
**Post date:** [May 6, 2020, 1:31am UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/1 "2020-05-06T01:31:14Z")

</div>

Hi all  
I have been unable to produce reports that show any content for some web page reports. The Narrated web site is OK. But other web reports show a page with no data, for example, the Ancestral Collapsible shows the name of the centre person, the four blocks for has children/no children and male/female, but nothing else. The Ancestral Fan Chart shows the name of the centre person and just a big white circle. I am using the example database.  
I have tried a different browsers Chrome, Firefox and Opera, but the results are similar. I am using V5.1.2 on a Windows 10 PC. Is there a setting that I need to change for those reports?  
regards, John  
 ![example1](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/c92641a9c81eb51d68b5c42fee5131f1eedd55e2.png)

---

<div class="post-metadata">

**Author:** ![HKD](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/hkd/32/2784_2.png) [@HKD](https://gramps.discourse.group/u/HKD)\
**Post date:** [May 6, 2020, 12:16pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/2 "2020-05-06T12:16:36Z")

</div>

Me too! - Same configuration.  
Helmut

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [May 6, 2020, 1:45pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/3 "2020-05-06T13:45:38Z")

</div>

Are you using the New Libraries 5.1.2 Windows version? I am and have the same problem.

Looked the HTML that was generated. It has the title with the right person & the header black but no content. (Same with other persons in the Tree.)

I seem to remember it used to create a CSS file & that isn’t appearing either.

---

<div class="post-metadata">

**Author:** ![anon9092048](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@anon9092048](https://gramps.discourse.group/u/anon9092048)\
**Post date:** [May 6, 2020, 1:49pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/4 "2020-05-06T13:49:58Z")

</div>

Yes I have the same result then I when and looked for the support page and worked out that it’s part of this 3rd party addon report called [D3 Ancestral/Descendant Charts](https://gramps-project.org/wiki/index.php/D3_Ancestral/Descendant_Charts) and at the bottom of the support page it mentions in the links work arounds that point out it has nothing to do with Gramps and is a result of a behavior change in the various internet browser!

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [May 6, 2020, 3:55pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/7 "2020-05-06T15:55:47Z")

</div>

If someone who has good web content software skills would like to volunteer, we could use some help in fixing this. I’m ok with simple web stuff, but reworking these addons to avoid the local file access restrictions that web browsers now have is beyond me. As noted in the bug report, we need to make all the content for the browser in a single file, or something…

---

<div class="post-metadata">

**Author:** ![SNoiraud](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/snoiraud/32/72_2.png) [@SNoiraud](https://gramps.discourse.group/u/SNoiraud)\
**Post date:** [May 6, 2020, 6:58pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/8 "2020-05-06T18:58:32Z")

</div>

The problem is the following and is a security issue:

> **[Reason: CORS request not HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSRequestNotHttp)**
>
> CORS requests may only use the HTTPS URL scheme, but the URL specified by the request is of a different type. This often occurs if the URL specifies a local file, using a file:/// URL.

If you really want to use it, in firefox, you can set privacy.file\_unique\_origin to false

You can’t run ajax from a `file://` protocol, you’ll always end up with CORS errors.  
You must use a web server.

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [May 6, 2020, 9:46pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/9 "2020-05-06T21:46:32Z")

</div>

I just have to wonder what the d3 charts are doing that DynamicWeb is not… Both appear at first glance to be loading .js files (and other data) from local filesystem. As I said, I don’t begin to understand this stuff.

---

<div class="post-metadata">

**Author:** ![Researcher](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Researcher](https://gramps.discourse.group/u/Researcher)\
**Post date:** [May 6, 2020, 10:59pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/10 "2020-05-06T22:59:53Z")

</div>

Thanks for the answers. Following SNoiraud’s suggestion, I toggled the privacy.file\_unique\_origin setting to false in Firefox, and was able to see the content for Ancestral Collapsible, Ancestral Fanchart and Descendant Indented Tree. I have not tried any others.

To emyoulation: from the Gramps:about popup, the version I am running is GrampsAIO64-5.1.2-1

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [May 7, 2020, 3:04pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/11 "2020-05-07T15:04:46Z")

</div>

There is a [possibly applicable discussion](https://github.com/berinhard/pyp5js/issues/72) for another project on GitHub. The actual solution they applied is in the [Merged discussion](https://github.com/berinhard/pyp5js/pull/75) continued from the bottom. But the 1st link has more background info.

It might eliminate the need for a workaround?

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [May 7, 2020, 4:18pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/12 "2020-05-07T16:18:34Z")

</div>

I’m not sure how adding a web server helps. If it is part of Gramps, the report/site is only available if Gramps is running. If not, how do we make it cross-platform? Either way, not pretty…

The bug report mentioned above had a user comment that embedding the required .js file in a larger overall file might work. Unfortunately he never suggested exactly how to do this.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [May 7, 2020, 4:49pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/13 "2020-05-07T16:49:29Z")

</div>

When I looked at the HTML file (using Notepad++) that had been output, it lacked any reference to other files. Other than the name of the start person in a header chunk, all other genealogical info was missing & only some basic HTML was generated.

So I was working on the assumption that the failure occurred during the generation rather that viewing. Which would imply that some subroutine in the report was doing a newly-prohibited Server-Side-Include style operation to build the HTML file.

If that was the case, a local server emulation (enabled during the report writing) might allow the report to generate the rest of the dumbed-down HTML file. Thus eliminating the Browser dependent preference pain.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [June 6, 2020, 4:49pm UTC](https://gramps.discourse.group/t/web-page-reports-have-no-content/411/14 "2020-06-06T16:49:31Z")

</div>

Closed on June 6, 2020, 4:49pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
