I found the problem to define the way the file ’build.config.php’ in my case the directory is called RevB3:
**** With ’build.config.php’
2. define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(__FILE__))))) . ’//’);
When you run ’build.schema.php’ I get this error:
>>>> Warning: include_once(C:\xampp\htdocs\RevB3\core//core/model/modx/modx.class.php
Watch "RevB3\core//core/"
****And with ’build.config.php’
2. define(’MODX_BASE_PATH’, dirname(dirname(dirname(dirname(dirname(__FILE__))))) . ’/RevB3/’);
When you run ’build.schema.php’ I get this error:
>>>> Warning: include_once(C:\xampp\htdocs\RevB3\core/RevB3/core/model/modx/modx.class.php)
Watch "\RevB3\core/RevB3/core/"
***And the file "modx.class.php" I found it in
C:\xampp\htdocs\RevB3\core/model/modx/modx.class.php
How do I fix this?
<?php define('MODX_BASE_PATH', dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/RevB3/');
Warning: include_once(C:\xampp\htdocs\RevB3\core/RevB3/core/model/modx/modx.class.php) [function.include-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\RevB3\core\components\storefinder\trunk\_build\build.schema.php on line 15 Warning: include_once() [function.include]: Failed opening 'C:\xampp\htdocs\RevB3\core/RevB3/core/model/modx/modx.class.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\RevB3\core\components\storefinder\trunk\_build\build.schema.php on line 15 Fatal error: Class 'modX' not found in C:\xampp\htdocs\RevB3\core\components\storefinder\trunk\_build\build.schema.php on line 16
<?php define('MODX_CORE_PATH', '/opt/local/apache2/htdocs/modx2.0.0/core/'); define('MODX_CONFIG_KEY', 'config'); ?>
<?php define('MODX_BASE_PATH', dirname(dirname(dirname(dirname(dirname(__FILE__))))) . '/RevB3/'); define('MODX_CORE_PATH', MODX_BASE_PATH . 'core/'); define('MODX_MANAGER_PATH', MODX_BASE_PATH . 'manager/'); define('MODX_CONNECTORS_PATH', MODX_BASE_PATH . 'connectors/'); define('MODX_ASSETS_PATH', MODX_BASE_PATH . 'assets/');
And now I see it, nor is closed the script "?>"
[2009-09-13 13:33:01] (ERROR @ /RevB3/core/components/storefinder/trunk/_build/build.schema.php) Error parsing XML schema on line 1: Not well-formed (invalid token) Execution time: 3.3785 s [2009-09-13 13:33:02] (WARN @ C:\xampp\htdocs\RevB3\core\xpdo\om\xpdoobject.class.php : 932) PHP notice: A non well formed numeric value encountered
<?php define('MODX_CORE_PATH', 'C:/xampp/htdocs/RevB3/core/'); define('MODX_CONFIG_KEY', 'config'); ?>
Execution time: 0.2441 s [2009-09-13 14:09:30] (WARN @ C:\xampp\htdocs\RevB3\core\xpdo\om\xpdoobject.class.php : 932) PHP notice: A non well formed numeric value encountered