We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46448
    • 98 Posts
    (Using MODX Evolution 1.0.12 and mxCalendar 0.1.3-plb)

    I got the mxCalendar Extra installed (Manager and Snippet.) I logged out, then back in. I added 2 events.

    I then tried to create a page and display the calendar, (not the Ajax one, I don't understand that yet, just the simple one), using

    [!mxcalendar?!]

    After I Save and Publish, and then try to Preview, I get a parse error. I have no idea what to do next. Can anyone help?

    Thanks in advance,

    Dennis

    (the parse error returned)
    « MODX Parse Error »
    MODX encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
    PHP error debug
    Error : Invalid argument supplied for foreach()
    ErrorType[num] : 	WARNING[2]
    File : 	/home1/duluthco/public_html/modxevo/assets/modules/mxCalendar/includes/calendar.inc.php
    Line : 	454
    Source : 	foreach($dyn_config_opts AS $cft){
    Basic info
    REQUEST_URI : 	/modxevo/index.php?id=49
    Resource : 	[49]CalendarTest1
    Current Snippet : 	mxcalendar
    Referer : 	http://duluthcommunitygarden.org/modxevo/manager/index.php?a=3&id=49
    User Agent : 	Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0
    IP : 	68.115.81.46
    Benchmarks
    MySQL : 	0.0057 s (5 Requests)
    PHP : 	0.0529 s
    Total : 	0.0586 s
    Memory : 	4.40579986572 mb
    
    Backtrace
    1	DocumentParser->executeParser()
    index.php on line 140
    2	DocumentParser->prepareResponse()
    manager/includes/document.parser.class.inc.php on line 1568
    3	DocumentParser->outputContent()
    manager/includes/document.parser.class.inc.php on line 1673
    4	DocumentParser->parseDocumentSource()
    manager/includes/document.parser.class.inc.php on line 582
    5	DocumentParser->evalSnippets()
    manager/includes/document.parser.class.inc.php on line 1450
    6	DocumentParser->_get_snip_result()
    manager/includes/document.parser.class.inc.php on line 1061
    7	DocumentParser->evalSnippet()
    manager/includes/document.parser.class.inc.php on line 1147
    8	eval()
    manager/includes/document.parser.class.inc.php on line 1005
    9	mxCal_APP_CLASS->MakeCalendar()
    manager/includes/document.parser.class.inc.php(1005) : eval()'d code on line 163
    10	include_once()
    assets/modules/mxCalendar/mxCalendar.class.php on line 1281


    [ed. note: dennisleahy last edited this post 10 years, 1 month ago.]
      • 46448
      • 98 Posts
      1.) Does mxCalendar even work?
      2.) Is it worth pursuing?



      3.) Is there something else, something better?

      Dennis [ed. note: dennisleahy last edited this post 10 years, 1 month ago.]
        • 38417
        • 92 Posts
        Have a look here http://charlesmx.com/software/ maybe this will help. Mine works fine with a few minor issues but I am using Revolution.
          • 46448
          • 98 Posts
          Thank you for the reply showa26.

          I was not able to find anything there that helped me with the parse error, so I'm still stuck.

          Dennis
            • 46448
            • 98 Posts
            If I give up on Evolution, and use Revolution instead, will the problem be solved?

            Dennis
              • 46448
              • 98 Posts
              Quote from: dennisleahy at Feb 13, 2014, 05:56 PM
              If I give up on Evolution, and use Revolution instead, will the problem be solved?

              Dennis

              No, mxCalendar looks to have incredible promise, but unless I have something wrong in the install or unless there are parameters in the snippet call that are much more detailed than any example, then it appears that this Extra is not working. When complete, it will be awesome.

              Dennis