We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15987
    • 786 Posts
    Lexxus, can you post the snippet call you are using to display the calendar?
      • 17052
      • 41 Posts
      Quote from: kylej at Jul 16, 2006, 06:31 PM

      Lexxus, can you post the snippet call you are using to display the calendar?
      [!DittoCal? &calSource=`http://www.schizo-insi.de/_system/json` &dayNameLength=`3` &firstDay=1 &showPn=1!]

      first time i use that call:
      [!DittoCal? &calSource=`http://www.schizo-insi.de/_system/json` &dayNameLength=`1`!]

      and too error... =(
        • 15987
        • 786 Posts
        Lexxus,
        I have released a new version that outputs debug information. Can you load the new version and set the param &debug=`1` That should help me figure out what your error is. You can get the new version from the repository.

        Other changes include:


        • Placeholder output support - there is now a parameter you can set to output the calendar to a placeholder.
        • Future Month Removal - The next link will not be displayed when user reaches the last post.
        • When a user clicks a day in the calendar the month displayed will stay the same when the new page loads. The post will then have the class specified in the param &activeDay applied to it.
          • 17052
          • 41 Posts
          Quote from: kylej at Jul 17, 2006, 10:15 AM

          Lexxus,
          I have released a new version that outputs debug information. Can you load the new version and set the param &debug=`1` That should help me figure out what your error is. You can get the new version from the repository.
          Good news =) thanks

          so... here http://schizo-insi.de/blog you can see what is wrong =)
            • 15987
            • 786 Posts
            Lexxus,
            Can you post your environment settings (i.e. php ver, modx ver, etc..)? Also if you want me to look inside the manager to see if I can find the error just send me a pm. I’m not sure why it is trying to send information to the header??

            Kyle
              • 17052
              • 41 Posts
              if u can may be contact ICQ ?
                • 17052
                • 41 Posts
                Quote from: kylej at Jul 17, 2006, 12:20 PM

                Lexxus,
                Can you post your environment settings (i.e. php ver, modx ver, etc..)?
                MySQL: 4.1.19
                Apache: 1.3.33
                PHP: 4.4.2
                MODx: 9.2.1 (latest)
                  • 31654
                  • 238 Posts
                  Sorry I’m a real newbie at this MODx stuff!

                  I’ve just got Ditto to work and now I’m installing the DittoCal but I just get this error when I call the snippet into my blog contect page:

                  MODx encountered the following error while attempting to parse the requested resource:
                  « PHP Parse Error »

                  PHP error debug
                  Error: Unknown(C:/Inetpub/vhosts/vitalized.co.uk/httpdocs/assets/snippets/DittoCal/JSON.php): failed to open stream: No such file or directory
                  Error type/ Nr.: Warning - 2
                  File: C:\Inetpub\vhosts\vitalized.co.uk\httpdocs\manager\includes\document.parser.class.inc.php(705) : eval()’d code
                  Line: 98

                  Parser timing
                  MySQL: 0.1889 s s (0 Requests)
                  PHP: 0.0707 s s
                  Total: 0.2596 s s

                  The files are in the right place so the "No such file or directory" isn’t correct.

                  Can you give newbie instructions on how to install the canendar?

                  Many thanks
                    Web Development, Web Hosting & Search Engine Marketing by:

                    Vitalized | UK
                    w. www.vitalized.co.uk

                    Website Design | Search Engine Marketing (SEM) | UK MODx web hosting, secure, fast & 100% MODx compatible

                    Vitalized | Australia
                    w. www.vitalized-australia.com.au

                    Website Design | Search Engine Marketing (SEM) | Australian MODx web hosting, secure, fast & 100% MODx compatible
                    • 17052
                    • 41 Posts
                    Quote from: web_designer at Jul 17, 2006, 06:53 PM

                    The files are in the right place so the "No such file or directory" isn’t correct.

                    Can you give newbie instructions on how to install the canendar?

                    Many thanks

                    Folder with JSON.php file must be named "DittoCal", not "dittocal". And file "JSON.php" not "json.php".
                      • 31654
                      • 238 Posts
                      The files are in the right place and are named correctly (with caps in the right places)

                      Where should the "blog json output" go?... I currently got it in the root directory, not the blog directory. If I put it in the blog directory it show up in my Ditto summary page.

                      Sorry i’m a complete newbie wading through MODx!

                        Web Development, Web Hosting & Search Engine Marketing by:

                        Vitalized | UK
                        w. www.vitalized.co.uk

                        Website Design | Search Engine Marketing (SEM) | UK MODx web hosting, secure, fast & 100% MODx compatible

                        Vitalized | Australia
                        w. www.vitalized-australia.com.au

                        Website Design | Search Engine Marketing (SEM) | Australian MODx web hosting, secure, fast & 100% MODx compatible