We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4611
    • 2 Posts
    Boujour,

    J’ai voulu tester DittoCal 1.3.
    J’utilise la version 2.0.3 de ditto.

    J’ai suivi la procédure, et j’ai une erreur.

    Le calendrier ne s’affiche pas.

    Dans l’administration rapport/affichageHistorique, j’ai une erreur de ditto :

    Non-static method template::replace() should not be called statically, assuming $this from incompatible context

    Et le mode debug de dittoCal affiche:


    DittoCal Debug Output
    Initial Data from Json

    {
    "title":"testDittoCal",
    "link":"http://localhost/modx2/index.php?id=23",
    "description":"",
    "language":"en",
    "copyright":"olivier 2006",
    "ttl":"120",
    "entries":[
    {
    "title":"ARTICLE2",
    "link":"http://localhost/modx2/index.php?id=26",
    "date":"1203433850",
    "guid":"http://localhost/modx2/index.php?id=26",
    "author":"Default admin account",
    "description":"fgq dfgq dfg qdfg qdf gqd fgqd g",
    "introtext":"",
    },
    {
    "title":"ARTICLE1",
    "link":"http://localhost/modx2/index.php?id=25",
    "date":"1203433683",
    "guid":"http://localhost/modx2/index.php?id=25",
    "author":"Default admin account",
    "description":"q dfg qdfg qfg qfgq fgq g",
    "introtext":"",
    }
    ]
    }

    Data after JSON decoding

    Filter Settings

    Filter Month: 2
    Filter Year: 2008
    Processing Error

    There was an error processing the json data. Set the debug param equal to 1 for more info.


    Voilà, je suis un peu coincé.
    J’ai pensé au caractere utf8 du fichier json car il récupère correctement mes données de ditto mais il fait une erreur dans le traitement.

    Mais je ne sais pas, si quelqu’un à une idée.

    Merci d’avance.


      • 25080
      • 175 Posts
      Même soucis, il me fait meme planté mysql :/
        • 17734
        • 18 Posts
        Bonjour,
        J’ai le même probleme de
        There was an error processing the json data. Set the debug param equal to 1 for more info.
        Te souviens-tu si tu as pu régler le problème et comment?
        Je tourne vraiment en rond là. Tout semble normal mais ça ne fonctionne pas.
          • 36624
          • 535 Posts
          Je ne l’ai pas testé, mais il y a un tout nouveau gestionnaire d’événement qui semble très prometteur et dont le dev est très actif en ce moment :
          mxcalendar.
            CTRL+SHIFT+U - Clear Cache
            CTRL+SHIFT+H - Hiding Heft Panel
            CTRL+SHIFT+N - Fast Create Resource
            CTRL+ALT+P - Preview Recource (in edit resorce window)
            CTRL+ALT+S - Save