php/lib/HtmLawed/HtmLawed.php not found

php/lib/HtmLawed/HtmLawed.php not found

FicosFicos Posts: 88Questions: 22Answers: 0

https://oostveen-advies.eu/bootstrap/admin/home.php?dossier=1625
Debugger tells me "dom is null" -- debugcode: onaguv

I have no idea what might be the problem as locally everything works fine.
I am surprised to see that Editor is updated nightly (that is what debug tells me). I am not aware of that as I created the app using generator:

<!-- our project just needs Font Awesome Solid + Brands -->
        <link href="../assets/fontawesome-free-6.5.1-web/css/fontawesome.css" rel="stylesheet" />
        <link href="../assets/fontawesome-free-6.5.1-web/css/brands.css" rel="stylesheet" />
        <link href="../assets/fontawesome-free-6.5.1-web/css/solid.css" rel="stylesheet" />
        <link rel='stylesheet' type='text/css' href='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/css/bootstrap.min.css'/>
        <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/bs5/jq-3.7.0/moment-2.29.4/jszip-3.10.1/dt-2.0.2/af-2.7.0/b-3.0.1/b-colvis-3.0.1/b-html5-3.0.1/b-print-3.0.1/cr-2.0.0/date-1.5.2/fc-5.0.0/fh-4.0.1/kt-2.12.0/r-3.0.0/rg-1.5.0/rr-1.5.0/sc-2.4.1/sb-1.7.0/sp-2.3.0/sl-2.0.0/sr-1.4.0/datatables.min.css">
        <link rel="stylesheet" type="text/css" href="../css/editor.bootstrap5.min.css">
        <link rel="styleshee" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.9.0/css/selectize.css">
        <link rel="stylesheet" type="text/css" href="../css/editor.selectize.css">
        <link rel="stylesheet" type="text/css" href="../css/generator-base.css">
    
        <script type="text/javascript" charset="utf-8" src="https://cdn.datatables.net/v/bs5/jq-3.7.0/moment-2.29.4/jszip-3.10.1/dt-2.0.2/af-2.7.0/b-3.0.1/b-colvis-3.0.1/b-html5-3.0.1/b-print-3.0.1/cr-2.0.0/date-1.5.2/fc-5.0.0/fh-4.0.1/kt-2.12.0/r-3.0.0/rg-1.5.0/rr-1.5.0/sc-2.4.1/sb-1.7.0/sp-2.3.0/sl-2.0.0/sr-1.4.0/datatables.min.js"></script>
        <script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.0/js/bootstrap.bundle.min.js'></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.7/pdfmake.min.js"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.7/vfs_fonts.js"></script>
        <script type="text/javascript" charset="utf-8" src="../js/dataTables.editor.min.js"></script>
        <script type="text/javascript" charset="utf-8" src="../js/editor.bootstrap5.min.js"></script>
        <!-- datetime -->
        <script src="../js/moment-with-locales.js"></script>
        <script src="../js/datetime-moment.js"></script>

        <script src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.9.0/js/standalone/selectize.js"></script>
        <script src="../js/editor.selectize.js"></script>

Any suggestions where to look are highly appreciated.
Thanks,
Jan

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Hi Jan,

    I am surprised to see that Editor is updated nightly (that is what debug tells me

    Its not. That sounds like a bug in the debugger.

    Regarding the file not found - it is in the PHP library. Is it present on your server? There was a name change, so you might need to update all of the library files if you haven't already done so.

    Allan

  • FicosFicos Posts: 88Questions: 22Answers: 0
    edited March 11

    Goodmorning Allan,
    The lib comes with the Generator, I am not aware I need to update anything else.

    Jan

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    No, you shouldn't need anything else. I've just tried it with Generator and the file is in the unzipped package as expected:

    $ ls -l php/lib/HtmLawed/HtmLawed.php
    -rw-rw-rw-. 1 vagrant vagrant 115421 Mar 11 09:32 php/lib/HtmLawed/HtmLawed.php
    

    Is that not present for you?

    Doing a "Run Now" on the Generator page also appears to work and that uses the same source files.

    Allan

  • FicosFicos Posts: 88Questions: 22Answers: 0

    it looks like my problem is solved after using the download (and no longer the cdn, generated by Generator)

    Furthermore: debug doesn't check my website for common errors. Maybe my website is perfect, but I doubt that...

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Hah - yes, the debugger has a bug in the common error checker... I've got that on my todo list :)

    Allan

Sign In or Register to comment.