We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 34075 ☆ A M B ☆
    • 130 Posts
    jeroenkenters Reply #1, 16 years ago
    I’m working on a multi-context site and see many errors like this one in the error log:

    [2010-09-21 12:33:45] (ERROR @ /home/sitename/domains/domain.tld/public_html/core/model/modx/modtemplatevar.class.php : 422) PHP warning: DirectoryIterator::__construct(/home/sitename/domains/domain.tld/public_html/core/model/modx/processors/element/tv/renders/CONTEXT_NAME_HERE/output/) [<a href=’directoryiterator.--construct’>directoryiterator.--construct</a>]: failed to open dir: No such file or directory

    It looks like MODx is trying to load a file from a folder with the same name as the context. However, that folder does not exist; only the ’mgr’ en ’web’ folders are there. What is going wrong?

    MODx version is 2.0.0. Is this fixed in 2.0.2?
      Jeroen Kenters

      MODX Professional | MODX Ambassador | Dutch MODX forums moderator

      website | twitter
      • 28215
      • 4,149 Posts
      splittingred Reply #2, 16 years ago
      Yes, it is, and you should upgrade. laugh
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com