We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23478
    • 133 Posts
    Hello

    I don’t know if the Jot team received the info .. I posted a bug (#705).. first I thoug it was the code of MODx ... then I realisez it may be JOT.
    I just upgraded to 0.9.5 final ( rev 2106)
    and I still have the error :
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: Unknown(/fichiers/snippets/jot/jot.class.inc.php): failed to open stream: No such file or directory
    Error type/ Nr.: Warning - 2
    File: /manager/includes/document.parser.class.inc.php(748) : eval()’d code
    Line: 14

    I’ve moved the upload dir to /fichiers ... It might comme from that code ?
    $jotPath = $modx->config['rb_base_dir'] . 'snippets/jot/';
    include_once($jotPath.'jot.class.inc.php');

    (snippet) as I don’t know what config[’rb_base_dir’] should return you ... i don’t know...
    But I wanted to tell you all JOt based pages don’t work on my site !

    I’ve read that JOT is # 1.0.1 .. but in final 0.9.5 modx, the snippet says i have
    # Name: Jot
    # Version: 1.0

    I don’t know what is wrong or not ...

    hop It can help you
      • 4195
      • 398 Posts
      This a "bug":

      Replace:
      $jotPath = $modx->config['rb_base_dir'] . 'snippets/jot/';
      


      with:
      $jotPath = $modx->config['base_dir'] . 'assets/snippets/jot/';
      


      and be sure to download the latest Jot from the repository. (just to be sure)
        Armand Pondman
        MODx Coding Team
        :: Jot :: PHx
        • 23478
        • 133 Posts
        Thanks for your (quick) answer
        Do I let you close FS#705 ?

        Quote from: bS at Dec 06, 2006, 04:47 PM

        and be sure to download the latest Jot from the repository. (just to be sure)

        wink You should update the snippet and the php that are still showing version # 1.0
        It may be simpler to know which version is running !