Git Product home page Git Product logo

Comments (8)

arbor95 avatar arbor95 commented on June 25, 2024

The module_v4/webtrees-descendants-chart/resources/views/modules/charts/chart.phtml has only 25 lines, what is less than 46.
You use the wrong chart.phtml there. That one is from the ....../descendants-chart/chart.phtml!

from webtrees-pedigree-chart.

magicsunday avatar magicsunday commented on June 25, 2024

As @arbor95 said, something went wrong copying to the new instance. Please try to install the modules again.

from webtrees-pedigree-chart.

psyco42 avatar psyco42 commented on June 25, 2024

Thanks for your help.

I did a few things to understand my issue better.

First of all, I re-install a fresh setup of webtrees in my same server with a problematic instance. I add the pedigree module, and it works perfectly.

The module directory is clean and working properly in the fresh instance (same server setup, MySQL, webtrees version).

So, I have definitively something corrupted in my instance, but I couldn't figure out what (and why it affects only those two modules).

from webtrees-pedigree-chart.

arbor95 avatar arbor95 commented on June 25, 2024

"So, I have definitively something corrupted in my instance, but I couldn't figure out what (and why it affects only those two modules)."

So simply delete the two dirs in the module dir and make them fresh!

from webtrees-pedigree-chart.

psyco42 avatar psyco42 commented on June 25, 2024

Sorry to insist but I did that first, and it didn't help.

A fresh module directory in my fresh webtrees setup works.
A fresh module directory into my existing webtrees instance doesn't.

But I found something very interesting in my initial steps of debugging.

If I open a new page with the generated URL, the chart is displayed normally.
https://github.com/magicsunday/webtrees-pedigree-chart/blob/master/resources/views/modules/pedigree-chart/chart.phtml#L28

So, I would say something is declared on top of it for the script not to work

from webtrees-pedigree-chart.

psyco42 avatar psyco42 commented on June 25, 2024

In other words, if I manually open data-wt-ajax-url in a new tab, it displays the module correctly.

Screenshot 2023-01-21 at 10 50 04

from webtrees-pedigree-chart.

magicsunday avatar magicsunday commented on June 25, 2024

So why not using the fresh install? Rename your directory for Backup. Copy fresh stuff in place. Remove the data Directory From your fresh install and copy it over from your Backup. Maybe some file from the webtrees source is corrupted.

from webtrees-pedigree-chart.

psyco42 avatar psyco42 commented on June 25, 2024

Hi,

I transfer everything to the fresh setup, and everything works.

So, we won't know the root cause but it is definitively not from the module source code itself.

from webtrees-pedigree-chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.