We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28376
    • 222 Posts
    I am getting the following errors on my domain not sure why.

    [2010-09-29 13:32:53] (ERROR @ C:\UwAmp\www\mydomain\core\model\modx\modtemplatevar.class.php : 422) PHP warning:
     DirectoryIterator::__construct(C:/UwAmp/www/mydomain/core/model/modx/processors/element/tv/renders/dev/output/) 
    [directoryiterator.--construct]: failed to open dir: No error [2010-09-29 13:32:53] (ERROR @ C:\UwAmp\www\mydomain\core\model
    \modx\modtemplatevar.class.php : 422) PHP warning: DirectoryIterator::__construct(C:/UwAmp/www/mydomain/core/model/modx/processors
    /element/tv/renders/dev/output/) [directoryiterator.--construct]: failed to open dir: No error [2010-09-29 13:32:53] (ERROR @ 
    C:\UwAmp\www\mydomain\core\model\modx\modtemplatevar.class.php : 422) PHP warning: DirectoryIterator::__construct(C:/UwAmp
    /www/mydomain/core/model/modx/processors/element/tv/renders/dev/output/) [directoryiterator.--construct]: failed to open dir: No 
    error [2010-09-29 13:32:53] (ERROR @ C:\UwAmp\www\mydomain\core\model\modx\modtemplatevar.class.php : 422) PHP warning: 
    DirectoryIterator::__construct(C:/UwAmp/www/mydomain/core/model/modx/processors/element/tv/renders/dev/output/) 
    [directoryiterator.--construct]: failed to open dir: No error 




    My config.core.php looks like this in the sub domain folder

    <?php
    //define('MODX_CORE_PATH', dirname(__FILE__) . '/core/');
    define('MODX_CORE_PATH', 'C:/UwAmp/www/mydomain/core/');
    define('MODX_CONFIG_KEY', 'config');
    

      • 28376
      • 222 Posts
      Anybody has any idea why this is happening?
        • 33976 ☆ A M B ☆
        • 571 Posts
        Hi,

        try
        define('MODX_CORE_PATH', 'C:\UwAmp\www\mydomain\core\');
        instead (Windows stuff).

        Hope it helps smiley
          • 22303 MODX Staff
          • 10,725 Posts
          I think this might be a bug with Template Variable renderers outside of the web context.
            • 1169
            • 312 Posts
            @ stargatesg1 how did you get Revo running on UwAmp when I looked it was not compatible with Revo.
            Think it was mysql problem.

            Could you give your PHP mysql versions please.

            Regards
              DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31
              • 28376
              • 222 Posts
              Here is the following information.

              PHP Version 5.2.13
              MySQL Lite 5.1.44-community-log
                • 1169
                • 312 Posts
                UwAmp is using PHP Version 5.2.13

                on my setup this uses MySQL 5.0.51a

                not recommended http://rtfm.modx.com/display/revolution20/MySQL+5.0.51+Issues

                I also have PHP Version 5.3.2 but cannot get this version running.

                This could cause intermittent problems.

                NOT RECOMENDED
                  DEVELOPMENT ENV:- Ubuntu 12.04 | MODx Revolution 2.2.8 | LAMP 2i Apache 2.2.22 | Php 5.3.10 | Mysql 5.5.31 MySQL client version: 5.5.31