Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After moving to new server CSS and D3 svg charts not working #246

Open
numeroteca opened this issue May 12, 2023 · 2 comments
Open

After moving to new server CSS and D3 svg charts not working #246

numeroteca opened this issue May 12, 2023 · 2 comments
Assignees
Labels

Comments

@numeroteca
Copy link
Member

numeroteca commented May 12, 2023

We moved Pageonex.com to a new server following this method (using Docker and an external database), it experiences the same problems as in the previous server (#232), that is, it crashes (4GB RAM, 3 VCPU).

There are also new problems:

  • The D3 charts above each small multiple is not loading (opened in D3 column chart is not working #247).
  • Loading not secure parts
  • The CSS is not properly loading: I think it is just the font Signika at google fonts, that is not loading (but it is displayed in the header)

The problems can be seen in the console log in the browser:
image

Firefox detects problems with some files:
Screenshot from 2023-05-12 15-47-11

The column chart above the front pages is not loading:
image

See this thread as an example: https://pageonex.com/numeroteca/available-space-3/

Now we are able to enter and see the logs and CPU performance more easily.

@numeroteca
Copy link
Member Author

In the embed view the script is loaded with http: <%= javascript_include_tag "http://d3js.org/d3.v3.min.js" %> (source:

<%= javascript_include_tag "http://d3js.org/d3.v3.min.js" %>
)

However, in the normal display is loaded with this. <%= javascript_include_tag "d3.v3.min.js" %> (source:

<%= javascript_include_tag "d3.v3.min.js" %>
)

@rporres
Copy link
Collaborator

rporres commented Nov 5, 2024

remove the http in the one that has it 😄

numeroteca added a commit that referenced this issue Nov 6, 2024
numeroteca added a commit that referenced this issue Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants